All pastes #113481 Raw Edit

drbombay43

public text v1 · immutable
·published 2006-08-03 16:30 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.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# 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/md3                /               reiser4         noatime,nodiratime              0 1
/dev/hdb1               none            swap            sw                              0 0
/dev/md1                /usr/portage    reiser4         noatime,nodiratime              0 0
/dev/md2                /var/tmp        reiser4         noatime,nodiratime              0 0

/dev/hdc                /mnt/cdrom      iso9660         noauto,ro                       0 0
/dev/hdd                /mnt/cdrom      iso9660         noauto,ro                       0 0
/dev/fd0                /mnt/floppy     auto            noauto                          0 0
/dev/fd1                /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

# These are the networked directories #
the-server:/home        /home           nfs             rsize=8192,wsize=8192,hard,intr 0 0
the-server:/library     /library        nfs             rsize=8192,wsize=8192,hard,intr 0 0

# and this is the raid setup

raiddev /dev/md0 # /boot partition
        raid-level              1
        nr-raid-disks           2
        persistent-superblock   1
        chunk-size              4
        device          /dev/hda1
        raid-disk               0
        device          /dev/hde1
        raid-disk               1

raiddev /dev/md1 # /usr/portage
        raid-level              0
        nr-raid-disks           2
        persistent-superblock   1
        chunk-size              4
        device          /dev/hda2
        raid-disk               0
        device          /dev/hde2
        raid-disk               1

raiddev /dev/md2 # /var/tmp partition
        raid-level              0
        nr-raid-disks           2
        persistent-superblock   1
        chunk-size              4
        device          /dev/hda3
        raid-disk               0
        device          /dev/hde3
        raid-disk               1

raiddev /dev/md3 # / partition
        raid-level              0
        nr-raid-disks           2
        persistent-superblock   1
        chunk-size              4
        device          /dev/hda4
        raid-disk               0
        device          /dev/hde4
        raid-disk               1