Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Mark Allums
On 9/29/2010 5:51 PM, Mark Allums wrote: On 9/29/2010 4:53 PM, Nuno Magalhães wrote: Question 0: won't extending an existing lvm partition fragment it? Sorry, I missed this question. If the expansion is on a separate disk, don't worry about it, it will create multiple I/O paths and maybe

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Mark Allums
This may help answer some LVM questions: http://www.howtoforge.com/linux_lvm HTH -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ca3c3ec.6020...@allums.com

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Mark Allums
On 9/29/2010 4:53 PM, Nuno Magalhães wrote: Hi, I followed [1] two days ago and it suited me. I had a non-LVM 160GB disk with / and /home (ext3), plus a blank 1TB. What i did was partition the whole 1TB as a "Linux LVM" partition, then set up the vg and a -home (ext4) partition. Then i mounted

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Nuno Magalhães
Hi, I followed [1] two days ago and it suited me. I had a non-LVM 160GB disk with / and /home (ext3), plus a blank 1TB. What i did was partition the whole 1TB as a "Linux LVM" partition, then set up the vg and a -home (ext4) partition. Then i mounted the LVM -home as /mount/tmp and copied my non-

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Mark Allums
On 9/29/2010 2:11 PM, Jesús M. Navarro wrote: Hi, Mark: On Wednesday 29 September 2010 18:11:50 Mark Allums wrote: [...] I would have to give that some thought. I think that using LVM has to be done on a whole drive before anything else (don't do this---don't use it on an unpartitioned drive,

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Jesús M. Navarro
Hi, Mark: On Wednesday 29 September 2010 18:11:50 Mark Allums wrote: [...] > I would have to give that some thought. I think that using LVM has to > be done on a whole drive before anything else (don't do this---don't use > it on an unpartitioned drive, you are just asking for trouble) or on a >

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Chris Purves
On September 29, 2010 12:11:50 pm Mark Allums wrote: > On 9/29/2010 11:00 AM, Chris Purves wrote: > > On September 29, 2010 11:46:05 am Mark Allums wrote: > >> On 9/29/2010 10:19 AM, Chris Purves wrote: > >>> I have a 500 GB disk that is full and I would like to use it and a new 1 > >>> TB disk to

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Mark Allums
On 9/29/2010 11:11 AM, Mark Allums wrote: If you put LVM on a partition, you are preparing it for further operations. So, you would be overwriting some of the metadata and losing whatever data is on it data on it. I mean, losing the data that is already on the existing partition. -- To UNSUBS

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Mark Allums
On 9/29/2010 11:00 AM, Chris Purves wrote: On September 29, 2010 11:46:05 am Mark Allums wrote: On 9/29/2010 10:19 AM, Chris Purves wrote: I have a 500 GB disk that is full and I would like to use it and a new 1 TB disk to create a 1.5 TB logical volume. Is it possible to do this without des

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Chris Purves
On September 29, 2010 11:46:05 am Mark Allums wrote: > On 9/29/2010 10:19 AM, Chris Purves wrote: > > I have a 500 GB disk that is full and I would like to use it and a new 1 TB > > disk to create a 1.5 TB logical volume. Is it possible to do this without > > destroying the data on the 500 GB di

Re: creating a logical volume with a disk with existing data

2010-09-29 Thread Mark Allums
On 9/29/2010 10:19 AM, Chris Purves wrote: I have a 500 GB disk that is full and I would like to use it and a new 1 TB disk to create a 1.5 TB logical volume. Is it possible to do this without destroying the data on the 500 GB disk? The manpage for pvcreate gives a warning that running pvcrea

creating a logical volume with a disk with existing data

2010-09-29 Thread Chris Purves
I have a 500 GB disk that is full and I would like to use it and a new 1 TB disk to create a 1.5 TB logical volume. Is it possible to do this without destroying the data on the 500 GB disk? The manpage for pvcreate gives a warning that running pvcreate on a whole disk will erase the partition