$ zpool list NAME SIZE ALLOC FREE CAP HEALTH ALTROOT syspool1 80.0G 22.3G 47.7G 28% ONLINE - syspool2 1.2T 384G 816G 32% ONLINE -
$ zpool list -o name,size NAME SIZE syspool1 80.0G syspool2 1.2T
$ zpool list -Ho name,size syspool1 80.0G syspool2 1.2T
$ zpool list -T d 3 2 Tue Nov 2 10:36:11 MDT 2010 NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT pool 33.8G 83.5K 33.7G 0% 1.00x ONLINE - rpool 33.8G 12.2G 21.5G 36% 1.00x ONLINE - Tue Nov 2 10:36:14 MDT 2010 pool 33.8G 83.5K 33.7G 0% 1.00x ONLINE - rpool 33.8G 12.2G 21.5G 36% 1.00x ONLINE -
$ zpool status -l system1
pool: system1
state: ONLINE
scan: scrub repaired 0 in 0h0m with 0 errors on Fri Aug 3 16:00:35 2012
config:
NAME STATE READ WRITE CKSUM
system1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
/dev/chassis/Lab10Rack5.../DISK_02/disk ONLINE 0 0 0
/dev/chassis/Lab10Rack5.../DISK_20/disk ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
/dev/chassis/Lab10Rack5.../DISK_22/disk ONLINE 0 0 0
/dev/chassis/Lab10Rack5.../DISK_14/disk ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
/dev/chassis/Lab10Rack5.../DISK_10/disk ONLINE 0 0 0
/dev/chassis/Lab10Rack5.../DISK_16/disk ONLINE 0 0 0
.
.
.
spares
/dev/chassis/Lab10Rack5.../DISK_17/disk AVAIL
/dev/chassis/Lab10Rack5.../DISK_12/disk AVAIL
errors: No known data errors
$ zpool history system1 2012-01-25.16:35:32 zpool create -f system1 mirror c3t1d0 c3t2d0 spare c3t3d0 2012-02-17.13:04:10 zfs create system1/test 2012-02-17.13:05:01 zfs snapshot -r system1/test@snap1
$ zpool history -l system1 History for 'system1': 2012-01-25.16:35:32 zpool create -f system1 mirror c3t1d0 c3t2d0 spare c3t3d0 [user root on host1:global] 2012-02-17.13:04:10 zfs create system1/test [user root on host1:global] 2012-02-17.13:05:01 zfs snapshot -r system1/test@snap1 [user root on host1:global]
$ zpool history -i system1 History for 'system1': 2012-01-25.16:35:32 zpool create -f system1 mirror c3t1d0 c3t2d0 spare c3t3d0 2012-01-25.16:35:32 [internal pool create txg:5] pool spa 33; zfs spa 33; zpl 5; uts host1 5.11 11.1 sun4v 2012-02-17.13:04:10 zfs create system1/test 2012-02-17.13:04:10 [internal property set txg:66094] $share2=2 dataset = 34 2012-02-17.13:04:31 [internal snapshot txg:66095] dataset = 56 2012-02-17.13:05:01 zfs snapshot -r system1/test@snap1 2012-02-17.13:08:00 [internal user hold txg:66102] <.send-4736-1> temp = 1 ...
$ zpool iostat capacity operations bandwidth pool alloc free read write read write ---------- ----- ----- ----- ----- ----- ----- rpool 6.05G 61.9G 0 0 786 107 system1 31.3G 36.7G 4 1 296K 86.1K ---------- ----- ----- ----- ----- ----- -----
$ zpool iostat system1 2 capacity operations bandwidth pool alloc free read write read write ---------- ----- ----- ---- ----- ----- ----- system1 18.5G 49.5G 0 187 0 23.3M system1 18.5G 49.5G 0 464 0 57.7M system1 18.5G 49.5G 0 457 0 56.6M system1 18.8G 49.2G 0 435 0 51.3M
$ zpool iostat -v tank
capacity operations bandwidth
pool alloc free read write read write
----------------------- ----- ----- ----- ----- ----- -----
tank 2.69G 1.81T 0 29 252 14.2M
c0t5000C5001032271Bd0 1.34G 927G 0 14 130 7.09M
c0t5000C50010349387d0 1.34G 927G 0 14 122 7.09M
----------------------- ----- ----- ----- ----- ----- -----
$ zpool iostat -v tank
capacity operations bandwidth
pool alloc free read write read write
------------------------- ----- ----- ----- ----- ----- -----
tank 810M 1.81T 0 390 536 32.1M
mirror-0 405M 928G 0 194 232 16.1M
c0t5000C5001032271Bd0 - - 0 37 1.07K 16.2M
c0t5000C50010349387d0 - - 0 38 858 16.1M
mirror-1 405M 928G 0 195 304 16.1M
c0t5000C5001033963Fd0 - - 0 37 1.14K 16.2M
c0t5000C5001033024Fd0 - - 0 38 858 16.2M
------------------------- ----- ----- ----- ----- ----- -----
$ zpool iostat -v tank
capacity operations bandwidth
pool alloc free read write read write
------------------------- ----- ----- ----- ----- ----- -----
tank 258M 5.44T 0 321 876 31.5M
raidz1-0 128M 2.72T 0 160 29 15.9M
c0t5000C5001032271Bd0 - - 0 33 1.40K 8.07M
c0t5000C50010349387d0 - - 0 30 1.37K 8.07M
c0t5000C5001033963Fd0 - - 0 30 1.37K 8.07M
raidz1-1 130M 2.72T 0 160 847 15.5M
c0t5000C5001033024Fd0 - - 1 34 2.20K 8.10M
c0t5000C500103C9817d0 - - 0 34 1.37K 7.87M
c0t5000C50010324F67d0 - - 0 34 1.37K 8.10M
------------------------- ----- ----- ----- ----- ----- -----
$ zpool iostat -lv
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
export 2.39T 2.14T 13 27 42.7K 300K
mirror 490G 438G 2 5 8.53K 60.3K
/dev/chassis/lab10rack15/SCSI_Device__2/disk - - 1 0 4.47K 60.3K
/dev/chassis/lab10rack15/SCSI_Device__3/disk - - 1 0 4.45K 60.3K
mirror 490G 438G 2 5 8.62K 59.9K
/dev/chassis/lab10rack15/SCSI_Device__4/disk - - 1 0 4.52K 59.9K
/dev/chassis/lab10rack15/SCSI_Device__5/disk - - 1 0 4.48K 59.9K
$ zpool status -v system1
pool: system1
state: DEGRADED
status: One or more devices are unavailable in response to persistent errors.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or 'fmadm repaired', or replace the device
with 'zpool replace'.
scan: scrub repaired 0 in 0h0m with 0 errors on Wed Jun 20 15:38:08 2012
config:
NAME STATE READ WRITE CKSUM
system1 DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
c0t5000C500335F95E3d0 ONLINE 0 0 0
c0t5000C500335F907Fd0 UNAVAIL 0 0 0
mirror-1 ONLINE 0 0 0
c0t5000C500335BD117d0 ONLINE 0 0 0
c0t5000C500335DC60Fd0 ONLINE 0 0 0
device details:
c0t5000C500335F907Fd0 UNAVAIL cannot open
status: ZFS detected errors on this device.
The device was missing.
see: URL to My Oracle Support knowledge article for recovery
errors: No known data errors
$ zpool status -T d 3 2
Wed Jun 20 16:10:09 MDT 2012
pool: pond
state: ONLINE
scan: resilvered 9.50K in 0h0m with 0 errors on Wed Jun 20 16:07:34 2012
config:
NAME STATE READ WRITE CKSUM
pond ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t5000C500335F95E3d0 ONLINE 0 0 0
c0t5000C500335F907Fd0 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
c0t5000C500335BD117d0 ONLINE 0 0 0
c0t5000C500335DC60Fd0 ONLINE 0 0 0
errors: No known data errors
pool: rpool
state: ONLINE
scan: scrub repaired 0 in 0h11m with 0 errors on Wed Jun 20 15:08:23 2012
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t5000C500335BA8C3d0s0 ONLINE 0 0 0
c0t5000C500335FC3E7d0s0 ONLINE 0 0 0
errors: No known data errors
Wed Jun 20 16:10:12 MDT 2012
pool: pond
state: ONLINE
scan: resilvered 9.50K in 0h0m with 0 errors on Wed Jun 20 16:07:34 2012
config:
NAME STATE READ WRITE CKSUM
pond ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t5000C500335F95E3d0 ONLINE 0 0 0
c0t5000C500335F907Fd0 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
c0t5000C500335BD117d0 ONLINE 0 0 0
c0t5000C500335DC60Fd0 ONLINE 0 0 0
errors: No known data errors
pool: rpool
state: ONLINE
scan: scrub repaired 0 in 0h11m with 0 errors on Wed Jun 20 15:08:23 2012
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t5000C500335BA8C3d0s0 ONLINE 0 0 0
c0t5000C500335FC3E7d0s0 ONLINE 0 0 0
errors: No known data errors
2021/12/13