Hello.
I'm trying to move OI Hipster host from physical host to linux-hosted kvm.

The host has two pools, each consisting from one disk.
$ zpool status
  pool: data
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
        the features. See zpool-features(5) for details.
scan: scrub repaired 0 in 4h5m with 0 errors on Tue Oct 28 13:58:26 2014
config:

    NAME                                     STATE     READ WRITE CKSUM
    data                                     ONLINE       0     0     0
      c4t6005076802808844B000000000000032d0  ONLINE       0     0     0

errors: No known data errors

  pool: rpool
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
        the features. See zpool-features(5) for details.
  scan: none requested
config:

 NAME                                       STATE     READ WRITE CKSUM
 rpool                                      ONLINE       0     0     0
    c4t6005076802808844B000000000000031d0s0  ONLINE       0     0     0

errors: No known data errors

The disks are in fact LUNs provided by our IBM storage.

I've dd-ed LUN, corresponding to rpool ZFS pool to LVM volume. Added this volume to KVM VM and could boot with it. But the same doesn't work for data pool. After going up, VM says that data pool is corrupted. So I mapped LUN, corresponding to data pool, to KVM host and added it as raw device to KVM host and gave it to VM.

In kvm command line I have:
-drive file=/dev/mapper/mpathf,if=none,id=drive-ide1,aio=native,cache=none -device ide-hd,bus=ide.0,unit=1,drive=drive-ide1,id=ide1

where mpathf is LUN, corresponding to c4t6005076802808844B000000000000032d0.

But when I boot VM, it again says that data pool is corrupted:

# zpool import
   pool: data
     id: 18026850962074001314
  state: FAULTED
 status: The pool metadata is corrupted.
 action: The pool cannot be imported due to damaged devices or data.
        The pool may be active on another system, but can be imported using
        the '-f' flag.
   see: http://illumos.org/msg/ZFS-8000-72
 config:

        data        FAULTED  corrupted data
          c10d1     ONLINE

I've already run scrub on data pool, connected to physical server. It hasn't found anything special. But I just can't connect this pool to VM. Does someone know, what is going on?

--
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to