PDA

View Full Version : [ubuntu] RAID partially stoped after reboot.



Azyx
November 4th, 2011, 11:14 AM
After a reboot my RAID1 won't start. If I check mstat I get:


Azyx@DasDatorn:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md_d0 : inactive sda1[0](S) <-- only partition inactive!!
293036032 blocks

unused devices: <none>
Azyx@DasDatorn:~$If I check RAID Array in Disk-Utilities (palimpsest) it says:

State 'Not running, partially assembled', but under Action there are a button who says: 'Stop RAID Array' and If I click that once It says: 'Start RAID Array', And if I click again, it starts!

And mdsat gives:


Azyx@DasDatorn:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sda1[0] sdb1[1] <--both partitions!!
293036032 blocks [2/2] [UU]

unused devices: <none>
Azyx@DasDatorn:~$It workes, but It's not away It should work, cos it only partially active after reboot!!

First I added following to fstab:

UUID=f306072c-10fa-4f2e-9b72-b7f7f3afc380 /home/Azyx/300GB ext4 defaults 0 1blkid gave me UUID for md0. But I inactivated that, cos I thougt that If fstab mounted it before it was ready, something maybe went wrong BUT the error with partially working persist even without mounting in fstab.!!

/Cheers