This is present as the 'guid' property in Solaris Nevada.  If you're on
a previous release, you can do one of the following:

- 'zdb -l <device in pool>' and look for the 'pool_guid' property (if
  you're using whole disks you'll still need the s0 slice).

- '::walk spa | ::print spa_t spa_name spa_root_vdev->vdev_guid' from
  'mdb -k'.

Hope that helps,

- Eric

On Tue, Apr 29, 2008 at 11:27:18AM -0400, Ajay Kumar wrote:
> Folks,
>     How can I find out zpool id without using zpool import? zpool list 
> and zpool status does not have option as of Solaris 10U5.. Any back door 
> to grab this property will be helpful.
> 
> 
> Thank  you
> Ajay
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

--
Eric Schrock, Fishworks                        http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to