is mdadm --incremental --rebuild --run --scan destructive?

Login or Register to Reply

Thread Tools Search this Thread
# 1  
is mdadm --incremental --rebuild --run --scan destructive?

Hello Unix Community:

My task to figure out how to add a 20G volume to an existing EBS Array (RAID0) at AWS.

I haven't been told that growing the existing volumes isn't an option, or adding another larger volume to the existing array is the way to go. The client's existing data-store is growing fast and he needs more space.
The boss said "Add".... but I am free to conceptualize some solutions he may not have thought of.

I have RTFM'd today for about 3 hours and came to these 2 possibilities. Add or grow...

After a cursory review (and some in depth reading) I am uncertain, so I have to ask
is "mdadm --incremental --rebuild --run --scan" destructive to data or will it simply incorporate the new volume into the designated mdX?

-I, --incremental
Add a single device into an appropriate array, and possibly start the array.

"Possibly start the array" implies that it is not started, but what if the array is already started?

I further wonder if I can just create a new volume and edit the /etc/mdadm/mdadm.conf
and --scan and/or --rebuild and if that would be destructive?

Thank you for your time.

Edit: Solved. See

Last edited by Habitual; 07-18-2011 at 07:36 PM..
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
MDADM Failure - where it came from?
Hello, i have a system with 6 sata3 seagate st3000dm01 disks running on stable Debian with software raid mdadm. i have md0 for root and md1 for swap and md2 for the files. i now want to add one more disk = sdh4 for md2 but i got this errors: The new disk is connected to an 4 port sata...... Filesystems, Disks and Memory
Filesystems, Disks and Memory
Format unit requires destructive mode???
I am trying to format a Seagate 2 Gb SCSI drive using the HP-UX 9.0 support disc and I receive a message that says: DESTRUCTIVE MODE REQUIRED TO EXECUTIVE THIS COMMAND (SCD2WARN 106). I have entered this command several times on other SCSI drives and never got this message. Anyone ever see this...... HP-UX
mdadm for / and /boot
had this RHEL 5 installation with /dev/sda1 and /dev/sda2 running.. created two more partitions /dev/sdj1 and /dev/sdj2 , the same sized partition as /dev/sda trying to use mdadm to create RAID1 .. I cannot even do it in "rescue" mode, I wonder if it can be done.. it kept...... Red Hat
Red Hat
Destructive one word unix commands
Hi I'm trying to hack a web server as part of an assignment and have gotten it to exec commands but I cannot pass commands arguments as the program splits up space separated words and only execs the first one. Is there anything I can pass to cause any sort of damage in one word? Btw webserver runs...... Cybersecurity
Self destructive script
How should i write a script so that the script will destroy(delete) itself once it completes execution. Thanks?... Shell Programming and Scripting
Shell Programming and Scripting
UNIX and Linux

Unix (trademarked as the UNIX certification mark) is a very mature family of multitasking, multiuser computer operating systems that evolved from the original AT&T Unix. Unix development starting in the 1970s by legendary Bell Labs programmers Ken Thompson, Dennis Ritchie, and others. Unix was first targeted for the Bell System and AT&T licensed Unix to outside parties. In the 1970s time period, this lead to a variety of for-profit as well as not-for-profit Unix variants.
In the early days, this included the University of California, Berkeley (BSD), Microsoft (Xenix), IBM (AIX), and Sun Microsystems (Solaris). In the early 1990s, AT&T sold their Unix rights to Novell. In 1995 Novell sold their Unix business to the Santa Cruz Operation (SCO). The UNIX trademark was passed to The Open Group, a "neutral" industry consortium. The Open Group promoted the use of the UNIX trademark for certified operating systems that comply with the Single UNIX Specification (SUS). In 2014 Apple's macOS became the Unix version with the largest global install base and macOS remains the largest Unix-user base today.
Linux is a family of open source Unix-like operating systems based on the Linux kernel. The Linux kernel is an operating system kernel first released by Linus Torvalds on 17 September 1991. Linux distributions include the Linux kernel, system software and libraries. Popular free open source Linux distributions include Debian, Fedora, and Ubuntu. Commercial Linux distributions include Red Hat Enterprise Linux and SUSE Linux Enterprise Server. Linux may be freely modified and redistributed. Anyone on the planet may create a Linux distribution for any purpose.
Please enjoy and help our forum community by "showing your work" and posting your code, even when your code is not working as expected. To help others help you, please wrap your code blocks, sample input, sample output, error messages, and other data in CODE tags and wrap your short commands and short data objects in ICODE tags. We were all beginners in the beginning. If you have any questions about how to register or how to post, please contact us in Live Chat. Thank you and enjoy this "forever free" technical support community for UNIX, Linux and computer information technology in general.