Re: how to convert ext3 partition to ext2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 16 Nov 2003, Nitin wrote:

> Hi all,
> 
> I don't know, if it's possible, but if it's how to do it.
> 
> I've all the partitions on my RedHat 7.3 machine on ext3 file system. Now, I want to applu quota on my machine working as Samba server, and it only works on ext2. Can I convert a partition to ext2, permanently? If yes, how?
> 
> Any help or ideas? Thanx in advance
> 
> Nitin

You use tune2fs to change the file systems either to or from ext2 or ext3.  
I suggest you use your install CD to load your system since I don't 
believe you can make the change with the partition active.  

Once you have a working system without the partition mounted that you want 
to change you should issue this command:

tune2fs -O ^has_journal /dev/drive_partition

where drive partition is something like hda1.  You will also need to 
change /etc/fstab to make sure the partition the correct type.

To change it back just do the same but issue this command:

tune2fs -O has_journal /dev/drive_partition

Read the man page for tune2fs.

-- 
Gerry

"The lyfe so short, the craft so long to learne"  Chaucer


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux