All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] MD problem
@ 2002-07-12 16:49 joel.soete
  2002-07-12 18:04 ` joel.soete
  0 siblings, 1 reply; 5+ messages in thread
From: joel.soete @ 2002-07-12 16:49 UTC (permalink / raw)
  To: parisc-linux

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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] MD problem
  2002-07-12 16:49 joel.soete
@ 2002-07-12 18:04 ` joel.soete
  0 siblings, 0 replies; 5+ messages in thread
From: joel.soete @ 2002-07-12 18:04 UTC (permalink / raw)
  To: parisc-linux

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 joel.soete@freebel.net:

> 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)
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> 


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [parisc-linux] MD problem
@ 2002-07-12 18:26 Neulinger, Nathan
  2002-07-13 16:32 ` Joel Soete
  0 siblings, 1 reply; 5+ messages in thread
From: Neulinger, Nathan @ 2002-07-12 18:26 UTC (permalink / raw)
  To: joel.soete, parisc-linux

You got it in /etc/exports and running nfs?

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@umr.edu
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216


> -----Original Message-----
> From: joel.soete@freebel.net [mailto:joel.soete@freebel.net]=20
> Sent: Friday, July 12, 2002 1:05 PM
> To: parisc-linux@parisc-linux.org
> Subject: Re: [parisc-linux] MD problem
>=20
>=20
> and additional problem:
> if I mount automaticaly /boot in /etc/fstab it is impossible=20
> to dismount this fs:
>=20
> umount /boot
> device busy
>=20
> fuser -u /boot
> /boot
> No process references; use -v for the complete list
> fuser -v /boot:
>=20
>              USER       PID  ACCESS  COMMAND
> /boot        root    kernel  mount   /boot
>=20
> Any idea? (if I mount it manualy after the reboot no problem?)
>=20
> Quoting joel.soete@freebel.net:
>=20
> > Hi All,
> >=20
> > I build a raid-1 configuration starting from the internal disk sdb
> > formated as
> > follow:
> >                                   cfdisk 2.11n
> >=20
> >                               Disk Drive: /dev/sdb
> >                              Size: 9100044288 bytes
> >               Heads: 64   Sectors per Track: 32   Cylinders: 8678
> >=20
> >     Name        Flags      Part Type  FS Type         =20
> [Label]      =20
> > Size (MB)
> >=20
> >=20
> --------------------------------------------------------------
> ----------------
> >     sdb1                    Primary   Linux/PA-RISC boot   =20
>            =20
> >  63.97
> >     sdb2                    Primary   Linux swap           =20
>            =20
> > 128.98
> >     sdb3                    Primary   Linux                =20
>            =20
> > 127.93
> >     sdb5                    Logical   Linux                =20
>           =20
> > 1664.10
> >     sdb6                    Logical   Linux                =20
>            =20
> > 255.86
> >     sdb7                    Logical   Linux                =20
>            =20
> > 127.93
> >     sdb8                    Logical   Linux                =20
>            =20
> > 127.93
> >     sdb9                    Logical   Linux                =20
>           =20
> > 2047.87
> >     sdb10                   Logical   Linux                =20
>           =20
> > 2047.87
> >     sdb11                   Logical   Linux                =20
>           =20
> > 2047.87
> >                             Logical   Free Space           =20
>            =20
> > 459.28
> >=20
> > sdb3 being the /boot & sdb5 / fs.
> >=20
> > 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=20
> respective disk
> > slice.
> >=20
> > All is ok. But still have to mirror manually quasi static=20
> slices: sdx1
> > (F0) and
> > sdx3 (/boot). So I umount /boot and made a dd from sdb3 to=20
> sda3 Ok and
> > sdb1 to
> > sda1 Ok.
> >=20
> > But when I try to boot from the mirror (ie sda) bootloader=20
> did not find
> > the ipl
> > eventhought the copy of the two F0 slices (I can still boot=20
> from sdb)?
> >=20
> > What do I wrong or better what should I have to resolve=20
> this problem?
> >=20
> > Thanks in advance for advice,
> >     Joel
> >=20
> >=20
> > -------------------------------------------------
> > This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
> > _______________________________________________
> > parisc-linux mailing list
> > parisc-linux@lists.parisc-linux.org
> > http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> >=20
>=20
>=20
> -------------------------------------------------
> This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
>=20

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] MD problem
  2002-07-12 18:26 Neulinger, Nathan
@ 2002-07-13 16:32 ` Joel Soete
  0 siblings, 0 replies; 5+ messages in thread
From: Joel Soete @ 2002-07-13 16:32 UTC (permalink / raw)
  To: Neulinger, Nathan; +Cc: parisc-linux

Hello Nathan,


Neulinger, Nathan wrote:
> You got it in /etc/exports and running nfs?

No (but it should be a good idea)

Thanks,
	Joel

> 
> -- Nathan
> 
> ------------------------------------------------------------
> Nathan Neulinger                       EMail:  nneul@umr.edu
> University of Missouri - Rolla         Phone: (573) 341-4841
> Computing Services                       Fax: (573) 341-4216
> 
> 
> 
>>-----Original Message-----
>>From: joel.soete@freebel.net [mailto:joel.soete@freebel.net] 
>>Sent: Friday, July 12, 2002 1:05 PM
>>To: parisc-linux@parisc-linux.org
>>Subject: Re: [parisc-linux] MD problem
>>
>>
>>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 joel.soete@freebel.net:
>>
>>
>>>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)
>>>_______________________________________________
>>>parisc-linux mailing list
>>>parisc-linux@lists.parisc-linux.org
>>>http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
>>>
>>
>>
>>-------------------------------------------------
>>This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
>>_______________________________________________
>>parisc-linux mailing list
>>parisc-linux@lists.parisc-linux.org
>>http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> 
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [parisc-linux] MD problem
       [not found] ` <3D30015A.7010301@freebel.net>
@ 2002-07-13 17:09   ` Joel Soete
  0 siblings, 0 replies; 5+ messages in thread
From: Joel Soete @ 2002-07-13 17:09 UTC (permalink / raw)
  To: Peter Mottram; +Cc: parisc-linux

Peter,

You have right, this is the same problem: /sbin/klogd is using /boot

Thanks a lot,
	Joel

Joel Soete wrote:
 > Hi Peter,
 >
 > hmm same problem on my i386...
 > and fuser -m
 > /boot 209
 >
 > which process 209 is /sbin/klogd ( a child process of init)
 > I will have look on my hppa.
 >
 > Thanks a lot for info,
 >     Joel
 >
 > Peter Mottram wrote:
 >
 >> fuser -m ?
 >>
 >> On Fri, 12 Jul 2002, joel.soete@freebel.net wrote:
 >>
 >>
 >>> 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 joel.soete@freebel.net:
 >>>
 >>>
 >>>> 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)
 >>>> _______________________________________________
 >>>> parisc-linux mailing list
 >>>> parisc-linux@lists.parisc-linux.org
 >>>> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
 >>>>
 >>>
 >>>
 >>> -------------------------------------------------
 >>> This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
 >>> _______________________________________________
 >>> parisc-linux mailing list
 >>> parisc-linux@lists.parisc-linux.org
 >>> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
 >>>
 >>
 >>
 >>
 >
 >
 >

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-07-13 17:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.44.0207122026220.3825-100000@r6.petescaff.com>
     [not found] ` <3D30015A.7010301@freebel.net>
2002-07-13 17:09   ` [parisc-linux] MD problem Joel Soete
2002-07-12 18:26 Neulinger, Nathan
2002-07-13 16:32 ` Joel Soete
  -- strict thread matches above, loose matches on Subject: below --
2002-07-12 16:49 joel.soete
2002-07-12 18:04 ` joel.soete

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.