【 在 DreamDreams 的大作中提到: 】
: # zpool status
: pool: nas
: state: DEGRADED
: status: One or more devices are faulted in response to persistent errors.
: Sufficient replicas exist for the pool to continue functioning in a
: degraded state.
: action: Replace the faulted device, or use 'zpool clear' to mark the device
: repaired.
: scan: resilvered 1.21T in 04:04:43 with 0 errors on Sun May 29 14:37:53
: 2022
: config:
: NAME STATE READ WRITE CKSUM
: nas DEGRADED 0 0 0
: raidz2-0 DEGRADED 0 0 0
: sdb FAULTED 0 15 0 too many errors
: sda ONLINE 0 0 0
: sdc ONLINE 0 0 0
: sdd ONLINE 0 0 0
: sde ONLINE 0 4 0
: 5672573410470460000 FAULTED 0 0 0 was /dev/sde1
: errors: No known data errors
: blkid你感兴趣的部分
: /dev/sda1: LABEL="nas" UUID="7731801031414523961" UUID_SUB="1262637789466433
: 8777" BLOCK_SIZE="4096" TYPE="zfs_member" PARTLABEL="zfs-16e9cd2648b08d56"
: PARTUUID="685b3130-5f91-414b-9a16-ceb69dc1826a"
那就是zfs_member这个fstype也是存在可以被libblkid识别的UUID的
: /dev/sda9: PARTUUID="42da4b95-5c9b-1646-82c1-89e93cc3459a"
: /dev/sdb1: LABEL="nas" UUID="7731801031414523961" UUID_SUB="1570478843320104
: 2939" BLOCK_SIZE="4096" TYPE="zfs_member" PARTLABEL="zfs-de93a417de217a27"
: PARTUUID="7cbf2b83-3a0e-2d49-80ed-7a930f2dca0c"
: /dev/sdb9: PARTUUID="098916f7-d9fb-1d4a-bcb5-b26b18e8e7f5"
: /dev/sdc1: LABEL="nas" UUID="7731801031414523961" UUID_SUB="1766795165654954
: 2840" BLOCK_SIZE="4096" TYPE="zfs_member" PARTLABEL="zfs-0d233ad4a0889c04"
: PARTUUID="1b0132b1-b662-b142-96ea-4be3dadf79a5"
: /dev/sdc9: PARTUUID="0b62c8b6-226d-2947-9149-dc5d2af449b5"
: /dev/sdd1: LABEL="nas" UUID="7731801031414523961" UUID_SUB="7743753519071653
: 170" BLOCK_SIZE="4096" TYPE="zfs_member" PARTLABEL="zfs-523b1dc62ec7a206"
: PARTUUID="00d6c1f6-8e46-8047-8d84-fe206a601734"
: /dev/sdd9: PARTUUID="1de67224-45ac-7249-82cf-e8826098b857"
: /dev/sde1: LABEL="nas" UUID="7731801031414523961" UUID_SUB="1441643345913500
: 5643" BLOCK_SIZE="4096" TYPE="zfs_member" PARTLABEL="zfs-b8b262fd77e6abc3"
: PARTUUID="156f3779-797f-be47-86a2-c479ce130b97"
--
FROM 139.227.19.*