On Sun, 31 Dec 2000 at 13:27, [EMAIL PROTECTED] wrote:
>What distro are you using? Does Mandrake 7.0 supports reiserf? How about
>Red Hat 7.0 or 6.2? I'm encounterring also the same problem when our UPS
>is drained. My cheaper solution is use reiserf I think.
Like the seeming majority of PLUG (who replied to this thread), I
recommend using ReiserFS isntead of ext2fs. In line with this you may want
to follow Orly's sample /etc/fstab, and perhaps also symlink /bin/true to
act as fsck.reiserfs (in the same directory as fsck). Why? You don't want
fsck fscking ReiserFS. If ReiserFS NEEDS to be reiserfsck'd, it's probably
urgent and you don't want to do anything unattended (or attended by a
know-nothing). This way also, you don't have reiserfsck halting the setup
process because it sent an "urgent" errorlevel on exit because it was run
on a mounted partition (normally root is mounted ro and then fsck is ran
if needed and then it is remounted rw). I also set "read-write" in my
lilo.conf, though I don't know if it really works (hahaha).
The combination of the abovementioned should do the trick, though.
I don't believe in asking whether a distro supports reiserfs or not. Why?
Because you may end up compromising for this "small" feature. You may, for
example, want to go Debian but not proceed because of the lack of ReiserFS
support in at least release 2.2 (potato).
Instead I believe in getting the latest stable kernel sources and the
latest ReiserFS patch for your kernel. Uncompress your kernel sources, and
make sure it is either in /usr/src/linux or that /usr/src/linux is a
symlink to whatever directory your kernel sources have been expanded to.
Then patch, I normally run "cat <patch> | patch -p0" in /usr/src where the
patch also resides (ungzipped, of course ... but then you could also
probably run "cat <patch.gz> | gunzip | patch -p0" but I haven't done that
just yet for no particular reason).
Then build yourself a brand new kernel (don't forget to enable ReiserFS
support, it is not recommended that you enable that checking feature,
though) and set it up (put the System.map in /boot, put the bzImage or
zImage there, too, set up your lilo.conf, run lilo). Then build and
install the ReiserFS tools (reiserfsck, mkreiserfs, et al). The sources
are in /usr/src/linux/fs/reiserfs/utils/.
Now that you'll be booting with a kernel supporting Linux, you'll want to
have ReiserFS partitions.
If you're upgrading, you'll have to move all your data somewhere, and
mkreiserfs on that partition, wiping out all the data, then you move your
data back. This can be tricky for the root partition, but it can be done
with creativity.
If you're going fresh, though, you'll want to feel like a hacker (haha)
and create your own boot disks. For Debian this was a breeze. A link in
the ReiserFS site <http://www.namesys.com/> exists to this short document
by some guy. To build my ReiserFS boot disk I first made a boot disk using
the image from the CD-ROM, then I built a slim kernel with support for all
my hardware built-in, then I copied the bzImage to replace the linux
kernel image in the boot disk, and that was it. Debian's boot disks are
FAT and use syslinux to boot the kernel.
Some tips in the documentation I referred to pertain to manually mounting
(via a vt) the ReiserFS partitions since Debian doesn't know about them
(yet), and then later editing the /target/etc/fstab so that the filetype
is reiserfs and not ext2fs.
Pretty easy, if you'll not shun it and say "mas gusto ko yung may support
na". For example SuSE 7.0 which I just tried out recently, has ReiserFS
support, but doesn't use the latest hash yet. So the test box which has
SuSE installed is using tea-hashed ReiserFS, while my updated server is
using r5, the latest and fastest. I don't know if it's more stable than
tea, though. But so far so good. And I don't have my RAID set up yet.
Hehehe.
BTW, my server isn't running Debian, yet. It's on a semi-upgraded RH6.0
box, with a mix of RH6.2 RPMs, my own compiled RPMs from SRPMs I got, and
the tailored kernel with ReiserFS support (plus the ReiserFS tools that I
just "make install"-ed). My own box is running Debian, and that's what I
set up using the procedure I elaborated on.
I hope this wasn't long for a "welcoming the new millennium" post. Happy
New Year!!!
--> Jijo :-)
---
Linux, MS-DOS, and Windows NT ...
... also known as the Good, the Bad, and the Ugly
Federico Sevilla III (Network Administrator)
THE LEATHER COLLECTION, INC.
#15 Don Mariano Lim Industrial Complex, Alabang-Zapote Road
beside Toyota - Alabang, Las Pinas City 1740 PHILIPPINES
Ofc: +63.2.842.2261 Fax: +63.2.842.2204
Apt: +63.2.523.8251 to 64 (loc 601) Cel: +63.919.631.4446
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]