From: "Kasai Takanori" Subject: Re: [PATCH] fix free of event channel in blkfront Date: Fri, 2 Feb 2007 12:39:23 +0900 Message-ID: <021601c7467b$beb51a50$dab2220a@VF03007L> References: <023701c73385$dbfd0e50$dab2220a@VF03007L><071e01c733b6$0845e010$dab2220a@VF03007L> <45C156EC.7020400@ncic.ac.cn> <198201c745b8$a2062840$dab2220a@VF03007L> <45C19AD0.2010608@ncic.ac.cn> <1bdf01c745df$d016d7d0$dab2220a@VF03007L> <45C1E998.4000305@ncic.ac.cn><017601c7465f$abcb18c0$dab2220a@VF03007L> <45C29711.8030901@ncic.ac.cn> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=response Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: tgh Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Hi, > Now I boot the VM with the conf file > ... > disk = [ 'file:/vm/dom3.img,sda1,w' ] > ... > and then commit the commands as follows > > [root@genode012 vmcserver]# xm block-attach dom3 file:/vm1/template/tp1.img > sda2 w > [root@genode012 vmcserver]# xm block-list dom3 > Vdev BE handle state evt-ch ring-ref BE-path > 2049 0 0 4 6 8 /local/domain/0/backend/vbd/107/2049 > 2050 0 0 4 8 534 /local/domain/0/backend/vbd/107/2050 > [root@genode012 vmcserver]# xm console dom3 > > [root@office2 ~]# cat /proc/diskstats > ... > > 8 2 sda2 0 0 0 0 0 0 0 0 0 0 0 The block-attach command seems to have succeeded. It can be confirmed that sda2 is attached. It can confirm the content if the mount is done. # mount /dev/sda2 /mnt # ls /mnt > [root@office2 ~]# df -h > Filesystem /dev/sda1 5.8G 4.0G 1.5G 73% / > none 128M 0 128M 0% /dev/shm > > what do I do wrong? How should I make it ? > I am really confused with it If the mount is done, it comes to see it. If it is recognized when starting, the block-attach command should not be used. Then, it is necessary to define two disks by configuration file. When starting, automatic mount will be able to be done if it set to /etc/fstab as well as Native Linux. Best Regards, -- Takanori Kasai