So I've been running a 7 drive Raidz2 array under Ubuntu as a media server, and one morning I could no longer access the files. A zpool status told me that the array failed because of a bad intent log, one drive listed as UNAVAIL due to corrupted data. In my searching of various forum posts around the interwebs, I tried a zfs clear, but it failed. I then did a zfs export which appears to have worked fine, but zfs import will not work. Here is my current situation:
root@LinuxServer:~# zpool import -m
pool: fileserver
id: 7093643436194074128
state: ONLINE
status: One or more devices contains corrupted data.
action: The pool can be imported using its name or numeric identifier.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
config:
fileserver ONLINE
raidz2-0 ONLINE
ata-ST4000DM000-1F2168_W300D13P UNAVAIL corrupted data
ata-ST4000DM000-1F2168_W300PPAV ONLINE
ata-ST4000DM000-1F2168_W300TNP6 ONLINE
ata-ST4000DX000-1CL160_Z1Z02WWY ONLINE
ata-ST4000DX000-1CL160_Z1Z03D6X ONLINE
ata-ST4000DX000-1CL160_Z1Z0491E ONLINE
ata-ST4000DX000-1CL160_Z1Z05NX1 ONLINE
root@LinuxServer:~# zpool import -m fileserver
cannot import 'fileserver': pool may be in use from other system
use '-f' to import anyway
root@LinuxServer:~# zpool import -m -f fileserver
cannot import 'fileserver': one or more devices is currently unavailable
If I pull the offending drive from the server, it drops the corrupted data part of the status, but gives the same issues on import. Anyone have any input on this situation? I'd really prefer not to have to recreate everything that was on the server. Downloading 200gbs of stuff from crashplan isn't a problem, but ripping 8tb of movies takes some time. Thanks for your time
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Help with Raidz2 array?
-
substr
- experienced User

- Posts: 113
- Joined: 04 Aug 2013 20:21
- Status: Offline
Re: Help with Raidz2 array?
Have you tried zpool import -f -F fileserver
Might also be zpool import -fF fileserver
This is supposed to try and throw out the last txg, but not sure if that also works around a problem with the ZIL.
Also recommend you run a memory test, maybe first thing, just in case you've got some bad hardware. I think Ubuntu includes a memtest on the boot/install media.
Might also be zpool import -fF fileserver
This is supposed to try and throw out the last txg, but not sure if that also works around a problem with the ZIL.
Also recommend you run a memory test, maybe first thing, just in case you've got some bad hardware. I think Ubuntu includes a memtest on the boot/install media.
-
monogoat
- NewUser

- Posts: 2
- Joined: 15 May 2014 03:54
- Status: Offline
Re: Help with Raidz2 array?
I will run a memtest on the system. This is what your command gives:
root@LinuxServer:~# zpool import -m
pool: fileserver
id: 7093643436194074128
state: ONLINE
status: One or more devices contains corrupted data.
action: The pool can be imported using its name or numeric identifier.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
config:
fileserver ONLINE
raidz2-0 ONLINE
ata-ST4000DM000-1F2168_W300D13P UNAVAIL corrupted data
ata-ST4000DM000-1F2168_W300PPAV ONLINE
ata-ST4000DM000-1F2168_W300TNP6 ONLINE
ata-ST4000DX000-1CL160_Z1Z02WWY ONLINE
ata-ST4000DX000-1CL160_Z1Z03D6X ONLINE
ata-ST4000DX000-1CL160_Z1Z0491E ONLINE
ata-ST4000DX000-1CL160_Z1Z05NX1 ONLINE
root@LinuxServer:~# zpool import -f -F fileserver
cannot import 'fileserver': I/O error
Destroy and re-create the pool from
a backup source.
This kinda sucks, for some reason I am a magnet for problems. I had hoped that having a 2 drive fault tolerance would be good, and here I have an issue without even having one drive die.
root@LinuxServer:~# zpool import -m
pool: fileserver
id: 7093643436194074128
state: ONLINE
status: One or more devices contains corrupted data.
action: The pool can be imported using its name or numeric identifier.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
config:
fileserver ONLINE
raidz2-0 ONLINE
ata-ST4000DM000-1F2168_W300D13P UNAVAIL corrupted data
ata-ST4000DM000-1F2168_W300PPAV ONLINE
ata-ST4000DM000-1F2168_W300TNP6 ONLINE
ata-ST4000DX000-1CL160_Z1Z02WWY ONLINE
ata-ST4000DX000-1CL160_Z1Z03D6X ONLINE
ata-ST4000DX000-1CL160_Z1Z0491E ONLINE
ata-ST4000DX000-1CL160_Z1Z05NX1 ONLINE
root@LinuxServer:~# zpool import -f -F fileserver
cannot import 'fileserver': I/O error
Destroy and re-create the pool from
a backup source.
This kinda sucks, for some reason I am a magnet for problems. I had hoped that having a 2 drive fault tolerance would be good, and here I have an issue without even having one drive die.
- crowi
- Forum Moderator

- Posts: 1176
- Joined: 21 Feb 2013 16:18
- Location: Munich, Germany
- Status: Offline
Re: Help with Raidz2 array?
Did you try the -Df flag?
Also check if the SATA cables are firmly attached to your drives and controolers and possibly try new ones.
Also post the SMART values here if possible.
Here are some hints: http://docs.huihoo.com/opensolaris/sola ... 04s06.htmlzpool import -Df fileserver
Also check if the SATA cables are firmly attached to your drives and controolers and possibly try new ones.
Also post the SMART values here if possible.
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded
-
substr
- experienced User

- Posts: 113
- Joined: 04 Aug 2013 20:21
- Status: Offline
Re: Help with Raidz2 array?
you might also try again with the corrupted data drive removed from the system.