Linux Command Library


discover, configure and activate software (ATA)RAID

{-a|--activate} {y|n|yes|no}
[-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
[-f|--format FORMAT[,FORMAT...]]
[{-P|--partchar} CHAR]
[--separator SEPARATOR]

[-d|--debug]... [-v|--verbose]...
[--separator SEPARATOR]


[-d|--debug]... [-v|--verbose]...

[-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
[-f|--format FORMAT[,FORMAT...]]
[--separator SEPARATOR]

{-R| --rebuild}

{-x| --remove}

-f FORMAT-handler {-C| --create} set
--type raidlevel
[--size=setsize --strip stridesize]
--disk "device-path, device-path [, device-path ...]"

dmraid [ -f|--format FORMAT-handler] -S|--spare [RAID-set] -M|--media "device-path"

[-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
[-f|--format FORMAT[,FORMAT...]]
[--separator SEPARATOR]

[-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
[-f|--format FORMAT[,FORMAT...]]
[--separator SEPARATOR]

[-d|--debug]... [-v|--verbose]... [-i|--ignorelocking]
[-f|--format FORMAT[,FORMAT...]]
[--separator SEPARATOR]


dmraid discovers block and software RAID devices (eg, ATARAID) by using multiple different metadata format handlers which support various formats (eg, Highpoint 37x series). It offers activating RAID sets made up by 2 or more discovered RAID devices, display properties of devices and sets (see option -l for supported metadata formats). Block device access to activated RAID sets occurs via device-mapper nodes /dev/mapper/RaidSetName. RaidSetName starts with the format name (see -l option) which can be used to access all RAID sets of a specific format easily with certain options (eg, -a below).

-a, --activate {y|n} [RAID set...]

Activates or deactivates all or particular software RAID set. In case metadata format handlers are chosen with -f , only RAID sets with such format(s) can be activated or deactivated. Useful if devices have multiple metadata signatures. When activating RAID sets, -p disables the activation of partitions on them, and -Z will make dmraid tell the kernel to remove the partitions from the disks underlying the set, ie if sda is part of the set, remove sda1, sda2, etc. This prevents applications from directly accessiong the disks bypassing dmraid. RAID set names given on command line don’t need to be fully specified (eg, "dmraid -ay sil" would activate all discovered Silicon Image Medley RAID sets).

{-b|--block_devices} [device-path...]

List all or particular discovered block devices with their properties (size, serial number). Add -c to display block device names only and -cc for CSV column output of block device properties. See description of -c below for FIELD identifiers.


Enable debugging output. Opion can be given multiple times increasing the debug output level.


Display properties of block devices, RAID sets and devices in column(s). Optional list specifying which FIELDs to display.
For -b:
d[evpath]|p[ath], sec[tors]|si[ze], ser[ialnumber].
For -r:
de[vpath]|p[ath], f[ormat], r[aidname], t[ype], st[atus], se[ctors]|si[ze], da[taoffset]|o[ffset].
For -s:
f[ormat], r[aidname], t[ype], sta[tus], str[ide], se[ctors]|si[ze], su[bsets], d[evices], sp[ares].

[-f|--format FORMAT[,FORMAT...]]

Use metadata format handler(s) to discover RAID devices. See -l for a list of supported format handler names. This is useful to select particular formats in case multiple metadata signatures are found on a device. A comma seperated list of format names can be specified which may not contain white space.


Display help text.


Don’t take out any locks. Useful in early boot where no read/write access to /var is available.


List all available metadata format handlers with their names and descriptions. Supported RAID levels are listed in parenthesis:

S: Span (concatination)
0: RAID0 (stripe)
1: RAID1 (mirror)
10: RAID10 (mirror on top of stripes)
01: RAID10 (stripe on top of mirrors) Note: Intel OROM displays this as RAID10

{-n|--native_log} [device-path...]

Display metadata in native, vendor-specific format. In case a metadata format handler is chosen with -f only RAID devices with such format will be displayed in native format. If device-path(s) is/are given on the command line, native metadata output is restricted to those listed.

[{-P|--partchar} CHAR]

Use CHAR as the separator between the device name and the partition number.

{-R| --rebuild} RAID-set [device-path]

Rebuild raid array after a drive has failed and a new drive is added. For Intel chipset based systems, there are two methods in which a new drive is added to the system.

1. Using OROM to identify a new drive
During system reboot, enter OROM and mark the new drive as the rebuild drive.
After booting to the OS, use the dmraid command to rebuild.

Example: dmraid -R raid_set

2. Using dmraid to identify a new drive
Boot to the OS and use the dmraid command with the new drive as the second parameter.

Example: dmraid -R raid_set /dev/sdc

3. Using hot spare drive
Mark a drive as hot spare using the "dmraid -f isw -S" command. Then use the dmraid command to start the rebuild.

Example: dmraid -R raid_set

{-x|--remove} [RAID-set]

Delete one or all existing software RAID devices from the metadata.

-f FORMAT-handler {-C|--create} --type raidlevel [--size=setsize
--strip stripsize] --disk device-path, device-path [,device-path]

Delete one or all existing Configure a software RAID device and store the configuration data in a group of hard drive devices consisting of this array. This command requires the following options:

-f FORMAT-handler

metadata format (see "dmraid -l")

--type digit[digit...]

specify the raid level of the software RAID set.

0: raid0

1: raid1

5: raid5

01: raid01 (isw raid10)

--size: [digits[k|K|m|M|g|G][b|B]]

specify the size of the RAID set.The number is an integer followed by [kKmMgG] and/or [bB].

b: byte (default)

B: block (512 bytes)

K or K: on the base of 1024

m or M: on the base of 1024*1024

g or G: on the base of 1024*1024*1024

If this option is missing, it’s set to the default value pre-configured by the vendor. Note that different vendors may apply different constraints on the granularity of the size or the minimal value.
--strip: [digits[k|K|m|M|g|G][b|B]]

specify the strip size of a RAID1, RAID5, and RAID10 RAID set (as above)

--disk: device-path[{,| }device-path...]

specify the array of the hard drives, e.g. /dev/sda.

-f FORMAT-handler -S -M device-path

-S -M device-path

This command adds hot spare support for one or more RAID sets.

1. When used with a format handler, which supports hot spare sets (e.g. isw), a hot spare is marked to be used when rebuilding any RAID set of that format. 2. When used when specifying a RAID set, the drive is added to that RAID set and will be used only to rebuild that set. Note: If the specified name does not match an existing RAID-set, a set with the new name will be created.

{-r|--raid_devices} [device-path...]

List all discovered RAID devices with format, RAID level, sectors used and data offset into the device. In case a metadata format handler is chosen with -f , only RAID devices with such format can be discovered. Useful if devices have multiple metadata signatures. If -D is added to -r the RAID metadata gets dumped into a subdirectory named dmraid.format_name (eg. format_name = isw) in files named devicename.dat. The byte offset where the metadata is located on the device is written into files named devicename.offset and the size of the device in sectors into files named devicename.size.

If -E is added to -r the RAID metadata on the devices gets conditionally erased. Useful to erase old metadata after new one of different type has been stored on a device in order to avoid discovering both. If you enter -E option -D will be enforced in order to have a fallback in case the wrong metadata got erased. Manual copying back onto the device is needed to recover from erasing the wrong metadata using the dumped files devicename_formatname.dat and devicename_formatname.offset. Eg, to restore all *.dat files in the working directory to the respective devices:

for f in *.dat

dd if=$f of=/dev/${f%%.dat} \

seek=’cat ${f%%dat}offset’ bs=1


If device-path(s) is/are given on the command line, the above actions are restricted to those listed. Add -c to display RAID device names only and -cc for CSV column output of RAID device properties. See description of -c above for FIELD identifiers.

--separator SEPARATOR

Use SEPARATOR as a delimiter for all options taking or displaying lists.

-s... [a|i] [RAID-set...]

Display properties of RAID sets. Multiple RAID set names can be given on the command line which don’t need to be fully specified (eg, "dmraid -s hpt" would display all discovered Highpoint RAID sets). Enter -s twice to display RAID subsets too. Add -c to display names of RAID sets only, -cc for CSV column output of RAID set properties and -ccc for inclusion of block devices in the listing. Doesn’t imply -s -s to show RAID subsets (implied for group sets, e.g. isw). Add -g to include information about group RAID sets (as with Intel Software RAID) in the listing. See description of -c above for FIELD identifiers. Note: Size is given in sectors (not bytes).


Enable verbose runtime information output. Opion can be given multiple times increasing the verbosity level.

"dmraid -l" lists all supported metadata formats with their names along with some descriptive information, eg:
hpt37x : (+) Highpoint HPT37X
hpt45x : (+) Highpoint HPT45X
isw : (+) Intel Software RAID
lsi : (0) LSI Logic MegaRAID
nvidia : (+) NVidia RAID
pdc : (+) Promise FastTrack
sil : (+) Silicon Image(tm) Medley(tm)
via : (+) VIA Software RAID
dos : (+) DOS partitions on SW RAIDs
(0): Discover, (+): Discover+Activate

"dmraid -ay" activates all software RAID sets discovered.

"dmraid -an" deactivates all active software RAID sets which are not open (eg, mounted filesystem on them).

"dmraid -ay -f pdc" (pdc looked up from "dmraid -l") activates all software RAID sets with Promise format discovered and ignores all other supported formats.

"dmraid -r" discovers all software RAID devices supported on your system, eg:
/dev/dm-46: hpt45x, "hpt45x_chidjhaiaa-0", striped, ok, 320172928 sectors, data@ 0
/dev/dm-50: hpt45x, "hpt45x_chidjhaiaa-0", striped, ok, 320172928 sectors, data@ 0
/dev/dm-54: hpt45x, "hpt45x_chidjhaiaa-1", striped, ok, 320172928 sectors, data@ 0
/dev/dm-58: hpt45x, "hpt45x_chidjhaiaa-1", striped, ok, 320172928 sectors, data@ 0

"dmraid -s -s hpt45x_chidjhaiaa" displays properties of set "hpt45x_chidjhaiaa", eg:
accept.8.gz accessdb.8.gz acpid.8.gz acpi_listen.8.gz add-apt-key.8.gz addgroup.8.gz addpart.8.gz add-shell.8.gz adduser.8.gz agetty.8.gz anacron.8.gz apt.8.gz apt-cache.8.gz apt-cdrom.8.gz apt-clone.8.gz apt-config.8.gz apt-get.8.gz aptitude.8.gz aptitude-curses.8.gz apt-key.8.gz apt-mark.8.gz apt-secure.8.gz apturl.8.gz apturl-gtk.8.gz arp.8.gz arpd.8.gz arping.8.gz aspell-autobuildhash.8.gz atieventsd.8 avahi-autoipd.8.gz avahi-autoipd.action.8.gz avahi-daemon.8.gz badblocks.8.gz bccmd.8.gz biosdecode.8.gz blkid.8.gz blockdev.8.gz bluetoothd.8.gz bridge.8.gz btcflash.8.gz calibrate_ppa.8.gz capsh.8.gz catman.8.gz cfdisk.8.gz chat.8.gz chgpasswd.8.gz chpasswd.8.gz chroot.8.gz cifs.idmap.8.gz cifs.upcall.8.gz clock.8.gz cpgr.8.gz cppw.8.gz cracklib-check.8.gz cracklib-format.8.gz cracklib-packer.8.gz cracklib-unpacker.8.gz crda.8.gz create-cracklib-dict.8.gz cron.8.gz cryptdisks_start.8.gz cryptdisks_stop.8.gz cryptsetup.8.gz cryptsetup-reencrypt.8.gz ctrlaltdel.8.gz ctstat.8.gz cupsaccept.8.gz cupsaddsmb.8.gz cups-browsed.8.gz cups-calibrate.8.gz cupsctl.8.gz cupsd.8.gz cups-deviced.8.gz cupsdisable.8.gz cups-driverd.8.gz cupsenable.8.gz cupsfilter.8.gz cups-genppdupdate.8.gz cups-lpd.8.gz cupsreject.8.gz cytune.8.gz debugfs.8.gz debugreiserfs.8.gz delgroup.8.gz delpart.8.gz deluser.8.gz depmod.8.gz dhclient.8.gz dhclient-script.8.gz dkms.8.gz dmevent_tool.8.gz dmidecode.8.gz dmraid.8.gz dmsetup.8.gz dnsmasq.8.gz dosfsck.8.gz dosfslabel.8.gz dpkg-divert.8.gz dpkg-preconfigure.8.gz dpkg-reconfigure.8.gz dpkg-statoverride.8.gz dumpe2fs.8.gz e2freefrag.8.gz e2fsck.8.gz e2image.8.gz e2label.8.gz e2undo.8.gz e4defrag.8.gz ecryptfsd.8.gz ecryptfs-manager.8.gz ecryptfs-migrate-home.8.gz efibootmgr.8.gz eventlogadm.8.gz faillog.8.gz fatlabel.8.gz fdformat.8.gz fdisk.8.gz filefrag.8.gz findfs.8.gz findmnt.8.gz fsadm.8.gz fsck.8.gz fsck.ext2.8.gz fsck.ext3.8.gz fsck.ext4.8.gz fsck.ext4dev.8.gz fsck.fat.8.gz fsck.jfs.8.gz fsck.minix.8.gz fsck.msdos.8.gz fsck.nfs.8.gz fsck.reiserfs.8.gz fsck.vfat.8.gz fsck.xfs.8.gz fsfreeze.8.gz fstab-decode.8.gz fstrim.8.gz fstrim-all.8.gz gconf-schemas.8.gz getcap.8.gz getkeycodes.8.gz getty.8.gz groupadd.8.gz groupdel.8.gz groupmod.8.gz grpck.8.gz grpconv.8.gz grpunconv.8.gz grub-install.8.gz grub-macbless.8.gz grub-mkconfig.8.gz grub-mkdevicemap.8.gz grub-probe.8.gz grub-reboot.8.gz grub-set-default.8.gz halt.8.gz hciattach.8.gz hciconfig.8.gz hddtemp.8.gz hdparm.8.gz hid2hci.8.gz hwclock.8.gz i386.8.gz iconvconfig.8.gz idmap_rfc2307.8.gz idmapwb.8.gz ifconfig.8.gz ifdown.8.gz ifquery.8.gz ifup.8.gz im-config.8.gz init.8.gz init-checkconf.8.gz initctl2dot.8.gz initctl.8.gz initramfs-tools.8.gz insmod.8.gz insserv.8.gz install-docs.8.gz installkernel.8.gz install-sgmlcatalog.8.gz intro.8.gz invoke-rc.d.8.gz inxi.8.gz ip6tables.8.gz ip6tables-apply.8.gz ip6tables-restore.8.gz ip6tables-save.8.gz ip.8.gz ip-address.8.gz ip-addrlabel.8.gz ip-l2tp.8.gz ip-link.8.gz ip-maddress.8.gz ip-monitor.8.gz ip-mroute.8.gz ip-neighbour.8.gz ip-netconf.8.gz ip-netns.8.gz ip-ntable.8.gz ip-route.8.gz ip-rule.8.gz iptables.8.gz iptables-apply.8.gz iptables-extensions.8.gz iptables-restore.8.gz iptables-save.8.gz ip-tcp_metrics.8.gz ip-token.8.gz ip-tunnel.8.gz ip-xfrm.8.gz isadump.8.gz isaset.8.gz isosize.8.gz ispell-autobuildhash.8.gz iw.8.gz iwconfig.8.gz iwevent.8.gz iwgetid.8.gz iwlist.8.gz iwpriv.8.gz iwspy.8.gz jfs_debugfs.8.gz jfs_fsck.8.gz jfs_fscklog.8.gz jfs_logdump.8.gz jfs_mkfs.8.gz jfs_tune.8.gz kbdrate.8.gz kerneloops.8.gz key.dns_resolver.8.gz killall5.8.gz kpartx.8.gz l2ping.8.gz laptop-detect.8.gz lastlog.8.gz ldattach.8.gz ldconfig.8.gz ld-linux.8.gz lnstat.8.gz loadndisdriver-1.9.8.gz loadndisdriver.8.gz loadunimap.8.gz locale-gen.8.gz logrotate.8.gz logsave.8.gz losetup.8.gz lowntfs-3g.8.gz lpadmin.8.gz lpc.8.gz lpinfo.8.gz lpmove.8.gz lsblk.8.gz lsinitramfs.8.gz lsmod.8.gz lsof.8.gz lspci.8.gz lspcmcia.8.gz lsusb.8.gz luksformat.8.gz lvchange.8.gz lvconvert.8.gz lvcreate.8.gz lvdisplay.8.gz lvextend.8.gz lvm.8.gz lvmchange.8.gz lvmconf.8.gz lvmdiskscan.8.gz lvmdump.8.gz lvmsadc.8.gz lvmsar.8.gz lvreduce.8.gz lvremove.8.gz lvrename.8.gz lvresize.8.gz lvs.8.gz lvscan.8.gz MAKEDEV.8.gz make-ssl-cert.8.gz mandb.8.gz mapscrn.8.gz mdm.8.gz mdmlogin.8.gz mii-tool.8.gz mkdosfs.8.gz mke2fs.8.gz mkfs.8.gz mkfs.bfs.8.gz mkfs.ext2.8.gz mkfs.ext3.8.gz mkfs.ext4.8.gz mkfs.ext4dev.8.gz mkfs.fat.8.gz mkfs.jfs.8.gz mkfs.minix.8.gz mkfs.msdos.8.gz mkfs.ntfs.8.gz mkfs.reiserfs.8.gz mkfs.vfat.8.gz mkfs.xfs.8.gz mkhomedir_helper.8.gz mkinitramfs.8.gz mklost+found.8.gz mk_modmap.8.gz mkntfs.8.gz mkreiserfs.8.gz mksmbpasswd.8.gz mkswap.8.gz mmcli.8.gz ModemManager.8.gz modinfo.8.gz modprobe.8.gz mount.8.gz mountall.8.gz mount.cifs.8.gz mount.ecryptfs.8.gz mount.fuse.8.gz mount.lowntfs-3g.8.gz mount.ntfs-3g.8.gz mount.ntfs.8.gz mount.vboxsf.8.gz mtr.8.gz nameif.8.gz ndiswrapper-1.9.8.gz ndiswrapper.8.gz net.8.gz netstat.8.gz NetworkManager.8.gz newusers.8.gz nfnl_osf.8.gz nmbd.8.gz nologin.8.gz nstat.8.gz ntfs-3g.8.gz ntfs-3g.probe.8.gz ntfs-3g.secaudit.8.gz ntfs-3g.usermap.8.gz ntfscat.8.gz ntfsclone.8.gz ntfscluster.8.gz ntfscmp.8.gz ntfscp.8.gz ntfsfix.8.gz ntfsinfo.8.gz ntfslabel.8.gz ntfsls.8.gz ntfsprogs.8.gz ntfsresize.8.gz ntfsundelete.8.gz ntpdate.8.gz ntpdate-debian.8.gz ownership.8.gz pam_access.8.gz pam-auth-update.8.gz pam_ck_connector.8.gz pam_debug.8.gz pam_deny.8.gz pam_echo.8.gz pam_ecryptfs.8.gz pam_env.8.gz pam_exec.8.gz pam_faildelay.8.gz pam_filter.8.gz pam_ftp.8.gz pam_getenv.8.gz pam_group.8.gz pam_issue.8.gz pam_keyinit.8.gz pam_lastlog.8.gz pam_limits.8.gz pam_listfile.8.gz pam_localuser.8.gz pam_loginuid.8.gz pam_mail.8.gz pam_mkhomedir.8.gz pam_motd.8.gz pam_namespace.8.gz pam_nologin.8.gz pam_permit.8.gz pam_pwhistory.8.gz pam_rhosts.8.gz pam_rootok.8.gz pam_securetty.8.gz pam_selinux.8.gz pam_sepermit.8.gz pam_shells.8.gz pam_succeed_if.8.gz pam_systemd.8.gz pam_tally2.8.gz pam_tally.8.gz pam_time.8.gz pam_timestamp.8.gz pam_timestamp_check.8.gz pam_tty_audit.8.gz pam_umask.8.gz pam_unix.8.gz pam_userdb.8.gz pam_warn.8.gz pam_wheel.8.gz pam_xauth.8.gz paperconfig.8.gz parted.8.gz partprobe.8.gz partx.8.gz pccardctl.8.gz pcimodules.8.gz pdbedit.8.gz pidof.8.gz ping6.8.gz ping.8.gz pivot_root.8.gz pklocalauthority.8.gz plipconfig.8.gz pm-action.8.gz pm-hibernate.8.gz pm-powersave.8.gz pm-suspend.8.gz pm-suspend-hybrid.8.gz polkit.8.gz polkitd.8.gz poweroff.8.gz pppconfig.8.gz pppd.8.gz pppd-radattr.8.gz pppd-radius.8.gz pppdump.8.gz pppoe.8.gz pppoeconf.8.gz pppoe-connect.8.gz pppoe-discovery.8.gz pppoe-relay.8.gz pppoe-server.8.gz pppoe-setup.8.gz pppoe-sniff.8.gz pppoe-start.8.gz pppoe-status.8.gz pppoe-stop.8.gz pppstats.8.gz pptp.8.gz pptpsetup.8.gz pvchange.8.gz pvck.8.gz pvcreate.8.gz pvdisplay.8.gz pvmove.8.gz pvremove.8.gz pvresize.8.gz pvs.8.gz pvscan.8.gz pwck.8.gz pwconv.8.gz pwunconv.8.gz radeontool.8.gz rarp.8.gz raw.8.gz rdate.8.gz reboot.8.gz regdbdump.8.gz reiserfsck.8.gz reiserfstune.8.gz reject.8.gz reload.8.gz remove-default-ispell.8.gz remove-default-wordlist.8.gz remove-shell.8.gz request-key.8.gz resize2fs.8.gz resizecons.8.gz resizepart.8.gz resize_reiserfs.8.gz resolvconf.8.gz restart.8.gz rfkill.8.gz rmmod.8.gz rmt.8.gz rmt-tar.8.gz route.8.gz routef.8.gz routel.8.gz rpl8.8.gz rsyslogd.8.gz rtacct.8.gz rtcwake.8.gz rtkitctl.8.gz rtmon.8.gz rtstat.8.gz runlevel.8.gz run-parts.8.gz sa1.8.gz sa2.8.gz sadc.8.gz safe_finger.8.gz samba.8.gz samba-regedit.8.gz samba-tool.8.gz saned.8.gz savelog.8.gz select-default-ispell.8.gz select-default-wordlist.8.gz sensors-detect.8.gz service.8.gz setarch.8.gz setcap.8.gz setfont.8.gz setkeycodes.8.gz setlogcons.8.gz setpci.8.gz setvesablank.8.gz setvtrgb.8.gz sfdisk.8.gz sftp-server.8.gz shadowconfig.8.gz showconsolefont.8.gz shutdown.8.gz slattach.8.gz sln.8.gz smbd.8.gz smbpasswd.8.gz smbspool.8.gz smbta-util.8.gz ss.8.gz sshd.8.gz ssh-keysign.8.gz ssh-pkcs11-helper.8.gz start.8.gz startpar.8.gz start-stop-daemon.8.gz status.8.gz stop.8.gz sudo.8.gz sudoedit.8.gz sudo_plugin.8.gz sudoreplay.8.gz sudo_root.8.gz sulogin.8.gz swaplabel.8.gz swapoff.8.gz swapon.8.gz switch_root.8.gz synaptic.8.gz sync.8.gz sync-available.8.gz sysctl.8.gz systemd-hostnamed.8.gz systemd-hostnamed.service.8.gz systemd-localed.8.gz systemd-localed.service.8.gz systemd-logind.8.gz systemd-logind.service.8.gz systemd-timedated.8.gz systemd-timedated.service.8.gz systemd-udevd.8.gz systemd-udevd-control.socket.8.gz systemd-udevd-kernel.socket.8.gz systemd-udevd.service.8.gz tc.8.gz tc-bfifo.8.gz tc-cbq.8.gz tc-cbq-details.8.gz tc-choke.8.gz tc-codel.8.gz tc-drr.8.gz tc-ematch.8.gz tc-fq_codel.8.gz tc-hfsc.8.gz tc-htb.8.gz tc-netem.8.gz tcpd.8.gz tcpdchk.8.gz tcpdmatch.8.gz tcpdump.8.gz tc-pfifo.8.gz tc-pfifo_fast.8.gz tc-prio.8.gz tc-red.8.gz tc-sfb.8.gz tc-sfq.8.gz tc-stab.8.gz tc-tbf.8.gz tdbbackup.8.gz tdbbackup.tdbtools.8.gz tdbdump.8.gz tdbrestore.8.gz tdbtool.8.gz telinit.8.gz torchat.8.gz tracepath6.8.gz tracepath.8.gz traceroute6.8.gz traceroute6.iputils.8.gz try-from.8.gz tune2fs.8.gz tunelp.8.gz tzselect.8.gz udevadm.8.gz udevd.8.gz udisks.8.gz udisksd.8.gz udisks-daemon.8.gz ufw.8.gz ufw-framework.8.gz umount.8.gz umount.ecryptfs.8.gz unattended-upgrade.8.gz unix_chkpwd.8.gz unix_update.8.gz update-alternatives.8.gz update-apt-xapian-index.8.gz update-binfmts.8.gz update-ca-certificates.8.gz update-catalog.8.gz update-cracklib.8.gz updatedb.8.gz update-default-aspell.8.gz update-default-ispell.8.gz update-default-wordlist.8.gz update-dictcommon-aspell.8.gz update-dictcommon-hunspell.8.gz update-fonts-alias.8.gz update-fonts-dir.8.gz update-fonts-scale.8.gz update-gconf-defaults.8.gz update-grub2.8.gz update-grub.8.gz update-icon-caches.8.gz update-icon-caches.gtk2.8.gz update-inetd.8.gz update-info-dir.8.gz update-initramfs.8.gz update-java-alternatives.8.gz update-mime.8.gz update-passwd.8.gz update-pciids.8.gz update-python-modules.8.gz update-rc.d.8.gz update-usbids.8.gz update-xmlcatalog.8.gz upowerd.8.gz upstart-dbus-bridge.8.gz upstart-event-bridge.8.gz upstart-file-bridge.8.gz upstart-local-bridge.8.gz upstart-socket-bridge.8.gz upstart-udev-bridge.8.gz ureadahead.8.gz useradd.8.gz userdel.8.gz usermod.8.gz uuidd.8.gz VBoxControl.8.gz VBoxService.8.gz vcstime.8.gz veritysetup.8.gz vgcfgbackup.8.gz vgcfgrestore.8.gz vgchange.8.gz vgck.8.gz vgconvert.8.gz vgcreate.8.gz vgdisplay.8.gz vgexport.8.gz vgextend.8.gz vgimport.8.gz vgimportclone.8.gz vgmerge.8.gz vgmknodes.8.gz vgreduce.8.gz vgremove.8.gz vgrename.8.gz vgs.8.gz vgscan.8.gz vgsplit.8.gz vigr.8.gz vipw.8.gz visudo.8.gz vmstat.8.gz vpddecode.8.gz wipefs.8.gz wpa_action.8.gz wpa_background.8.gz wpa_cli.8.gz wpa_passphrase.8.gz wpa_supplicant.8.gz x86_64.8.gz xfs_admin.8.gz xfs_bmap.8.gz xfs_check.8.gz xfs_copy.8.gz xfs_db.8.gz xfs_estimate.8.gz xfs_freeze.8.gz xfs_fsr.8.gz xfs_growfs.8.gz xfs_info.8.gz xfs_io.8.gz xfs_logprint.8.gz xfs_mdrestore.8.gz xfs_metadump.8.gz xfs_mkfile.8.gz xfs_ncheck.8.gz xfs_quota.8.gz xfs_repair.8.gz xfs_rtcp.8.gz xtables-multi.8.gz zdump.8.gz zic.8.gz Superset
name : hpt45x_chidjhaiaa
size : 640345856
stride : 128
type : raid10
status : ok
subsets: 2
dev : 4
spare : 0
---> Subset
name : hpt45x_chidjhaiaa-0
size : 640345856
stride : 128
type : stripe
status : ok
subsets: 0
dev : 2
spare : 0
---> Subset
name : hpt45x_chidjhaiaa-1
size : 640345856
stride : 128
type : stripe
status : ok
subsets: 0
dev : 2
spare : 0

"dmraid -s -ccs hpt45" displays properties in column format of all sets and subsets with hpt45* format, eg:

"dmraid -r --sep : -cpath:size" display paths and sizes in sectors for RAID devices in column format using ’:’ as a delimiter, eg:

"dmraid -f isw -C Raid0 --type 0 --strip 8k --size 20g --disk "/dev/sdb /dev/sdc"" creates an ISW volume with a name of "Raid0", 20Gig bytes in total, and 8kilo bytes strip size on two disks.

"dmraid -f isw -C Test0 --type 0 --disk "/dev/sdd /dev/sde"" creates an ISW volume with the default size and strip size.

"dmraid -f isw -C Test10 --type 01 --strip 128B --disk "/dev/sda /dev/sdb /dev/sdc /dev/sdd" creates a stacked RAID device, RAID10 (isw format), with a name of "Test10", 128 blocks (512bytes) strip size , and the default volume size on 4 disks.

"dmraid -f isw -S -M /dev/sde" marks the device /dev/sde as a hot spare for rebuild

"dmraid -R isw_djaggchdde_RAID1 /dev/sde" starts rebuild of the RAID volume on device /dev/sde

dmraid returns an exit code of 0 for success or 1 for error.

Heinz Mauelshagen <>

play store download app store download
Sonnenallee 29, 12047 Berlin, Germany

Privacy policy
Successfully copied