How to access an existing RAID1 disk in FreeNAS 9.3

Status
Not open for further replies.

StoragePoro

Cadet
Joined
Jan 5, 2015
Messages
4
In 2009 I installed two 1 TB disks in a RAID1 mirror in a PC running FreeNAS 7.0 that boots from an IDE to CF adapter. A few days ago that PC failed and I can no longer access my files over SMB.

I removed the two identical disks (WD Caviar Black 1TB 7200 RPM) and put them (one at a time) in a new PC where I booted to FreeNAS 9.3. But I can't figure out how to get FreeNAS 9.3 to access the data on those disks.

At this point I'd just like to access my data. I recognize I don't have the 8 GB of recommended RAM for FreeNAS 9.3, but I'm just looking to get this working temporarily enough to copy my data.

In FreeNAS 9.3 I tried to "Import Disk" and I can see only one "Member disk", which is "ada0p1 (1.0 TB)". For the "File System type" I selected "UFS". For the Destination if I leave it blank I get the error "The path does not exist". If I Browse on the destination I can only choose "/", which changes the error to "The path None does not exist".

I also tried to "Import Volume" but there are no volumes in the drop-down on "Step 2 of 2."

Any ideas on how to recover my data?
 

StoragePoro

Cadet
Joined
Jan 5, 2015
Messages
4
Additional info on my current FreeNAS 9.3 setup...

Build: FreeNAS-9.3-STABLE-201412090314
Platform: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
Memory: 1988MB


Relevant results of dmesg:
Code:
ada0 at ata5 bus 0 scbus3 target 0 lun 0
ada0: <WDC WD1001FALS-00J7B0 05.00K05> ATA-8da0 at umass-sim0 bus 0 scbus7 target 0 lun 0
[snip]
SATA 2.x device
ada0: Serial Number WD-WMATV0216045
ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes)
ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad10




Relevant results of "smartctl -a /dev/ada0":
Code:
=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Black
Device Model:     WDC WD1001FALS-00J7B0
Serial Number:    WD-WMATV0216045
LU WWN Device Id: 5 0014ee 0ab76a667
Firmware Version: 05.00K05
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.5, 3.0 Gb/s
Local Time is:    Mon Jan  5 13:44:15 2015 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED




And here's my complete backup of the config file from FreeNAS 7.0:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<freenas>
    <version>7.0</version>
    <lastchange>1232754338</lastchange>
    <system>
        <hostname>freenas</hostname>
        <domain>local</domain>
        <ipv6dnsserver/>
        <username>admin</username>
        <password>[REDACTED]</password>
        <timezone>America/Boise</timezone>
        <language>en_US</language>
        <ntp>
            <timeservers>pool.ntp.org</timeservers>
            <updateinterval>300</updateinterval>
        </ntp>
        <webgui>
            <protocol>https</protocol>
            <certificate>[REDACTED]</certificate>
            <privatekey>[REDACTED]</privatekey>
            <port>443</port>
        </webgui>
        <zeroconf/>
        <motd>[REDACTED]</motd>
        <swap>
            <type>file</type>
        </swap>
        <proxy>
            <http>
                <address>proxy</address>
                <port>8080</port>
                <username/>
                <password/>
            </http>
            <ftp>
                <address>proxy</address>
                <port>8080</port>
                <username/>
                <password/>
            </ftp>
        </proxy>
        <email>
            <server>smtp.gmail.com</server>
            <port>25</port>
            <security>tls</security>
            <username>[REDACTED]</username>
            <password>[REDACTED]</password>
            <from>[REDACTED]</from>
            <authmethod>login</authmethod>
            <auth/>
        </email>
        <rcconf/>
        <sysctl>
            <param>
                <uuid>[REDACTED]</uuid>
                <name>hw.ata.to</name>
                <value>15</value>
                <comment>ATA disk timeout vis-a-vis power-saving</comment>
            </param>
        </sysctl>
        <hosts/>
        <hostsacl>
            <rule>#ftpd  : xxx.xxx.xxx.xxx : deny</rule>
            <rule>#sshd : .example.com : deny</rule>
            <rule>#in.tftpd : xxx.xxx.xxx.xxx : deny</rule>
            <rule>ALL : ALL : allow</rule>
        </hostsacl>
        <usermanagement>
            <user>
                <uuid>[REDACTED]</uuid>
                <name>transmission</name>
                <id>999</id>
                <primarygroup>999</primarygroup>
                <group>50</group>
                <extraoptions>-m -w none</extraoptions>
            </user>
            <group>
                <uuid>[REDACTED]</uuid>
                <id>999</id>
                <name>transmission</name>
            </group>
            <group>
                <uuid>[REDACTED]</uuid>
                <id>1000</id>
                <name>admin</name>
            </group>
        </usermanagement>
        <firewall>
            <rule>
                <uuid>[REDACTED]</uuid>
                <ruleno>100</ruleno>
                <action>deny</action>
                <log/>
                <protocol>tcp</protocol>
                <src/>
                <srcport/>
                <dst/>
                <dstport>21</dstport>
                <direction>in</direction>
                <if/>
                <extraoptions/>
                <desc>Deny in FTP</desc>
            </rule>
            <rule>
                <uuid>[REDACTED]</uuid>
                <ruleno>200</ruleno>
                <action>deny</action>
                <log/>
                <protocol>tcp</protocol>
                <src/>
                <srcport/>
                <dst/>
                <dstport>22</dstport>
                <direction>in</direction>
                <if/>
                <extraoptions>setup keep-state</extraoptions>
                <desc>Deny in secure FTP, Telnet, and SCP</desc>
            </rule>
            <rule>
                <uuid>[REDACTED]</uuid>
                <ruleno>300</ruleno>
                <action>deny</action>
                <log/>
                <protocol>tcp</protocol>
                <src/>
                <srcport/>
                <dst/>
                <dstport>113</dstport>
                <direction>in</direction>
                <if/>
                <extraoptions/>
                <desc>Deny ident</desc>
            </rule>
        </firewall>
        <dnsserver>192.168.1.1</dnsserver>
        <dnsserver>4.2.2.2</dnsserver>
        <powerd/>
    </system>
    <interfaces>
        <lan>
            <enable/>
            <if>auto</if>
            <ipaddr>192.168.1.250</ipaddr>
            <subnet>24</subnet>
            <ipv6addr>auto</ipv6addr>
            <ipv6subnet>64</ipv6subnet>
            <media>autoselect</media>
            <mediaopt>half-duplex</mediaopt>
            <gateway>192.168.1.1</gateway>
            <mtu/>
            <extraoptions/>
        </lan>
    </interfaces>
    <staticroutes/>
    <disks>
        <disk>
            <uuid>[REDACTED]</uuid>
            <name>ad4</name>
            <devicespecialfile>/dev/ad4</devicespecialfile>
            <harddiskstandby>20</harddiskstandby>
            <acoustic>0</acoustic>
            <fstype>ufsgpt</fstype>
            <apm>1</apm>
            <transfermode>auto</transfermode>
            <type>IDE</type>
            <desc>WD1</desc>
            <size>953870MB</size>
            <smart/>
        </disk>
        <disk>
            <uuid>[REDACTED]</uuid>
            <name>ad6</name>
            <devicespecialfile>/dev/ad6</devicespecialfile>
            <harddiskstandby>20</harddiskstandby>
            <acoustic>0</acoustic>
            <apm>1</apm>
            <transfermode>auto</transfermode>
            <type>IDE</type>
            <desc>WD2</desc>
            <size>953870MB</size>
            <smart/>
            <fstype>ufsgpt</fstype>
        </disk>
    </disks>
    <gvinum/>
    <gmirror/>
    <gconcat/>
    <gstripe/>
    <graid5/>
    <geli/>
    <iscsitarget/>
    <iscsiinit/>
    <mounts/>
    <samba>
        <netbiosname>freenas</netbiosname>
        <workgroup>WORKGROUP</workgroup>
        <serverdesc>FreeNAS Server</serverdesc>
        <security>share</security>
        <guestaccount>ftp</guestaccount>
        <localmaster>yes</localmaster>
        <rcvbuf>16384</rcvbuf>
        <sndbuf>16384</sndbuf>
        <storedosattributes/>
        <usesendfile/>
    </samba>
    <ftpd>
        <numberclients>5</numberclients>
        <maxconperip>2</maxconperip>
        <timeout>600</timeout>
        <port>21</port>
        <pasv_max_port>0</pasv_max_port>
        <pasv_min_port>0</pasv_min_port>
        <pasv_address/>
        <directorymask>022</directorymask>
        <filemask>077</filemask>
        <chrooteveryone/>
        <privatekey/>
        <certificate/>
        <userbandwidth>
            <up/>
            <down/>
        </userbandwidth>
        <anonymousbandwidth>
            <up/>
            <down/>
        </anonymousbandwidth>
        <banner/>
    </ftpd>
    <afp/>
    <rsyncd>
        <port>873</port>
        <rsyncd_user>ftp</rsyncd_user>
        <motd/>
    </rsyncd>
    <rsync/>
    <unison>
        <workdir>.unison</workdir>
        <makedir/>
    </unison>
    <upnp>
        <port>49152</port>
        <profile>default</profile>
    </upnp>
    <daap>
        <port>3689</port>
        <rescaninterval>3600</rescaninterval>
        <scantype>0</scantype>
        <content/>
        <dbdir/>
        <admin_pw>freenas</admin_pw>
    </daap>
    <bittorrent>
        <port>9091</port>
        <downloaddir/>
        <configdir/>
        <password>freenas</password>
    </bittorrent>
    <sshd>
        <port>22</port>
        <passwordauthentication/>
        <pubkeyauthentication/>
        <permitrootlogin/>
        <enable/>
        <private-key/>
    </sshd>
    <nfsd>
        <numproc>4</numproc>
    </nfsd>
    <snmpd>
        <location/>
        <contact/>
        <read>public</read>
        <traphost>localhost</traphost>
        <trapport>162</trapport>
        <trap/>
        <modules>
            <mibii/>
        </modules>
    </snmpd>
    <diag>
        <ipv6nat>
            <ipaddr/>
        </ipv6nat>
    </diag>
    <syslogd>
        <nentries>100</nentries>
        <remote>
            <ipaddr/>
        </remote>
    </syslogd>
    <access/>
    <dynamicdns/>
    <statusreport>
        <to/>
        <subject/>
        <all_mins/>
        <all_hours/>
        <all_days/>
        <all_months/>
        <all_weekdays/>
        <minute/>
        <hour/>
        <day/>
        <month/>
        <weekday/>
        <report>systeminfo</report>
        <report>dmesg</report>
        <report>systemlog</report>
        <report>ftplog</report>
        <report>rsynclog</report>
        <report>sshdlog</report>
        <report>smartdlog</report>
        <report>daemonlog</report>
    </statusreport>
    <shutdown>
        <all_mins/>
        <all_hours/>
        <all_days/>
        <all_months/>
        <all_weekdays/>
        <minute/>
        <hour/>
        <day/>
        <month/>
        <weekday/>
    </shutdown>
    <reboot>
        <all_mins/>
        <all_hours/>
        <all_days/>
        <all_months/>
        <all_weekdays/>
        <minute/>
        <hour/>
        <day/>
        <month/>
        <weekday/>
    </reboot>
    <cron/>
    <rc>
        <preinit/>
        <postinit/>
        <shutdown/>
    </rc>
    <websrv>
        <protocol>http</protocol>
        <port/>
        <documentroot/>
        <privatekey/>
        <certificate/>
        <authentication>
            <url>
                <path>/</path>
                <realm>Webserver</realm>
            </url>
        </authentication>
    </websrv>
    <smartd>
        <interval>1800</interval>
        <powermode>never</powermode>
        <temp>
            <diff>0</diff>
            <info>0</info>
            <crit>0</crit>
        </temp>
        <email>
            <to/>
        </email>
    </smartd>
    <ad>
        <domaincontrollername/>
        <domainname_dns/>
        <domainname_netbios/>
        <username>Administrator</username>
        <password/>
    </ad>
    <ldap>
        <hostname/>
        <base/>
        <anonymousbind/>
        <binddn/>
        <bindpw/>
        <rootbinddn/>
        <rootbindpw/>
        <pam_password/>
        <user_suffix/>
        <group_suffix/>
        <password_suffix/>
        <machine_suffix/>
        <auxparam>ldap_version 3</auxparam>
        <auxparam>timelimit 30</auxparam>
        <auxparam>bind_timelimit 30</auxparam>
        <auxparam>bind_policy soft</auxparam>
        <auxparam>pam_ldap_attribute uid</auxparam>
    </ldap>
    <ups>
        <upsname>ups</upsname>
        <shutdownmode>onbatt</shutdownmode>
        <shutdowntimer>30</shutdowntimer>
        <email>
            <to/>
            <subject/>
        </email>
    </ups>
    <tftpd>
        <dir/>
        <extraoptions/>
        <port/>
        <username>nobody</username>
        <umask/>
        <timeout/>
        <maxblocksize/>
    </tftpd>
</freenas>
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
You need 8GB of RAM minimum for FreeNAS to avoid erratic behavior. You have 1/4th that. I've already worked with people that had 6GB of RAM and couldn't get the system to function because of RAM. So how about you give that box an upgrade to the minimum requirements (or go back to 9.2.1.9)?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Considering that you had 7 on it, you will likely want to look at nas4free since that is the continuation of Freenas 7
 

StoragePoro

Cadet
Joined
Jan 5, 2015
Messages
4
I spent hours trying to get FreeNAS 9.2.1.9 and NAS4Free 9.3.0.2.1283 in live USB working, but couldn't get the OS to boot all the way on the one PC I tried it on.

I got my power supply working on the original FreeNAS 7.0 box, but although the disks were recognized, the RAID1 wasn't working anymore.

I discovered that I was able to mount my disk from a FreeNAS SSH shell with:

Code:
# mount -r /dev/ad4p1 /mnt


I'm using WinSCP from a Windows box as a quick way to copy over all my files.

Thank you very much for the suggested help, I'm glad I got to my data!
 
Status
Not open for further replies.
Top