Hey, Think this might be a bit of a long shot given what I've seen on other posts but keen to get a look in before I give up
I've added my specs to my signature, in terms of vdevs I had 2 with 3 drives in each. RAIDZ1
I've been having issues with my system, at this stage I think it was related to a faulty SAS cable but I can't 100% pin it on that at this stage; I have replaced the cable and things seem more solid, drives are no longer dropping off but as the pool no longer loads I can't confirm this. I had replaced a drive since I started experiencing issues, and was about to replace another before I hit the current issue.
Anyhow when I replaced one of the SAS cables (the other is internal in the system) I thought I would give plugging one of the SAS connectors into the motherboard, essentially try to work out if the HBA was to blame.
When the system booted after that my pool didn't even appear in the GUI, I didn't give too much thought to this, I shut the system down and moved the SAS connector back onto the HBA. The problem is now when I try to import the pool I get the error below. I should mention the system did previously use this onboard SAS connection when I only had 3 drives but this HBA has been in "production" for over a year now. Come to think of it moving to the HBA didn't cause any issue so maybe that isn't to fault.
I've tried running this import command with various flags that other posts have suggested.
The output of
The faulted drive is the one I had scheduled for replacement. Given I'm in RAIDZ1 my assumption is I should be able to still get the data on the pool
After running this I still only get boot information in
One thing that makes me think that moving the SAS connector caused issues is that when I run
This is the output of camcontrol
Hangs head in shame, I don't have a backup of the full pool, this is a home server and the expense is simply to high to do that. I do have a copy of my most import assets backed up to the cloud so not the end of the world but I would obviously still rather keep or get what data I can out if anyone has any suggestions.
I've added my specs to my signature, in terms of vdevs I had 2 with 3 drives in each. RAIDZ1
I've been having issues with my system, at this stage I think it was related to a faulty SAS cable but I can't 100% pin it on that at this stage; I have replaced the cable and things seem more solid, drives are no longer dropping off but as the pool no longer loads I can't confirm this. I had replaced a drive since I started experiencing issues, and was about to replace another before I hit the current issue.
Anyhow when I replaced one of the SAS cables (the other is internal in the system) I thought I would give plugging one of the SAS connectors into the motherboard, essentially try to work out if the HBA was to blame.
When the system booted after that my pool didn't even appear in the GUI, I didn't give too much thought to this, I shut the system down and moved the SAS connector back onto the HBA. The problem is now when I try to import the pool I get the error below. I should mention the system did previously use this onboard SAS connection when I only had 3 drives but this HBA has been in "production" for over a year now. Come to think of it moving to the HBA didn't cause any issue so maybe that isn't to fault.
Code:
root@freenas:/ # zpool import NAS cannot import 'NAS': I/O error Destroy and re-create the pool from a backup source.
I've tried running this import command with various flags that other posts have suggested.
The output of
zpool import
is Code:
root@freenas:/ # zpool import pool: NAS id: 13256022188567172076 state: FAULTED status: One or more devices contains corrupted data. action: The pool cannot be imported due to damaged devices or data. The pool may be active on another system, but can be imported using the '-f' flag. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-5E config: NAS FAULTED corrupted data raidz1-0 ONLINE gptid/9fb2f2a2-ff14-11e5-88b4-70106f3e74fc ONLINE gptid/20b6d4af-505c-11ec-9610-70106f3e74fc ONLINE gptid/a1a5e7aa-ff14-11e5-88b4-70106f3e74fc ONLINE raidz1-1 DEGRADED gptid/7ec79194-7cb5-11ea-93b0-70106f3e74fc FAULTED corrupted data gptid/e39a8a76-5280-11eb-a93b-70106f3e74fc ONLINE gptid/e6819d66-513f-11ec-9467-70106f3e74fc ONLINE
The faulted drive is the one I had scheduled for replacement. Given I'm in RAIDZ1 my assumption is I should be able to still get the data on the pool
After running this I still only get boot information in
/var/log/messages
likewise for dmesg
so not anything else to go on here I'm afraid.One thing that makes me think that moving the SAS connector caused issues is that when I run
gabel status
I get duplicates of each of my partitions? maybe this is okay and I'm just misunderstanding but it felt relevant.Code:
root@freenas:/ # glabel status Name Status Components gptid/7ec79194-7cb5-11ea-93b0-70106f3e74fc N/A da0p2 gptid/20b6d4af-505c-11ec-9610-70106f3e74fc N/A da1p2 gptid/9fb2f2a2-ff14-11e5-88b4-70106f3e74fc N/A da2p2 gptid/a1a5e7aa-ff14-11e5-88b4-70106f3e74fc N/A da3p2 gptid/e39a8a76-5280-11eb-a93b-70106f3e74fc N/A da4p2 gptid/e6819d66-513f-11ec-9467-70106f3e74fc N/A da5p2 gptid/daf9bb1e-d17a-11e8-92d6-70106f3e74fc N/A da6p1 gptid/db1a7481-d17a-11e8-92d6-70106f3e74fc N/A da6p2 gptid/e66b3688-513f-11ec-9467-70106f3e74fc N/A da5p1 gptid/e3846caf-5280-11eb-a93b-70106f3e74fc N/A da4p1 gptid/a198eb0a-ff14-11e5-88b4-70106f3e74fc N/A da3p1 gptid/9fa35dce-ff14-11e5-88b4-70106f3e74fc N/A da2p1 gptid/20128937-505c-11ec-9610-70106f3e74fc N/A da1p1 gptid/7d7eb525-7cb5-11ea-93b0-70106f3e74fc N/A da0p1
This is the output of camcontrol
Code:
root@freenas:/ # camcontrol devlist <ATA ST8000DM004-2CX1 0001> at scbus0 target 26 lun 0 (pass0,da0) <ATA ST8000DM004-2CX1 0001> at scbus0 target 28 lun 0 (pass1,da1) <ATA WDC WD40EFRX-68W 0A82> at scbus0 target 29 lun 0 (pass2,da2) <ATA WDC WD40EFRX-68W 0A82> at scbus0 target 31 lun 0 (pass3,da3) <ATA WDC WD80EFAX-68K 0A81> at scbus0 target 32 lun 0 (pass4,da4) <ATA WDC WD80EDAZ-11T 0A81> at scbus0 target 33 lun 0 (pass5,da5) <AHCI SGPIO Enclosure 2.00 0001> at scbus7 target 0 lun 0 (pass6,ses0) <SanDisk Extreme 0001> at scbus9 target 0 lun 0 (pass7,da6)
Hangs head in shame, I don't have a backup of the full pool, this is a home server and the expense is simply to high to do that. I do have a copy of my most import assets backed up to the cloud so not the end of the world but I would obviously still rather keep or get what data I can out if anyone has any suggestions.