I would try typing "zpool history MyPool | grep add" That should show you all 
the add commands that helped create the pool.




Also grep for "create" to see the first vdevs of the pool to be added.




This assumes you are using a newer pool version, as history option was not on 
the earlier releases.




Cheers,

Chris

On Wed, Aug 6, 2014 at 6:59 PM, Garrett D'Amore via illumos-discuss
<[email protected]> wrote:

> Zpool status tells you what devices are in the pool.  A ZFS filesystem can 
> use any of those (and normally uses all of them).  There is no command to get 
> the list of vdevs under the pool that hosts the filesystem if that is what 
> your after.  It would be a very short script to do that though.  
> Sent from my iPhone
>> On Aug 6, 2014, at 5:28 PM, "Harry Putnam via illumos-discuss" 
>> <[email protected]> wrote:
>> 
>> Is there some handy way on oi to tell at a glance what disk or device
>> the zfs filesystems are on.
>> 
>> I know I could `zpool' status and get the device names but I mean
>> something that can be done in one or two moves.
>> 
>> Something on the order of df on linux does, where the first column
>> shows the device names.
>> 
>> 
>> 
>> -------------------------------------------
>> illumos-discuss
>> Archives: https://www.listbox.com/member/archive/182180/=now
>> RSS Feed: https://www.listbox.com/member/archive/rss/182180/22003744-9012f59c
>> Modify Your Subscription: https://www.listbox.com/member/?&;
>> Powered by Listbox: http://www.listbox.com
> -------------------------------------------
> illumos-discuss
> Archives: https://www.listbox.com/member/archive/182180/=now
> RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175477-4297c04e
> Modify Your Subscription: https://www.listbox.com/member/?&;
> Powered by Listbox: http://www.listbox.com


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to