From: "Mohammad Abdul-Amir (Shamma)" Subject: =?GB2312?Q?Re=3A_=BB=D8=B8=B4=A3=BA_=5BXen=2Ddevel=5D_The_file_system_type_of_Do?= =?GB2312?Q?mU_is_ext2_or_ext3=3F?= Date: Mon, 21 Dec 2009 03:17:15 -0800 Message-ID: <76883ca40912210317j35f0f9bkec5ee97db2fad2ef@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1444098139==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ye Zhou Cc: xen-devel List-Id: xen-devel@lists.xenproject.org --===============1444098139== Content-Type: multipart/alternative; boundary=0016e64dc8fe598442047b3b3b2c --0016e64dc8fe598442047b3b3b2c Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable I am assuming that there is a mismatch between /etc/fstab and /proc/mount. I would suggest that you search for warnings or errors in the boot logs of the guest kernel. Alternatively, in DomU's shell try "mount -a", which will remount all file systems in /etc/fstab. If there are any problems they will be reported directly. 2009/12/21 Ye Zhou > Yes, whether in Dom0(root file system) or DomU the file /etc/fstab shows > the same ext3, as I made my DomU OS by copying the main files of Dom0.But= in > Dom0 the file system is ext3 and in DomU in fact is ext2 as I showed the > message in last letter. I don't know whether I have made some wrong > configuration! > > ------------------ > Best Regarding=A3=A1 > Ye Zhou > -------------------------------------------------------- > Cluster and Grid Computing Lab > Services Computing Technology and System Lab > Department of Computer Science > Huazhong University of Science and Technology Wuhan, 430074, China > Mobile:+86-13437170320 > > > > > ------------------ =D4=AD=CA=BC=D3=CA=BC=FE ------------------ > *=B7=A2=BC=FE=C8=CB:* "Mohammad Abdul-Amir (Shamma)"; > *=B7=A2=CB=CD=CA=B1=BC=E4:* 2009=C4=EA12=D4=C221=C8=D5(=D0=C7=C6=DA=D2=BB= ) =CD=ED=C9=CF6:15 > *=CA=D5=BC=FE=C8=CB:* "Ye Zhou"; > *=B3=AD=CB=CD:* "xen-devel"; > *=D6=F7=CC=E2:* Re: [Xen-devel] The file system type of DomU is ext2 or e= xt3? > > What are the contents of the DomU's /etc/fstab? One thing to check is the > type of the root file system in that file. > > 2009/12/21 Ye Zhou > >> Hi, all: >> At first I have an idea to improve the performance of the log mechanismi= n >> ext3 file system of DomU, but when I do some experiment in DomU, I find = a >> strange thing. >> When I input command "df -lhT" to see the file system type, it shows tha= t >> it is ext3. But when I input command "cat /proc/mounts", it shows that >> "/dev/root / ext2 rw".This means the type is still ext2. So I can't do m= y >> experiments. >> # df -lhT >> >Filesystem Type Size Used Avail Use% Mounted on >> >/dev/sda1 ext3 9.2G 3.7G 5.1G 42% / >> >tmpfs tmpfs 129M 0 129M 0% /dev/shm >> # cat /proc/mounts >> >rootfs / rootfs rw 0 0 >> >/dev/root / ext2 rw 0 0 >> >/proc /proc proc rw 0 0 >> >/sys /sys sysfs rw 0 0 >> >/proc/bus/usb /proc/bus/usb usbfs rw 0 0 >> >none /dev tmpfs rw 0 0 >> >devpts /dev/pts devpts rw 0 0 >> >tmpfs /dev/shm tmpfs rw 0 0 >> >none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 >> >sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0 >> >/etc/auto.misc /misc autofs >> rw,fd=3D6,pgrp=3D2065,timeout=3D300,minproto=3D5,maxproto=3D5,indirect 0= 0 >> >-hosts /net autofs >> rw,fd=3D11,pgrp=3D2065,timeout=3D300,minproto=3D5,maxproto=3D5,indirect = 0 0 >> Imade the DomU OS image by simply copying the main files from Dom0,and >> in Dom0 it shows it is ext3. >> Whether I made the wrong way in making the image? Or thereare someother >> problems? I don't kown why! >> Thanks all! >> ------------------ >> Best Regarding=A3=A1 >> Ye Zhou >> -------------------------------------------------------- >> Cluster and Grid Computing Lab >> Services Computing Technology and System Lab >> Department of Computer Science >> Huazhong University of Science and Technology Wuhan, 430074, China >> Mobile:+86-13437170320 >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> > > > -- > Mohammad Abdul-Amir (Shamma) > --=20 Mohammad Abdul-Amir (Shamma) --0016e64dc8fe598442047b3b3b2c Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable I am assuming that there is a mismatch between /etc/fstab and /proc/mount.<= br>
I would suggest that you search for warnings or errors in the boot l= ogs of the guest kernel. Alternatively, in DomU's shell try "mount= -a", which will remount all file systems in /etc/fstab. If there are = any problems they will be reported directly.

2009/12/21 Ye Zhou <zhouyejoe@hotmail.com><= br>
Yes, whether in Dom0(root file system) or DomU the file /etc/fstab sho= ws the same ext3, as I made my DomU OS by copying the main files of Dom0.Bu= t in Dom0 the file system is ext3 and in DomU in fact is ext2 as I showed t= he message in last letter. I don't know whether I have made some wrong = configuration!
 
------------------
Best Regarding=A3=A1
           &nbs= p;    Ye  Zhou
--------------------------------------------------------
Cluster and Grid Computing Lab
Services Computing Technology and System Lab
Department of Computer Science
Huazhong University of Science and Technology Wuhan, 430074, China
Mobile:+86-13437170320

 
 
 
=B7=A2=BC=FE=C8=CB: "Mohammad Abdul-Amir (Shamma)&quo= t;<mohamma= dshamma@gmail.com>;
=B7=A2=CB=CD=CA=B1=BC=E4: 2009=C4=EA12=D4=C221=C8=D5(=D0= =C7=C6=DA=D2=BB) =CD=ED=C9=CF6:15
=CA=D5=BC=FE=C8=CB: "Ye Zhou"<zhouyejoe@hotmail.com>; =
=B3=AD=CB=CD: "xen-devel"<xen-devel@lists.xensource.c= om>;
=D6=F7=CC=E2: Re: [Xen-devel] The file system type of DomU= is ext2 or ext3?
 
What are the contents of the DomU's /etc/fstab? One th= ing to check is the type of the root file system in that file.

2009/12/21 Ye Zhou <zhouyejoe@hotmail.com>
Hi, all:
At first I have an idea to improve the performance of the log mechanis= min ext3 file system of DomU, but when I do some experiment in DomU, I find= a strange thing.
When I input command "df -lhT" to see the file system type, = it shows that it is ext3. But when I input command "cat /proc/mounts&q= uot;, it shows that "/dev/root / ext2 rw".This means the type is = still ext2. So I can't do my experiments.
# df -lhT
>Filesystem Type Size Used Avail Use% Mounted on
&g= t;/dev/sda1 ext3 9.2G 3.7G 5.1G 42% /
>tmpfs tmpfs 129M 0 129M 0% /de= v/shm
# cat /proc/mounts
>rootfs / rootfs rw 0 0
>/dev/root / ex= t2 rw 0 0
>/proc /proc proc rw 0 0
>/sys /sys sysfs rw 0 0
&= gt;/proc/bus/usb /proc/bus/usb usbfs rw 0 0
>none /dev tmpfs rw 0 0 >devpts /dev/pts devpts rw 0 0
>tmpfs /dev/shm tmpfs rw 0 0
>= ;none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
>sunrpc /var/lib/nf= s/rpc_pipefs rpc_pipefs rw 0 0
>/etc/auto.misc /misc autofs rw,fd=3D6= ,pgrp=3D2065,timeout=3D300,minproto=3D5,maxproto=3D5,indirect 0 0
>-hosts /net autofs rw,fd=3D11,pgrp=3D2065,timeout=3D300,minproto=3D5,ma= xproto=3D5,indirect 0 0
Imade the DomU OS image by simply copying the main files from Do= m0,and in Dom0 it shows it is ext3.
Whether I made the wrong way in making the image? Or thereare someothe= r problems? I don't kown why!
Thanks all!
------------------
Best Regarding=A3=A1
Ye Zhou
--------------------------------------------------------
Cluster and Grid Computing Lab
Services Computing Technology and System Lab
Department of Computer Science
Huazhong University of Science and Technology Wuhan, 430074, China
Mobile:+86-13437170320


_______________________________________________
Xen-devel= mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel<= /a>



=
--
Mohammad Abdul-Amir (Shamma)
=



--
Mohammad Abdul-Amir (Shamma)
--0016e64dc8fe598442047b3b3b2c-- --===============1444098139== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1444098139==--