[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Adding New Disk Drive
From: |
Volkan YAZICI |
Subject: |
[Qemu-devel] Adding New Disk Drive |
Date: |
Wed, 30 Jul 2008 17:46:45 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hi,
We have been using qemu for one of our Windows Server 2003 systems
successfully since previous month. Below is the script I use to start
qemu:
$ cat /usr/local/sbin/start-windows
#!/bin/sh
# Install KVM kernel modules.
modprobe kvm
modprobe kvm-intel
# Start qemu.
SDL_VIDEO_X11_DGAMOUSE=0 \
/usr/local/bin/qemu-system-x86_64 \
-cdrom /dev/cdrom \
-hda /home/windows/disk-qcow2-20g.img \
-hdb /home/windows/disk-qcow2-40g.img \
-localtime -m 1536 -smp 2 -k tr \
-usb -usbdevice tablet \
-net nic -net tap
Last week we started to suffer from low disk space and to solve this
problem we purchased a Philips SPE3000 External SATA disk with USB
connectivity. And connected it to the related machine with below
configuration:
$ ls -l /home/windows/
total 60068704
lrwxrwxrwx 1 windows windows 28 2008-07-30 16:18 disk-qcow2-200g.img
-> /bak/img/disk-qcow2-200g.img
-rw-r--r-- 1 windows windows 20957474816 2008-07-30 16:44 disk-qcow2-20g.img
-rw-r--r-- 1 windows windows 40492793856 2008-07-30 16:44 disk-qcow2-40g.img
# mount | grep /bak
/dev/sdb1 on /bak type ext3 (rw,nosuid,nodev,noatime)
And I appended a "-hdc /home/windows/disk-qcow2-200g.img" line to
/usr/local/sbin/start-windows script and restarted qemu. But I saw that
drive doesn't appear in the windows side. (I can see it neither in "My
Computer", nor in "My Computer > Manage > Disk Management" window.) I
also tried using "-drive file=/home/windows/disk-qcow2-200g.img,if=scsi"
but nothing changed.
Any ideas what I might be missing? Any kind of help will be really
appreciated.
Regards.
- [Qemu-devel] Adding New Disk Drive,
Volkan YAZICI <=