Displaying Pool Devices by Physical Locations
Use the zpool status -l
command to display information about the physical location of pool devices. Reviewing the physical location information is helpful when you need to physically remove or replace a disk.
In addition, you can use the fmadm add-alias
command to include a disk alias name that helps you identify the physical location of disks in your environment. For example:
$ fmadm add-alias SUN-Storage-J4400.1002QCQ015 Lab10Rack5disk
$ 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