Hello! I'm using i868 (Pentium III) machine running Windows 2000 and running Linux, installed on dedicated partition, in parallel via VMWare. Linux config is RedHat 7.0 (kernel ) As I'm pretty new to Linux, I'd like to know exact procedure how to install ext3 filesystem support (also which packages do I need). My kernel config is as follows: kernel-headers-2.2.14-5.0 kernel-2.2.14-5.0 kernel-pcmcia-cs-2.2.14-5.0 kernel-utils-2.2.14-5.0 kernelcfg-0.5-5 TIA Regards, Bostjan ×××××××××××××××××××××××××××××××××××××××××××××× Bostjan Cargo ~~~~~~~~~~~~~~ SDM - GRAU team ~~~ Hermes Softlab ~~ Nova Gorica office ~~~ ~~~~~~~~~ bostjan.cargo@hermes.si ~~~~~~~~~~ ××××××××××××××××××××××××××××××××××××××××××××××
Bostjan Chargo wrote:> > Hello! > > I'm using i868 (Pentium III) machine running Windows 2000 and running Linux, > installed on dedicated partition, in parallel via VMWare. Linux config is > RedHat 7.0 (kernel ) > > As I'm pretty new to Linux, I'd like to know exact procedure how to install > ext3 filesystem support (also which packages do I need). My kernel config is > as follows: > > kernel-headers-2.2.14-5.0 > kernel-2.2.14-5.0 > kernel-pcmcia-cs-2.2.14-5.0 > kernel-utils-2.2.14-5.0 > kernelcfg-0.5-5Hi, unfortunately Stephen haven't provided an ext3-ready kernel RPM yet, but maybe some other guys have one ready to install for you. You can also have a look at the little FAQ that I wrote, which you can find at http://innominate.org/~juri/ext3-faq.html . There are the basic steps to build your own kernel described (but I still haven't finished the part on creating the journal :-( In short: get the (patched) e2fsprogs-RPMs from ftp://innominate.org/pub/juri/RH-7.0/ (or http://innominate.org/~juri/ftp/ ) and install them, then after you installed the new kernel and rebooted, create a journal on each of the filesystem you want to run with ext3: journal -j /dev/hdaX. Juri
sct@redhat.com said:> The "tune2fs -j" code is the new replacement for the old, manual "dd" > style of journal initialisation. The README just needs updated to > reflect the new tools.Just to check:- 1. Does the tunefs method also set the journal location in the superblock, so the mount -ojournal=inum step can also be skipped (obviously you need to mount it, but you can skip the explicit inode setting?) 2. Does this work on root too (which is going to be mounted r/w)? 3. What happens if you do this on an existing ext3 fs? Nigel. -- [ Nigel Metheringham Nigel.Metheringham@InTechnology.co.uk ] [ Phone: +44 1423 850000 Fax +44 1423 858866 ] [ - Comments in this message are my own and not ITO opinion/policy - ]
Nigel Metheringham wrote:> > sct@redhat.com said: > > The "tune2fs -j" code is the new replacement for the old, manual "dd" > > style of journal initialisation. The README just needs updated to > > reflect the new tools. > > Just to check:- > > 1. Does the tunefs method also set the journal location in the > superblock, so the mount -ojournal=inum step can also be > skipped (obviously you need to mount it, but you can > skip the explicit inode setting?)Yes> 2. Does this work on root too (which is going to be mounted r/w)?yes> 3. What happens if you do this on an existing ext3 fs?You get the error: "The filesystem already has a journal." Juri -- juri.haberland@innominate.com system engineer innominate AG clustering & security the linux architects tel: +49-30-308806-45 fax: -77 http://www.innominate.com
Hi, On Fri, Mar 09, 2001 at 06:30:17AM -0500, buggz wrote:> > > > 2. Does this work on root too (which is going to be mounted r/w)? > > > > Yes. If you run it on a mounted filesystem, it creates a > > "/.journal.dat" file using the normal open/write/close calls, then > > pokes manually at the superblock to set the inode number. If you do > > it on an unmounted device, it creates a hidden journal inode by > > modifying the device directly using the e2fsprogs ext2 fs libraries. > > Hmm, > I only seem to have: > /home/.journal > /usr/.journal > /var/.journal > /.journal > No .journal.dat files. > Is this otay or no?Should be. --Stephen