Re: [CentOS] An mdadm question

2015-07-02 Thread John Hodrien

On Thu, 2 Jul 2015, m.r...@5-cent.us 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?


If you really just want to test if it can use 2Tb disks, unplug all disks,
plug in 4Tb disk, boot off liveCD, tinker.

When done, reverse.

jh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] An mdadm question

2015-07-02 Thread m . roth
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?

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] An mdadm question

2015-07-02 Thread Gordon Messmer

On 07/02/2015 07:24 AM, m.r...@5-cent.us wrote:

Do I need to fail something?


No, don't --fail anything.  It should be sufficient to 'mdadm --stop 
/dev/md0' assuming that's the only array.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] An mdadm question

2015-07-02 Thread Chris Murphy
On Thu, Jul 2, 2015 at 8:24 AM,  m.r...@5-cent.us 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@centos.org
http://lists.centos.org/mailman/listinfo/centos