[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Re: mdadm serious does wrong partition changes



Hi Frans,

On Mon, Dec 04, 2017 at 11:53:07AM +0100, Frans van Berckel wrote:
> And how people do a bootable device with mdraid, read /boot and
> / mirrored, with Sun table. ;-)

See here:

old:~# fdisk /dev/sda
Disk /dev/sda (Sun disk label): 27 heads, 107 sectors, 24620 cylinders
Units = sectors of 1 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sda1             0    409600    204800    1  Boot
/dev/sda2        410238  68420186  34004974   83  Linux native
/dev/sda3             0  71132958  35566479    5  Whole disk
/dev/sda4  u   68420187  71127180   1353496+  82  Linux swap

old:~# cat /proc/mdstat 
Personalities : [raid1] 
md1 : active raid1 sda1[0] sdb1[1]
      204736 blocks [2/2] [UU]
      
md0 : active raid1 sda2[0] sdb2[1]
      34004864 blocks [2/2] [UU]

sdb having *exactly* the same partioning and md1 running 0.90 layout. 

But as you see - old. Modern would be having grub as bootloader - Adrian
did some work on that (Thanks btw.)

Greetings
  Hermann

-- 
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 205; 69120 Heidelberg; Tel: (06221)54-14405 Fax: -14427
Email: Hermann.Lauer@iwr.uni-heidelberg.de


Reply to: