Husky
Dabbler
- Joined
- Oct 16, 2014
- Messages
- 10
I just tried to grab some data from an old 1 drive zfs pool that was not in use for about a year. It however doesn't work. Does anybody have an idea how to access the pool? I think the device was named different in the old machine.
I thought it might be a missing log device but providing "-m" doesn't help:
Additional info that might help to track down the issue
Code:
[root@freenas] ~# zpool import
pool: harddisk
id: 11245568988528280564
state: UNAVAIL
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
see: http://illumos.org/msg/ZFS-8000-EY
config:
harddisk UNAVAIL missing device
ada0p2 ONLINECode:
[root@freenas] ~# zpool import harddisk cannot import 'harddisk': pool may be in use from other system, it was last accessed by freenas.local (hostid: 0x47307aed) on Fri Mar 15 03:01:18 2013 use '-f' to import anyway
Code:
[root@freenas] ~# zpool import -f harddisk cannot import 'harddisk': one or more devices is currently unavailable
I thought it might be a missing log device but providing "-m" doesn't help:
Code:
[root@freenas] ~# zpool import -f -m harddisk cannot import 'harddisk': one or more devices is currently unavailable
Additional info that might help to track down the issue
Code:
[root@freenas] ~# zdb -l /dev/gptid/7df89392-fc09-11e0-a869-003005c4d551
--------------------------------------------
LABEL 0
--------------------------------------------
version: 15
name: 'harddisk'
state: 0
txg: 201310
pool_guid: 11245568988528280564
hostid: 1194359533
hostname: 'freenas.local'
top_guid: 117745139941842
guid: 117745139941842
vdev_tree:
type: 'disk'
id: 1
guid: 117745139941842
path: '/dev/da2p2'
whole_disk: 0
metaslab_array: 23
metaslab_shift: 33
ashift: 9
asize: 1498149552128
is_log: 0
DTL: 427
--------------------------------------------
LABEL 1
--------------------------------------------
version: 15
name: 'harddisk'
state: 0
txg: 201310
pool_guid: 11245568988528280564
hostid: 1194359533
hostname: 'freenas.local'
top_guid: 117745139941842
guid: 117745139941842
vdev_tree:
type: 'disk'
id: 1
guid: 117745139941842
path: '/dev/da2p2'
whole_disk: 0
metaslab_array: 23
metaslab_shift: 33
ashift: 9
asize: 1498149552128
is_log: 0
DTL: 427
--------------------------------------------
LABEL 2
--------------------------------------------
version: 15
name: 'harddisk'
state: 0
txg: 201310
pool_guid: 11245568988528280564
hostid: 1194359533
hostname: 'freenas.local'
top_guid: 117745139941842
guid: 117745139941842
vdev_tree:
type: 'disk'
id: 1
guid: 117745139941842
path: '/dev/da2p2'
whole_disk: 0
metaslab_array: 23
metaslab_shift: 33
ashift: 9
asize: 1498149552128
is_log: 0
DTL: 427
--------------------------------------------
LABEL 3
--------------------------------------------
version: 15
name: 'harddisk'
state: 0
txg: 201310
pool_guid: 11245568988528280564
hostid: 1194359533
hostname: 'freenas.local'
top_guid: 117745139941842
guid: 117745139941842
vdev_tree:
type: 'disk'
id: 1
guid: 117745139941842
path: '/dev/da2p2'
whole_disk: 0
metaslab_array: 23
metaslab_shift: 33
ashift: 9
asize: 1498149552128
is_log: 0
DTL: 427
Last edited: