panic...

Status
Not open for further replies.

JaimieV

Guru
Joined
Oct 12, 2012
Messages
742
And then remember... RAID is backup. Backup your important stuff somewhere other than your NAS.

I'm sure you meant to say "RAID is NOT backup"!

Hope you get your data back gdcmjb.
 

Stephens

Patron
Joined
Jun 19, 2012
Messages
496

gdcmjb

Dabbler
Joined
Sep 26, 2012
Messages
21
Ok, I got one more idea left.

Boot FreeBSD 9.1, on the boot loader choose prompt (option 6 IIRC)

type:

set vfs.zfs.recover=1 <enter>
boot <enter>

Once the OS boots, enter this in the shell:
zpool import -F -f -o readonly=on POOLNAME

If you're lucky this will at least give you RO access to the pool.
I can't see the option 6 IIRC, I got
Code:
Welcome to FreeBSD
1. Boot [Enter]
2. [Esclape to loader prompt]
3. Reboot

Options:
4. [A]CPI Support On
5. Safe [M]ode Off
6. ingle User off
7. [V]erbose off

So I tried
Code:
2. [Esclape to loader prompt]

And type
Code:
set vfs.zfs.recover=1 <enter>
boot <enter>

Than this is what I get
Code:
zpool import -F -f -o readonly=on GDNAS-01
Pool GDNAS-01 returned to its state as of Wed Sep 26 10:34:39 2012.
cannot mount '/GDNAS-01': failed to create mountpoint
 

gdcmjb

Dabbler
Joined
Sep 26, 2012
Messages
21
If I try a complete re-install of freenas disconnecting raid hdds, will I losse my data or will I be able to restore them after re-connecting them?
 

gdcmjb

Dabbler
Joined
Sep 26, 2012
Messages
21
I tried an upgrade of freenas with succeed but still the same error :(
 

gdcmjb

Dabbler
Joined
Sep 26, 2012
Messages
21
I tried to load freenas by disconnecting raid hdd to check what u told me
Do you have autotune enabled? (System->Advanced)
Do you have tunables? (System->Tunables)
And it doesn't work, I got the Console setup menu displaying on a loop and cannot acces web interface
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
I can't see the option 6 IIRC, I got
Code:
Welcome to FreeBSD
1. Boot [Enter]
2. [Esclape to loader prompt]
3. Reboot

Options:
4. [A]CPI Support On
5. Safe [M]ode Off
6. ingle User off
7. [V]erbose off

So I tried
Code:
2. [Esclape to loader prompt]

And type
Code:
set vfs.zfs.recover=1 <enter>
boot <enter>

Than this is what I get
Code:
zpool import -F -f -o readonly=on GDNAS-01
Pool GDNAS-01 returned to its state as of Wed Sep 26 10:34:39 2012.
cannot mount '/GDNAS-01': failed to create mountpoint


This worked! You can have you data back!
Just use this command instead:

zpool import -F -f -o readonly=on -R /mnt GDNAS-01

It will be in /mnt/GDNAS-01
 

gdcmjb

Dabbler
Joined
Sep 26, 2012
Messages
21
This worked! You can have you data back!
Just use this command instead:

zpool import -F -f -o readonly=on -R /mnt GDNAS-01

It will be in /mnt/GDNAS-01

I got this
Code:
Pool GDNAS-01 returned to its state as of <DATE>
cannot mount '/mnt/GDNAS-01': failed to create mountpoint
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
What OS are you running? FreeBSD 9? Live USB?

Just make sure you can write to /mnt, or try using /tmp instead.
 

gdcmjb

Dabbler
Joined
Sep 26, 2012
Messages
21
YES !!! Wiliam, you're the best ! THX !

I can see and browse my files !

So I'm trying now to copy the datas to an external usb drive but, I don't know how to do it... I checked /var/run/dmesg.boot and my external drive seems to be 'da0', than I found how to copy files 'cp -iprv origin destination' but what must I enter for the destination ?
I tried 'mount -t msdos /dev/da0s1 /mnt', 'mount -t msdosfs /dev/da0s1 /mnt', 'mount -t ufs /dev/da0s1 /mnt' but I got drive is busy

DIT : OK, I think I've found, it's copying right now, we'll see...
 

gdcmjb

Dabbler
Joined
Sep 26, 2012
Messages
21
Allright, I've found a best solution, ssh !

I'm recovering all my datas!

thank you so much William !!!
 
Status
Not open for further replies.
Top