Raid1 und Lilo Probleme

Carsten Hensiek mr-migagi at gmx.net
Sun Jul 25 20:56:19 CEST 2004


Pierre Bernhardt schrieb:

>
> Gib mal cat /proc/mdstat, mount und was Du so noch mitschicken willst.
>
styx:/# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb5[1]
      1951744 blocks [2/1] [_U]

md2 : active raid1 sdb6[1]
      4883648 blocks [2/1] [_U]

md3 : active raid1 sdb7[1]
      1140480 blocks [2/1] [_U]

md0 : active raid1 sdb1[1]
      489856 blocks [2/1] [_U]

unused devices: <none>
styx:/#

> Hast Du ne eigene /boot Partition? Oder ist Raid bei Dir fest im Kernel
> einkompiliert? (also mit oder ohne initrd?)
>
#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
CONFIG_MD_RAID1=y
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_RAID6 is not set
# CONFIG_MD_MULTIPATH is not set
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_CRYPT is not set

ich mache das ganze ohne initrd.

> Nebenbei: Machst Du swap auf Mirror?
>
du meinst ob die swap Partitionen auch Raid1 sind? Nein...

    sdb1                    Boot      Primary   Linux raid
autodetect              501,75
    sdb5                    Logical   Linux raid autodetect
               1998,75
    sdb6                    Logical   Linux raid autodetect
                 5000,98
    sdb7                    Logical   Linux raid autodetect
               1167,99
    sdb8                    Logical   Linux swap
                   509,97

so sieht meine Partitionierung aus..
ich hoffe das passt so mit den Umbrüchen usw. sonst hänge ich das
nächste mal ne Textdatei mit an!

---schnipp

styx:/# cat /mnt/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>               <dump>
<pass>
/dev/md0        /               xfs     defaults                0       0
/dev/md1        /usr            xfs     defaults                0       0
/dev/md2        /var            xfs     defaults                0       0
/dev/md3        /home           xfs     defaults                0       0
/dev/hda1       /data           xfs     defaults                0       0
/dev/sdb8       none            swap    sw                      0       0

proc            /proc           proc    defaults                0       0
/dev/fd0        /floppy         auto    user,noauto             0       0
/dev/cdrom      /cdrom          iso9660 ro,user,noauto          0       0

---schnapp

so schaut meine fstab aus..





More information about the Linux mailing list