Make sure /dev/sda5 and /dev/sdb5 are not mounted when

"/sbin/mkraid /dev/md0" is issued.

--- Matthew Leung <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I upgraded my kernel from 2.0.32 to 2.2.14 and using
> raidtools-0.90.  I 
> don't know why I
> can't initialize the raid disk siucessfully.  Could
> you please let me know 
> what's the
> problem?  Besides, is there any documents for
> troubleshooting of the 
> raidtools?  Thanks
> 
> [root@web /etc]# /sbin/mkraid /dev/md0
> handling MD device /dev/md0
> analyzing super-block
> disk 0: /dev/sda5, 16257748kB, raid superblock at
> 16257664kB
> /dev/sda5 is mounted

Unmounted /dev/sda5.

> mkraid: aborted, see the syslog and /proc/mdstat for
> potential clues.
> ==================================
> This is the raidtab file:
> 
> raiddev                 /dev/md0
> raid-level              1
> nr-raid-disks           2
> nr-spare-disks          0
> chunk-size              4
> 
> device                  /dev/sda5
> raid-disk               0
> 
> device                  /dev/sdb5
> raid-disk               1
> 
> raiddev                 /dev/md1
> raid-level              1
> nr-raid-disks           2
> nr-spare-disks          0
> chunk-size              4
> 
> device                  /dev/sda6
> raid-disk               0
> 
> device                  /dev/sdb6
> raid-disk               1
> 
> ============================
> My partitions info:
> 
> [root@web /etc]# df
> Filesystem         1024-blocks  Used Available
> Capacity Mounted on
> /dev/sda1             497667  275056   196909    
> 58%   /
> /dev/sda5            15618577   39193  14766497     
> 0%   /home
> /dev/sda6             894017    4904   842927     
> 1%   /var
> /dev/sdb1             497667  195936   276029    
> 42%   /backup
> /dev/sdb6             894017    4253   843578     
> 1%   /var2
> /dev/sdb5            15618577    1907  14803783     
> 0%   /home2
> 
>
________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com
> 
> 

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com

Reply via email to