From: "Mohammad Abdul-Amir (Shamma)" Subject: Re: The file system type of DomU is ext2 or ext3? Date: Mon, 21 Dec 2009 02:15:42 -0800 Message-ID: <76883ca40912210215x42d4feb2h64e560e837d1e72@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1756355704==" 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 --===============1756355704== Content-Type: multipart/alternative; boundary=0016e64c29fc3a39d1047b3a5f6a --0016e64c29fc3a39d1047b3a5f6a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 > mechanism in 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", it shows th= at > "/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 > >/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 > > I made 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 there are > some other problems? I don't kown why! > Thanks all! > > ------------------ > Best Regarding=EF=BC=81 > 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 > > --=20 Mohammad Abdul-Amir (Shamma) --0016e64c29fc3a39d1047b3a5f6a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable What are the contents of the DomU's /etc/fstab? One thing to check is t= he type of the root file system in that file.

2009/12/21 Ye Zhou <zhouyejoe@hotmail.com>
Hi, all:
=C2=A0=C2=A0=C2=A0=C2=A0 At first I have an idea to improve the perfor= mance of the log mechanism=C2=A0in ext3 file system of DomU, but when I do = some experiment in DomU, I find a strange thing.
=C2=A0=C2=A0=C2=A0=C2=A0 When I input command "df -lhT" to s= ee the file system type, it shows that 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 my experiments.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# df -lhT
=C2=A0=C2=A0=C2=A0=C2=A0 &g= t;Filesystem=C2=A0=C2=A0=C2=A0 Type=C2=A0=C2=A0=C2=A0 Size=C2=A0 Used Avail= Use% Mounted on
=C2=A0=C2=A0=C2=A0=C2=A0 >/dev/sda1=C2=A0=C2=A0=C2= =A0=C2=A0 ext3=C2=A0=C2=A0=C2=A0 9.2G=C2=A0 3.7G=C2=A0 5.1G=C2=A0 42% /
= =C2=A0=C2=A0=C2=A0=C2=A0 >tmpfs=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 tmpfs=C2=A0=C2=A0=C2=A0 129M=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0 129M=C2=A0= =C2=A0 0% /dev/shm
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0 # cat /proc/mounts
=C2=A0=C2=A0=C2=A0=C2= =A0 >rootfs / rootfs rw 0 0
=C2=A0=C2=A0=C2=A0=C2=A0 >/dev/root / = ext2 rw 0 0
=C2=A0=C2=A0=C2=A0=C2=A0 >/proc /proc proc rw 0 0
=C2= =A0=C2=A0=C2=A0=C2=A0 >/sys /sys sysfs rw 0 0
=C2=A0=C2=A0=C2=A0=C2= =A0 >/proc/bus/usb /proc/bus/usb usbfs rw 0 0
=C2=A0=C2=A0=C2=A0=C2=A0 >none /dev tmpfs rw 0 0
=C2=A0=C2=A0=C2=A0= =C2=A0 >devpts /dev/pts devpts rw 0 0
=C2=A0=C2=A0=C2=A0=C2=A0 >tm= pfs /dev/shm tmpfs rw 0 0
=C2=A0=C2=A0=C2=A0=C2=A0 >none /proc/sys/fs= /binfmt_misc binfmt_misc rw 0 0
=C2=A0=C2=A0=C2=A0=C2=A0 >sunrpc /var= /lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
=C2=A0=C2=A0=C2=A0=C2=A0 >/etc/auto.misc /misc autofs rw,fd=3D6,pgrp=3D2= 065,timeout=3D300,minproto=3D5,maxproto=3D5,indirect 0 0
=C2=A0=C2=A0=C2= =A0=C2=A0 >-hosts /net autofs rw,fd=3D11,pgrp=3D2065,timeout=3D300,minpr= oto=3D5,maxproto=3D5,indirect 0 0
=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 I=C2=A0made =C2=A0the DomU OS image by = simply copying the main files from Dom0,and in Dom0 it shows it is ext3.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Whether I made the wrong way in making = the image? Or there=C2=A0are some=C2=A0other problems? I don't kown why= !
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Thanks all!
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
------------------
Best Regarding=EF=BC=81
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 =C2=A0 Ye=C2=A0 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

=C2=A0

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.= com
http://l= ists.xensource.com/xen-devel




--
Mohammad Abdul-Amir= (Shamma)
--0016e64c29fc3a39d1047b3a5f6a-- --===============1756355704== 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 --===============1756355704==--