Raid configuration

hwraidman info | sort -t, -k6 -n | tail +2 | hwraidman destroy
echo "3ware,c0,-,RAID-1,-,-,:2:3,-"         | hwraidman create
echo "3ware,c0,-,RAID-5,64k,-,:4:5:6:7:8:9:10,-"   | hwraidman create
echo "3ware,c0,-,SPARE,-,-,:11,-"         | hwraidman create
echo "3ware,c1,-,RAID-5,64k,-,:0:1:2:3:4:5:6,-"      | hwraidman create
echo "3ware,c1,-,SPARE,-,-,:7,-"         | hwraidman create

This gives:

# hwraidman info | sort -t, -k6 -n
3ware,c0,u0,RAID-1,-,149.001,:0:1,sda
3ware,c0,u1,RAID-1,-,465.651,:2:3,sdb
3ware,c0,u3,SPARE,-,465.753,:11,-
3ware,c1,u1,SPARE,-,465.753,:7,-
3ware,c0,u2,RAID-5,64K,2793.91,:4:5:6:7:8:9:10,sdc
3ware,c1,u0,RAID-5,64K,2793.91,:0:1:2:3:4:5:6,sdd

Volumes / Filesystems configuration
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2008-02-19 - PeterKelemen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LinuxSupport All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback