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

Re: reiserfs installation



on Mon, Apr 30, 2001 at 03:26:26PM +1000, Renai LeMay (renail@ispau.net) wrote:
> I've been using reiserfs on my /doc partition for a while, and am very 
> impressed with it's performance.
> 
> A question - is it possible to install a reiserfs version of debian?

Install, perhaps.  Convert to.  Definitely.

> how is this done? I think I saw something about resierfs-boot floppies a 
> while back.

It's called the ReiserFS shuffle.

First, build a kernel with reiserfs support.  For 2.2.x, you have to
download and apply the patches.  Builds are no sweat.

You back up your existing filesystems (elsewhere on disk or to offline
media or networked storage).

If necessary, repartition.  It's helpful, but not necessary, to have a
non-reiserfs /boot partition of a few tens of MB.

Double-check your backups, then make your reiserfs partition.

Unarchive your backup into the new partition.  Note you don't need
"lost+found" any more.

For your root partition, you've got a few different issues.  One option
is to retain your old root as a backup root partition (not a bad idea).
Or you can boot from removable media (a boot floppy or other disk),
_with reiserfs support_, for this step.

Double check LILO, run, and boot.

If any of this sounds like more than you want to get involved with,
consider that reiserfs *is* still alpha/beta code, and is not
recommended for use under 2.4 kernels.  While fast reboots are nice, it
might pay to sit on the fence a while longer.

My own experience since January 2001 has been good, a few hard crashes
(mostly powerouts and inadvertent molly switching), no data loss, and
very quick booting.  Also a directory on this puppy with some 125,000
files -- reiserfs uses a hash for directory entries rather than ext2fs's
linear lists.  Ops on this directory are still somewhat slow, but not
the glacial mess that ext2fs was.

My laptop partitioning and mount tables, note that all partitions but
/boot are reiserfs, and that /boot is mounted readonly.:

    Filesystem           1k-blocks      Used Available Use% Mounted on
    /dev/hda3                72280     62876      9404  87% /
    /dev/hda1                23302      2136     19963  10% /boot
    /dev/hda5               248948     32924    216024  14% /tmp
    /dev/hda6               995932    598080    397852  61% /var
    /dev/hda7              2995968   1243824   1752144  42% /usr
    /dev/hda8              2995968    288088   2707880  10% /usr/local
    /dev/hda10            11702932   2130132   9572800  19% /home

    /dev/hda3 on / type reiserfs (rw)
    proc on /proc type proc (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    /dev/hda1 on /boot type ext2 (ro,nosuid,nodev)
    /dev/hda5 on /tmp type reiserfs (rw,nosuid,nodev)
    /dev/hda6 on /var type reiserfs (rw,nosuid,nodev)
    /dev/hda7 on /usr type reiserfs (rw,nodev)
    /dev/hda8 on /usr/local type reiserfs (rw,nosuid,nodev)
    /dev/hda10 on /home type reiserfs (rw,nosuid,nodev)

Cheers.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgp6MyM9UGdh2.pgp
Description: PGP signature


Reply to: