On Feb 28, 5:15 pm, Tomi <
fafar...@gmail.com> wrote:
> After I replaced my two aging 120GB disks with newer 500GB, always
> rebuilding the array and enlarging it, my /dev/md0 doesn't start
> anymore after a boot. I have to go into the webUI and start it
> manually on DISKS>RAID>start. Very annoying.
Have you used the Disk Wizard? No? Set the partition to RAID?
Anyhow, to diagnose the auto-start problem what I need are the
hot*.log, which shows what happens at "hotplug" time (i.e., when the
kernel recognizes the device/partitions, either at boot time or upon
insertion). Please post it (attach, not pasted) immediately after a
reboot, as it is very verbose.
But, for now, just post the output of
cat /proc/mdstat
mdadm --detail /dev/md0
mdadm --examine /dev/<the raid partitions> # such as /dev/sda2 /dev/
sdb2
I don't have such problems with my current RAID1/JBOD test disks.
> I think I might've screwed up the partitioning in some way; see
Plase post the output of
sfdisk -luS
> logread after I start the raid manually (and everything works).
...
> Feb 28 18:00:00 kernel: md0: unknown partition table
...
> Unknown partition table? I have both drives partition as 500MB SWAP on
> sdX1 and the rest on sdX2. sdX3 and sdX4 are empty.
This is normal, a RAID can be partitioned like a disk, the message
just says that it is not partitioned.
RAID is a device, it is like a disk, you can do 'fdisk /dev/md0' --
but don't, Alt-F don't support it.