/kernel_reloaded/

Author:

Other contacts

Novi članci

Flickr Goodness

Categories

September 26, 2005 @ 0:37

Novi disk u postojeće RAID1 polje

OpenSuSE"

Ovo je mali podsjetnik za mene, a možda i drugima posluži.

Ako imate podešeno raid1 polje a želite dodati novi disk i naravno želite sve podatke sačuvati onda probajte nešto ovako;

for i in 0 1 2 3;do /sbin/mdadm –grow /dev/md$i –raid-disks=2;done
/sbin/mdadm –manage /dev/md0 –add /dev/sdb1
/sbin/mdadm –manage /dev/md1 –add /dev/sdb2
/sbin/mdadm –manage /dev/md2 –add /dev/sdb3
/sbin/mdadm –manage /dev/md3 –add /dev/sdb4

Filed under linux

Leave a Comment

    Recent Comments

    • valent: Respect
    • Alen: Može biti i -20, a probajte montirati ili popravljati opremu u Rijeci na +5 i orkanskoj buri, što se...
    • Jos: Does this also work with Ubuntu (instead of Fedora)? Jos Muller
    • jello: You got to that point I see, but you didn’t finally managed to install it? I followed all your steps,...
    • Lawrence Gough: Thanks for the info, worked a treat on ubuntu 11.10

    Archives

    Meta

    del.icio.us

    Flickr photostream