On Tue, Dec 16, 2008 at 12:04 AM, Thai Nguyen <[email protected]> wrote:
> Hi,
>
> I am looking for a way that I can retrieve a disk device name like
> "/dev/dsk/c5d0s0". The old codes for other OS, like linux, FreeBSD, etc. I
> can use command/API like "devnm", "mount", "devname_r", to get it. However,
> under ZFS, all above command/API returned Volume Name/Mount Point, like
> "/export/home" or "rpool/export/home"
>
> Any one knows how to get the real disk device name, please help.
With ZFS the file system associated with the pool (of the devices),
rather than with the single device. You may use "zpool status" command
to find out the list of the devices the pool in hand is built from.
--
Regards,
Cyril
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code