Ye Zhou
2009-Dec-21 10:40 UTC
回复: [Xen-devel] The file system type of DomU is ext2 or ext3?
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!
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
------------------ 原始邮件 ------------------
发件人: "Mohammad Abdul-Amir (Shamma)"<mohammadshamma@gmail.com>;
发送时间: 2009年12月21日(星期一) 晚上6:15
收件人: "Ye Zhou"<zhouyejoe@hotmail.com>;
抄送: "xen-devel"<xen-devel@lists.xensource.com>;
主题: Re: [Xen-devel] The file system type of DomU is ext2 or ext3?
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 <zhouyejoe@hotmail.com>
Hi, all:
At first I have an idea to improve the performance of the log mechanismin 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
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
>/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=6,pgrp=2065,timeout=300,minproto=5,maxproto=5,indirect 0 0
>-hosts /net autofs
rw,fd=11,pgrp=2065,timeout=300,minproto=5,maxproto=5,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!
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)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Mohammad Abdul-Amir (Shamma)
2009-Dec-21 11:17 UTC
Re: 回复: [Xen-devel] The file system type of DomU is ext2 or ext3?
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 <zhouyejoe@hotmail.com>> 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! > 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 > > > > > ------------------ 原始邮件 ------------------ > *发件人:* "Mohammad Abdul-Amir (Shamma)"<mohammadshamma@gmail.com>; > *发送时间:* 2009年12月21日(星期一) 晚上6:15 > *收件人:* "Ye Zhou"<zhouyejoe@hotmail.com>; > *抄送:* "xen-devel"<xen-devel@lists.xensource.com>; > *主题:* Re: [Xen-devel] The file system type of DomU is ext2 or ext3? > > 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 <zhouyejoe@hotmail.com> > >> Hi, all: >> At first I have an idea to improve the performance of the log mechanismin >> 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 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 >> >/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=6,pgrp=2065,timeout=300,minproto=5,maxproto=5,indirect 0 0 >> >-hosts /net autofs >> rw,fd=11,pgrp=2065,timeout=300,minproto=5,maxproto=5,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! >> 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) >-- Mohammad Abdul-Amir (Shamma) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel