Hello everyone!
I have a zfs pool with 3 disks (1 TB each one) and one disk crashed. This disk was replaced with the same size and branch. After reboot my zfs pool show me DREGRADED message like below. I did the replacement disk and I can see the new disk but I dont have sure if the new disk is working as expect inside the pool.
Can you help me please?
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
ZFS 2.72T 437G 2.29T - 5% 15% 1.00x DEGRADED -
#zpool status -v
pool: ZFS
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
scan: resilvered 1.65M in 0h0m with 0 errors on Tue Feb 12 10:57:25 2019
config:
NAME STATE READ WRITE CKSUM
ZFS DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
18362604275904331643 UNAVAIL 0 0 0 was /dev/sde1
errors: No known data errors
zpool iostat -v ZFS
capacity operations bandwidth
pool alloc free read write read write
------------------------ ----- ----- ----- ----- ----- -----
ZFS 437G 2.29T 14 81 74.2K 2.63M
raidz1 437G 2.29T 14 81 74.2K 2.63M
sdb - - 7 41 37.1K 1.31M
sdc - - 7 39 37.1K 1.31M
18362604275904331643 - - 0 0 0 0
------------------------ ----- ----- ----- ----- ----- -----
# fdisk -l | grep sd
Partition 2 does not start on physical sector boundary.
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
/dev/sda1 2048 7813119 7811072 3.7G 82 Linux swap / Solaris
/dev/sda2 * 7813120 8984575 1171456 572M 83 Linux
/dev/sda3 8984576 1953523711 1944539136 927.2G 83 Linux
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
/dev/sdb1 2048 1953507327 1953505280 931.5G Solaris /usr & Apple ZFS
/dev/sdb9 1953507328 1953523711 16384 8M Solaris reserved 1
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
/dev/sdc1 2048 1953507327 1953505280 931.5G Solaris /usr & Apple ZFS
/dev/sdc9 1953507328 1953523711 16384 8M Solaris reserved 1
Disk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
/dev/sdd1 2048 1953507327 1953505280 931.5G Solaris /usr & Apple ZFS
/dev/sdd9 1953507328 1953523711 16384 8M Solaris reserved 1
Partition 2 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
I have a zfs pool with 3 disks (1 TB each one) and one disk crashed. This disk was replaced with the same size and branch. After reboot my zfs pool show me DREGRADED message like below. I did the replacement disk and I can see the new disk but I dont have sure if the new disk is working as expect inside the pool.
Can you help me please?
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
ZFS 2.72T 437G 2.29T - 5% 15% 1.00x DEGRADED -
#zpool status -v
pool: ZFS
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
scan: resilvered 1.65M in 0h0m with 0 errors on Tue Feb 12 10:57:25 2019
config:
NAME STATE READ WRITE CKSUM
ZFS DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
sdb ONLINE 0 0 0
sdc ONLINE 0 0 0
18362604275904331643 UNAVAIL 0 0 0 was /dev/sde1
errors: No known data errors
zpool iostat -v ZFS
capacity operations bandwidth
pool alloc free read write read write
------------------------ ----- ----- ----- ----- ----- -----
ZFS 437G 2.29T 14 81 74.2K 2.63M
raidz1 437G 2.29T 14 81 74.2K 2.63M
sdb - - 7 41 37.1K 1.31M
sdc - - 7 39 37.1K 1.31M
18362604275904331643 - - 0 0 0 0
------------------------ ----- ----- ----- ----- ----- -----
# fdisk -l | grep sd
Partition 2 does not start on physical sector boundary.
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
/dev/sda1 2048 7813119 7811072 3.7G 82 Linux swap / Solaris
/dev/sda2 * 7813120 8984575 1171456 572M 83 Linux
/dev/sda3 8984576 1953523711 1944539136 927.2G 83 Linux
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
/dev/sdb1 2048 1953507327 1953505280 931.5G Solaris /usr & Apple ZFS
/dev/sdb9 1953507328 1953523711 16384 8M Solaris reserved 1
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
/dev/sdc1 2048 1953507327 1953505280 931.5G Solaris /usr & Apple ZFS
/dev/sdc9 1953507328 1953523711 16384 8M Solaris reserved 1
Disk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
/dev/sdd1 2048 1953507327 1953505280 931.5G Solaris /usr & Apple ZFS
/dev/sdd9 1953507328 1953523711 16384 8M Solaris reserved 1
Partition 2 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.