Hi All,
I've been through all the forum posts I can find here and various blogs about this problem but unfortunately I'm still no closer to getting my pool imported.
This is a home NAS and all the hardware is consumer grade. I've setup 2 ZRAID1 (3x2TB drives) in two separate pools (vol0 & vol1). I've been running this setup for ~12 months and only yesterday did the problem happen without any prior warning. vol0 is unaffected and is accessible without issue, vol1 however is not so lucky.
One of the drives in vol1 is marked as UNAVAIL corrupted data;
Attempting to import the pool gets this error;
I've run smartctl on the drive (/dev/ada1) in question and it looks fine.
Here is more details on the drives;
No output from zpool import -nfF
I'd have thought a failure of one drive should not have caused the entire pool to become unusable. I've used mdraid on Linux for years before this and have had drives fail without causing the volume to fail, and replacing them was easy. I can't even get the pool imported to remove that drive successfully.
I'd appreciate any advice or further areas to look into, much thanks in advance!
Cheers
I've been through all the forum posts I can find here and various blogs about this problem but unfortunately I'm still no closer to getting my pool imported.
This is a home NAS and all the hardware is consumer grade. I've setup 2 ZRAID1 (3x2TB drives) in two separate pools (vol0 & vol1). I've been running this setup for ~12 months and only yesterday did the problem happen without any prior warning. vol0 is unaffected and is accessible without issue, vol1 however is not so lucky.
One of the drives in vol1 is marked as UNAVAIL corrupted data;
Code:
[root@server] ~# zpool import pool: vol1 id: 15892612696792570768 state: ONLINE status: One or more devices contains corrupted data. action: The pool can be imported using its name or numeric identifier. see: http://illumos.org/msg/ZFS-8000-4J config: vol1 ONLINE raidz1-0 ONLINE gptid/5bd6e536-6d5b-11e3-93a7-000fea4f7180 ONLINE 542711347190070112 UNAVAIL corrupted data gptid/5d92bafc-6d5b-11e3-93a7-000fea4f7180 ONLINE
Attempting to import the pool gets this error;
Code:
[root@server] ~# zpool import vol1 cannot import 'vol1': I/O error Destroy and re-create the pool from a backup source.
I've run smartctl on the drive (/dev/ada1) in question and it looks fine.
Code:
9 Power_On_Hours 0x0032 082 082 000 Old_age Always - 13327 .... SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00% 13321 - # 2 Short offline Completed without error 00% 11994 - # 3 Short offline Completed without error 00% 11994 -
Here is more details on the drives;
Code:
[root@server] ~# camcontrol devlist <WDC WD20EARX-00PASB0 51.0AB51> at scbus0 target 0 lun 0 (ada0,pass0) <WDC WD20EARX-00PASB0 51.0AB51> at scbus1 target 0 lun 0 (ada1,pass1) <WDC WD20EARX-00PASB0 51.0AB51> at scbus3 target 0 lun 0 (ada2,pass2) <WDC WD20EARS-00MVWB0 51.0AB51> at scbus5 target 0 lun 0 (ada3,pass3) <HL-DT-ST DVDRAM GSA-H62N CL01> at scbus5 target 1 lun 0 (pass4,cd0) <WDC WD20EARX-00PASB0 51.0AB51> at scbus6 target 0 lun 0 (ada4,pass5) <WDC WD20EARS-00MVWB0 51.0AB51> at scbus6 target 1 lun 0 (ada5,pass6) <General USB Flash Disk 1.0> at scbus7 target 0 lun 0 (pass7,da0)
Code:
[root@server] ~# gpart show => 34 3907029101 ada0 GPT (1.8T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834696 2 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5k) => 34 3907029101 ada1 GPT (1.8T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834696 2 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5k) => 34 3907029101 ada2 GPT (1.8T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834696 2 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5k) => 34 3907029101 ada3 GPT (1.8T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834696 2 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5k) => 34 3907029101 ada4 GPT (1.8T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834696 2 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5k) => 34 3907029101 ada5 GPT (1.8T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G) 4194432 3902834696 2 freebsd-zfs (1.8T) 3907029128 7 - free - (3.5k) => 63 15656897 da0 MBR (7.5G) 63 1930257 1 freebsd [active] (942M) 1930320 63 - free - (31k) 1930383 1930257 2 freebsd (942M) 3860640 3024 3 freebsd (1.5M) 3863664 41328 4 freebsd (20M) 3904992 11751968 - free - (5.6G) => 0 1930257 da0s1 BSD (942M) 0 16 - free - (8.0k) 16 1930241 1 !0 (942M)
No output from zpool import -nfF
Code:
[root@server] ~# zpool import -nfF vol1 [root@server] ~#
I'd have thought a failure of one drive should not have caused the entire pool to become unusable. I've used mdraid on Linux for years before this and have had drives fail without causing the volume to fail, and replacing them was easy. I can't even get the pool imported to remove that drive successfully.
I'd appreciate any advice or further areas to look into, much thanks in advance!
Cheers