Hi,
I got two drives in RAID1 matrix, each one got 2 partitions, first boot
also in raid, containg grub and such
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00033dcf
Device Boot Start End Blocks Id System
/dev/sda1 * 1 63 498688 fd Linux raid
autodetect
Partition 1 does not end on cylinder boundary.
/dev/sda2 63 182402 1464638413 fd Linux raid
autodetect
Partition 2 does not end on cylinder boundary.
The second drive broke, so I need to replace it now.
I got two software raids, one for boot, the second for lvm2...
root@hydra:~# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sda2[0]
1464637253 blocks super 1.2 [2/1] [U_]
md0 : active raid1 sda1[0]
498676 blocks super 1.2 [2/1] [U_]
unused devices: <none>
My question is, what if I connect the new drive and it will appear as
/dev/sda, and the already working one will be /dev/sdb. Will it
overwrite it ?
The second question, Should I first create partitions partions on this
new drive ? What about GRUB ? I was struggling last time to install it
on both drives in MBR (do you have any proper procedure, because GRUB2
it can boot from dmraid, but cannot install on /dev/md0 for instance).
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e9d5fb2.6070...@gmail.com