cannot mount snapshot volumes
Hello ,
I am using a stock RedHat 7.3 server (ext 3 fs) with lvm 1.0.3 installed , i upgraded lvm to 1.0.5 ( kernel patch etc.). LVM works fine however i cannot mount the created snapshot volume.
When doing a mount the server tells me : Wrong fs type , bad option, bas superblock on /dev/lvmgroup1/snapshot , or too many mounted file systems.
In the mailing list i read that the solution for this problem : patch the kernel with linux-2.4.18-VFS-lock.patch.( applied in the 1.0.5 tar file)
However when i apply the patch i get messages about Reverse patches and several chunks and files not being patched .So compiling the kernel again also gives problems.
I like to know, is there another patch file i have to use , or a better solution for this problem ?
Thanks ,
Marien Tielemans
Quoted 12 lines · Marien Tielemans - Van Boxtel Software BV
Hello ,
I am using a stock RedHat 7.3 server (ext 3 fs) with lvm 1.0.3 installed , i upgraded lvm to 1.0.5 ( kernel patch etc.).
LVM works fine however i cannot mount the created snapshot volume.When doing a mount the server tells me : Wrong fs type , bad option, bas superblock on
/dev/lvmgroup1/snapshot, or too many mounted file systems.In the mailing list i read that the solution for this problem : patch the kernel with linux-2.4.18-VFS-lock.patch.( applied in the 1.0.5 tar file)
Quoted 6 lines
However when i apply the patch i get messages about Reverse patches and several chunks and files not being patched .So compiling the kernel again also gives problems.
I like to know, is there another patch file i have to use , or a better solution for this problem ?
Which kernel version are you using? The VFS lock patch will probably only apply to the named kernel.org kernel.
Signature · 1 line
patrick
Hello Patrick,
Redhat 7.3 uses kernel 2.4.18-3 .
I tryed to patch the kernel with : linux-2.4.18-VFS-lock.patch (located in LVM/1.0.5/PATCHES )
In the README it is mentioned that kernels supplied with RedHat , Mandrake etc are a little different from the kernels
supplied bij kernel.org .
Since the lvm-1.0.5-2.4.18-3custom.patch worked fine with the "RedHat " kernel i thought the VFS-lock patch also should work.
What do you advise me to do ?
Thanks,
Marien
----- Original Message -----
From: "Patrick Caulfield" <[email protected]>
To: <[email protected]>
Sent: Wednesday, September 25, 2002 9:50 AM
Subject: Re: [linux-lvm] cannot mount snapshot volumes
Quoted 1 line
On Tue, Sep 24, 2002 at 05:37:50PM +0200, Marien Tielemans - Van Boxtel
Quoted 3 lines · Software BV
Quoted 3 lines
Hello ,
I am using a stock RedHat 7.3 server (ext 3 fs) with lvm 1.0.3
installed ,
Quoted 4 lines
Quoted 4 lines
i upgraded lvm to 1.0.5 ( kernel patch etc.).
LVM works fine however i cannot mount the created snapshot volume.When doing a mount the server tells me : Wrong fs type , bad option,
bas
Quoted 1 line
Quoted 1 line
superblock on
/dev/lvmgroup1/snapshot, or too many mounted file
systems.
Quoted 2 lines
Quoted 2 lines
In the mailing list i read that the solution for this problem : patch
the
Quoted 1 line
Quoted 1 line
kernel with linux-2.4.18-VFS-lock.patch.( applied in the 1.0.5 tar
file)
Quoted 2 lines
Quoted 2 lines
However when i apply the patch i get messages about Reverse patches
and
Quoted 1 line
Quoted 1 line
several chunks and files not being patched .So compiling the kernel
again
Quoted 3 lines
Quoted 3 lines
also gives problems.
I like to know, is there another patch file i have to use , or a
better
Quoted 3 lines
Quoted 1 line
solution for this problem ?
Which kernel version are you using? The VFS lock patch will probably only
apply
Quoted 13 lines
to the named kernel.org kernel.
--
patrick
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 6 lines · Marien Tielemans - Van Boxtel Software BV
Hello Patrick,
Redhat 7.3 uses kernel 2.4.18-3 .
I tryed to patch the kernel with : linux-2.4.18-VFS-lock.patch (located in LVM/1.0.5/PATCHES )
Quoted 8 lines
In the README it is mentioned that kernels supplied with RedHat , Mandrake etc are a little different from the kernels
supplied bij kernel.org .
Since the lvm-1.0.5-2.4.18-3custom.patch worked fine with the "RedHat " kernel i thought the VFS-lock patch also should work.
What do you advise me to do ?
Thanks,
The LVM patches adapt themselves to the kernel you are patching so should apply to most kernels without trouble. the VFS lock patch is just a static patch against the named kernel.
Your options are:
1) build a 2.4.19 kernel from ftp.*.kernel.org
2) apply the VFS lock patch to the redhat kernel and manually fix the rejects
3) lean on redhat to include the patch
patrick