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

Re: can't mount raid 5 after installation



So, i've wait until it finish to create the raid.


# cat /proc/mdstat
Personalities : [raid5]
md0 : active raid5 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      480238656 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

But same problem after rebooting :

$ dmesg | grep md
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: md0 stopped.


# mount /dev/md0
mount: /dev/md0: can't read superblock




Hamish Moffatt a écrit :

>On Mon, Oct 17, 2005 at 11:34:06AM +0200, Frederik Schueler wrote:
>  
>
>>no, the partition type must be fd, not the filesystem type in the fstab.
>>you can easily find out with fdisk:
>>
>>fdisk -l should output something like this:
>>
>>   Device Boot      Start         End      Blocks   Id  System
>>/dev/sda1               1        3939    31639986   fd  Linux raid autodetect
>>
>>then the kernel will autodetect and assemble the raid on boot.
>>    
>>
>
>Not if you use the Debian kernel with initrd. The initrd will make sure
>your root group (if any) is started, but you need the mdadm init.d
>script to start the rest.
>
>Hamish
>  
>



Reply to: