On 10/30/2014 10:56, Alexander Pyhalov via illumos-discuss wrote:
Hello.
I'm trying to move OI Hipster host from physical host to linux-hosted kvm.

One more interesting thing.

It seems after boot VM remembers something about old data pool.
When I run zdb -e rpool |head  -60

I see

Configuration for import:
        vdev_children: 1
        version: 5000
        pool_guid: 3662662750235703870
        name: 'rpool'
        state: 0
        hostid: 672767
        hostname: ''
        vdev_tree:
            type: 'root'
            id: 0
            guid: 3662662750235703870
            children[0]:
                type: 'disk'
                id: 0
                guid: 1958306450195883095
>>                phys_path: '/pci@0,0/pci-ide@1,1/ide@0/cmdk@0,0:a'
                whole_disk: 0
                metaslab_array: 33
                metaslab_shift: 28
                ashift: 9
                asize: 34319368192
                is_log: 0
                create_txg: 4
                path: '/dev/dsk/c10d0s0'
                devid: 'id1,cmdk@AQEMU_HARDDISK=QM00001/a'

I can see /pci@0,0/pci-ide@... disk path

But when I run zdb -e data |head  -60
I receive

 zdb -e data  |head  -60
zdb: can't open 'data': I/O error

Configuration for import:
        vdev_children: 1
        version: 5000
        pool_guid: 18026850962074001314
        name: 'data'
        state: 0
        hostid: 672767
        hostname: 'oi-build.mgmt.r61.net'
        vdev_tree:
            type: 'root'
            id: 0
            guid: 18026850962074001314
            children[0]:
                type: 'disk'
                id: 0
                guid: 5489749995336862939
>> phys_path: '/scsi_vhci/disk@g6005076802808844b000000000000032:a'
                whole_disk: 1
                metaslab_array: 33
                metaslab_shift: 32
                ashift: 9
                asize: 549742444544
                is_log: 0
                DTL: 9205
                create_txg: 4
                path: '/dev/dsk/c10d1s0'
                devid: 'id1,cmdk@AQEMU_HARDDISK=QM00002/a'

It seems to remember some old path. How can I fix it?

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