stangri
Dabbler
- Joined
- Jul 22, 2013
- Messages
- 14
So I have (thru running a Nas4Free for about a week over the pool I've created with FreeNAS 7 a while ago) a pool which so far has crashed every OS I've tried to import it with: FreeNAS 8, OpenIndiana, Nas4Free and an old custom build of FreeNAS 7 with zfs 28 support.
I've had most success trying to restore it with FreeNAS 8.3.1 image tho, so hopefully someone can help me.
I've read up on the zfs import problems and the most common solutions I found were to try to mount it read-only (also causes kernel panic) or trying to recover the pool with zdb. I'm having a problem with zdb which hopefully someone can help me with.
While I can get listing of disks with zdb:
when I run:
or
I get the following error message:
I hope it's a something simple to get zdb working at this point, but I'm at loss at what to try.
Any help please?
I've had most success trying to restore it with FreeNAS 8.3.1 image tho, so hopefully someone can help me.
I've read up on the zfs import problems and the most common solutions I found were to try to mount it read-only (also causes kernel panic) or trying to recover the pool with zdb. I'm having a problem with zdb which hopefully someone can help me with.
While I can get listing of disks with zdb:
Code:
# zdb -l /dev/ada3 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version 5 zvol_init:1709[1]: ZVOL Initialized. ZFS storage pool version 28 -------------------------------------------- LABEL 0 -------------------------------------------- version: 28 name: 'DATA' state: 0 txg: 9766163 pool_guid: 9522190198077791104 hostname: '' top_guid: 252819746167074421 guid: 8951831291888754281 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 252819746167074421 nparity: 1 metaslab_array: 23 metaslab_shift: 31 ashift: 12 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2027052211370973537 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 4102 children[1]: type: 'disk' id: 1 guid: 764366381652363129 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 4101 children[2]: type: 'disk' id: 2 guid: 7379136512656866183 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 4100 children[3]: type: 'disk' id: 3 guid: 8951831291888754281 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 1 DTL: 1330 -------------------------------------------- LABEL 1 -------------------------------------------- version: 28 name: 'DATA' state: 0 txg: 9766163 pool_guid: 9522190198077791104 hostname: '' top_guid: 252819746167074421 guid: 8951831291888754281 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 252819746167074421 nparity: 1 metaslab_array: 23 metaslab_shift: 31 ashift: 12 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2027052211370973537 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 4102 children[1]: type: 'disk' id: 1 guid: 764366381652363129 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 4101 children[2]: type: 'disk' id: 2 guid: 7379136512656866183 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 4100 children[3]: type: 'disk' id: 3 guid: 8951831291888754281 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 1 DTL: 1330 -------------------------------------------- LABEL 2 -------------------------------------------- version: 28 name: 'DATA' state: 0 txg: 9766163 pool_guid: 9522190198077791104 hostname: '' top_guid: 252819746167074421 guid: 8951831291888754281 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 252819746167074421 nparity: 1 metaslab_array: 23 metaslab_shift: 31 ashift: 12 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2027052211370973537 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 4102 children[1]: type: 'disk' id: 1 guid: 764366381652363129 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 4101 children[2]: type: 'disk' id: 2 guid: 7379136512656866183 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 4100 children[3]: type: 'disk' id: 3 guid: 8951831291888754281 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 1 DTL: 1330 -------------------------------------------- LABEL 3 -------------------------------------------- version: 28 name: 'DATA' state: 0 txg: 9766163 pool_guid: 9522190198077791104 hostname: '' top_guid: 252819746167074421 guid: 8951831291888754281 vdev_children: 1 vdev_tree: type: 'raidz' id: 0 guid: 252819746167074421 nparity: 1 metaslab_array: 23 metaslab_shift: 31 ashift: 12 asize: 8001576501248 is_log: 0 children[0]: type: 'disk' id: 0 guid: 2027052211370973537 path: '/dev/ada0' phys_path: '/dev/ada0' whole_disk: 0 DTL: 4102 children[1]: type: 'disk' id: 1 guid: 764366381652363129 path: '/dev/ada1' phys_path: '/dev/ada1' whole_disk: 0 DTL: 4101 children[2]: type: 'disk' id: 2 guid: 7379136512656866183 path: '/dev/ada2' phys_path: '/dev/ada2' whole_disk: 0 DTL: 4100 children[3]: type: 'disk' id: 3 guid: 8951831291888754281 path: '/dev/ada3' phys_path: '/dev/ada3' whole_disk: 1 DTL: 1330
when I run:
Code:
zdb -e -bcsvL 9522190198077791104
or
Code:
zdb -e -bcsvL DATA
I get the following error message:
Code:
zdb: can't open 'DATA': No such file or directory
I hope it's a something simple to get zdb working at this point, but I'm at loss at what to try.
Any help please?