linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] mounting ext3 snapshot occasionaly fails
@ 2002-12-03  6:35 Tomaz Beltram
  2002-12-03  6:44 ` Patrick Caulfield
  0 siblings, 1 reply; 4+ messages in thread
From: Tomaz Beltram @ 2002-12-03  6:35 UTC (permalink / raw)
  To: linux-lvm

Hi,

I have similar problems as described in this mailing list some months ago, 
regarding mounting snapshots of journaled file systems.

Mounting the snapshot fails and dmesg shows:
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access unavailable, cannot proceed.

I have observed that the failure is more frequent with longer delays between 
snapshot creation and mount time.

The problem was solved with the VFS-lock patch for 2.4.18 kernel. But I am 
using LVM 1.0.5 and 2.4.19-SuSE kernel (64GB-SMP). As I understand, it 
should already have the VFS-lock patch applied. If not, where can I find 
one?

Thanks in advance for your help.
Tomaz

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [linux-lvm] mounting ext3 snapshot occasionaly fails
@ 2002-12-03 10:24 Tomaz Beltram
  0 siblings, 0 replies; 4+ messages in thread
From: Tomaz Beltram @ 2002-12-03 10:24 UTC (permalink / raw)
  To: linux-lvm

>I don't know whether the SuSE kernel has the VFS lock patch applied or >not 
>- if
>not then one for 2.4.19 is available in the LVM 1.0.6 source package.

I found the linux-2.4.19-VFS-lock.patch in the LVM 1.0.5 src package. 
However, it results to me that it is already included. Patch says:
Reversed (or previously applied) patch detected!

Beside that, I can see the new symbols that come with the patch in my 
running kernel:
# cat /proc/ksyms | grep lockfs
c014cf90 fsync_dev_lockfs
c0151680 unlockfs

I was able to reproduce this with following steps:
VG=vg1
lvcreate -L 100M -n lv1 $VG
mke2fs -j /dev/$VG/lv1
mkdir /mnt/fs1
mount -t ext3 /dev/$VG/lv1 /mnt/fs1
lvcreate -L 10M -n lv1_snap -s /dev/$VG/lv1
mkdir /mnt/fs1_snap
mkdir /mnt/fs1/dir
sleep 60
mount -t ext3 -r /dev/$VG/lv1_snap /mnt/fs1_snap

Please note that the change to the original file system is made *after* the 
snapshot is created, so this could be different problem.

thanks again
Tomaz

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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

end of thread, other threads:[~2002-12-03 10:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-03  6:35 [linux-lvm] mounting ext3 snapshot occasionaly fails Tomaz Beltram
2002-12-03  6:44 ` Patrick Caulfield
2002-12-03 10:18   ` Chris Mason
  -- strict thread matches above, loose matches on Subject: below --
2002-12-03 10:24 Tomaz Beltram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).