All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] can't snap a mounted (reiserfs|ext3) with kernel 2.2.x
@ 2002-08-23  5:01 Thierry VOYAT
  2002-08-24  4:08 ` Patrick Caulfield
  0 siblings, 1 reply; 3+ messages in thread
From: Thierry VOYAT @ 2002-08-23  5:01 UTC (permalink / raw)
  To: linux-lvm

I need to unmount the lvm partition before i can realize a valid
snapshot of a journalized fs (reiserfs or ext)
All works fine with ext2 :

mount -t ext3 /dev/vg0/ext3fs	=>ok
lvreate snap /dev/vg0/ext3fs	=> ok
mount snap  	=> FAILED
	mount: block device /dev/vg0/snap is write-protected, mounting
read-only
	mount: wrong fs type, bad option, bad superblock on /dev/vg0/snap,
	       or too many mounted file systems

umount /dev/vg0/ext3fs	=>ok
lvreate snap /dev/vg0/ext3fs	=> ok
mount snap  	=> ok

mount -t ext2 /dev/vg0/ext2fs	=>ok
lvreate snap /dev/vg0/ext2fs	=> ok
mount snap  	=> ok


Redhat 6.2 on IBM Netfinity
kernel used: 2.2.19, 2.2.20, 2.2.21
patches: reiserfs-3.5.35, 
	ext3-0.0.7a
	linux-2.2.18-rawio.patch, 
	linux-2.2.19.kdb.diff, 
	linux-2.2.19.ext3.diff
LVM: 1.0.3, 1.0.4, 1.0.5 patches and utils


I known there was a patch for kernel 2.4.x for VFS-lock but nothing for
kenel 2.2.x series.

I can't upgrade to kernel 2.4. What can i do ?



-- 
     ?????      Thierry VOYAT       T�l: (33) 3 22 82 38 39
    ( 0 0 )     Rectorat Amiens     Fax: (33) 3 22 82 39 16
---oOo(_)oOo--- 20 boulevard Alsace-Lorraine - 80063 AMIENS
Les faiblesses des hommes font la force des femmes. Voltaire

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

* Re: [linux-lvm] can't snap a mounted (reiserfs|ext3) with kernel 2.2.x
  2002-08-23  5:01 [linux-lvm] can't snap a mounted (reiserfs|ext3) with kernel 2.2.x Thierry VOYAT
@ 2002-08-24  4:08 ` Patrick Caulfield
  2002-08-24 14:20   ` Chris Mason
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Caulfield @ 2002-08-24  4:08 UTC (permalink / raw)
  To: linux-lvm

On Fri, Aug 23, 2002 at 11:56:45AM +0200, Thierry VOYAT wrote:
> I need to unmount the lvm partition before i can realize a valid
> snapshot of a journalized fs (reiserfs or ext)
> All works fine with ext2 :
> 
> I known there was a patch for kernel 2.4.x for VFS-lock but nothing for
> kenel 2.2.x series.
> 
> I can't upgrade to kernel 2.4. What can i do ?

I don't think there is such a thing as the VFS lock patch for 2.2 (unless Chris
Mason knows otherwise!). 

In which case, Im afraid, you're stuck.

patrick

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

* Re: [linux-lvm] can't snap a mounted (reiserfs|ext3) with kernel 2.2.x
  2002-08-24  4:08 ` Patrick Caulfield
@ 2002-08-24 14:20   ` Chris Mason
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Mason @ 2002-08-24 14:20 UTC (permalink / raw)
  To: linux-lvm

On Sat, 2002-08-24 at 05:07, Patrick Caulfield wrote:
> On Fri, Aug 23, 2002 at 11:56:45AM +0200, Thierry VOYAT wrote:
> > I need to unmount the lvm partition before i can realize a valid
> > snapshot of a journalized fs (reiserfs or ext)
> > All works fine with ext2 :
> > 
> > I known there was a patch for kernel 2.4.x for VFS-lock but nothing for
> > kenel 2.2.x series.
> > 
> > I can't upgrade to kernel 2.4. What can i do ?
> 
> I don't think there is such a thing as the VFS lock patch for 2.2 (unless Chris
> Mason knows otherwise!). 
> 
> In which case, Im afraid, you're stuck.

We do have patch in the 2.2.x suse kernel to add the lockfs calls to the
kernel, but not a reiserfs patch to use them.  Anyone know if 2.2.x ext3
provides a lockfs call?

-chris

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

end of thread, other threads:[~2002-08-24 14:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-23  5:01 [linux-lvm] can't snap a mounted (reiserfs|ext3) with kernel 2.2.x Thierry VOYAT
2002-08-24  4:08 ` Patrick Caulfield
2002-08-24 14:20   ` Chris Mason

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.