linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] A hint on a process
@ 2010-12-06 22:36 Georges Giralt
  2010-12-07  1:13 ` Stuart D Gathman
  0 siblings, 1 reply; 5+ messages in thread
From: Georges Giralt @ 2010-12-06 22:36 UTC (permalink / raw)
  To: LVM general discussion and development

Hello !
I've a system (now on Ubuntu 9.04, but initially on a Fedora ) set up as
follow :
There are two RAID1 software raid arrays (md0 , which is around 100 Mb
and holding an Ext2 FS for use in booting, md1 occupying the rest of the
space used as a PV for LVM) made on a couple of old 160 GB disks.

On the LVM VG0 are a lot of LV onto which Ubuntu is installed.

One of the two disks failed. I can't find a 160 GB replacement. Only 320
Gb for the smallest availlable disk near where I live.

So I plan to move the system to 320 GB disks and, if possible, not
wasting the 320-160 difference....
The process I thought about is as follow :

1) insert one 320 disk in both arrays (after partitioning it correctly,
100 Mb for the first partition and the remaining for the second.)

2) wait for the raid1 to synchronize.

3) mark the remaining 160 GB disk as failed and remove/replace with
another 320 GB disk set up as the first.

4) wait for the arrays to reconstruct/synchronize.

5) Extend the PV my Volume Group is build on (md1 in this case)

6) enjoy a beer...

What do you think of my method ? Is it a good one or am I missing
something ? You will have understood that losing data is not an option ...
Many thanks in advance for your answers, critics and pointers...
Regards.

-- 
If the only tool you have is a hammer, you tend to see every problem as a nail.
                Abraham Maslow
A British variant :
Any tool can serve as a hammer but a screwdriver makes the best chisel. 

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

end of thread, other threads:[~2010-12-12 13:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1728359014.3510561291714776589.JavaMail.root@zimbra44-e7.priv.proxad.net>
2010-12-07  9:41 ` [linux-lvm] A hint on a process georges.giralt
2010-12-06 22:36 Georges Giralt
2010-12-07  1:13 ` Stuart D Gathman
2010-12-07  7:31   ` Marek Podmaka
2010-12-12 13:20   ` Georges Giralt

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).