Error Code: ZFS-8000-3C

Status
Not open for further replies.

pandafree

Dabbler
Joined
Jun 30, 2011
Messages
10
Hello EveryBody,

I have a big problem, I installed and using freenas 8 everything is ok. But yesterday Freenas rebooted. and I cannot access my data. My Error code:ZFS-8000-3C
ERROR_.jpg
 

pandafree

Dabbler
Joined
Jun 30, 2011
Messages
10
freenas# zpool import
pool: LUN1_Managment
id: 9824485998905465801
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://www.sun.com/msg/ZFS-8000-3C
config:

LUN1_Managment UNAVAIL insufficient replicas
ada0 UNAVAIL cannot open
 

Tekkie

Patron
Joined
May 31, 2011
Messages
353
Perhaps you can share some more details with us on your configuration? Rather difficult to say anything at all with only that snippet.
 

pandafree

Dabbler
Joined
Jun 30, 2011
Messages
10
Hi Tekkie,
My freenas version 8. I have a two disk and all disk is working, but I want to try "zpool import" I see this error

freenas# zpool import
pool: LUN1_Managment
id: 9824485998905465801
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://www.sun.com/msg/ZFS-8000-3C
config:

LUN1_Managment UNAVAIL insufficient replicas
ada0 UNAVAIL cannot open

freenas# zdb -l /dev/ada0
--------------------------------------------
LABEL 0
--------------------------------------------
version=15
name='LUN1_Managment'
state=0
txg=659469
pool_guid=9824485998905465801
hostid=1749918222
hostname='freenas.local'
top_guid=14632342232188158471
guid=14632342232188158471
vdev_tree
type='disk'
id=0
guid=14632342232188158471
path='/dev/ada0'
whole_disk=0
metaslab_array=23
metaslab_shift=31
ashift=9
asize=2000394125312
is_log=0
DTL=257
--------------------------------------------
LABEL 1
--------------------------------------------
version=15
name='LUN1_Managment'
state=0
txg=659469
pool_guid=9824485998905465801
hostid=1749918222
hostname='freenas.local'
top_guid=14632342232188158471
guid=14632342232188158471
vdev_tree
type='disk'
id=0
guid=14632342232188158471
path='/dev/ada0'
whole_disk=0
metaslab_array=23
metaslab_shift=31
ashift=9
asize=2000394125312
is_log=0
DTL=257
--------------------------------------------
LABEL 2
--------------------------------------------
version=15
name='LUN1_Managment'
state=0
txg=659469
pool_guid=9824485998905465801
hostid=1749918222
hostname='freenas.local'
top_guid=14632342232188158471
guid=14632342232188158471
vdev_tree
type='disk'
id=0
guid=14632342232188158471
path='/dev/ada0'
whole_disk=0
metaslab_array=23
metaslab_shift=31
ashift=9
asize=2000394125312
is_log=0
DTL=257
--------------------------------------------
LABEL 3
--------------------------------------------
version=15
name='LUN1_Managment'
state=0
txg=659469
pool_guid=9824485998905465801
hostid=1749918222
hostname='freenas.local'
top_guid=14632342232188158471
guid=14632342232188158471
vdev_tree
type='disk'
id=0
guid=14632342232188158471
path='/dev/ada0'
whole_disk=0
metaslab_array=23
metaslab_shift=31
ashift=9
asize=2000394125312
is_log=0
DTL=257
freenas#
 

Tekkie

Patron
Joined
May 31, 2011
Messages
353
I was rather looking for information on how many hdd you have in the system? What was the original configuration of the pool?
 

Tekkie

Patron
Joined
May 31, 2011
Messages
353
USB HDD is the FreeNAS host OS drive I assume from the above.

How are/were the 2x2GB SATA drives configured? Did you use any hardware raid feature like a stripe set or JBOD?
 

pandafree

Dabbler
Joined
Jun 30, 2011
Messages
10
Thank For Help Tekkie,
2X2 TB hdd is hardware raid, and it is Raid 0+1 I checked raid config and I cannot see no failure or problem.
 

Tekkie

Patron
Joined
May 31, 2011
Messages
353
2x2TB hdd can't be RAID 0+1, because you'd need 4 drives for that, 2 for the stripe set and 2 for the mirror, the configuration must be something else.

PS. Its better not to use hardware raid with ZFS, search the forum there are several postings on this subject.
 

pandafree

Dabbler
Joined
Jun 30, 2011
Messages
10
how to recovery dataset ? import command is failure.Disk and Raid is working But I cannot access dataset

freenas# zpool import
pool: LUN1_Managment
id: 9824485998905465801
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://www.sun.com/msg/ZFS-8000-3C
config:

LUN1_Managment UNAVAIL insufficient replicas
ada0 UNAVAIL cannot open
 

Tekkie

Patron
Joined
May 31, 2011
Messages
353
Can you run gpart show and paste the output here
 

pandafree

Dabbler
Joined
Jun 30, 2011
Messages
10
freenas# gpart show
=> 63 15646617 da0 MBR (7.5G)
63 953505 1 freebsd [active] (466M)
953568 63 - free - (32K)
953631 953505 2 freebsd (466M)
1907136 3024 3 freebsd (1.5M)
1910160 41328 4 freebsd (20M)
1951488 13695192 - free - (6.5G)

=> 0 953505 da0s1 BSD (466M)
0 16 - free - (8.0K)
16 953489 1 !0 (466M)

freenas#


freenas# gpart list
Geom name: da0
state: OK
fwheads: 255
fwsectors: 63
last: 15646679
first: 63
entries: 4
scheme: MBR
Providers:
1. Name: da0s1
Mediasize: 488194560 (466M)
Sectorsize: 512
Mode: r1w0e2
attrib: active
rawtype: 165
length: 488194560
offset: 32256
type: freebsd
index: 1
end: 953567
start: 63
2. Name: da0s2
Mediasize: 488194560 (466M)
Sectorsize: 512
Mode: r0w0e0
rawtype: 165
length: 488194560
offset: 488259072
type: freebsd
index: 2
end: 1907135
start: 953631
3. Name: da0s3
Mediasize: 1548288 (1.5M)
Sectorsize: 512
Mode: r0w0e0
rawtype: 165
length: 1548288
offset: 976453632
type: freebsd
index: 3
end: 1910159
start: 1907136
4. Name: da0s4
Mediasize: 21159936 (20M)
Sectorsize: 512
Mode: r1w1e2
rawtype: 165
length: 21159936
offset: 978001920
type: freebsd
index: 4
end: 1951487
start: 1910160
Consumers:
1. Name: da0
Mediasize: 8011120640 (7.5G)
Sectorsize: 512
Mode: r2w1e5

Geom name: da0s1
state: OK
fwheads: 255
fwsectors: 63
last: 953504
first: 0
entries: 8
scheme: BSD
Providers:
1. Name: da0s1a
Mediasize: 488186368 (466M)
Sectorsize: 512
Mode: r1w0e2
rawtype: 0
length: 488186368
offset: 8192
type: !0
index: 1
end: 953504
start: 16
Consumers:
1. Name: da0s1
Mediasize: 488194560 (466M)
Sectorsize: 512
Mode: r1w0e2

freenas#
 

Tekkie

Patron
Joined
May 31, 2011
Messages
353
Try this: http://groups.google.com/group/zfs-fuse/browse_thread/thread/30c2001a9e004ce3?safe=on
0) DON'T PANIC! (Apologies to Douglas Adams)
1) zpool import -d /dev/disk/by-id
This should list your pool or pools. If so, proceed to 2).
If not, see 0, and consider stuffing around with forcing disk
orderings and/or temporarily physically disconnecting any other disks
that might have been added after you first imported your pool(s). Once
the same set of disks is attached to the same set of controllers as
was extant in your previous import *and nothing else*, udev *should*
reattach with the same /dev/sd* nomenclature (with the phase of the
moon correct and the stars aligned). In this case, your pool will
import correctly. IF you get to this point, IMMEDIATELY execute "zpool
export poolname" (without the quotes and substituting appropriately
for "poolname"). Then proceed to 2).
2) Execute "zpool import -d /dev/disk/by-id poolname" (without the
quotes, and substitute appropriately for "poolname"). This will import
things with reasonably unique identifiers (that happen not to be uuids
- which don't seem to work here for some reason or other) and
importantly are not volatile w.r.t. udev stuffing around at boottime.
With a little luck, this should bring your pool(s) back with disk
identifiers that are more stable than /dev/sd* identifiers under udev.
Good luck (and remember point 0)!
 

pandafree

Dabbler
Joined
Jun 30, 2011
Messages
10
Hi Tekkie,
Thanks for help, I install freenas and import volume everything is ok, but ISCSI performance is very low
 
Status
Not open for further replies.
Top