Find knowledge base article(s) by searching for keywords in the title e.g. type linux in the search box below
Find knowledge base article(s) by browsing the subject categories of articles
Technology quick references, cheatsheets, user manuals etc.
Shop Online through ShopifyLite
Tutorials on various IT applications.
Search Title    (UL:0 |SS:f)

Software >> OS >> Unix >> Solaris >> 10 >> What are the examples of zpool/zfs commands

zpool

1.  To list zfs pools in brief format

# zpool list

2.  To show status of a particular pool

# zpool status poolname

3.  To check % resilver progress

# zpool status poolname | grep %

4.  To offline a device in a pool

# zpool offline poolname device

eg.

# zpool offline rpool c0t1d0

zfs

1.  to mount a zfs filesystem whose "canmount" paramter was not set to "off"

# zfs mount filesystem

eg.

# zfs mount rpool/opt

2.  To get the value of a property for a filesystem

# zfs get propertyname filesystem

e.g.

# zfs get canmount rpool/opt

 

[ © 2008-2021 myfaqbase.com - A property of WPDC Consulting ]