All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] mounting reiserfs snaphost fails
@ 2002-08-29  2:42 myciel
  2002-08-29  3:52 ` Jon Bendtsen
  2002-08-29  6:18 ` Heinz J . Mauelshagen
  0 siblings, 2 replies; 11+ messages in thread
From: myciel @ 2002-08-29  2:42 UTC (permalink / raw)
  To: linux-lvm

Hi All

I can't mount reisefs snapshot:

mount: block device /dev/interia/intbackup is write-protected, mounting 
read-only
mount: wrong fs type, bad option, bad superblock on /dev/interia/intbackup,
        or too many mounted file systems


linux kernel 2.4.19 and lvm utils version 1.05.

any hints?

thanks

rafal

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

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-08-29  2:42 [linux-lvm] mounting reiserfs snaphost fails myciel
@ 2002-08-29  3:52 ` Jon Bendtsen
  2002-08-29  4:57   ` myciel
  2002-08-29  6:18 ` Heinz J . Mauelshagen
  1 sibling, 1 reply; 11+ messages in thread
From: Jon Bendtsen @ 2002-08-29  3:52 UTC (permalink / raw)
  To: linux-lvm

myciel wrote:
> 
> Hi All
> 
> I can't mount reisefs snapshot:
> 
> mount: block device /dev/interia/intbackup is write-protected, mounting
> read-only
> mount: wrong fs type, bad option, bad superblock on /dev/interia/intbackup,
>         or too many mounted file systems
> 
> linux kernel 2.4.19 and lvm utils version 1.05.
> 
> any hints?

Did you unmount before taking the snapshot ??
I found that i had to unmount before doing a snapshot. I'm using EXT3
though,
but both are journaling filesystems. I havent tried an ext2 one.


JonB

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

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-08-29  3:52 ` Jon Bendtsen
@ 2002-08-29  4:57   ` myciel
  0 siblings, 0 replies; 11+ messages in thread
From: myciel @ 2002-08-29  4:57 UTC (permalink / raw)
  To: linux-lvm

Jon Bendtsen wrote:

> 
> Did you unmount before taking the snapshot ??
> I found that i had to unmount before doing a snapshot. I'm using EXT3
> though,
> but both are journaling filesystems. I havent tried an ext2 one.
> 
> 
> JonB
> 


You mean unmount original filesystem? but why should I need snapshots
if I could unmount filesystem?

Anyway, now I've found that I can mount reiserfs snapshot
if it was first snapshot created after system boot.


rafal

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

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-08-29  2:42 [linux-lvm] mounting reiserfs snaphost fails myciel
  2002-08-29  3:52 ` Jon Bendtsen
@ 2002-08-29  6:18 ` Heinz J . Mauelshagen
  2002-08-29 10:59   ` myciel
  2002-10-04  3:09   ` Jon Bendtsen
  1 sibling, 2 replies; 11+ messages in thread
From: Heinz J . Mauelshagen @ 2002-08-29  6:18 UTC (permalink / raw)
  To: linux-lvm

Did you put the VFS lock patch in?
You need that to be able to mount snapshots of *journaled* filesystems.

On Thu, Aug 29, 2002 at 09:41:29AM +0200, myciel wrote:
> Hi All
> 
> I can't mount reisefs snapshot:
> 
> mount: block device /dev/interia/intbackup is write-protected, mounting 
> read-only
> mount: wrong fs type, bad option, bad superblock on /dev/interia/intbackup,
>         or too many mounted file systems
> 
> 
> linux kernel 2.4.19 and lvm utils version 1.05.
> 
> any hints?
> 
> thanks
> 
> rafal
> 
> 
> _______________________________________________
> 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

-- 

Regards,
Heinz    -- The LVM Guy --

*** 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] 11+ messages in thread

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-08-29  6:18 ` Heinz J . Mauelshagen
@ 2002-08-29 10:59   ` myciel
  2002-10-04  3:09   ` Jon Bendtsen
  1 sibling, 0 replies; 11+ messages in thread
From: myciel @ 2002-08-29 10:59 UTC (permalink / raw)
  To: linux-lvm

thanks, this helped ofcourse

rafal

Heinz J . Mauelshagen wrote:
> Did you put the VFS lock patch in?
> You need that to be able to mount snapshots of *journaled* filesystems.
> 
> On Thu, Aug 29, 2002 at 09:41:29AM +0200, myciel wrote:
> 
>>Hi All
>>
>>I can't mount reisefs snapshot:
>>
>>mount: block device /dev/interia/intbackup is write-protected, mounting 
>>read-only
>>mount: wrong fs type, bad option, bad superblock on /dev/interia/intbackup,
>>        or too many mounted file systems
>>
>>
>>linux kernel 2.4.19 and lvm utils version 1.05.
>>
>>any hints?
>>
>>thanks
>>
>>rafal
>>
>>
>>_______________________________________________
>>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
> 
> 

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

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-08-29  6:18 ` Heinz J . Mauelshagen
  2002-08-29 10:59   ` myciel
@ 2002-10-04  3:09   ` Jon Bendtsen
  2002-10-04  3:46     ` Jon Bendtsen
  2002-10-04  3:53     ` Xavier Montagutelli
  1 sibling, 2 replies; 11+ messages in thread
From: Jon Bendtsen @ 2002-10-04  3:09 UTC (permalink / raw)
  To: linux-lvm

"Heinz J . Mauelshagen" wrote:
> 
> Did you put the VFS lock patch in?
> You need that to be able to mount snapshots of *journaled* filesystems.

Where do i find that patch ?
Does 2.4.19 contain it ? does the latest kernel, if 2.4.19 isnt the
latest ?




JonB

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

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-10-04  3:09   ` Jon Bendtsen
@ 2002-10-04  3:46     ` Jon Bendtsen
  2002-10-04  3:58       ` Heinz J . Mauelshagen
  2002-10-04  3:53     ` Xavier Montagutelli
  1 sibling, 1 reply; 11+ messages in thread
From: Jon Bendtsen @ 2002-10-04  3:46 UTC (permalink / raw)
  To: linux-lvm

Jon Bendtsen wrote:
> 
> "Heinz J . Mauelshagen" wrote:
> >
> > Did you put the VFS lock patch in?
> > You need that to be able to mount snapshots of *journaled* filesystems.
> 
> Where do i find that patch ?
> Does 2.4.19 contain it ? does the latest kernel, if 2.4.19 isnt the
> latest ?

never mind, i did a cvs checkout, and made a patch for the linux kernel.
i believe it included the VFS-LOCK.patch (did a make in the PATCHES
subdir)

Do i need to update the LVM tools, or can i use default debian woody
tools
and still get this effect ?



JonB

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

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-10-04  3:09   ` Jon Bendtsen
  2002-10-04  3:46     ` Jon Bendtsen
@ 2002-10-04  3:53     ` Xavier Montagutelli
  2002-10-04  8:14       ` Jon Bendtsen
  1 sibling, 1 reply; 11+ messages in thread
From: Xavier Montagutelli @ 2002-10-04  3:53 UTC (permalink / raw)
  To: linux-lvm

On Fri, 4 Oct 2002, Jon Bendtsen wrote:

> "Heinz J . Mauelshagen" wrote:
> >
> > Did you put the VFS lock patch in?
> > You need that to be able to mount snapshots of *journaled* filesystems.
>
> Where do i find that patch ?
> Does 2.4.19 contain it ? does the latest kernel, if 2.4.19 isnt the
> latest ?

You will find it under PATCHES/linux-2.4.19-VFS-lock.patch in the LVM
source archive.

--
[ 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] 11+ messages in thread

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-10-04  3:46     ` Jon Bendtsen
@ 2002-10-04  3:58       ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 11+ messages in thread
From: Heinz J . Mauelshagen @ 2002-10-04  3:58 UTC (permalink / raw)
  To: linux-lvm

On Fri, Oct 04, 2002 at 10:20:51AM +0200, Jon Bendtsen wrote:
> Jon Bendtsen wrote:
> > 
> > "Heinz J . Mauelshagen" wrote:
> > >
> > > Did you put the VFS lock patch in?
> > > You need that to be able to mount snapshots of *journaled* filesystems.
> > 
> > Where do i find that patch ?
> > Does 2.4.19 contain it ? does the latest kernel, if 2.4.19 isnt the
> > latest ?
> 
> never mind, i did a cvs checkout, and made a patch for the linux kernel.
> i believe it included the VFS-LOCK.patch (did a make in the PATCHES
> subdir)
> 
> Do i need to update the LVM tools, or can i use default debian woody
> tools
> and still get this effect ?

No, they should run fine because the VFS lock patch is just a kernel thing
transparent to user space.

> 
> 
> 
> JonB
> 
> _______________________________________________
> 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/

-- 

Regards,
Heinz    -- The LVM Guy --

*** 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] 11+ messages in thread

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-10-04  3:53     ` Xavier Montagutelli
@ 2002-10-04  8:14       ` Jon Bendtsen
  2002-10-04  8:41         ` Jon Bendtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Jon Bendtsen @ 2002-10-04  8:14 UTC (permalink / raw)
  To: linux-lvm

Xavier Montagutelli wrote:
> 
> On Fri, 4 Oct 2002, Jon Bendtsen wrote:
> 
> > "Heinz J . Mauelshagen" wrote:
> > >
> > > Did you put the VFS lock patch in?
> > > You need that to be able to mount snapshots of *journaled* filesystems.
> >
> > Where do i find that patch ?
> > Does 2.4.19 contain it ? does the latest kernel, if 2.4.19 isnt the
> > latest ?
> 
> You will find it under PATCHES/linux-2.4.19-VFS-lock.patch in the LVM
> source archive.

Doing a cvs, i only found these 2 files (and others)

	linux-2.4.18+quota32-VFS-lock.patch
	linux-2.4.18-VFS-lock.patch

nothing for 2.4.19 :/   (whats the difference between those 2 files?)

I did a ./configure in the LVM dir, and a make in the PATCHES dir, and
tried to
apply that patch to a 2.4.19, and a 2.4.18, stock from Linus. They
applied fine
but they did not compile :/
"drivers/md/mddev.o: In function `_proc_read_global':
drivers/md/mddev.o(.text+0x6e1a): undefined reference to `vg'
drivers/md/mddev.o(.text+0x702e): undefined reference to `lvm_memory'
drivers/md/mddev.o(.text+0x71a1): undefined reference to `vg'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18'
make: *** [stamp-build] Error 2"



So, right now i'm trying the same thing with only 
	linux-2.4.18-VFS-lock.patch
applied. 




JonB

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

* Re: [linux-lvm] mounting reiserfs snaphost fails
  2002-10-04  8:14       ` Jon Bendtsen
@ 2002-10-04  8:41         ` Jon Bendtsen
  0 siblings, 0 replies; 11+ messages in thread
From: Jon Bendtsen @ 2002-10-04  8:41 UTC (permalink / raw)
  To: linux-lvm

Jon Bendtsen wrote:
> 
> Xavier Montagutelli wrote:
> >
> > On Fri, 4 Oct 2002, Jon Bendtsen wrote:
> >
> > > "Heinz J . Mauelshagen" wrote:

[cut]

> Doing a cvs, i only found these 2 files (and others)
> 
>         linux-2.4.18+quota32-VFS-lock.patch
>         linux-2.4.18-VFS-lock.patch
> 
> nothing for 2.4.19 :/   (whats the difference between those 2 files?)
> 
> I did a ./configure in the LVM dir, and a make in the PATCHES dir, and
> tried to
> apply that patch to a 2.4.19, and a 2.4.18, stock from Linus. They
> applied fine
> but they did not compile :/
> "drivers/md/mddev.o: In function `_proc_read_global':
> drivers/md/mddev.o(.text+0x6e1a): undefined reference to `vg'
> drivers/md/mddev.o(.text+0x702e): undefined reference to `lvm_memory'
> drivers/md/mddev.o(.text+0x71a1): undefined reference to `vg'
> make[1]: *** [vmlinux] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.18'
> make: *** [stamp-build] Error 2"
> 
> So, right now i'm trying the same thing with only
>         linux-2.4.18-VFS-lock.patch
> applied.

Okay, that "worked". It compiled, but i dont know if it can take
online snapshots of journaled filesystems (ext3). I'll try that.



JonB

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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-29  2:42 [linux-lvm] mounting reiserfs snaphost fails myciel
2002-08-29  3:52 ` Jon Bendtsen
2002-08-29  4:57   ` myciel
2002-08-29  6:18 ` Heinz J . Mauelshagen
2002-08-29 10:59   ` myciel
2002-10-04  3:09   ` Jon Bendtsen
2002-10-04  3:46     ` Jon Bendtsen
2002-10-04  3:58       ` Heinz J . Mauelshagen
2002-10-04  3:53     ` Xavier Montagutelli
2002-10-04  8:14       ` Jon Bendtsen
2002-10-04  8:41         ` Jon Bendtsen

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.