Skip to contentSkip to conversation

The file system type of DomU is ext2 or ext3?

DISCUSSION Ye Zhou 2 participants 2 messages Dec 21, 2009

lore
Share & tools
lore

Ye Zhou

author
#0 lore raw

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 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

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!
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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

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 <[email protected]>

Quoted 54 lines

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 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

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!
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
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
Mohammad Abdul-Amir (Shamma)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel