WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: 回复: [Xen-devel] The file system type of DomU is ext2 or ext3?

To: Ye Zhou <zhouyejoe@xxxxxxxxxxx>
Subject: Re: 回复: [Xen-devel] The file system type of DomU is ext2 or ext3?
From: "Mohammad Abdul-Amir (Shamma)" <mohammadshamma@xxxxxxxxx>
Date: Mon, 21 Dec 2009 03:17:15 -0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 21 Dec 2009 03:17:41 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=edg2IN1lqL9xYUWoU6zPptPQY3MOUnLjIoa3vebAJkM=; b=Hq9lYE6J2L3WDUUCHCZBvIolQh5DaFwwHQZEoIsPAGEEF2NZ7m087lDSoEUU/KJDLI /B2I6nysQUASejVn7uZhKLubrqL8j7X4pAHZptwclPun4UqrjrDERxaKFENszMbTTU2B FBSlfWMQhTB+IQU6fsnCyQ7NBDGe2mGCp5ECw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=cKcVHWZL6ODLY4Rivg9V0/QPWC0Y+uZYDas38N+Fkl52xH2SHP1PVeSttCV/ZoOW3t FYH4E1ZSy4gvqPenVgFpYZJDTyB7w2gJQUgyS0c16+91+B0SfkibQPz+viS55I5d6X0I e2Rd7Yhru+k1sti53te06PE1OBpZY6CNoA5Qc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <tencent_37900955671F5F946AF5E611@xxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <tencent_37900955671F5F946AF5E611@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxx>
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@xxxxxxxxx>;
发送时间: 2009年12月21日(星期一) 晚上6:15
收件人: "Ye Zhou"<zhouyejoe@xxxxxxxxxxx>;
抄送: "xen-devel"<xen-devel@xxxxxxxxxxxxxxxxxxx>;
主题: 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@xxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel




--
Mohammad Abdul-Amir (Shamma)



--
Mohammad Abdul-Amir (Shamma)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>