Mailing List Archive

Support open source code!


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

tlug: Ext3



Hi,

I've been meaning to post this for a while (Ok, at least since the last nomikai), butI've been too busy.a  Since a bunch of people seemed interested in tryng out ext3, here's my quick and dirty guide (<PLUG>The april issue of Linux Japan also has a article on this by yours truely</PLUG>)


Quick and dirty guide to setting up a ext3 partition:

   1.Make a journal file with dd. (eg: dd if=/dev/zero of=/mnt/newfs/journal.dat bs=1024 count=16383) 
   2.Figure out which inode the journal.dat file occupies. (eg: ls -l /mnt/newfs/journal.dat) 
   3.Chmod 400 the journal.dat file to prevent users form accedentally doing something stupid. (eg: chmod 400 /mnt/newfs/journal.dat) 
   4.Remount the partition as a ext3 one. You'll need to tell it which inode the journal.dat file is t the first time only with "-o journal=[inode number]". (eg: mount -t ext3 /dev/hda6/ /mnt/newfs -o journal 12) 
   5.Add a fstab entry for your file system. Please note that you shouldn't have it fsck. 

Oh and by the way the patches can be found at ftp://ftp.uk.linux.org/pub/linux/sct/fs/jfs/

Yours,

-- 
Austin K. Kurahone
Tokyo Linux Users Group / Green Frog Linux Maintainer
"What is the ape to man?  A laughing-stock, a thing of shame.  And just the
same shall man be to the Superman:  a laughing-stock, a thing of shame."
--------------------------------------------------------------------
Next Technical Meeting: March 11 (Sat) 13:00 Temple University Japan
* Topic: "What's new in Perl 5.6"
Guest speaker: Simon Cozens (TLUG Perl guru)
Next Nomikai Meeting: April 20 (Thu) Linux Conference 2000 Spring Ed.
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links