Re: lvm 0.8 to 0.9 conversion?

2001-01-08 Thread Andrea Arcangeli

On Mon, Jan 08, 2001 at 07:18:53PM +, Todd M. Roy wrote:
> 
> I've been on vacation
> 
> Nope, no snapshots.
> 
> Well, I couldn't get my orginal volume group visible under both
> lvm 0.8 and 0.9.  I don't know why.  So I grabbed a big empty hard disk,
> created a new volume group that was visible under both, dded all the logical
> volumes over to it, updated fstab  and removed the offending vg.  I've yet to
> recreate the original vg, copy stuff back and remove the new drive.
> I should point out that the offending vg was relatively ancient, I think I
> created it when 0.7 was king under some something like 2.2.14.  Now I'm 
> running 2.4.0-ac4 and all works well.

Good. You may consider to also apply this kernel-driver bugfix for
online extent/reduce of the VG and other assorted fixes:


ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.0ac2/lvm-fix-1

I sumbitted them to Heinz a few days ago so that he can merge them with Linus.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2001-01-08 Thread Todd M. Roy


I've been on vacation

Nope, no snapshots.

Well, I couldn't get my orginal volume group visible under both
lvm 0.8 and 0.9.  I don't know why.  So I grabbed a big empty hard disk,
created a new volume group that was visible under both, dded all the logical
volumes over to it, updated fstab  and removed the offending vg.  I've yet to
recreate the original vg, copy stuff back and remove the new drive.
I should point out that the offending vg was relatively ancient, I think I
created it when 0.7 was king under some something like 2.2.14.  Now I'm 
running 2.4.0-ac4 and all works well.



>  Date: Wed, 27 Dec 2000 20:53:36 +0100
>  From: Andrea Arcangeli <[EMAIL PROTECTED]>
>  Cc: [EMAIL PROTECTED]
>  Content-Type: text/plain; charset=us-ascii
>  Content-Disposition: inline
>  X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc
>  X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc
>  
>  On Sat, Dec 23, 2000 at 04:29:19PM -0500, Todd M. Roy wrote:
>  > group is visible, and you just told meit should be, then I can just
>  > copy volumes over under test13-pre3 and destroy and recreate the
>  > first volume group.
>  
>  Is it possible you had a snapshot in the volume group when you started
>  lvm 0.9 the first time? snapshots are not persistent on pre3 so it doesn't make
>  sense to left them before rebooting the kernel, and maybe lvmtools 0.9 doesn't
>  cope correctly with non persistent snapshot created by 0.8 driver (trivial to
>  temporarly workaround, just delete any snapshot volume before using 0.9 lvm :).
>  
>  Andrea
>  
>  
**
This footnote confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
**
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2001-01-08 Thread Todd M. Roy


I've been on vacation

Nope, no snapshots.

Well, I couldn't get my orginal volume group visible under both
lvm 0.8 and 0.9.  I don't know why.  So I grabbed a big empty hard disk,
created a new volume group that was visible under both, dded all the logical
volumes over to it, updated fstab  and removed the offending vg.  I've yet to
recreate the original vg, copy stuff back and remove the new drive.
I should point out that the offending vg was relatively ancient, I think I
created it when 0.7 was king under some something like 2.2.14.  Now I'm 
running 2.4.0-ac4 and all works well.



>  Date: Wed, 27 Dec 2000 20:53:36 +0100
>  From: Andrea Arcangeli <[EMAIL PROTECTED]>
>  Cc: [EMAIL PROTECTED]
>  Content-Type: text/plain; charset=us-ascii
>  Content-Disposition: inline
>  X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc
>  X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc
>  
>  On Sat, Dec 23, 2000 at 04:29:19PM -0500, Todd M. Roy wrote:
>  > group is visible, and you just told meit should be, then I can just
>  > copy volumes over under test13-pre3 and destroy and recreate the
>  > first volume group.
>  
>  Is it possible you had a snapshot in the volume group when you started
>  lvm 0.9 the first time? snapshots are not persistent on pre3 so it doesn't make
>  sense to left them before rebooting the kernel, and maybe lvmtools 0.9 doesn't
>  cope correctly with non persistent snapshot created by 0.8 driver (trivial to
>  temporarly workaround, just delete any snapshot volume before using 0.9 lvm :).
>  
>  Andrea
>  
>  
**
This footnote confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
**
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2001-01-08 Thread Todd M. Roy


I've been on vacation

Nope, no snapshots.

Well, I couldn't get my orginal volume group visible under both
lvm 0.8 and 0.9.  I don't know why.  So I grabbed a big empty hard disk,
created a new volume group that was visible under both, dded all the logical
volumes over to it, updated fstab  and removed the offending vg.  I've yet to
recreate the original vg, copy stuff back and remove the new drive.
I should point out that the offending vg was relatively ancient, I think I
created it when 0.7 was king under some something like 2.2.14.  Now I'm 
running 2.4.0-ac4 and all works well.



  Date: Wed, 27 Dec 2000 20:53:36 +0100
  From: Andrea Arcangeli [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Content-Type: text/plain; charset=us-ascii
  Content-Disposition: inline
  X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc
  X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc
  
  On Sat, Dec 23, 2000 at 04:29:19PM -0500, Todd M. Roy wrote:
   group is visible, and you just told meit should be, then I can just
   copy volumes over under test13-pre3 and destroy and recreate the
   first volume group.
  
  Is it possible you had a snapshot in the volume group when you started
  lvm 0.9 the first time? snapshots are not persistent on pre3 so it doesn't make
  sense to left them before rebooting the kernel, and maybe lvmtools 0.9 doesn't
  cope correctly with non persistent snapshot created by 0.8 driver (trivial to
  temporarly workaround, just delete any snapshot volume before using 0.9 lvm :).
  
  Andrea
  
  
**
This footnote confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
**
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2001-01-08 Thread Todd M. Roy


I've been on vacation

Nope, no snapshots.

Well, I couldn't get my orginal volume group visible under both
lvm 0.8 and 0.9.  I don't know why.  So I grabbed a big empty hard disk,
created a new volume group that was visible under both, dded all the logical
volumes over to it, updated fstab  and removed the offending vg.  I've yet to
recreate the original vg, copy stuff back and remove the new drive.
I should point out that the offending vg was relatively ancient, I think I
created it when 0.7 was king under some something like 2.2.14.  Now I'm 
running 2.4.0-ac4 and all works well.



  Date: Wed, 27 Dec 2000 20:53:36 +0100
  From: Andrea Arcangeli [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Content-Type: text/plain; charset=us-ascii
  Content-Disposition: inline
  X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc
  X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc
  
  On Sat, Dec 23, 2000 at 04:29:19PM -0500, Todd M. Roy wrote:
   group is visible, and you just told meit should be, then I can just
   copy volumes over under test13-pre3 and destroy and recreate the
   first volume group.
  
  Is it possible you had a snapshot in the volume group when you started
  lvm 0.9 the first time? snapshots are not persistent on pre3 so it doesn't make
  sense to left them before rebooting the kernel, and maybe lvmtools 0.9 doesn't
  cope correctly with non persistent snapshot created by 0.8 driver (trivial to
  temporarly workaround, just delete any snapshot volume before using 0.9 lvm :).
  
  Andrea
  
  
**
This footnote confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
**
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2001-01-08 Thread Andrea Arcangeli

On Mon, Jan 08, 2001 at 07:18:53PM +, Todd M. Roy wrote:
 
 I've been on vacation
 
 Nope, no snapshots.
 
 Well, I couldn't get my orginal volume group visible under both
 lvm 0.8 and 0.9.  I don't know why.  So I grabbed a big empty hard disk,
 created a new volume group that was visible under both, dded all the logical
 volumes over to it, updated fstab  and removed the offending vg.  I've yet to
 recreate the original vg, copy stuff back and remove the new drive.
 I should point out that the offending vg was relatively ancient, I think I
 created it when 0.7 was king under some something like 2.2.14.  Now I'm 
 running 2.4.0-ac4 and all works well.

Good. You may consider to also apply this kernel-driver bugfix for
online extent/reduce of the VG and other assorted fixes:


ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.4/2.4.0ac2/lvm-fix-1

I sumbitted them to Heinz a few days ago so that he can merge them with Linus.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2000-12-27 Thread Andrea Arcangeli

On Sat, Dec 23, 2000 at 04:29:19PM -0500, Todd M. Roy wrote:
> group is visible, and you just told meit should be, then I can just
> copy volumes over under test13-pre3 and destroy and recreate the
> first volume group.

Is it possible you had a snapshot in the volume group when you started
lvm 0.9 the first time? snapshots are not persistent on pre3 so it doesn't make
sense to left them before rebooting the kernel, and maybe lvmtools 0.9 doesn't
cope correctly with non persistent snapshot created by 0.8 driver (trivial to
temporarly workaround, just delete any snapshot volume before using 0.9 lvm :).

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2000-12-27 Thread Andrea Arcangeli

On Sat, Dec 23, 2000 at 04:29:19PM -0500, Todd M. Roy wrote:
 group is visible, and you just told meit should be, then I can just
 copy volumes over under test13-pre3 and destroy and recreate the
 first volume group.

Is it possible you had a snapshot in the volume group when you started
lvm 0.9 the first time? snapshots are not persistent on pre3 so it doesn't make
sense to left them before rebooting the kernel, and maybe lvmtools 0.9 doesn't
cope correctly with non persistent snapshot created by 0.8 driver (trivial to
temporarly workaround, just delete any snapshot volume before using 0.9 lvm :).

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2000-12-23 Thread Todd M. Roy

Andre,
   One of my two volume groups, unfortunately the one with
/usr, /var, /opt, and /home, isn't recognized by 0.9's vgscan when
I reboot under 2.4.0-test13-pre4.But since the second volume
group is visible, and you just told meit should be, then I can just
copy volumes over under test13-pre3 and destroy and recreate the
first volume group.

Thanks,

-- todd --

On Sat, Dec 23, 2000 at 02:24:39PM -0500, Todd M. Roy wrote:
>
>> Now that in 2.4.0-test12-pre4, lvm 0.9 has replaced 0.8, is it
possible
>> to do a conversion of lvm created physical volumes, volume groups
>> and logical volumes from 0.8 to 0.9?
>on-disk format isn't changed so no conversion is needed. You only
>need to upgrade the lvm tools to use the new kernel driver, grab the
tools from
www.sistina.com.

Andre

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2000-12-23 Thread Andrea Arcangeli

On Sat, Dec 23, 2000 at 02:24:39PM -0500, Todd M. Roy wrote:
> 
> Now that in 2.4.0-test12-pre4, lvm 0.9 has replaced 0.8, is it possible
> to do a conversion of lvm created physical volumes, volume groups
> and logical volumes from 0.8 to 0.9?

on-disk format isn't changed so no conversion is needed. You only
need to upgrade the lvm tools to use the new kernel driver, grab the tools from
www.sistina.com.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2000-12-23 Thread Andrea Arcangeli

On Sat, Dec 23, 2000 at 02:24:39PM -0500, Todd M. Roy wrote:
 
 Now that in 2.4.0-test12-pre4, lvm 0.9 has replaced 0.8, is it possible
 to do a conversion of lvm created physical volumes, volume groups
 and logical volumes from 0.8 to 0.9?

on-disk format isn't changed so no conversion is needed. You only
need to upgrade the lvm tools to use the new kernel driver, grab the tools from
www.sistina.com.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: lvm 0.8 to 0.9 conversion?

2000-12-23 Thread Todd M. Roy

Andre,
   One of my two volume groups, unfortunately the one with
/usr, /var, /opt, and /home, isn't recognized by 0.9's vgscan when
I reboot under 2.4.0-test13-pre4.But since the second volume
group is visible, and you just told meit should be, then I can just
copy volumes over under test13-pre3 and destroy and recreate the
first volume group.

Thanks,

-- todd --

On Sat, Dec 23, 2000 at 02:24:39PM -0500, Todd M. Roy wrote:

 Now that in 2.4.0-test12-pre4, lvm 0.9 has replaced 0.8, is it
possible
 to do a conversion of lvm created physical volumes, volume groups
 and logical volumes from 0.8 to 0.9?
on-disk format isn't changed so no conversion is needed. You only
need to upgrade the lvm tools to use the new kernel driver, grab the
tools from
www.sistina.com.

Andre

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/