Re: MDADM restart at system boot time

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

 



Paul wrote:
Hi,
I hope someone can help. I have manually installed mdadm and now have a working array. I installed mdadm from the tarball, then did 'make install' My problem is after system reboot the array will not start as the daemon is not running, I guess. In order to access my files I have to re-create the array, which it complains about and then re-mount the disks, via the usual 'mount /dev/md0 /data', I know this 'mount' can be done via fstab, but I need the first part to work first. I have the following info in my mdadm.conf file:

DEVICE /dev/hdb1 /dev/hdc1
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=0f0e3d1f:52580ad4:2ef6a2e7:f760e130
        devices=/dev/hdb1,/dev/hdc1

Replace the "DEVICE" entry with:

DEVICE partitions

and add

auto=part

to the end of your ARRAY entry.

Regards,

Richard
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux