LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-18-2009, 09:18 PM   #1
perm744
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
expanding software raid - mdadm fail/remove optional?


Hi - I expanded a software raid setup with larger disks. All the docs I've read say that you should do something like the following prior to replacing a disk:

mdadm /dev/md1 -f /dev/hda1 -r /dev/hda1

I didn't do this step - I just shut down the system, replaced hda, partitioned the new hda, and mdadm --add /dev/md1 /dev/hda1. The array sync appeared to go well and all my data is in tact.

My question is what is the point of failing/removing with mdadm? Did I miss out on anything by not doing this step prior to adding a new disk?
 
Old 03-20-2009, 04:12 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,570

Rep: Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427Reputation: 2427
Its just cleaner, and if you had to reboot, (however temporarily) without a disk in that slot, the raid array won't expect to find it (-r = remove)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 04:35 PM
Software RAID which one mdadm or mkraid kernel99 Linux - Newbie 3 09-17-2008 05:50 PM
rhel5 raid device cannot remove, no /etc/mdadm.conf file? hocheetiong Linux - Newbie 1 11-20-2007 07:08 AM
Software RAID with mdadm problems... robbow52 Debian 2 04-19-2004 08:06 PM
mdadm mail with software RAID brucehohl Linux - Software 1 12-20-2003 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration