Page 1 of 5 12345 LastLast
Results 1 to 10 of 42

Thread: USB stick corrupt / Trouble Importing / Replacing Disk [SOLVED]

  1. #1
    Member
    Join Date
    Dec 2011
    Location
    Washington, District of Columbia, United States
    Posts
    50

    Exclamation USB stick corrupt / Trouble Importing / Replacing Disk [SOLVED]

    Hey all. I had FreeNAS 8 installed and running (I think 8.02-RELEASE-amd64 is the version I had at the time).

    My USB stick, I can only assume (based on other forum threads), is corrupt. I say this because I just freeze on "mounting local file systems:" and it stays there forever.

    I used UFS Explorer to copy off factory-v1.db and freenas-v1.db from the USB drive, and I have them sitting on my PC right now.

    My question is, can I reload the latest FreeNAS and somehow get that DB loaded back into the stick, so that I can access the data on my 6 HDD's that are set up in ZFS-1? I don't think there's any way to get that data without the info in the FreeNAS database, but maybe I'm wrong. I'm sitting tight until I hear from somebody on how to proceed here....

    I wanted to add that I also get the Geometry does not match label error....
    Last edited by shackrock; 04-10-2012 at 03:29 PM. Reason: figured out my version that I had running

  2. #2
    Senior Moderator ProtoSD's Avatar
    Join Date
    Jul 2011
    Location
    San Diego, California
    Posts
    3,362
    Shackrock,

    Your data will be fine, you can reinstall FreeNAS anytime on a new stick and boot it up and do an Auto Import and your data will be there. However, if you want you can reinstall FreeNAS, boot it up, "mount -uw /" and copy freenas-v1.db back to /data and reboot and you should have all of your settings restored.
    I've decided to take a break from the forums for an undetermined amount of time and am *VOLUNTARILY* banning myself as a means to force myself to leave this site. Things have gotten out of hand here and behind the scenes on a lot of levels and I'm fed up with the BS. Since I'm banning myself, that means I won't be able to reply to any PM's either. If I've shared my email with you, please feel free to keep in touch.

    -- Proto

  3. #3
    Member
    Join Date
    Dec 2011
    Location
    Washington, District of Columbia, United States
    Posts
    50
    Quote Originally Posted by protosd View Post
    Shackrock,

    Your data will be fine, you can reinstall FreeNAS anytime on a new stick and boot it up and do an Auto Import and your data will be there. However, if you want you can reinstall FreeNAS, boot it up, "mount -uw /" and copy freenas-v1.db back to /data and reboot and you should have all of your settings restored.
    Trying this now, I hope you're right! haha. I literally have been freaking out for about 2 hours trying to fix things.

  4. #4
    Member
    Join Date
    Dec 2011
    Location
    Washington, District of Columbia, United States
    Posts
    50
    Ok it found my volume after a few minutes. I clicked import, and it's taking a while - how long should this take? It's been about 20 minutes, no luck yet, just still shows the "auto import volume" screen with the options grayed out (because I already clicked import).
    Last edited by shackrock; 04-10-2012 at 04:13 PM.

  5. #5
    Senior Moderator ProtoSD's Avatar
    Join Date
    Jul 2011
    Location
    San Diego, California
    Posts
    3,362
    Hmmm, it shouldn't be taking THAT long. Don't freak out. What happens if you do a "zpool status -v" from the command line?

  6. #6
    Member
    Join Date
    Dec 2011
    Location
    Washington, District of Columbia, United States
    Posts
    50
    no pools available...
    Last edited by shackrock; 04-10-2012 at 05:37 PM.

  7. #7
    Senior Moderator ProtoSD's Avatar
    Join Date
    Jul 2011
    Location
    San Diego, California
    Posts
    3,362
    Ok, now you can freak out just a little

    Its possible your config database was corrupt, but the data in your pool doesnt depend on the database. Try a clean install of FreeNAS or possibly a Factory reset, then go directly to Storage-Volumes and do the Auto-Import again, it should happen pretty quickly no more than a minute.

    If that doesnt work, post back and we'll try an import from the command line. I'm assuming your settings arent as important as your data

    (Yes, I know there arent any quotes or apostrophes where they should be, the bloody forums are jacked up right now....)

  8. #8
    Member
    Join Date
    Dec 2011
    Location
    Washington, District of Columbia, United States
    Posts
    50
    Well, this is a completely fresh install. I didn't save any settings from the last version. So the flash drive was completely re-flashed using the 8.04 img file, that's all...

    I just went to factory restore in the settings tab. It freezes on "please wait..." just like the auto import froze after I clicked the button. Is there something wrong with the img possibly??

  9. #9
    Senior Moderator ProtoSD's Avatar
    Join Date
    Jul 2011
    Location
    San Diego, California
    Posts
    3,362
    Its possible, did you use the same flash drive or a different one?

  10. #10
    Member
    Join Date
    Dec 2011
    Location
    Washington, District of Columbia, United States
    Posts
    50
    Quote Originally Posted by protosd View Post
    Its possible, did you use the same flash drive or a different one?
    Same drive... It's the only one I have here! haha. I'll reflash once more and try.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •