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!

data recovery - zfs pool damage

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
TWART016
NewUser
NewUser
Posts: 4
Joined: 29 May 2016 16:28
Status: Offline

data recovery - zfs pool damage

Post by TWART016 »

Hello,

I have a PC with nasfree 9.3.0.2 and 2 big drives. Since a few week I can't access the ZFS pool from the network.

It seems that the ZFS pool didn't exist anymore. I just can see one drive in the Pools / virtual devices.
With shh (camcontrol devlist) it says I have two drives:
<WDC WD30EZRX-00D8PB0 80.00A80> at scbus1 target 0 lun 0 (pass2,ada0)
<WDC WD30EZRX-00D8PB0 80.00A80> at scbus1 target 1 lun 0 (pass3,ada1)

More commands:
zpool status -> no pools available
zpool import ->
pool: data
id: 3802854832492432771
state: ONLINE
Assertion failed: (reason == ZPOOL_STATUS_OK), file /usr/src/cddl/sbin/zpool/../ ../../cddl/contrib/opensolaris/cmd/zpool/zpool_main.c, line 1707.
Abort

If I want to open the topic Disks / Management the GUI is hanging so the site is not opening and I have to reload the page.

The most important thing is the data on the both drives. How can I get them? CLI command? Recovery tool?


Greetings
TWART016

wingenieur
Starter
Starter
Posts: 36
Joined: 25 Jan 2014 00:57
Location: Germany
Status: Offline

Re: data recovery - zfs pool damage

Post by wingenieur »

Have you tried to import the pool by its name:

Code: Select all

zpool import data
Without the name it only shows which pools are ready to be imported.
You could also use

Code: Select all

zpool import -a
which will import any pool found at default dev-location.

If importing is successful, it will mount automatically.
So your data should be available.

Edit: Found something similar here:
https://forums.freebsd.org/threads/44359/
NAS4free 12.1.0.4.7091 x64-embedded
addons (jailed with vnet and epair): Serviio 2.0 Pro
hardware:
mainboard: ASRock E3C242D4U2-2T
cpu: Intel i3-8350K
ram: 4x Kingston KSM24ED8/16ME
extra storage controller: LSI SAS 9207-8i, LSI SAS 9211-8i

storage:
boot, system, swap (geli), data: ADATA SX8200 Pro 256GB
raidz2_1 (@C242, geli): 6x Seagate ST8000VN0022
raidz2_2 (@LSI 9211, geli): 6x Seagate 3 TB mixed
2x triple-mirror (@LSI 9207, geli): 6x 500 GB Crucial MX500

TWART016
NewUser
NewUser
Posts: 4
Joined: 29 May 2016 16:28
Status: Offline

Re: data recovery - zfs pool damage

Post by TWART016 »

With:
zpool import data
zpool import -a

It just says:
cannot import 'data': pool may be in use from other system
use '-f' to import anyway

zpool list -> no pools available

wingenieur
Starter
Starter
Posts: 36
Joined: 25 Jan 2014 00:57
Location: Germany
Status: Offline

Re: data recovery - zfs pool damage

Post by wingenieur »

TWART016 wrote:With:
zpool import data
zpool import -a

It just says:
cannot import 'data': pool may be in use from other system
use '-f' to import anyway

zpool list -> no pools available
And have you tried the -f option?

Code: Select all

zpool import -f data
NAS4free 12.1.0.4.7091 x64-embedded
addons (jailed with vnet and epair): Serviio 2.0 Pro
hardware:
mainboard: ASRock E3C242D4U2-2T
cpu: Intel i3-8350K
ram: 4x Kingston KSM24ED8/16ME
extra storage controller: LSI SAS 9207-8i, LSI SAS 9211-8i

storage:
boot, system, swap (geli), data: ADATA SX8200 Pro 256GB
raidz2_1 (@C242, geli): 6x Seagate ST8000VN0022
raidz2_2 (@LSI 9211, geli): 6x Seagate 3 TB mixed
2x triple-mirror (@LSI 9207, geli): 6x 500 GB Crucial MX500

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: data recovery - zfs pool damage

Post by crowi »

and please post the SMART values of your disks
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

TWART016
NewUser
NewUser
Posts: 4
Joined: 29 May 2016 16:28
Status: Offline

Re: data recovery - zfs pool damage

Post by TWART016 »

crowi wrote:and please post the SMART values of your disks
Thank you really much. This works. I set the wrong parameter.

Post Reply

Return to “ZFS (only!)”