LINUX CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>

7-DAY TOP DOWNLOAD

#
Program
Chrome OS 0.4.237
Beta

5,280
BackTrack 3.0 / 4.0
Pre-Final

3,348
Wine 1.0.1 / 1.1.33
2,563
VLC 1.0.3
2,398
Yahoo Messenger
1.0.4

2,137
Ubuntu 9.10
2,074
Thunderbird PST
Import plugin 1.2

1,852
Fedora 12
1,691
Adobe Flash Player
for Linux 10.0.32.18
/ 10.1 Beta

1,538
Corel Photo-Paint 9
1,322

WEEK'S BEST

  • Ubuntu 9.10
  • Ubuntu Netbook Rem...
  • Pidgin 2.6.3
  • Wine 1.0.1 / 1.1.33
  • Linux Kernel 2.6.3...
  • Mozilla Firefox 3....
  • Fedora 12
  • OpenOffice.org 3.1.1
  • Firestarter 1.0.3
  • The Gimp 2.6.7 / 2...
  • FileZilla 3.3.0.1
  • Transmission 1.76
  • Super Grub Disk 0....
  • Gufw 9.04.2
  • Skype 2.0.072 / 2....
  • openSUSE Linux 11.2
  • Opera 10.01 / 10.1...
  • Adobe Flash Player...
  • wine-doors 0.1.3
  • Google Gadgets 0.1...
  • Home / Linux / System / System Administration

    mdadm 2.6.9 / 3.0 Devel 3

    Download button

    No screenshots available
    Downloads: 3,177  Add to download basket  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.5/5)
    23 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Neil Brown | More programs
    GPL / FREE
    March 27th, 2009, 10:21 GMT
    ROOT / System / System Administration

     Read user reviews (0)  Add a review  Refer to a friend  Subscribe

     

    mdadm description

     

    A tool for creating, maintaining, and monitoring Linux

    mdadm project is a tool for maintaining, creating, and monitoring Linux "md" device arrays, also known as Software RAID.

    These notes apply to 2.6 kernels only and, in some cases, to 2.6.15 or later.

    Md arrays can be assembled at boot time using the 'autodetect' functionality
    which is triggered by storing components of an array in partitions of type
    'fd' - Linux Raid Autodetect.

    They can also be assembled by specifying the component devices in a
    kernel parameter such as

    md=0,/dev/sda,/dev/sdb

    In this case, /dev/md0 will be assembled (because of the 0) from the listed
    devices.

    These mechanisms, while useful, do not provide complete functionality
    and are unlikely to be extended. The preferred way to assemble md arrays at boot time is using 'mdadm' or 'mdassemble' (which is a trimmed-down mdadm).

    To assemble an array which contains the root filesystem, mdadm needs to be run before that filesystem is mounted, and so needs to be run from an initial-ram-fs. It is how this can work that is the primary focus of this document.

    It should be noted up front that only the array containing the root
    filesystem should be assembled from the initramfs. Any other arrays
    should be assembled under the control of files on the main filesystem
    as this enhanced flexibility and maintainability.

    A minimal initramfs for assembling md arrays can be created using 3 files and one directory. These are:

    /bin Directory
    /bin/mdadm statically linked mdadm binary
    /bin/busybox statically linked busybox binary
    /bin/sh hard link to /bin/busybox
    /init a shell script which call mdadm appropriately.


    An example init script is:

    #!/bin/sh

    echo 'Auto-assembling boot md array'
    mkdir /proc
    mount -t proc proc /proc
    if [ -n "$rootuuid" ]
    then arg=--uuid=$rootuuid
    elif [ -n "$mdminor" ]
    then arg=--super-minor=$mdminor
    else arg=--super-minor=0
    fi
    echo "Using $arg"
    mdadm -Acpartitions $arg --auto=part /dev/mda
    cd /
    mount /dev/mda1 /root || mount /dev/mda /root
    umount /proc
    cd /root
    exec chroot . /sbin/init < /dev/console > /dev/console 2>&1

      


    TAGS:

    monitoring md device | creating md device | maintaining md device | mdadm | monitoring | creating



    HTML code for linking to this page:


    Go to top

    Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM