Questo contenuto non è disponibile nella lingua selezionata.
4.3. Reverting to an Ext2 File System
In order to revert to an ext2 file system, use the following procedure.
For simplicity, the sample commands in this section use the following value for the block device:
/dev/mapper/VolGroup00-LogVol02
Procedure 4.1. Revert from ext3 to ext2
- Unmount the partition by logging in as root and typing:
umount /dev/mapper/VolGroup00-LogVol02
# umount /dev/mapper/VolGroup00-LogVol02# umount /dev/mapper/VolGroup00-LogVol02
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Change the file system type to ext2 by typing the following command:
tune2fs -O ^has_journal /dev/mapper/VolGroup00-LogVol02
# tune2fs -O ^has_journal /dev/mapper/VolGroup00-LogVol02# tune2fs -O ^has_journal /dev/mapper/VolGroup00-LogVol02
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Check the partition for errors by typing the following command:
e2fsck -y /dev/mapper/VolGroup00-LogVol02
# e2fsck -y /dev/mapper/VolGroup00-LogVol02# e2fsck -y /dev/mapper/VolGroup00-LogVol02
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Then mount the partition again as ext2 file system by typing:
mount -t ext2 /dev/mapper/VolGroup00-LogVol02 /mount/point
# mount -t ext2 /dev/mapper/VolGroup00-LogVol02 /mount/point# mount -t ext2 /dev/mapper/VolGroup00-LogVol02 /mount/point# mount -t ext2 /dev/mapper/VolGroup00-LogVol02 /mount/point# mount -t ext2 /dev/mapper/VolGroup00-LogVol02 /mount/point
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Replace /mount/point with the mount point of the partition.Note
If a.journal
file exists at the root level of the partition, delete it.
To permanently change the partition to ext2, remember to update the
/etc/fstab
file, otherwise it will revert back after booting.