Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using logical volumes as xen disks



On Sep 27,  5:40am, Louis Guillaume wrote:
} 
} On NetBSD 6.0_BETA (from March 3rd or so), amd64, XEN3_DOM0, I want to 
} manage the storage for guests using LVM.
} 
} I'm able to create the logical volumes ok, but the guest domains fail to 
} start, hanging after loading the balloon0 device.
} 
} The disk parameter looks like this:
} 
}   'phy:/dev/vg0/lv0,0x04,w'

     Reading the Xen logs on the dom0 would have given you a strong
hint.  Anyways, the Xen stuff doesn't seem to like symbolic links, so
you need to give the physical paths, i.e.:

disk = [ 'phy:/dev/mapper/vg0-domu--ns1,0x1,w' ]
#disk = [ 'phy:/dev/mapper/vg0-domu--ns1,0x1,w', 
'file:/usr/local/isos/NetBSD-5.1,0x2,r' ]

} I also noticed that the logical volume cannot be vnconfig'd:
} 
}    # vnconfig vnd0 /dev/vg0/lv0
}    vnconfig: /dev/rvnd0d: VNDIOCSET: Operation not supported

     You can't do that.  vnd is for files, not devices.

}-- End of excerpt from Louis Guillaume


Home | Main Index | Thread Index | Old Index