Name
Assemble mode
Synopsis
mdadm --assemble mddevice [options] memberdevices
Assemble mode activates an array that has already been created using --create or --build. It might be helpful to think of Assemble mode as being similar to the raidstart command.
Options
- -A, --assemble
Assembles (starts) an existing array.
- -u, --uuid=
Specifies the UUID of an array to assemble. Disks are scanned for a RAID superblock containing the UUID and combined into an array.
- -m, --super-minor=
Uses the minor number to identify which member disks belong to an array. All software arrays have a major number of 9. By default, each array has a minor number that corresponds to the number of its device special name. Thus, /dev/md1 has a minor number of 1, and /dev/md22 has a minor number of 22.
- -s, --scan
Scans the configuration file /etc/mdadm.conf for information that could be used to assemble the array listed on the command line. This is useful for assembling arrays without having to remember their UUIDs, minor numbers, or component devices. See the /etc/mdadm.conf section, later in this chapter, for more information.
- -c, --config=
Specifies an alternate location for /etc/mdadm.conf. See the /etc/mdadm.conf section, later in this chapter, for more information.
- -R, --run
Starts an array when possible, even if some of its member disks are missing or unavailable. This is useful for starting a RAID-1, RAID-4, or RAID-5 in degraded mode.
- -f, --force
Starts an array even if the RAID superblocks found on member disks are inconsistent. ...
Get Managing RAID on Linux now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.