Re: how to convert ext3 partition to ext2

From: Gerry Doris (gdoris_at_rogers.com)
Date: 11/16/03

  • Next message: damovand: "[disregard, found the answer]Re: httpd version investigation / update problem"
    To: redhat-list@redhat.com
    Date: Sun, 16 Nov 2003 11:04:04 -0500 (EST)
    
    

    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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: damovand: "[disregard, found the answer]Re: httpd version investigation / update problem"

    Relevant Pages

    • Re: how to increase partition size
      ... Nitin wrote: ... During my redhat linux installation, I set up boot ... > partition of 300M. ...
      (RedHat)
    • Re: how to increase partition size
      ... how to increase partition size ... > Nitin wrote: ... I set up boot ... -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)
    • IDE HDD fail?
      ... This caused after this command: ... Device contains neither a valid DOS partition table, nor Sun, SGI or OSF ... Offline data collection status: ... Self-test execution status: ...
      (Linux-Kernel)
    • Re: How to clone Windows XP back to your HD?
      ... Admittedly, I am a little "hazy" on which command does what, but having executed both and in both and reverse order, *one* or other of the commands should have: ... Re-written the Master Boot Record - the beginning sector of a hard-drive which contains the partition table and the loading code of the active O.S. ... The MBR written with the "Grub" loading-code stubbornly refuses to be repaired with the FIXMBR / FIXBOOT commands. ...
      (microsoft.public.windowsxp.newusers)
    • Re: Help with a little dd damage!
      ... Partition 3 has different physical/logical beginnings: ... Feb 28 20:20:57 morgansmachine kernel: EXT3-fs: write access will be enabled during recovery. ... So, fingers firmly crossed, have I managed to copy enough of my hard drive with the first two commands to be able to patch back the catastrophic damage I seem to have done with the last command. ... "By choosing not to ship any proprietary or binary drivers, Fedora does ...
      (Fedora)