Can’t Mount Drive – Solved:

Status
Not open for further replies.

bergkazs

Cadet
Joined
Dec 31, 2011
Messages
4
Can’t Mount Drive – Solved:
Problem: Installed freenas, and created UFS Volume with 3 250 G Drives. After power outage, one of my data drives failed. System would reboot, but volume was not available. Could not mount volume. Could not create new volume. Volume would disappear after reboot.

System Configuration from dmesg:
CPU: Intel(R) Celeron(R) D CPU 3.46GHz (3466.80-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf65 Family = f Model = 6 Stepping = 5
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe41d<SSE3,DTES64,MON,DS_CPL,CNXT-ID,CX16,xTPR,PDCM>
AMD Features=0x20000000<LM>
AMD Features2=0x1<LAHF>
TSC: P-state invariant
real memory = 1073741824 (1024 MB)
avail memory = 1027776512 (980 MB)

Data Drives:
ada0: <WDC WD2500JB-00REA0 20.00K20> ATA-8 device
ada1: <WDC WD2500AAJB-00WGA0 00.02C01> ATA-8 device
ada2: <WDC WD2500AAJB-00WGA0 00.02C01> ATA-8 device
(Three Western Digatal 250G IDE Drives)

Boot or dmesg output error:
GEOM: da0s1: geometry does not match label (16h,63s != 255h,63s).
Root mount waiting for: GRAID3
Root mount waiting for: GRAID3
Root mount waiting for: GRAID3
Root mount waiting for: GRAID3
GEOM_RAID3: Force device defaultraid3 start due to timeout.
GEOM_RAID3: Device raid3/defaultraid3 launched (2/3).

Tried Fixes:
Per Thread, “FAQ - Those same questions that keep getting Asked & Answered about FreeNAS 8”, and others like it, I tried to “zero out “ the data drives using the following CLI commands :
sysctl kern.geom.debugflags=16
dd if=/dev/zero of=/dev/ada1 bs=512 count=2
dd if=/dev/zero of=/dev/ada1 bs=512 skip=sectors
OR
dd if=/dev/zero of=/dev/ada1 bs=512 count=2
dd if=/dev/zero of=/dev/ada1 bs=512 seek=sectors
Result looked good in both cases. The “seek” syntax took a very very long time, completed successfully, but ultimately did not produce a fix.

Final Fix:
Created bootable copy of Gparted http://gparted.sourceforge.net/. Removed FreeNas USB drive and booted to GParted USB Drive. Created new Gpart partitions on all three drives ada0, ada1, and ada2. Removed GParted USB Drive, installed and booted to FreeNas USB. Dmesg was clean, and was able to create new volume using all the drives.
 
Status
Not open for further replies.
Top