All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] mount reiserfs snapshot failed
@ 2002-04-18  4:36 Markus Bartl
  2002-04-18  4:43 ` Joe Thornber
  2002-04-19  8:13 ` Heinz J . Mauelshagen
  0 siblings, 2 replies; 8+ messages in thread
From: Markus Bartl @ 2002-04-18  4:36 UTC (permalink / raw)
  To: linux-lvm

Hi there.

Im using the original kernel 2.4.18 with the locking patch and the
lvm-patch applied. I use the lvm in Version 1.1rc1.
I got one harddisk with 4 partitions on it, 1 partition is Linux LVM.
The volume to backup is mounted on /home and has reiserfs. 

I made a shell-script to perform a test using snapshots.
Here is what it does (looped):
1) create snapshot
2) mount snapshot --> fails sometimes (35 loops, 6 fails)
3) backup snapshot
4) create file on original volume while backup is still running
5) unmount snapshot
6) remove snapshot

In some cases mounting the snapshot volume fails with error 32 (wrong fs
type or bad superblock).
Anybody got any idea???

Thanks for your help,
Markus

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

* Re: [linux-lvm] mount reiserfs snapshot failed
  2002-04-18  4:36 [linux-lvm] mount reiserfs snapshot failed Markus Bartl
@ 2002-04-18  4:43 ` Joe Thornber
  2002-04-18  5:56   ` Markus Bartl
                     ` (2 more replies)
  2002-04-19  8:13 ` Heinz J . Mauelshagen
  1 sibling, 3 replies; 8+ messages in thread
From: Joe Thornber @ 2002-04-18  4:43 UTC (permalink / raw)
  To: linux-lvm

On Thu, Apr 18, 2002 at 11:33:31AM +0200, Markus Bartl wrote:
> Hi there.
> 
> Im using the original kernel 2.4.18 with the locking patch and the
> lvm-patch applied. I use the lvm in Version 1.1rc1.
> I got one harddisk with 4 partitions on it, 1 partition is Linux LVM.
> The volume to backup is mounted on /home and has reiserfs. 
> 
> I made a shell-script to perform a test using snapshots.
> Here is what it does (looped):
> 1) create snapshot
> 2) mount snapshot --> fails sometimes (35 loops, 6 fails)
> 3) backup snapshot
> 4) create file on original volume while backup is still running
> 5) unmount snapshot
> 6) remove snapshot
> 
> In some cases mounting the snapshot volume fails with error 32 (wrong fs
> type or bad superblock).
> Anybody got any idea???

Do version 1.0.3 tools fail in the same way ?

- Joe

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

* Re: [linux-lvm] mount reiserfs snapshot failed
  2002-04-18  4:43 ` Joe Thornber
@ 2002-04-18  5:56   ` Markus Bartl
  2002-04-18  7:14     ` Xavier Montagutelli
  2002-04-18  6:39   ` Markus Bartl
  2002-04-18  8:07   ` Wolfgang Weisselberg
  2 siblings, 1 reply; 8+ messages in thread
From: Markus Bartl @ 2002-04-18  5:56 UTC (permalink / raw)
  To: linux-lvm

Joe Thornber wrote:
> 
> On Thu, Apr 18, 2002 at 11:33:31AM +0200, Markus Bartl wrote:
> > Hi there.
> >
> > Im using the original kernel 2.4.18 with the locking patch and the
> > lvm-patch applied. I use the lvm in Version 1.1rc1.
> > I got one harddisk with 4 partitions on it, 1 partition is Linux LVM.
> > The volume to backup is mounted on /home and has reiserfs.
> >
> > I made a shell-script to perform a test using snapshots.
> > Here is what it does (looped):
> > 1) create snapshot
> > 2) mount snapshot --> fails sometimes (35 loops, 6 fails)
> > 3) backup snapshot
> > 4) create file on original volume while backup is still running
> > 5) unmount snapshot
> > 6) remove snapshot
> >
> > In some cases mounting the snapshot volume fails with error 32 (wrong fs
> > type or bad superblock).
> > Anybody got any idea???
> 
> Do version 1.0.3 tools fail in the same way ?
> 
> - Joe
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Hi there.
I tried the 1.0.3 tools with the 1.1rc1 kernel module. The same problem
occured (not as much 
as with the 1.1rc1 tools though).
Im now going to build the 1.0.3 kernel module and try it that way.
Thanks.
-- 
MC-Lindinger GmbH
Markus Bartl
Wiesenweg 1
D-94099 Ruhstorf

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

* Re: [linux-lvm] mount reiserfs snapshot failed
  2002-04-18  4:43 ` Joe Thornber
  2002-04-18  5:56   ` Markus Bartl
@ 2002-04-18  6:39   ` Markus Bartl
  2002-04-18  7:05     ` Chris Mason
  2002-04-18  8:07   ` Wolfgang Weisselberg
  2 siblings, 1 reply; 8+ messages in thread
From: Markus Bartl @ 2002-04-18  6:39 UTC (permalink / raw)
  To: linux-lvm

Joe Thornber wrote:
> 
> On Thu, Apr 18, 2002 at 11:33:31AM +0200, Markus Bartl wrote:
> > Hi there.
> >
> > Im using the original kernel 2.4.18 with the locking patch and the
> > lvm-patch applied. I use the lvm in Version 1.1rc1.
> > I got one harddisk with 4 partitions on it, 1 partition is Linux LVM.
> > The volume to backup is mounted on /home and has reiserfs.
> >
> > I made a shell-script to perform a test using snapshots.
> > Here is what it does (looped):
> > 1) create snapshot
> > 2) mount snapshot --> fails sometimes (35 loops, 6 fails)
> > 3) backup snapshot
> > 4) create file on original volume while backup is still running
> > 5) unmount snapshot
> > 6) remove snapshot
> >
> > In some cases mounting the snapshot volume fails with error 32 (wrong fs
> > type or bad superblock).
> > Anybody got any idea???
> 
> Do version 1.0.3 tools fail in the same way ?
> 
> - Joe
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Hi there.

I rebuilt the kernel with lvm 1.0.3 and used the 1.0.3 tools. The
problem is still there.
Anyone got any other idea???
Thanks!!!

Markus
-- 
MC-Lindinger GmbH
Markus Bartl
Wiesenweg 1
D-94099 Ruhstorf

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

* Re: [linux-lvm] mount reiserfs snapshot failed
  2002-04-18  6:39   ` Markus Bartl
@ 2002-04-18  7:05     ` Chris Mason
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Mason @ 2002-04-18  7:05 UTC (permalink / raw)
  To: linux-lvm

On Thu, 2002-04-18 at 07:38, Markus Bartl wrote:

> I rebuilt the kernel with lvm 1.0.3 and used the 1.0.3 tools. The
> problem is still there.

Could you please send the script?

During snapshot testing, I run two loops in the background:

while(1) 
mount /dev/vg/lv1 /foo
touch /foo/foo
rm /foo/foo
umount /foo/foo
end

while(1)
create snapshot
mount snapshot
umount snapshot
remove snapshot
end

-chris

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

* Re: [linux-lvm] mount reiserfs snapshot failed
  2002-04-18  5:56   ` Markus Bartl
@ 2002-04-18  7:14     ` Xavier Montagutelli
  0 siblings, 0 replies; 8+ messages in thread
From: Xavier Montagutelli @ 2002-04-18  7:14 UTC (permalink / raw)
  To: linux-lvm

On Thu, 18 Apr 2002, Markus Bartl wrote:

> Joe Thornber wrote:
> >
> > On Thu, Apr 18, 2002 at 11:33:31AM +0200, Markus Bartl wrote:
> > > Hi there.
> > >
> > > Im using the original kernel 2.4.18 with the locking patch and the
> > > lvm-patch applied. I use the lvm in Version 1.1rc1.
> > > I got one harddisk with 4 partitions on it, 1 partition is Linux LVM.
> > > The volume to backup is mounted on /home and has reiserfs.
> > >
[..]
> > > In some cases mounting the snapshot volume fails with error 32 (wrong fs
> > > type or bad superblock).
> > > Anybody got any idea???

No idea, but for information, I have the same problem on a kernel 2.4.17 +
linux-2.4.11-VFS-lock.patch + patch reiserfs-quota, with LVM 1.0.2

> Im now going to build the 1.0.3 kernel module and try it that way.



[ Xavier Montagutelli          `""'                                   ]
[ INSA Toulouse                0--0                                   ]
[               ---------oOOo---()---oOOo----------                   ]
[ Dpt de Math / Service Informatique  Tel: +33 5 61 55 93 38 / 67     ]
[ 135, Avenue de Rangueil             Fax: +33 5 61 55 93 20 / 60     ]
[ 31077 Toulouse Cedex 4              Mel: montagut@gmm.insa-tlse.fr  ]

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

* Re: [linux-lvm] mount reiserfs snapshot failed
  2002-04-18  4:43 ` Joe Thornber
  2002-04-18  5:56   ` Markus Bartl
  2002-04-18  6:39   ` Markus Bartl
@ 2002-04-18  8:07   ` Wolfgang Weisselberg
  2 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Weisselberg @ 2002-04-18  8:07 UTC (permalink / raw)
  To: linux-lvm

Hi, Joe!

Joe Thornber (joe@fib011235813.fsnet.co.uk) wrote 31 lines:

> On Thu, Apr 18, 2002 at 11:33:31AM +0200, Markus Bartl wrote:
> > Im using the original kernel 2.4.18 with the locking patch and the
> > lvm-patch applied. I use the lvm in Version 1.1rc1.

> > In some cases mounting the snapshot volume fails with error 32 (wrong fs
> > type or bad superblock).

> Do version 1.0.3 tools fail in the same way ?

I am running a similar configuration: 
Kernel 2.4.18-rc4 
    + LVM 1.0.3
    + linux-2.4.18-VFS-lock.patch
    + sched-O1-2.4.18-pre8-K3.patch
I use ext3, and the LVM 1.0.3-tools + LVM-1.0.3-pmove-patch 

Snapshots work.

I upgrade to 2.4.19-pre6, must merge the VFS-lock.patch by hand
and drop the sched-O1-* patch; and use the LVM 1.1rc1-Tools:

Snapshots get generated, but first some (depending on the
order of generation!), later all of them are unreadable (even
a simple cat fails complaining about that), so mount fails.

I decide this might be due to a bad merge on my side or a
kernel problem, so I downgrade to:

Kernel 2.4.18-rc4 
    + LVM 1.1rc1 
    + linux-2.4.18-VFS-lock.patch
    + sched-O1-2.4.18-pre8-K3.patch
LVM 1.1rc1-Tools.

Snapshots still unreadable.

I downgrade the Kernel to LVM 1.0.3:

Kernel 2.4.18-rc4 
    + LVM 1.0.3
    + linux-2.4.18-VFS-lock.patch
    + sched-O1-2.4.18-pre8-K3.patch
but still with LVM 1.1rc1-Tool

Snapshots still show the same problems as before.

Downgrading to LVM 1.0.3-tools on the running system:
everything works again.

-Wolfgang

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

* Re: [linux-lvm] mount reiserfs snapshot failed
  2002-04-18  4:36 [linux-lvm] mount reiserfs snapshot failed Markus Bartl
  2002-04-18  4:43 ` Joe Thornber
@ 2002-04-19  8:13 ` Heinz J . Mauelshagen
  1 sibling, 0 replies; 8+ messages in thread
From: Heinz J . Mauelshagen @ 2002-04-19  8:13 UTC (permalink / raw)
  To: linux-lvm

This could still be VM issues.

Have you tried top of CVS, which is in pre-release tests for LVM 1.1-rc2?

Regards,
Heinz    -- The LVM Guy --


On Thu, Apr 18, 2002 at 11:33:31AM +0200, Markus Bartl wrote:
> Hi there.
> 
> Im using the original kernel 2.4.18 with the locking patch and the
> lvm-patch applied. I use the lvm in Version 1.1rc1.
> I got one harddisk with 4 partitions on it, 1 partition is Linux LVM.
> The volume to backup is mounted on /home and has reiserfs. 
> 
> I made a shell-script to perform a test using snapshots.
> Here is what it does (looped):
> 1) create snapshot
> 2) mount snapshot --> fails sometimes (35 loops, 6 fails)
> 3) backup snapshot
> 4) create file on original volume while backup is still running
> 5) unmount snapshot
> 6) remove snapshot
> 
> In some cases mounting the snapshot volume fails with error 32 (wrong fs
> type or bad superblock).
> Anybody got any idea???
> 
> Thanks for your help,
> Markus
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2002-04-19  8:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-18  4:36 [linux-lvm] mount reiserfs snapshot failed Markus Bartl
2002-04-18  4:43 ` Joe Thornber
2002-04-18  5:56   ` Markus Bartl
2002-04-18  7:14     ` Xavier Montagutelli
2002-04-18  6:39   ` Markus Bartl
2002-04-18  7:05     ` Chris Mason
2002-04-18  8:07   ` Wolfgang Weisselberg
2002-04-19  8:13 ` Heinz J . Mauelshagen

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.