All pastes #113477 Raw Edit

drbombay43

public text v1 · immutable
·published 2006-08-03 16:25 UTC
rendered paste body
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed; notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.
#

# <fs>        <mountpoint>      <type>              <opts>                  <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/md0        /boot           ext2            noauto,noatime                  1 2
/dev/hdb1       none            swap            sw                              0 0
/dev/md2        /               reiser4         noatime,nodiratime              0 1

# LAN Shared Directories
/dev/md1        /usr/portage    reiser4         noatime,nodiratime              0 1
/dev/md3        /home           ext3            noatime                         0 1
/dev/hdc1       /library        reiserfs        noatime                         0 1
#/dev/hd1       /sources        reiser4         noatime,nodiratime              0 1

/dev/hdx        /mnt/cdrom      iso9660         noauto,ro                       0 0
/dev/fd0        /mnt/floppy     auto            noauto                          0 0

# NOTE: The next line is critical for boot!
proc            /proc           proc            defaults                        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm             /dev/shm        tmpfs           nodev,nosuid,noexec             0 0

and this is the raid setup
# /boot ext2 (RAID 1 with hot-spare) 256MB
raiddev /dev/md0
        raid-level              1

        nr-raid-disks           2
        nr-spare-disks 1
        chunk-size              4
        persistent-superblock   1
        
        device                  /dev/hda1
        raid-disk               0
        device                  /dev/sda1
        raid-disk               1
        device                  /dev/sdb1
        spare-disk              0

# / ext3 (RAID 5) 17920MB
raiddev /dev/md2
        raid-level              5

        nr-raid-disks           3
        nr-spare-disks          0
        persistent-superblock   1
        parity-algorithm        left-symmetric
        chunk-size              128
        
        device                  /dev/hda3
        raid-disk               0
        device                  /dev/sda3
        raid-disk               1
        device                  /dev/sdb3
        raid-disk               2

# /usr/portage reiser4 (RAID 5) 5120MB
raiddev /dev/md1
        raid-level              5

        nr-raid-disks           3
        nr-spare-disks          0
        persistent-superblock   1
        parity-algorithm        left-symmetric
        chunk-size              128

        device                  /dev/hda2
        raid-disk               0
        device                  /dev/sda2
        raid-disk               1
        device                  /dev/sdb2
        raid-disk               2

# /home ext3 (RAID 5)
raiddev /dev/md3
raid-level              5

        nr-raid-disks           3
        nr-spare-disks          0
        persistent-superblock   1
        parity-algorithm        left-symmetric
        chunk-size              128

        device                  /dev/hda4
        raid-disk               0
        device                  /dev/sda4
        raid-disk               1
        device                  /dev/sdb4
        raid-disk               2