Re: from raidtools2 to mdadm

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

 



On 06/21/2005 02:54 PM, Neil Brown wrote:

>>#> mdadm --detail --scan>> mdadm.conf
>>
>>is enought to get the raid started the next time I have to reboot
>>the box.
> 
> 
> 1/ remove the 'devices=' parts.  Then it should be ok, providing there
>    is a suitable DEVICES line at the top.

yeah I have a devices line on the top. If I don't have, I will need the
devices lines I guess.

> 2/ If you were depending on 'raidstart' to start your arrays before,
>    mdadm will definitely be more reliable (which is to say that it
>    should still work if you lose the first drive of your array...)

no, it should be now called via the mdadm start

> 3/ Best way to find out is to try it!

well :) not if you have production boxes with sw raid :D

>>Until now I used only the raidtools (raidhotadd, lsraid, etc). Is there
>>somehwere a reference like what raidhotadd would be in mdadm
>>command?
> 
> 
> Well, there is the man-page for mdadm.  An understanding is always
> better than a cheat-sheet...

yeah, I am crawling through the docs, and man pages to get a thinking of it.

> But raidhotadd /dev/mdX /dev/hdY  -> mdaddm /dev/mdX --add /dev/hdy
>     s/add/remove/
>     raidstop -> mdadm --stop
> 
> There is no real equivalent for mkraid. mdadm --create does the same
> thing in a very different way.

yeah, but I more often have to add/remove a device than I have to create
a new raid, so its fine :)


-- 
[ Clemens Schwaighofer                      -----=====:::::~ ]
[ TEQUILA\ Japan IT Group                                    ]
[                6-17-2 Ginza Chuo-ku, Tokyo 104-8167, JAPAN ]
[ Tel: +81-(0)3-3545-7703            Fax: +81-(0)3-3545-7343 ]
[ http://www.tequila.co.jp                                   ]

Attachment: signature.asc
Description: OpenPGP digital signature


[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