Skip to contentSkip to conversation

converting ext3 / to LVM

linux-lvm matthew zeier 3 participants 10 messages Jan 30, 2005 – Feb 1, 2005

lore
Share & tools
lore
#0 lore raw

Are there any tips on converting an existing ext3 / to LVM? I found something that talks about ext2 using LVM1 but I'm not sure if that applies to my system (RHEL ES v3).

--
matthew zeier - "But if you only have love for your own race, Then you only leave space to discriminate, And to discriminate only generates hate." - BEP

#1 lore raw

Le 30.01.2005 08:10:52, matthew zeier a écrit :

Quoted 2 lines

Are there any tips on converting an existing ext3 / to LVM? I found something that talks about ext2 using LVM1 but I'm not sure if that applies to my system (RHEL ES v3).

LVM is not a filestem and is not aware of the filesystem you will install on it.

I've installed xfs filesystem over lvm with the same instructions as for ext2.

Only the tolls to resize the ilesystem are different.
Some filesystems needs to be mounted, other to be unmounted.
i.e: you can reeeeize an xfs only if t is mounted and you cannot schrink it, only growing is avalable.

Quoted 3 lines

--
matthew zeier

Jean-Luc

#2 lore raw
Quoted 3 lines · On Sun, 30 Jan 2005 09:25:43 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 08:10:52, matthew zeier a �crit�:

Quoted 2 lines

Are there any tips on converting an existing ext3 / to LVM?

Be carefull; as I know converting an EXISTING ext3 to LVM loses all data.
Jean-Luc, can you confirm this ??

Quoted 21 lines
Quoted 3 lines

I found
something that talks about ext2 using LVM1 but I'm not sure if that applies to my system (RHEL ES v3).

LVM is not a filestem and is not aware of the filesystem you will install on it.

I've installed xfs filesystem over lvm with the same instructions as for ext2.

Only the tolls to resize the ilesystem are different. Some filesystems needs to be mounted, other to be unmounted. i.e: you can reeeeize an xfs only if t is mounted and you cannot schrink it, only growing is avalable.

Quoted 3 lines

--
matthew zeier

Jean-Luc

#3 lore raw

Le 30.01.2005 11:55:44, messmate a écrit :

Quoted 10 lines
Quoted 3 lines · On Sun, 30 Jan 2005 09:25:43 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 08:10:52, matthew zeier a écrit :

Quoted 2 lines

Are there any tips on converting an existing ext3 / to LVM?

Be carefull; as I know converting an EXISTING ext3 to LVM loses all data.
Jean-Luc, can you confirm this ??

Tell us *how* you plan to convert it to lvm.

J-L

[ ... ]

#4 lore raw
Quoted 8 lines · On Sun, 30 Jan 2005 11:30:45 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 11:55:44, messmate a �crit�:

Quoted 7 lines
Quoted 3 lines · On Sun, 30 Jan 2005 09:25:43 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 08:10:52, matthew zeier a �crit�:

Quoted 2 lines

Are there any tips on converting an existing ext3 / to LVM?

Quoted 8 lines
Quoted 3 lines

Be carefull; as I know converting an EXISTING ext3 to LVM loses all data.
Jean-Luc, can you confirm this ??

Tell us *how* you plan to convert it to lvm.

J-L

Reading section 12.3 on the LVM HowTo; there is no good way migrating an existing filesystem ( with data) to lvm !
I'm in doubt if LVM is very usefull following what this howto recommend. EVMS more suitable?
mess-mate

#6 lore raw
In reply to Jean-Luc Coulon (f5ibh)
Quoted 8 lines · On Sun, 30 Jan 2005 11:30:45 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 11:55:44, messmate a �crit�:

Quoted 7 lines
Quoted 3 lines · On Sun, 30 Jan 2005 09:25:43 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 08:10:52, matthew zeier a �crit�:

Quoted 2 lines

Are there any tips on converting an existing ext3 / to LVM?

Quoted 8 lines
Quoted 3 lines

Be carefull; as I know converting an EXISTING ext3 to LVM loses all data.
Jean-Luc, can you confirm this ??

Tell us *how* you plan to convert it to lvm.

J-L

Reading section 12.3 on the LVM HowTo; there is no good way migrating an existing filesystem ( with data) to lvm !
I'm in doubt if LVM is very usefull following what this howto recommend. EVMS more suitable?
mess-mate
Sorry, I mean 12.1

#5 lore raw
In reply to messmate

Le 30.01.2005 18:00:08, messmate a écrit :

Quoted 15 lines
Quoted 12 lines · On Sun, 30 Jan 2005 11:30:45 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 11:55:44, messmate a écrit :

Quoted 10 lines
Quoted 3 lines · On Sun, 30 Jan 2005 09:25:43 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 08:10:52, matthew zeier a écrit :

Quoted 2 lines

Are there any tips on converting an existing ext3 / to LVM?

Be carefull; as I know converting an EXISTING ext3 to LVM loses all data.
Jean-Luc, can you confirm this ??

Quoted 7 lines
Quoted 4 lines

Tell us *how* you plan to convert it to lvm.

J-L

Reading section 12.3 on the LVM HowTo; there is no good way migrating an
existing filesystem ( with data) to lvm !

Which HOWTO is this?

Migrating is more a matter of free space than anything else.

Quoted 4 lines

I'm in doubt if LVM is very usefull following what this howto recommend.
EVMS more suitable?
mess-mate

Jean-Luc

#7 lore raw
In reply to messmate

Le 30.01.2005 18:04:20, messmate a écrit :

Quoted 19 lines
Quoted 8 lines · On Sun, 30 Jan 2005 11:30:45 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 11:55:44, messmate a écrit :

Quoted 7 lines
Quoted 3 lines · On Sun, 30 Jan 2005 09:25:43 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 08:10:52, matthew zeier a écrit :

Quoted 2 lines

Are there any tips on converting an existing ext3 / to LVM?

Quoted 8 lines
Quoted 3 lines

Be carefull; as I know converting an EXISTING ext3 to LVM loses all data.
Jean-Luc, can you confirm this ??

Tell us *how* you plan to convert it to lvm.

J-L

Quoted 8 lines

Reading section 12.3 on the LVM HowTo; there is no good way migrating an
existing filesystem ( with data) to lvm !
I'm in doubt if LVM is very usefull following what this howto recommend.
EVMS more suitable?
mess-mate
Sorry, I mean 12.1

I don't find it neither, do you have any reference?
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html

I've done the migration some time ago from etx3 non LVM to xfs LVM. Only the migration of the root filesystem is a bit tricky. But this is not really more diffult that moving a (non LVM) system to a new HDD.

Jean-Luc

#8 lore raw
Quoted 29 lines · On Sun, 30 Jan 2005 17:33:10 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 18:04:20, messmate a �crit�:

Quoted 19 lines
Quoted 8 lines · On Sun, 30 Jan 2005 11:30:45 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 11:55:44, messmate a �crit�:

Quoted 7 lines
Quoted 3 lines · On Sun, 30 Jan 2005 09:25:43 +0000 "Jean-Luc Coulon (f5ibh)"…

Le 30.01.2005 08:10:52, matthew zeier a �crit�:

Quoted 2 lines

Are there any tips on converting an existing ext3 / to LVM?

Quoted 8 lines
Quoted 3 lines

Be carefull; as I know converting an EXISTING ext3 to LVM loses all data.
Jean-Luc, can you confirm this ??

Tell us *how* you plan to convert it to lvm.

J-L

Quoted 8 lines

Reading section 12.3 on the LVM HowTo; there is no good way migrating an
existing filesystem ( with data) to lvm !
I'm in doubt if LVM is very usefull following what this howto recommend.
EVMS more suitable?
mess-mate
Sorry, I mean 12.1

Quoted 2 lines

I don't find it neither, do you have any reference?
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html

This one :
http://www.tldp.org/HOWTO/LVM-HOWTO/multpartitions.html

Quoted 7 lines

I've done the migration some time ago from etx3 non LVM to xfs LVM. Only the migration of the root filesystem is a bit tricky. But this is not really more diffult that moving a (non LVM) system to a new HDD.

Jean-Luc

mess-mate

#9 lore raw

Le 30.01.2005 20:36:38, messmate a écrit :

Quoted 3 lines

On Sun, 30 Jan 2005 17:33:10 +0000
"Jean-Luc Coulon (f5ibh)" <[email protected]> wrote:

[ .. ]

Quoted 9 lines
Quoted 2 lines

I don't find it neither, do you have any reference?
http://www.tldp.org/HOWTO/LVM-HOWTO/index.html

This one :
http://www.tldp.org/HOWTO/LVM-HOWTO/multpartitions.html

Quoted 5 lines

I've done the migration some time ago from etx3 non LVM to xfs LVM. Only the migration of the root filesystem is a bit tricky. But this is

not really more diffult that moving a (non LVM) system to a new HDD.

To be clear:
It is *always* unsafe to move data over partitions I've done it and never got any problem

But, just is case of, I've backups.

Quoted 2 lines

mess-mate

Jean-Luc