Reboot loop / pool failure after update

LBitner99

Cadet
Joined
Jan 8, 2016
Messages
6
I am unsure of any of the connections with this problem but ill try to provide as much information as I can:

  • First I updated from 12.04 to 12.05. went off seemingly without a hitch
  • Made some configuration changes to a plex jail in an attempt to enable write permissions by plex to be able to delete items (never managed to resolve that btw)
  • 2 days later while accessing a drive share (windows SMB) and playing a mkv file the playback locks. I end task (again all in windows) on the player, go to look at my various shares in windows and everything shows disconnected.
  • I go and look at the console and the truenas system has rebooted. I watch and when it gets to the point where it loads my zfs pool it then crashes and reboots. not able to see what the exact error was
  • Thinking that maybe my messing around with perms/etc may have jacked the OS, i download a fresh copy of 12.05, grab a spare drive and pull the old (was still using a USB flash from the old freenas days) usb, reload the os on the new drive.. load into the console. when I go to import the pool back, this is the error I recieved:

4317f6aa-8c41-4dfc-8928-00a10e078e95.jpeg


  • Then the system now boots into an endless loop just as it had done on the previous install. I validated that its the same error by booting back on the old flash drive and catching the error as it came up there too.
  • I have ran smart scans on the disks themselves and all 6 check out. Seemingly physically the data is all still safe. I suspect (in my own ignorance however) that this is a problem with the zfs database (zdb?).
  • I have been able to run the import with the -o readonly=on which seems to be successful, but yet in the web console the pool is not shown and certainly the smb shares aren't available or accessible.

And that's where I am at. I am hoping there is something I have yet to have found on the internet to repair the zdb and get access to the data again to copy it off (hopefully from windows, I don't possess the skill to move things from within linux to a network share on a different machine.


root@truenas[~]# glabel status
Name Status Components
gptid/34186558-19a9-11e7-bc63-00133b12e889 N/A ada0p2
gptid/34bc25cf-19a9-11e7-bc63-00133b12e889 N/A ada1p2
gptid/33ffa1c6-19a9-11e7-bc63-00133b12e889 N/A ada2p2
gptid/349b9a3a-19a9-11e7-bc63-00133b12e889 N/A ada3p2
gptid/350d4d1f-19a9-11e7-bc63-00133b12e889 N/A ada4p2
gptid/35188e4a-19a9-11e7-bc63-00133b12e889 N/A ada5p2
gptid/f35d97cd-06bc-11ec-bac0-00133b12e889 N/A da0p1
gptid/35003b9c-19a9-11e7-bc63-00133b12e889 N/A ada5p1
gptid/34f4229f-19a9-11e7-bc63-00133b12e889 N/A ada4p1
gptid/347814d7-19a9-11e7-bc63-00133b12e889 N/A ada3p1
gptid/33e6d446-19a9-11e7-bc63-00133b12e889 N/A ada2p1
gptid/34a55040-19a9-11e7-bc63-00133b12e889 N/A ada1p1
gptid/33f462c9-19a9-11e7-bc63-00133b12e889 N/A ada0p1
root@truenas[~]#


and this:


root@truenas[~]# zpool import
pool: BNAS
id: 3145379905454372214
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:

BitnerNAS ONLINE
raidz2-0 ONLINE
gptid/33ffa1c6-19a9-11e7-bc63-00133b12e889 ONLINE
gptid/34186558-19a9-11e7-bc63-00133b12e889 ONLINE
gptid/349b9a3a-19a9-11e7-bc63-00133b12e889 ONLINE
gptid/34bc25cf-19a9-11e7-bc63-00133b12e889 ONLINE
gptid/350d4d1f-19a9-11e7-bc63-00133b12e889 ONLINE
gptid/35188e4a-19a9-11e7-bc63-00133b12e889 ONLINE
root@truenas[~]#


So, I apologize in advance and accept all criticism that I might have gotten my weak, windows admin self over my head by using freenas/truenas in the first place but I am hope this is my opportunity to learn more and hopefully find a way to get my data off here and restore the whole thing back to ground state again.
 

LBitner99

Cadet
Joined
Jan 8, 2016
Messages
6
So I suppose worth asking also, in case it matters: is there any other commands / info that might help in troubleshooting this that I should be looking at?? I am really at a loss at this point!

Thanks!
 

LBitner99

Cadet
Joined
Jan 8, 2016
Messages
6
Ok so in the last 24 hours I have found that while I import the pool using the -o readonly=on switch, I found out it is then accessible via /[poolname]. however it does not list it in /mnt so I can't recreate a smb share to move the data off from my various windows machines. Is there another method, networking wise?? I can gen up some flavor of linux box I suppose but getting the data off that pool is going to be significantly easier if its accessible (even read only) from windows for the time being. Help me out here!
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Ok so in the last 24 hours I have found that while I import the pool using the -o readonly=on switch, I found out it is then accessible via /[poolname]. however it does not list it in /mnt so I can't recreate a smb share to move the data off from my various windows machines.
Well, you can unmount it, change the mountpoint property on import (or permanently) and mount it at /mnt.

However, you can just SFTP in or whatever and you can get your data.
 

LBitner99

Cadet
Joined
Jan 8, 2016
Messages
6
Welp.. turns out you CAN access the zfs from ubuntu, so now just copying everything off to my windows server till I can start the truenas box from scratch! thanks everyone!
 
Top