SOLVED ZPOOL Unavailable After GUI Upgrade

Status
Not open for further replies.

xandrake

Cadet
Joined
Dec 26, 2013
Messages
5
Hello All,

I have been using FreeNAS for a few years without issue. I decided to upgrade to the latest firmware this morning and ran into an issue on reboot after the upgrade (8.3 -> 9.1). When I log into the web gui I have the alert telling me:
Code:
 WARNING: The volume Stuff (ZFS) status is UNKNOWN


I have tried to do troubleshooting and all of the threads I've found have folks with pool state: AVAILABLE and mine is UNAVAIL. Here is my setup and output from commands I found in other posts:

Code:
[toor@NAS /]$ zpool status
no pools available

[toor@NAS] ~# zpool import
   pool: Stuff
     id: 14869029199276819607
  state: UNAVAIL
 status: The pool was last accessed by another system.
 action: The pool cannot be imported due to damaged devices or data.
   see: http://illumos.org/msg/ZFS-8000-EY
 config:

        Stuff                                           UNAVAIL  missing device
          raidz1-0                                      ONLINE
            gptid/961e0589-7f69-11e1-9e31-000129a4c429  ONLINE
            gptid/965f673a-7f69-11e1-9e31-000129a4c429  ONLINE
            gptid/96a242e1-7f69-11e1-9e31-000129a4c429  ONLINE
            gptid/96e21459-7f69-11e1-9e31-000129a4c429  ONLINE
            gptid/9721354e-7f69-11e1-9e31-000129a4c429  ONLINE

[toor@NAS] ~# zpool import -D
no pools available to import


Code:
Build    FreeNAS-9.2.0-RELEASE-x64 (ab098f4)
Platform    Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Memory    4074MB
System Time    Thu Dec 26 13:31:10 EST 2013
Uptime    1:31PM up 14 mins, 1 user
Load Average    0.17, 0.13, 0.16


I am a noob when it comes to storage and ZFS in general, but have a relatively strong unix background so I'm not afraid to jump into a Putty session. I had scrubs and snapshots set up in the past (about a year ago) by suggestion of a post, but cannot remember exactly why/how I accomplished this. Please do bear with me, as I am still new to storage and its maintenance and configuration.

Thanks for all of your help!

Cheers,

Xan

--ALERT-- I am aware I will get flamed for using ZFS with 4GB of RAM -- I'm planning to upgrade my hardware and have had this for the past 2.5 years before ZFS was fully implemented...
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Well, you realize your pool might be irreparably damaged because of how little RAM you have? If I had to guess right now the probability its probably about 95%.

When was the last time you ran a scrub? Also post all of your hardware.
 

xandrake

Cadet
Joined
Dec 26, 2013
Messages
5
Well, you realize your pool might be irreparably damaged because of how little RAM you have? If I had to guess right now the probability its probably about 95%.

When was the last time you ran a scrub? Also post all of your hardware.

Thanks for the reply, cyberjock. I am aware that I might have data loss and it is a risk I knew going into this.

I had scrubs scheduled to run every Sunday evening at midnight, so my last scrub was scheduled to run 22Dec @ 00:00.

My hardware is an old gaming PC I had from many years ago.
  • DFI P35 Dark mobo (T2RS)
  • Intel Q6600 CPU
  • 4GB GSkill DDR2 RAM
  • 5x 1TB HDD
  • 2x 500GB HDD on hardware raid
If you need more info, let me know. I tried a dmesg, but got nothing to print to screen. (-a flag just gave me snapshot errors from boot time/cron)

Xan
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Well, my guess is that your pool was fine until the reboot for the upgrade. Just like we see with many people with less than the minimum requirements, you do something that seems very safe and not a big deal(reboot) but on reboot you have no pool.

Honestly, I have no recommendations for you at all.

I'm not sure if you had any of your 5x1TB drives on the RAID controller, but hardware RAID with ZFS is a recipe for unmitigated disaster with FreeNAS. Can't tell people enough to get them to stop using it.

Not to sound like a complete a**hole, but just reading this its almost like you did everything we tell people not to do day-in and day-out. We keep telling people not to try to reuse their old desktop and guess what people do...

You might want to try going back to your last FreeNAS version and uploading your config from before you upgraded. That might give you back your pool. But I wouldn't bet serious money on it. At this point you have nothing to lose from trying, right?
 

xandrake

Cadet
Joined
Dec 26, 2013
Messages
5
Well, my guess is that your pool was fine until the reboot for the upgrade. Just like we see with many people with less than the minimum requirements, you do something that seems very safe and not a big deal(reboot) but on reboot you have no pool.

Honestly, I have no recommendations for you at all.

I'm not sure if you had any of your 5x1TB drives on the RAID controller, but hardware RAID with ZFS is a recipe for unmitigated disaster with FreeNAS. Can't tell people enough to get them to stop using it.

Not to sound like a complete a**hole, but just reading this its almost like you did everything we tell people not to do day-in and day-out. We keep telling people not to try to reuse their old desktop and guess what people do...

You might want to try going back to your last FreeNAS version and uploading your config from before you upgraded. That might give you back your pool. But I wouldn't bet serious money on it. At this point you have nothing to lose from trying, right?

Thanks again for your response. You're not an a-hole, I tried to get this on the cheap and I got what I paid for -- yea? ;-)

I'm not too worried, as this was just a network share for my music/movies/photos which was all easily replaceable -- just a PITA to rebuild and organize.

The 5x1TB was NOT on hw raid, I just did that with the 500GB to make all 1TB volumes for FreeNAS to work with.

I'll try to roll back and import my last config. If that doesn't work I can rebuild from scratch and do it right.

Thanks again and I'll report back with findings.

Xan
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Alrighty! I look forward to hearing back!
 

xandrake

Cadet
Joined
Dec 26, 2013
Messages
5
You might want to try going back to your last FreeNAS version and uploading your config from before you upgraded. That might give you back your pool. But I wouldn't bet serious money on it. At this point you have nothing to lose from trying, right?

Winner winner, chicken dinner. I was able to import my configs and all of my data is there intact. Thank you so much for your help, cyberjock. :cool:

---MODS please mark as SOLVED and let me know how to buy this guy a beer. :D ---
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
I'm wondering if there is a hardware problem making you unable to upgrade to 9.x. If I were you I'd just keep it like it is until you buy a new server, then just do a zpool replication to the new server with the new server running whatever version of FreeNAS exists at that time.
 

xandrake

Cadet
Joined
Dec 26, 2013
Messages
5
I'm wondering if there is a hardware problem making you unable to upgrade to 9.x. If I were you I'd just keep it like it is until you buy a new server, then just do a zpool replication to the new server with the new server running whatever version of FreeNAS exists at that time.

This is likely my plan of action, yes. I been reviewing my options and will move to a more *ahem* suitable hardware configuration when means allow.

Thanks again for your help. You saved me a few headaches and some keyboard bashing.
 
Status
Not open for further replies.
Top