Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOCxA-0003S8-FS for qemu-devel@nongnu.org; Wed, 30 Jul 2008 10:47:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOCx7-0003RT-FU for qemu-devel@nongnu.org; Wed, 30 Jul 2008 10:46:59 -0400 Received: from [199.232.76.173] (port=53357 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOCx7-0003RQ-DL for qemu-devel@nongnu.org; Wed, 30 Jul 2008 10:46:57 -0400 Received: from [88.255.235.9] (port=48281 helo=mailserver.ttmail.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KOCx6-0002xg-Uy for qemu-devel@nongnu.org; Wed, 30 Jul 2008 10:46:57 -0400 From: Volkan YAZICI Date: Wed, 30 Jul 2008 17:46:45 +0300 Message-ID: <87od4fjup6.fsf@alamut.mobiliz.com.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Adding New Disk Drive Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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.