mounting reiserfs snaphost fails
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
Quoted 5 lines · myciel
Hi All
I can't mount reisefs snapshot:
Quoted 8 lines
mount: block device
/dev/interia/intbackupis write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on/dev/interia/intbackup,
or too many mounted file systemslinux 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
Quoted 9 lines · Jon Bendtsen
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
Did you put the VFS lock patch in?
You need that to be able to mount snapshots of *journaled* filesystems.
Quoted 24 lines · myciel
Hi All
I can't mount reisefs snapshot:
mount: block device
/dev/interia/intbackupis write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on/dev/interia/intbackup,
or too many mounted file systemslinux kernel 2.4.19 and lvm utils version 1.05.
any hints?
thanks
rafal
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 15 lines
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
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-thanks, this helped ofcourse
rafal
Quoted 30 lines · Heinz J . Mauelshagen
Did you put the VFS lock patch in?
You need that to be able to mount snapshots of *journaled* filesystems.Quoted 23 lines · myciel
Hi All
I can't mount reisefs snapshot:
mount: block device
/dev/interia/intbackupis write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on/dev/interia/intbackup,
or too many mounted file systemslinux kernel 2.4.19 and lvm utils version 1.05.
any hints?
thanks
rafal
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Quoted 3 lines · Heinz J . Mauelshagen
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
Quoted 9 lines · Jon Bendtsen
Quoted 3 lines · Heinz J . Mauelshagen
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
Quoted 11 lines · Jon Bendtsen
Quoted 9 lines · Jon Bendtsen
Quoted 3 lines · Heinz J . Mauelshagen
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 ?
Quoted 7 lines
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.
Quoted 10 lines
JonB
_______________________________________________
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/
Signature · 15 lines
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
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Quoted 8 lines · Jon Bendtsen
Quoted 3 lines · Heinz J . Mauelshagen
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: [email protected] ]
Jon Bendtsen
AppliedQuoted 8 lines · Xavier Montagutelli
Quoted 5 lines · Jon Bendtsen
Quoted 3 lines · Heinz J . Mauelshagen
Did you put the VFS lock patch in?
You need that to be able to mount snapshots of *journaled* filesystems.
Quoted 6 lines
Quoted 3 lines
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.patchin 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
Quoted 6 lines · Jon Bendtsen
Quoted 4 lines · Xavier Montagutelli
Quoted 1 line · Jon Bendtsen
"Heinz J . Mauelshagen" wrote:
[cut]
Quoted 20 lines
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.patchnothing 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 tovg' drivers/md/mddev.o(.text+0x702e): undefined reference tolvm_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"
Quoted 3 lines
So, right now i'm trying the same thing with only
linux-2.4.18-VFS-lock.patchapplied.
Okay, that "worked". It compiled, but i dont know if it can take online snapshots of journaled filesystems (ext3). I'll try that.
JonB