martinoff
2014-02-02 19:50:18 UTC
Aloha
I have a zfs pool in freebsd and want to migrate to zol but I have some
problems
This is my pool
[code] zpool status
pool: data
state: ONLINE
scan: scrub repaired 0 in 3h11m with 0 errors on Tue Jul 30 05:47:09 2013
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
gpt/disk1 ONLINE 0 0 0
gpt/disk2 ONLINE 0 0 0
errors: No known data errors[/code]
this zdb -C
[code] zdb -C data
MOS Configuration:
version: 5000
name: 'data'
state: 0
txg: 2989241
pool_guid: 6443248701440510437
hostid: 4243740396
hostname: 'hp.server.com'
vdev_children: 2
vdev_tree:
type: 'root'
id: 0
guid: 6443248701440510437
children[0]:
type: 'disk'
id: 0
guid: 5678030687779391050
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 1
metaslab_array: 33
metaslab_shift: 34
ashift: 12
asize: 3000586993664
is_log: 0
DTL: 160
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 2636475361422113179
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 1
metaslab_array: 30
metaslab_shift: 34
ashift: 12
asize: 3000586993664
is_log: 0
DTL: 161
create_txg: 4
features_for_read:[/code]
I cant export it and import by gpt or gptid but not from diskid
[code] zpool import -d /dev/gpt
pool: data
id: 6443248701440510437
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
data ONLINE
gpt/disk1 ONLINE
gpt/disk2 ONLINE
[/code]
Gptid
[code] zpool import -d /dev/gptid
pool: data
id: 6443248701440510437
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
data ONLINE
gptid/7fce9a51-e9ba-11e2-a573-3cd92b0b000e ONLINE
gptid/7bf1c36b-e9ba-11e2-a573-3cd92b0b000e ONLINE
[/code]
And from disked
[code]
zpool import -d /dev/diskid/
pool: data
id: 6443248701440510437
state: ONLINE
status: One or more devices contains corrupted data.
action: The pool can be imported using its name or numeric identifier.
see: http://illumos.org/msg/ZFS-8000-4J
config:
data ONLINE
diskid/DISK-WD-WCC1T0611102p1 ONLINE
2636475361422113179 UNAVAIL corrupted data
[/code]
When I try from zol I get corrupted data from both disk
Thanks in advance
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/23047029-187a0c8d
Modify Your Subscription: https://www.listbox.com/member/?member_id=23047029&id_secret=23047029-2e85923f
Powered by Listbox: http://www.listbox.com
I have a zfs pool in freebsd and want to migrate to zol but I have some
problems
This is my pool
[code] zpool status
pool: data
state: ONLINE
scan: scrub repaired 0 in 3h11m with 0 errors on Tue Jul 30 05:47:09 2013
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
gpt/disk1 ONLINE 0 0 0
gpt/disk2 ONLINE 0 0 0
errors: No known data errors[/code]
this zdb -C
[code] zdb -C data
MOS Configuration:
version: 5000
name: 'data'
state: 0
txg: 2989241
pool_guid: 6443248701440510437
hostid: 4243740396
hostname: 'hp.server.com'
vdev_children: 2
vdev_tree:
type: 'root'
id: 0
guid: 6443248701440510437
children[0]:
type: 'disk'
id: 0
guid: 5678030687779391050
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 1
metaslab_array: 33
metaslab_shift: 34
ashift: 12
asize: 3000586993664
is_log: 0
DTL: 160
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 2636475361422113179
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 1
metaslab_array: 30
metaslab_shift: 34
ashift: 12
asize: 3000586993664
is_log: 0
DTL: 161
create_txg: 4
features_for_read:[/code]
I cant export it and import by gpt or gptid but not from diskid
[code] zpool import -d /dev/gpt
pool: data
id: 6443248701440510437
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
data ONLINE
gpt/disk1 ONLINE
gpt/disk2 ONLINE
[/code]
Gptid
[code] zpool import -d /dev/gptid
pool: data
id: 6443248701440510437
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
data ONLINE
gptid/7fce9a51-e9ba-11e2-a573-3cd92b0b000e ONLINE
gptid/7bf1c36b-e9ba-11e2-a573-3cd92b0b000e ONLINE
[/code]
And from disked
[code]
zpool import -d /dev/diskid/
pool: data
id: 6443248701440510437
state: ONLINE
status: One or more devices contains corrupted data.
action: The pool can be imported using its name or numeric identifier.
see: http://illumos.org/msg/ZFS-8000-4J
config:
data ONLINE
diskid/DISK-WD-WCC1T0611102p1 ONLINE
2636475361422113179 UNAVAIL corrupted data
[/code]
When I try from zol I get corrupted data from both disk
Thanks in advance
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/23047029-187a0c8d
Modify Your Subscription: https://www.listbox.com/member/?member_id=23047029&id_secret=23047029-2e85923f
Powered by Listbox: http://www.listbox.com