Skip to contentSkip to conversation

MD problem

parisc-linux [email protected] 1 participant 2 messages Jul 12, 2002

lore
Share & tools
lore
#0 lore raw

Hi All,

I build a raid-1 configuration starting from the internal disk sdb formated as follow:
cfdisk 2.11n

Disk Drive: /dev/sdb
Size: 9100044288 bytes
Heads: 64 Sectors per Track: 32 Cylinders: 8678

Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------

    sdb1                    Primary   Linux/PA-RISC boot                  63.97
    sdb2                    Primary   Linux swap                         128.98
    sdb3                    Primary   Linux                              127.93
    sdb5                    Logical   Linux                             1664.10
    sdb6                    Logical   Linux                              255.86
    sdb7                    Logical   Linux                              127.93
    sdb8                    Logical   Linux                              127.93
    sdb9                    Logical   Linux                             2047.87
    sdb10                   Logical   Linux                             2047.87
    sdb11                   Logical   Linux                             2047.87
                            Logical   Free Space                         459.28

sdb3 being the /boot & sdb5 / fs.

then I copy this structure with sfdisk -d /dev/sdb | sfdisk /dev/sda (same size but not the same supplier) and synchronize all mdi with respective disk slice.

All is ok. But still have to mirror manually quasi static slices: sdx1 (F0) and sdx3 (/boot). So I umount /boot and made a dd from sdb3 to sda3 Ok and sdb1 to sda1 Ok.

But when I try to boot from the mirror (ie sda) bootloader did not find the ipl eventhought the copy of the two F0 slices (I can still boot from sdb)?

What do I wrong or better what should I have to resolve this problem?

Thanks in advance for advice,
Joel

-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

#1 lore raw

and additional problem:
if I mount automaticaly /boot in /etc/fstab it is impossible to dismount this fs:

umount /boot
device busy

fuser -u /boot
/boot
No process references; use -v for the complete list fuser -v /boot:

             USER       PID  ACCESS  COMMAND
/boot        root    kernel  mount   /boot

Any idea? (if I mount it manualy after the reboot no problem?)

Quoting [email protected]:

Quoted 61 lines

Hi All,

I build a raid-1 configuration starting from the internal disk sdb formated as
follow:
cfdisk 2.11n

Disk Drive: /dev/sdb
Size: 9100044288 bytes
Heads: 64 Sectors per Track: 32 Cylinders: 8678

Name Flags Part Type FS Type [Label]
Size (MB)

------------------------------------------------------------------------------
sdb1 Primary Linux/PA-RISC boot
63.97
sdb2 Primary Linux swap
128.98
sdb3 Primary Linux
127.93
sdb5 Logical Linux
1664.10
sdb6 Logical Linux
255.86
sdb7 Logical Linux
127.93
sdb8 Logical Linux
127.93
sdb9 Logical Linux
2047.87
sdb10 Logical Linux
2047.87
sdb11 Logical Linux
2047.87
Logical Free Space
459.28

sdb3 being the /boot & sdb5 / fs.

then I copy this structure with sfdisk -d /dev/sdb | sfdisk /dev/sda (same size
but not the same supplier) and synchronize all mdi with respective disk slice.

All is ok. But still have to mirror manually quasi static slices: sdx1 (F0) and
sdx3 (/boot). So I umount /boot and made a dd from sdb3 to sda3 Ok and sdb1 to
sda1 Ok.

But when I try to boot from the mirror (ie sda) bootloader did not find the ipl
eventhought the copy of the two F0 slices (I can still boot from sdb)?

What do I wrong or better what should I have to resolve this problem?

Thanks in advance for advice,
Joel

Quoted 7 lines

-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
_______________________________________________
parisc-linux mailing list [email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)