On Tuesday 29 May 2001 09:19, Tom Lawton wrote:
> Hi,
>
> > Want to make Reiser more stable?  Use only notail mounts.  Of course
> > that's a LOT more stable.
>
>  Is this a suitable option for use on a bog standard workstation Manrdake
> system? I know it's more space hungry (anyone know how much?) - is it also
> slower?
>
>  I'm imagining/hoping Reiser will get bulletproof fairly quickly - so I'm
> keeping close on the upgrades of kernel and tools. However, I'm getting a
> few bad_stat_data (x is used by at least two files) and wrong lengths
> reported by reiserfsck (3.x.0j-2mdk), which it refuses to fix with -x or
> -o, and even a --rebuild-db doesn't fix the stat_data errors! Any advice?
> Otherwise the system seems a lot more stable since kernel 2.4.4.
>
> thanks,
>
> tom


Well with current install tools it isn't easy to do.  It is FASTER, but less 
efficient on storage.  How much less?  Worst case is less than double 
required, and for that you need a host of files that are one block plus one 
byte.  The B-tree overhead is the same or less.

To make it happen you install a / only system with lotsa unused space.  The / 
can be reiser--that's automatically a notail mount.

Then you create /var /usr /home and other partitions manually, and format 
them reiser.

Then you edit /etc/fstab and make them mount points like /spusr /spvar /sphome

/dev/hda7 /spusr reiserfs notail 1 2
/dev/hda8 /sphome reiserfs notail 1 2
/dev/hda9 /spvar reiserfs notail 1 2

Of course the partition designations will vary with your mileage.

Mount them and 

mount /spusr && cp -a /usr/* /spusr && umount /spusr
mount /spvar && cp -a /var/* /spvar && umount /spvar
mount /sphome && cp -a /home/* /sphome && umount /sphome

Now edit /etc/fstab again and remove the 'sp' from the mount points

then

mv /home /oldhome && mkdir /home && mount /home
mv /var /oldvar && mkdir /var && mount /var
mv /usr /oldusr && mkdir /usr && mount /usr

Delete the /oldxxx directories at your leisure, bring in urpmi or similar or 
just use your install CD and run Update to load the amount of system you want.


Civileme

Please note that if you do not use the install disk in update mode, you never 
even need to reboot.

Reply via email to