This looks like it could be caused by illumos bug# 5213. We are trying to push a fix upstream but it's still out for review:

https://reviews.csiden.org/r/110/

Can you please provide the "::spa -v" output from the core file?

Thanks,
George

On 10/24/14, 9:48 AM, Alexander Pyhalov via illumos-discuss wrote:
Hello.
I was moving OI Hipster installation from physical server to KVM VM.

I've created two lvm-based disks (the same size as original LUNs) and used dd to copy content from physical disks to LVM volumes.
One disk is root pool (32 GB) and another one is data pool (512 GB).

After turning VM on the root pool on VM looks good. But when I try to import the data pool, the system crashes.

# mdb -k unix.2 vmcore.2

Loading modules: [ unix genunix specfs mac cpu.generic uppc pcplusmp scsi_vhci zfs ip hook neti sockfs arp usba uhci stmf stmf_sbd s1394 qlc fctl md lofs random idm sd mpt mpt_sas pmcs fcp emlxs ]
> ::status
debugging crash dump vmcore.2 (64-bit) from oi-build.mgmt.r61.net
operating system: 5.11 illumos-f8554bb (i86pc)
image uuid: 7a2132e7-2cf0-cb00-cfe1-b2f4c121412d
panic message:
assertion failed: space_map_open(&msp->ms_sm, mos, object, msp->ms_start, msp->ms_size, vd->vdev_ashift, &msp->ms_lock) == 0 (0x32 == 0x0), file: ../../comm
on/fs/zfs/metaslab.c, line: 1231
dump content: kernel pages only
> ::stack
vpanic()
0xfffffffffba6542d()
metaslab_init+0x1cb(ffffff09126379c0, 1a, 1ed, 0)
vdev_metaslab_init+0x135(ffffff0918236540, 0)
vdev_load+0xd2(ffffff0918236540)
vdev_load+0x3b(ffffff0912986040)
spa_load_impl+0xa2d(ffffff0911aae000, fa2c3d708d545fa2, ffffff0915464a88, 3, 0, 1)
spa_load+0x14e(ffffff0911aae000, 3, 0, 1)
spa_tryimport+0xaa(ffffff0918305808)

zfs_ioc_pool_tryimport+0x51(ffffff09115cb000)

zfsdev_ioctl+0x4a7(b500000000, 5a06, 80425ec, 100003, ffffff09183ae6a0, ffffff003e1fee68) cdev_ioctl+0x39(b500000000, 5a06, 80425ec, 100003, ffffff09183ae6a0, ffffff003e1fee68) spec_ioctl+0x60(ffffff091194cc00, 5a06, 80425ec, 100003, ffffff09183ae6a0, ffffff003e1fee68) fop_ioctl+0x55(ffffff091194cc00, 5a06, 80425ec, 100003, ffffff09183ae6a0, ffffff003e1fee68)
ioctl+0x9b(3, 5a06, 80425ec)
_sys_sysenter_post_swapgs+0x149()

Any ideas what could go wrong? I suppose that it could be just data corruption (but why?). Of course, I can just recreate the data pool and send/recv data from physical server to VM, but the whole panic looks strange. I mean, why data corruption could happen?




-------------------------------------------
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