Hi,
I have installed Red Hat Linux 7.3 with ext2 file system and I have multiple
partition. I converted them to ext3 using following command.
tune2fs -j -i 0 /dev/hdaX
And I modified /etc/fstab as below.
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/var /var ext3 defaults 1 2
/dev/hda5 swap swap defaults 0 0
After I rebooted the system, I found / partition still was mounted as ext2.
[root at ProEIM root]# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext2 rw 0 0 # not mounted as ext3
/proc /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0
none /dev/pts devpts rw 0 0
/dev/hda6 /home ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/hda2 /var ext3 rw 0 0
[root at ProEIM root]#
But it is ext3 when I use df -T.
[root at ProEIM root]# df -T
Filesystem Type 1k-blocks Used Available Use% Mounted on
/dev/hda3 ext3 5036316 335784 4444700 8% /
/dev/hda1 ext3 101089 8724 87146 10% /boot
/dev/hda6 ext3 66263252 466552 62430684 1% /home
none tmpfs 127416 0 127416 0% /dev/shm
/dev/hda2 ext3 5036316 101656 4678828 3% /var
[root at ProEIM root]#
How can I convert / partition from ext2 to ext3? Please help me.
Regards,
Zhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://listman.redhat.com/archives/ext3-users/attachments/20040810/14fd8370/attachment.htm>