This is a discussion on ext3 > ext2 without format within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> is there any way i can remove the journal from an ext3 partition without formatting it as ext2 - ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Matthew Robinson wrote : > is there any way i can remove the journal from an ext3 partition without > formatting it as ext2 - i dont want to lose the data, and ive nowhere to > put it Sure, ext3 is just ext2 with journalling added. Unmount the partition and mount it as ext2 instead. -- Thomas O. This area is designed to become quite warm during normal operation. |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthew Robinson wrote: > but would this save any space on the drive? No. But, once you've mounted it as ext2, you can use the tune2fs tool to turn off and delete the journal. Once you do that, you reclaim the journal's space on the drive. - -- Lew Pitcher IT Consultant, Enterprise Application Architecture, Enterprise Technology Solutions, TD Bank Financial Group (Opinions expressed are my own, not my employers') -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFAjSODagVFX4UWr64RAsWeAKCkSvzooLGV7R9spYsSM5 v0L0JDugCfTS05 ndCYQGlTBiXVIUE47iD6JN4= =50I8 -----END PGP SIGNATURE----- |
| |||
| Lew Pitcher wrote: > Matthew Robinson wrote: > > >>>but would this save any space on the drive? > > > No. But, once you've mounted it as ext2, you can use the tune2fs tool to turn > off and delete the journal. Once you do that, you reclaim the journal's space on > the drive. If it's space you want to reclaim, it's far more interesting (most certainly with the 100+ gig drives that are coming with PC's nowadays) to reduce the size of the reserved blocks on your partition. The default of 5% that is reserved for the root user (so that logs will continue to be written, and root can save the day when normal users experience 'disk full') is just overdoing it. Note, that 5% of a 100 GB disk is 5 GB of space that you won't be able to use. Bring it down to 1% (only integer numbers are allowed here) and you suddenly have 4 GB of additional space (and root still has 1 GB reserve). Example command for a partition on '/dev/hda1' : tune2fs -m 1 /dev/hda1 and you don't even need to umount the partition to run it. PS: a percentage of zero is allowed too if you don't care about root's future problems (well you are root anyway, but hey, who isn't a little schyzofrenic here in aols). Cheers, Eric |
| ||||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In alt.os.linux.slackware, Matthew Robinson dared to utter, > but would this save any space on the drive? man tune2fs - -- It is better to hear the rebuke of the wise, Than for a man to hear the song of fools. Ecclesiastes 7:5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAjVb1L3KiNGOqr6ERAtkyAKCEi+fFL65VivX51er+AX nYuGO7SgCdHG1P 0DPB4SGzZTvsm77HuZKa2aI= =kmCp -----END PGP SIGNATURE----- |