* [linux-lvm] mirror setup with LVM
@ 2004-01-22 7:04 fabio_s
2004-01-22 17:04 ` Luca Berra
2004-01-22 17:49 ` Avijit Pathania
0 siblings, 2 replies; 3+ messages in thread
From: fabio_s @ 2004-01-22 7:04 UTC (permalink / raw)
To: linux-lvm
Hi all,
I have a redhat 9 linux already installed and I'd like to add a second disk to
be used as mirror.
I assume it's easy to do this during linux installation.
Does someone know how to do that without destrying data on the first disk?
Thank you!
Fabio
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 78 522112+ 82 Linux swap
/dev/hda3 79 24321 194731897+ 8e Linux LVM
[root@host116 root]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/Volume00/root_vol
2064208 159268 1800084 9% /
/dev/hda1 101089 9581 86289 10% /boot
/dev/Volume00/home_vol
1032088 32828 946832 4% /home
none 123592 0 123592 0% /dev/shm
/dev/Volume00/usr_vol
1548144 838208 631296 58% /usr
/dev/Volume00/var_vol
1032088 177472 802188 19% /var
/dev/Volume00/varlog_vol
2064208 33628 1925724 2% /var/log
[root@host116 root]#
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] mirror setup with LVM
2004-01-22 7:04 [linux-lvm] mirror setup with LVM fabio_s
@ 2004-01-22 17:04 ` Luca Berra
2004-01-22 17:49 ` Avijit Pathania
1 sibling, 0 replies; 3+ messages in thread
From: Luca Berra @ 2004-01-22 17:04 UTC (permalink / raw)
To: linux-lvm
On Thu, Jan 22, 2004 at 01:02:35PM +0100, fabio_s@inwind.it wrote:
>Hi all,
>
>I have a redhat 9 linux already installed and I'd like to add a second disk to
>be used as mirror.
>
>I assume it's easy to do this during linux installation.
>
>Does someone know how to do that without destrying data on the first disk?
>
create a degraded mirror on the second disk,
then either
add this to the vg and pvmove all lv there, then remove the
standalone disk and raidhotadd it to the array.
or
create a new vg on the mirror, copy all data, remove the first vg,
raidhotadd the disk.
L.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] mirror setup with LVM
2004-01-22 7:04 [linux-lvm] mirror setup with LVM fabio_s
2004-01-22 17:04 ` Luca Berra
@ 2004-01-22 17:49 ` Avijit Pathania
1 sibling, 0 replies; 3+ messages in thread
From: Avijit Pathania @ 2004-01-22 17:49 UTC (permalink / raw)
To: linux-lvm
Hello,
Is this something what you were looking for?
http://www.foulplay.org/ask.shtml#7.1
fabio_s@inwind.it wrote:
>Hi all,
>
>I have a redhat 9 linux already installed and I'd like to add a second disk to
>be used as mirror.
>
>I assume it's easy to do this during linux installation.
>
>Does someone know how to do that without destrying data on the first disk?
>
>Thank you!
>
>
>Fabio
>
>
> Device Boot Start End Blocks Id System
>/dev/hda1 * 1 13 104391 83 Linux
>/dev/hda2 14 78 522112+ 82 Linux swap
>/dev/hda3 79 24321 194731897+ 8e Linux LVM
>[root@host116 root]# df -k
>Filesystem 1K-blocks Used Available Use% Mounted on
>/dev/Volume00/root_vol
> 2064208 159268 1800084 9% /
>/dev/hda1 101089 9581 86289 10% /boot
>/dev/Volume00/home_vol
> 1032088 32828 946832 4% /home
>none 123592 0 123592 0% /dev/shm
>/dev/Volume00/usr_vol
> 1548144 838208 631296 58% /usr
>/dev/Volume00/var_vol
> 1032088 177472 802188 19% /var
>/dev/Volume00/varlog_vol
> 2064208 33628 1925724 2% /var/log
>[root@host116 root]#
>
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-22 17:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-22 7:04 [linux-lvm] mirror setup with LVM fabio_s
2004-01-22 17:04 ` Luca Berra
2004-01-22 17:49 ` Avijit Pathania
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.