Upgrade successful, Pool might be gone

Status
Not open for further replies.

swamphox1

Dabbler
Joined
Aug 17, 2015
Messages
33
Title says it all. I had to change drive that freenas was running on. I can log into the GUI and see the drives all there. I did upgrade from 9.2 to 9.3. I did auto import. Saw no problems other than the system not showing up on my PC as it did prior to the upgrade.
RAIDZ2
MB Asus A97
Build FreeNAS-9.3-STABLE-201506292332
Platform AMD FX(tm)-4130 Quad-Core Processor
Memory 16255MB
Uptime 2:47PM up 34 mins, 0 users
Load Average 0.00, 0.03, 0.05
 
Joined
Jan 9, 2015
Messages
430
Can you see your Datasets under "Storage" in the WebGUI?
Do the Dataset show "Used" space?
You may have just lost the Shares setup, and not the data, if you didn't retain the config file before reloading the OS.
 

swamphox1

Dabbler
Joined
Aug 17, 2015
Messages
33
I was not able to save the config file because the drive running freenas was bad. I am able to see the Dataset used as being what it was. When backing up this config or trying to I was able to see my files listed.
 
Joined
Jan 9, 2015
Messages
430
Ok. So all your files are there. You will just have to set everything back up; like Shares, Users, Groups, etc. This would also be a good time to think about running a nightly script to backup your config file so this doesn't happen to you again.

Here is with I use, but there is another one floating around on the forum if you'd like to check it out as well:
Code:
#!/bin/bash
# This script checks to see if the current freenas-v1.db file is the same as the current backed up copy of freenas-v1.db
# If they are the same nothing happens.  If they are different, then it backs up the newer config file.
# Just change the BACKUPFILE variable to a directory of your choosing.


CONFIGFILE="/data/freenas-v1.db"
BACKUPFILE="/mnt/WD6REDS/sh/Config Backup/freenas-v1.db"

if [ -f "${BACKUPFILE}" ]; then
    DIFF=`diff "${CONFIGFILE}" "${BACKUPFILE}"`
      if [ "${DIFF}" == "" ]; then
          echo "The current config file is the same as the backup config file.  Nothing to be copied."       
        else
          echo "A backup config file was found, but it doesn't match the current one.  Copying newer config file now."
          cp "${CONFIGFILE}" "${BACKUPFILE}"
      fi
    echo "$DIFF"
  else
    echo "No Backup of \"${CONFIGFILE}\" exists.  Creating a backup copy at \"${BACKUPFILE}\" now."
    cp "${CONFIGFILE}" "${BACKUPFILE}"
fi
 
Joined
Jan 9, 2015
Messages
430
Also, think about grabbing one more USB drive and put the 2 of them in a mirror. This way if one dies you can still keep rocking on. :cool:
 

swamphox1

Dabbler
Joined
Aug 17, 2015
Messages
33
I still can't access. I really don't know what I am doing but I have come this far. I just need to be able access
 
Joined
Jan 9, 2015
Messages
430
I still can't access. I really don't know what I am doing but I have come this far. I just need to be able access
Access what? Your Shares? I'm assuming CIFS Shares?
 

swamphox1

Dabbler
Joined
Aug 17, 2015
Messages
33
Yes CIFS Shares. I know it is the configuration but it has been two years since I set this thing up. I am going to try yo access the old drive again and see if I can get the config file off of it. Confidence is low.
 
Joined
Jan 9, 2015
Messages
430
If you can get a good copy of the config that is fine. I'd backup your current config first, just in case. If you can't get the old config file you *WILL* have to re-setup the shares. In less you want to jump into the command line.
 

swamphox1

Dabbler
Joined
Aug 17, 2015
Messages
33
I am able to access on my mac but not the windows machine (which I prefer) any insight as to why it won't show up on the win machine?
 
Joined
Jan 9, 2015
Messages
430
If you had the share mapped to a drive letter in Windows, then disconnect from it and re-map it.
 
Joined
Jan 9, 2015
Messages
430
Is your Windows machine and FreeNAS in the same workgroup?
 

swamphox1

Dabbler
Joined
Aug 17, 2015
Messages
33
I don't know. I didn't change anything. Freenas says workgroup but in windows I have no way of knowing.
 
Joined
Jan 9, 2015
Messages
430
What version of Windows are you using?
 

swamphox1

Dabbler
Joined
Aug 17, 2015
Messages
33
WIN7. I am part of "workgroup" I have followed all instructions in the manual and other post on setting up CIFS. I have done this before but I know there is one f'ing box checked that is preventing me from connecting.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
what shares are created on your freenas system? Can you describe them in detail?
 
Status
Not open for further replies.
Top