Hi all,
My cu has following question.
Assume I have allocated a LUN from external storage to two hosts ( by
mistake ). I create a zpool with this LUN on host1 with no errors. On
host2 when I try to create a zpool by
using the same disk ( which is allocated to host2 as well ), zpool
create -
Take a look at ZDB (the ZFS Debugger). Probably the zdb -l
(label dump) option would suffice for your task, i.e.:
# zdb -l /dev/dsk/c4t1d0s0 | egrep 'host|uid|name|devid|path'
name: 'rpool'
pool_guid: 12076177533503245216
hostid: 13583512
hostname: 'bofh-sol'
top_guid:
Followup: namely, the 'hostname' field should report the
host which has last (or currently) imported the pool,
and the 'name' field is the pool name as of last import
(can be changed by like zpool import pool1 testpool2).
HTH,
//Jim Klimov
___
if the disks are assigned by two hosts
may be just do zpool import should see the zpool in other hosts? not sure
as for AIX, control hdd, zpool will need partition that solaris could understand
i do not know what AIX used for partition should not be the same for solaris
Sent from my iPad
On
Jim and LaoTsao,
Thanks a lot for your quick response.
zdb might be good enough to get zpoll name or id from any disk in
zool. CU will try it this afternoon.
As of second situation - one host is AIX and the second disk is Solaris,
CU wonders if zdb will show anything.
I will also post
2012-01-12 20:21, adele@oracle.com пишет:
Jim and LaoTsao,
Thanks a lot for your quick response.
zdb might be good enough to get zpoll name or id from any disk in
zool. CU will try it this afternoon.
As of second situation - one host is AIX and the second disk is Solaris,
CU wonders if