Hello all,
I am running NAS4Free (I have already posted my issue on that forum, but suggestions have so far not resolved the problem. My issue relates to my ZFS pool opposed to the OS.)
I had the OS installed on a 1TB drive and a separate zpool 'media' comprising of 4x2TB drives. Following a drive failure on OS drive, I replaced and reinstalled the OS. Unfortunately, after this point I am unable to import the zpool again:
From investigations it appears the drive labels allocate differently to what was previously configured (I have tried various different types of install and all amount to same problem).
From /var/log/system.log:
...
on import:
I think this has happened because previously I had a SATA cable failure resulting in me having to do a replace and scrub of the pool (thus the labels ad4,ad6,ad8,ad10 above instead of ad0,ad1,ad2,ad3). I assume the pool must store this information. This is just my guess though.
Either way, I am stuck and cannot figure out how to import my zpool. Reading on related topics I think something along the lines of this post would be required: http://forums.freebsd.org/showthread.php?t=28181
I would greatly appreciate help on this matter.
Thanks,
I am running NAS4Free (I have already posted my issue on that forum, but suggestions have so far not resolved the problem. My issue relates to my ZFS pool opposed to the OS.)
I had the OS installed on a 1TB drive and a separate zpool 'media' comprising of 4x2TB drives. Following a drive failure on OS drive, I replaced and reinstalled the OS. Unfortunately, after this point I am unable to import the zpool again:
Code:
# zpool import -f
pool: media
id: 6325274310150933716
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://illumos.org/msg/ZFS-8000-3C
config:
media UNAVAIL insufficient replicas
raidz1-0 UNAVAIL insufficient replicas
raid/r0 ONLINE
5557966061127549840 UNAVAIL cannot open
15250106807823902241 UNAVAIL cannot open
12240457910996348905 UNAVAIL cannot open
From investigations it appears the drive labels allocate differently to what was previously configured (I have tried various different types of install and all amount to same problem).
From /var/log/system.log:
Code:
Sep 21 20:37:57 nas4free kernel: ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
Sep 21 20:37:57 nas4free kernel: ada0: <SAMSUNG HD203WI 1AN10002> ATA-8 SATA 2.x device
Sep 21 20:37:57 nas4free kernel: ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
Sep 21 20:37:57 nas4free kernel: ada0: Command Queueing enabled
Sep 21 20:37:57 nas4free kernel: ada0: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
Sep 21 20:37:57 nas4free kernel: ada0: Previously was known as ad4
Sep 21 20:37:57 nas4free kernel: ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
Sep 21 20:37:57 nas4free kernel: ada1: <SAMSUNG HD203WI 1AN10002> ATA-8 SATA 2.x device
Sep 21 20:37:57 nas4free kernel: ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
Sep 21 20:37:57 nas4free kernel: ada1: Command Queueing enabled
Sep 21 20:37:57 nas4free kernel: ada1: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
Sep 21 20:37:57 nas4free kernel: ada1: Previously was known as ad6
Sep 21 20:37:57 nas4free kernel: ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
Sep 21 20:37:57 nas4free kernel: ada2: <SAMSUNG HD203WI 1AN10002> ATA-8 SATA 2.x device
Sep 21 20:37:57 nas4free kernel: ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
Sep 21 20:37:57 nas4free kernel: ada2: Command Queueing enabled
Sep 21 20:37:57 nas4free kernel: ada2: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
Sep 21 20:37:57 nas4free kernel: ada2: Previously was known as ad8
Sep 21 20:37:57 nas4free kernel: ada3 at ahcich3 bus 0 scbus3 target 0 lun 0
Sep 21 20:37:57 nas4free kernel: ada3: <SAMSUNG HD203WI 1AN10002> ATA-8 SATA 2.x device
Sep 21 20:37:57 nas4free kernel: ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
Sep 21 20:37:57 nas4free kernel: ada3: Command Queueing enabled
Sep 21 20:37:57 nas4free kernel: ada3: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
Sep 21 20:37:57 nas4free kernel: ada3: Previously was known as ad10
...
on import:
Code:
Sep 21 21:14:16 nas4free kernel: ZFS WARNING: Unable to attach to ada1.
Sep 21 21:14:17 nas4free kernel: ZFS WARNING: Unable to attach to ada2.
Sep 21 21:14:17 nas4free kernel: ZFS WARNING: Unable to attach to ada3.
I think this has happened because previously I had a SATA cable failure resulting in me having to do a replace and scrub of the pool (thus the labels ad4,ad6,ad8,ad10 above instead of ad0,ad1,ad2,ad3). I assume the pool must store this information. This is just my guess though.
Either way, I am stuck and cannot figure out how to import my zpool. Reading on related topics I think something along the lines of this post would be required: http://forums.freebsd.org/showthread.php?t=28181
I would greatly appreciate help on this matter.
Thanks,