zfs pool faulted due to disk ID changed

After applying the patch, the disk device ID has been changed, so the status of zfs pool snapshot is faulted.

[root@r710 by-id]# zpool list
NAME       SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
snapshot      -      -      -      -      -  FAULTED  -
storage   27.2T  10.1T  17.1T    37%  1.00x  ONLINE  -

Changing the /dev/ names on an existing pool can be done by simply exporting the pool and re-importing it with the -d option to specify which new names should be used. For example, to use the custom names in /dev/disk/by-vdev:
#zpool export snapshot
#zpool import -d /dev/disk/by-vdev snapshot

Comments

Popular posts from this blog

VIOS TIPs

Configure Solaris 10 LDOM on Solaris 11.4

Change P410i from HBA mode to Raid mdoe