Hello, i am testing ZFS mirror installation in a server, but when i get the mirror degraded the disk information reported by zpool status seems incorrect.
Its a fresh installation of: 13.0-RELEASE
The partition layout generated by the installer for both disks, ada0 and ada1 are:
After installation pool information is:
If I remove the disk ada0 I get:
In the link reporter by zpool status it seems to report correct information.
Why zpool status is reporting ada0p3 as ONLINE and FAULTED simultaneously?
Why is not showing ada1p3 as ONLINE and ada0p3 as FAULTED?
Best regards.
Its a fresh installation of: 13.0-RELEASE
The partition layout generated by the installer for both disks, ada0 and ada1 are:
Code:
root@odissey:~ # gpart show ada0
=> 40 976773088 ada0 GPT (466G)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 972576768 3 freebsd-zfs (464G)
976773120 8 - free - (4.0K)
Code:
root@odissey:~ # gpart show ada1
=> 40 976773088 ada1 GPT (466G)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 972576768 3 freebsd-zfs (464G)
976773120 8 - free - (4.0K)
Code:
root@odissey:~ # zpool status
pool: zroot
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
errors: No known data errors
Code:
root@odissey:~ # zpool status
pool: zroot
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'.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J
config:
NAME STATE READ WRITE CKSUM
zroot DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
ada0p3 FAULTED 0 0 0 corrupted data
ada0p3 ONLINE 0 0 0
errors: No known data errors
In the link reporter by zpool status it seems to report correct information.
Why zpool status is reporting ada0p3 as ONLINE and FAULTED simultaneously?
Why is not showing ada1p3 as ONLINE and ada0p3 as FAULTED?
Best regards.
Last edited by a moderator: