On 29/11/14 03:46 PM, Renaud (Ron) OLGIATI wrote:
My setup has eight RAID 1 partitions, md0 to md7, that should mount on /, sawp,
/boot, /usr, /var, /clz, /home and /home/storage, the first seven on one pair
of HDs, the last one on a second pair.
The problem: At each boot time, /dev/md7 fails to start, I have to give the
root passwd, comment out in /etc/fstab the line for /dev/md7 and reboot.
Then, once started, uncomment /dev/md7, create anew the RAID pair, and mount
it, whereupon it will spend the next couple hours syncing.
Is there a way to tell the system to create md7 at the same time as the others ?
Where should I look ?
Cheers,
Ron.
PS Is there a way to make vi available in the rescue console ?
This is a strange setup to say the least. Did you consider creating only
one RAID array per disk pair and partitioning them? Then you would only
need to use a normal partitioning tool to resize partitions. As it is,
you have to adjust the RAID partitions then the partitions on the RAID
arrays to change the partition sizes.
However, I suspect the problem you are having is you didn't add the
/dev/md7 to /etc/mdadm/mdadm.conf. As root try:
mdadm --detail --scan >> /etc/mdadm/mdadm.conf
Afterward you need to:
update-initramfs -u
in order to have the boot process correctly start the arrays.
|
|
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/547a4ab8.7070...@gmail.com