I don't understand why you can't use 'zpool status'? That will show the pools and the physical devices in each and is also a pretty basic command. Examples are given in the sysadmin docs and manpages for ZFS on the opensolaris ZFS community page.

I realize it's not quite the same command as in UFS, and it's easier when things remain the same, but it's a different filesystem so you need some different commands that make more sense for how it's structured. The idea being hopefully that soon zpool and zfs commands will become just as 'intuitive' for people :)

Noel

(p.s. not to mention am I the only person that thinks that 'zpool status' (in human speak, not geek) makes more sense than 'df'? wtf )

On Oct 13, 2006, at 1:55 PM, Bruce Chapman wrote:

ZFS is supposed to be much easier to use than UFS.

For creating a filesystem, I agree it is, as I could do that easily without a man page.

However, I found it rather surprising that I could not see the physical device(s) a zfs filesystem was attached to using either "df" command (that shows physical device mount points for all other file systems), or even the "zfs" command.

Even going to "zpool" command it took a few minutes to finally stumble across the only two commands that will give you that information, as it is not exactly intuitive.

Ideally, I'd think "df" should show physical device connections of zfs pools, though I can imagine there may be some circumstances where that is not desirable so perhaps a new argument would be needed to specify if that detail is shown or not.

If this is not done, I think "zfs list -v" (-v is not currently an option to the zfs list command) should show the physical devices in use by the pools.

In any case, I think it is clear "zpool list" should have a "-v" argument added that will show the device associations, so that people don't have to stumble blindly until they run into the "zpool iostat -v" or "zpool status -v" commands to finally accomplish this rather simple task.

Any comments on the above? I'm using S10 06/06, so perhaps I'll get lucky and someone has already added one or all the above improvements. :)

Cheers,

   Bruce


This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to