Howdy

I'm setting up a server for which i want a high availability. it's rh 7.0
"out of the box".
basically, it has one partition for /, one for /var, and one for swap
i decided to "duplicate" each partition (/ and /var, not swap) so my
partition table looks like (it's a scsi disk)

sda1 primary 500 MB type 83
sda2 primary 500 MB type 83
sda3 extended 1000 MB
sda5 logical 300 MB type 83
sda6 logical 300 MB type 83
sda7 logical 300 MB type 82

the normal situation is to mount /dev/sda1 as / and /dev/sda5 as /var

i created (mke2fs) filesystems on /dev/sda2 and /dev/sda6
i brought them online (mount /dev/sda2 /mnt/sda2, mount /dev/sda6 /mnt/sda6)
i duplicated the file systems (cp -ax / /mnt/sda2, cp -ax /var /mnt/sd6)

then i changed lilo to add the new system

boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/welcome
linear
default=linux

image=/boot/vmlinuz-2.2.16-22
        label=linux
        initrd=/boot/initrd-2.2.16-22.img
        read-only
        root=/dev/sda1

image=/mnt/sda2/boot/vmlinuz-2.2.16-22
        label=secours
        initrd=/mnt/sda2/boot/initrd-2.2.16-22.img
        read-only
        root=/dev/sda2

everything works fine with that, except one thing : when i boot "secours",
the system mounts /dev/sda2 as /, i can check it for sure with some
differences between the two file systems (especially lilo.conf !), but
mount shows /dev/sda1 mounted as /

why ?

                        - * - * - * - * - * - * -
Mes idees n'engagent que moi (vieux proverbe du Net)

Thierry ITTY
eMail: [EMAIL PROTECTED]                FRANCE



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to