Re: Re: software raid

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



Jeff Lasman wrote:
On Sunday 01 April 2007 11:37 am, Les Mikesell wrote:

The question is whether the kernel will notice the new drive when you
add it.  It might be possible to swap in an exact match and get away
with the setup detected at boot time but that doesn't sound very
healthy.  Can you hotswap a new SATA drive that wasn't present at
boot time and have the kernel notice the new drive device and its
partitions.

Thinking more about this ...

I most likely wouldn't have a drive "ready" as all our servers don't have the same configuration.

If the partitions are recognized, mdadm will be able to add them.

Could I create partitions on a new drive (fdisk) and then do either a mount or remount? And then start rebuilding the RAID?

Yes, but there is still the issue of whether the drive will be recognized at all when hotplugged. Once the drive is assigned a device name by the kernel you will be able to fdisk it. You don't need to mount it because the md device will be mounted, not the disk partitions.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx

_______________________________________________
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