Re: An mdadm question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jul 2, 2015 at 8:24 AM,  <m.roth@xxxxxxxxx> wrote:
> CentOS 7.
>
> I have a server with four drives. 1 is /, and the other three are in
> RAID5. I need to pull a drive, so I can test whether the server can read >
> 2TB drives. I've been googling, but don't want to screw the server up....
>
> I think I'd like to
>   1. stop the RAID
>   2. pull a drive
>   3. put in a large drive, and run parted, and mkfs
>   4. pull the large drive
>   5. replace the RAID drive
>   6. fire up the RAID.
>
> So, can I do it in that order? Do I need to fail something?

Almost invariably that RAID will assemble degraded, and the drive you
pulled will now be out of sync. When you add it back in, it will have
to be, block by block, resynced. So if you want to avoid that, you
have to avoid the autoassembly at boot time, or pull at least one more
drive to prevent assembly.

Even live media may assemble the RAID, degraded, if enough drives for
degraded operation are found.

-- 
Chris Murphy
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux