Hi, im trying to attach another volume aka disk to win HVM, however it doesn''t seem to work: + xm block-attach win2008ss phy:/dev/zvol/dsk/pool1/win2008ss.dsk2 \ hdd:disk w 0 results in: elkner.sol ~ > + xm block-list win2008ss --long (0 (vbd (uuid 7cb8fadf-619d-dde6-bda9-dcc18023c7d5) (bootable 1) (devid 768) (driver paravirtualised) (dev hda:disk) (uname phy:/dev/zvol/dsk/pool1/win2008ss.dsk) (mode w) (backend 0) ) ) (1 (vbd (uuid fbbc4777-3d56-cc87-e7ea-b4cc2ec17ffc) (bootable 0) (devid 5632) (driver paravirtualised) (dev hdc:cdrom) (uname file:/pool1/isos/win2008_x86.iso) (mode r) (backend 0) ) ) (2 (vbd (uuid 0b7f34c8-2f0a-0f0d-8004-7ebf752035e6) (bootable 0) (driver paravirtualised) (dev hdd:disk) (uname phy:/dev/zvol/dsk/pool1/win2008ss.dsk2) (mode w) (backend 0) ) ) elkner.sol ~ > + virsh start win2008ss libvir: Xen Daemon error : POST operation failed: (xend.err ''Device 768 (vbd) could not be connected. Backend device not found.'') error: Failed to start domain win2008ss elkner.sol ~ > + xm block-list win2008ss --long (0 (vbd (uuid 7cb8fadf-619d-dde6-bda9-dcc18023c7d5) (bootable 1) (devid 768) (driver paravirtualised) (dev hda:disk) (uname phy:/dev/zvol/dsk/pool1/win2008ss.dsk) (mode w) (backend 0) ) ) (1 (vbd (uuid fbbc4777-3d56-cc87-e7ea-b4cc2ec17ffc) (bootable 0) (devid 5632) (driver paravirtualised) (dev hdc:cdrom) (uname file:/pool1/isos/win2008_x86.iso) (mode r) (backend 0) ) ) (2 (vbd (uuid 0b7f34c8-2f0a-0f0d-8004-7ebf752035e6) (bootable 0) (devid 5696) (driver paravirtualised) (dev hdd:disk) (uname phy:/dev/zvol/dsk/pool1/win2008ss.dsk2) (mode w) (backend 0) ) ) When removing the device (xm block-detach win2008ss 5696), everything runs fine again. Any hints, what to do? Regards, jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768
Hi Jens, Try modifying the domain''s XML description virsh dumpxml win2008ss > /tmp/dom edit /tmp/dom, duplicate disk section and modify disk path virsh define /tmp/dom Jens Elkner wrote:> Hi, > > im trying to attach another volume aka disk to win HVM, however it > doesn''t seem to work: > > + xm block-attach win2008ss phy:/dev/zvol/dsk/pool1/win2008ss.dsk2 \ > hdd:disk w 0 > > results in: > > elkner.sol ~ > + xm block-list win2008ss --long > (0 > (vbd > (uuid 7cb8fadf-619d-dde6-bda9-dcc18023c7d5) > (bootable 1) > (devid 768) > (driver paravirtualised) > (dev hda:disk) > (uname phy:/dev/zvol/dsk/pool1/win2008ss.dsk) > (mode w) > (backend 0) > ) > ) > (1 > (vbd > (uuid fbbc4777-3d56-cc87-e7ea-b4cc2ec17ffc) > (bootable 0) > (devid 5632) > (driver paravirtualised) > (dev hdc:cdrom) > (uname file:/pool1/isos/win2008_x86.iso) > (mode r) > (backend 0) > ) > ) > (2 > (vbd > (uuid 0b7f34c8-2f0a-0f0d-8004-7ebf752035e6) > (bootable 0) > (driver paravirtualised) > (dev hdd:disk) > (uname phy:/dev/zvol/dsk/pool1/win2008ss.dsk2) > (mode w) > (backend 0) > ) > ) > elkner.sol ~ > + virsh start win2008ss libvir: Xen Daemon error : POST > operation failed: (xend.err ''Device 768 (vbd) could not be connected. > Backend device not found.'') > error: Failed to start domain win2008ss > elkner.sol ~ > + xm block-list win2008ss --long > (0 > (vbd > (uuid 7cb8fadf-619d-dde6-bda9-dcc18023c7d5) > (bootable 1) > (devid 768) > (driver paravirtualised) > (dev hda:disk) > (uname phy:/dev/zvol/dsk/pool1/win2008ss.dsk) > (mode w) > (backend 0) > ) > ) > (1 > (vbd > (uuid fbbc4777-3d56-cc87-e7ea-b4cc2ec17ffc) > (bootable 0) > (devid 5632) > (driver paravirtualised) > (dev hdc:cdrom) > (uname file:/pool1/isos/win2008_x86.iso) > (mode r) > (backend 0) > ) > ) > (2 > (vbd > (uuid 0b7f34c8-2f0a-0f0d-8004-7ebf752035e6) > (bootable 0) > (devid 5696) > (driver paravirtualised) > (dev hdd:disk) > (uname phy:/dev/zvol/dsk/pool1/win2008ss.dsk2) > (mode w) > (backend 0) > ) > ) > > > When removing the device (xm block-detach win2008ss 5696), everything > runs fine again. Any hints, what to do? > > Regards, > jel.-- ----------------------------------------------------- Russ Blaine | Solaris Kernel | russell.blaine@sun.com