Koozali.org: home of the SME Server

convert ext3 to ext2

Tokkie

convert ext3 to ext2
« on: June 05, 2003, 03:44:02 PM »
Hi

Im am using Ver 5.5 with all update installed.
After a failed upgrade to Ver 5.6 it seems that the filesystem was converted to ext3, but I am still at ver 5.5.

Now, at each reboot, the system says that it was not cleanly unmounted and do a fsck.  No errors are found and the system loads normally. this prevents me from upgrading or repairing ....

I don't know enough about all this to take chances and lose my data.

######################
root@fileserver root]# cat /proc/filesystems
        ext2
nodev   proc
        iso9660
nodev   devpts
nodev   usbdevfs
nodev   autofs
######################

and in /etc/fstab

##################

LABEL=/                 /                       ext3    usrquota,grpquota 1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner    0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/pts                devpts  gid=5,mode=620  0 0
/dev/hda5               swap                    swap    defaults        0 0
##########################

I would like to correct this problem by either going back to ext2 or being able to upgrade to VER 5.6.

This has to be done without losing any of the data on the system !!!


Any suggestions and help will be appreciated.

Thanks

Ray Mitchell

Re: convert ext3 to ext2
« Reply #1 on: June 05, 2003, 06:23:45 PM »
Golden rule:

Backup all your data before upgrading or making major changes, that way if things go wrong (and they do sometimes) you can always restore from the backup and have your server running as it was before you started.

Are you able to do a backup now, at least you may save the data before going any further.

Ray

reidar

Re: convert ext3 to ext2
« Reply #2 on: June 06, 2003, 01:34:02 AM »
Hi,

I had the same problem, I fail to upggrade from 5.5 to 5.6 and got stuck due to not being able to use ext3 on a 5.5 version.

I managed to repair my 5.5 version by booting from a rescue floppy  and  editing the fstab file by substituting the ext3  with ext2.

I still do not know why I failed to upgrade to 5.6, but at least I managed to  go back to my 5.5 version.

Good luck!

Reidar
=====