linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Removing physical disk from RAID & LVM
@ 2012-05-15  5:24 Tero Mäntyvaara
  2012-05-15  8:58 ` David Brown
  2012-05-22  2:12 ` Tero Mäntyvaara
  0 siblings, 2 replies; 3+ messages in thread
From: Tero Mäntyvaara @ 2012-05-15  5:24 UTC (permalink / raw)
  To: linux-raid

Hi,

I have filesystem build up with 5 x 320 GB disks with identical
partitions. Disks have 2 partitions and the first one is dedicated for
RAID-1 (/dev/md0) and second one is dedicated for RAID-5 (/dev/md1). The
disk /dev/md0 is mounted as /boot and the /dev/md1 is prepared for LVM.
PE size is 32 MiB and there is 38035 PEs.

I am going to remove one 320 GB disk and have already reduced the sizes
of existing LV:s. 1) What is the sufficient free PE number before I can
imagine shrinking of RAID-5 device? 2) How should I procede after having
enough free PE:s?


Tero


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Removing physical disk from RAID & LVM
  2012-05-15  5:24 Removing physical disk from RAID & LVM Tero Mäntyvaara
@ 2012-05-15  8:58 ` David Brown
  2012-05-22  2:12 ` Tero Mäntyvaara
  1 sibling, 0 replies; 3+ messages in thread
From: David Brown @ 2012-05-15  8:58 UTC (permalink / raw)
  To: Tero Mäntyvaara; +Cc: linux-raid

On 15/05/2012 07:24, Tero Mäntyvaara wrote:
> Hi,
>
> I have filesystem build up with 5 x 320 GB disks with identical
> partitions. Disks have 2 partitions and the first one is dedicated for
> RAID-1 (/dev/md0) and second one is dedicated for RAID-5 (/dev/md1). The
> disk /dev/md0 is mounted as /boot and the /dev/md1 is prepared for LVM.
> PE size is 32 MiB and there is 38035 PEs.
>
> I am going to remove one 320 GB disk and have already reduced the sizes
> of existing LV:s. 1) What is the sufficient free PE number before I can
> imagine shrinking of RAID-5 device? 2) How should I procede after having
> enough free PE:s?
>

Are you removing the disk permanently, or do you plan to replace it?


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Removing physical disk from RAID & LVM
  2012-05-15  5:24 Removing physical disk from RAID & LVM Tero Mäntyvaara
  2012-05-15  8:58 ` David Brown
@ 2012-05-22  2:12 ` Tero Mäntyvaara
  1 sibling, 0 replies; 3+ messages in thread
From: Tero Mäntyvaara @ 2012-05-22  2:12 UTC (permalink / raw)
  Cc: linux-raid

I was going to remove the one permanently.


Tero

On 15.5.2012 8:24, Tero Mäntyvaara wrote:
> Hi,
> 
> I have filesystem build up with 5 x 320 GB disks with identical 
> partitions. Disks have 2 partitions and the first one is dedicated
> for RAID-1 (/dev/md0) and second one is dedicated for RAID-5
> (/dev/md1). The disk /dev/md0 is mounted as /boot and the /dev/md1
> is prepared for LVM. PE size is 32 MiB and there is 38035 PEs.
> 
> I am going to remove one 320 GB disk and have already reduced the
> sizes of existing LV:s. 1) What is the sufficient free PE number
> before I can imagine shrinking of RAID-5 device? 2) How should I
> procede after having enough free PE:s?
> 
> 
> Tero
> 
> -- To unsubscribe from this list: send the line "unsubscribe
> linux-raid" in the body of a message to majordomo@vger.kernel.org 
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-22  2:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-15  5:24 Removing physical disk from RAID & LVM Tero Mäntyvaara
2012-05-15  8:58 ` David Brown
2012-05-22  2:12 ` Tero Mäntyvaara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).