* [linux-lvm] LVM, Reiserfs, and snapshots.
@ 2001-11-11 23:23 Petro
2001-11-12 2:57 ` Patrick Caulfield
0 siblings, 1 reply; 4+ messages in thread
From: Petro @ 2001-11-11 23:23 UTC (permalink / raw)
To: linux-lvm
Im having a bit of trouble here, and I'm hoping that someone on this
list can assist me.
I am trying to do snapshots on a database system, and I'm getting:
dbgsh01:~# lvremove /dev/vg0/snap23052
lvremove -- do you really want to remove "/dev/vg0/snap23052"? [y/n]: y
lvremove -- doing automatic backup of volume group "vg0"
lvremove -- logical volume "/dev/vg0/snap23052" successfully removed
dbgsh01:~# lvcreate -L 10G -s -n test /dev/vg0/lv0
lvcreate -- WARNING: the snapshot will be automatically disabled once it
gets full
lvcreate -- INFO: using default snapshot chunk size of 64 KB for
"/dev/vg0/test"
lvcreate -- doing automatic backup of "vg0"
lvcreate -- logical volume "/dev/vg0/test" successfully created
dbgsh01:~# mount -o ro /dev/vg0/test /snap/
mount: wrong fs type, bad option, bad superblock on /dev/vg0/test,
or too many mounted file systems
And of course, /dev/log/kern.log contains:
Nov 11 21:15:23 dbgsh01 kernel: reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
Nov 11 21:15:23 dbgsh01 kernel: reiserfs:warning: - it is slow mode for debugging.
Nov 11 21:15:23 dbgsh01 kernel: reiserfs: checking transaction log (device 3a:01) ...
Nov 11 21:15:23 dbgsh01 kernel: journal-1153: found in header: first_unflushed_offset 7026, last_flushed_trans_id 11094
Nov 11 21:15:23 dbgsh01 kernel: journal-1006: found valid transaction start offs et 7026, len 3 id 11095
Nov 11 21:15:23 dbgsh01 kernel: clm-2076: device is readonly, unable to replay log
Nov 11 21:15:23 dbgsh01 kernel: Replay Failure, unable to mount
Nov 11 21:15:23 dbgsh01 kernel: reiserfs_read_super: unable to initialize journal space
Ok, so there's the problem description.
Kernel version is 2.4.14 (no patches), Debian variant of Linux, using:
Logical Volume Manager 0.9.1_beta7
mount: mount-2.11h
The funny thing is that I've got 2 other systems where I *can* do the
above steps, and the only differences are the kernel on *one* of the
systems (2.4.8-ac8) and the configuration of the underlying hardware
(all three have 3ware cards, one of them has 2 disks in raid0, the other
2 have raid1. One working and one non-working have raid1.).
Any clues?
--
Share and Enjoy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] LVM, Reiserfs, and snapshots.
2001-11-11 23:23 [linux-lvm] LVM, Reiserfs, and snapshots Petro
@ 2001-11-12 2:57 ` Patrick Caulfield
2001-11-12 15:25 ` Petro
0 siblings, 1 reply; 4+ messages in thread
From: Patrick Caulfield @ 2001-11-12 2:57 UTC (permalink / raw)
To: linux-lvm
On Sun, Nov 11, 2001 at 09:24:27PM -0800, Petro wrote:
> Im having a bit of trouble here, and I'm hoping that someone on this
> list can assist me.
> Nov 11 21:15:23 dbgsh01 kernel: reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
> Nov 11 21:15:23 dbgsh01 kernel: reiserfs:warning: - it is slow mode for debugging.
> Nov 11 21:15:23 dbgsh01 kernel: reiserfs: checking transaction log (device 3a:01) ...
> Nov 11 21:15:23 dbgsh01 kernel: journal-1153: found in header: first_unflushed_offset 7026, last_flushed_trans_id 11094
> Nov 11 21:15:23 dbgsh01 kernel: journal-1006: found valid transaction start offs et 7026, len 3 id 11095
> Nov 11 21:15:23 dbgsh01 kernel: clm-2076: device is readonly, unable to replay log
> Nov 11 21:15:23 dbgsh01 kernel: Replay Failure, unable to mount
> Nov 11 21:15:23 dbgsh01 kernel: reiserfs_read_super: unable to initialize journal space
You need to apply the VFS lock patch in the LVM PATCHES directory to make
reiserfs snapshots work.
patrick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] LVM, Reiserfs, and snapshots.
2001-11-12 2:57 ` Patrick Caulfield
@ 2001-11-12 15:25 ` Petro
2001-11-13 2:31 ` Patrick Caulfield
0 siblings, 1 reply; 4+ messages in thread
From: Petro @ 2001-11-12 15:25 UTC (permalink / raw)
To: linux-lvm
On Mon, Nov 12, 2001 at 08:58:58AM +0000, Patrick Caulfield wrote:
> On Sun, Nov 11, 2001 at 09:24:27PM -0800, Petro wrote:
> > Im having a bit of trouble here, and I'm hoping that someone on this
> > list can assist me.
> > Nov 11 21:15:23 dbgsh01 kernel: reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
> > Nov 11 21:15:23 dbgsh01 kernel: reiserfs:warning: - it is slow mode for debugging.
> > Nov 11 21:15:23 dbgsh01 kernel: reiserfs: checking transaction log (device 3a:01) ...
> > Nov 11 21:15:23 dbgsh01 kernel: journal-1153: found in header: first_unflushed_offset 7026, last_flushed_trans_id 11094
> > Nov 11 21:15:23 dbgsh01 kernel: journal-1006: found valid transaction start offs et 7026, len 3 id 11095
> > Nov 11 21:15:23 dbgsh01 kernel: clm-2076: device is readonly, unable to replay log
> > Nov 11 21:15:23 dbgsh01 kernel: Replay Failure, unable to mount
> > Nov 11 21:15:23 dbgsh01 kernel: reiserfs_read_super: unable to initialize journal space
> You need to apply the VFS lock patch in the LVM PATCHES directory to make
> reiserfs snapshots work.
Are/were these part of the -ac patchset?
I ask because I have it working with 2.4.8-ac8.
--
Share and Enjoy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] LVM, Reiserfs, and snapshots.
2001-11-12 15:25 ` Petro
@ 2001-11-13 2:31 ` Patrick Caulfield
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Caulfield @ 2001-11-13 2:31 UTC (permalink / raw)
To: linux-lvm
On Mon, Nov 12, 2001 at 01:26:57PM -0800, Petro wrote:
> On Mon, Nov 12, 2001 at 08:58:58AM +0000, Patrick Caulfield wrote:
> > On Sun, Nov 11, 2001 at 09:24:27PM -0800, Petro wrote:
> > > Im having a bit of trouble here, and I'm hoping that someone on this
> > > list can assist me.
> > > Nov 11 21:15:23 dbgsh01 kernel: reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
> > > Nov 11 21:15:23 dbgsh01 kernel: reiserfs:warning: - it is slow mode for debugging.
> > > Nov 11 21:15:23 dbgsh01 kernel: reiserfs: checking transaction log (device 3a:01) ...
> > > Nov 11 21:15:23 dbgsh01 kernel: journal-1153: found in header: first_unflushed_offset 7026, last_flushed_trans_id 11094
> > > Nov 11 21:15:23 dbgsh01 kernel: journal-1006: found valid transaction start offs et 7026, len 3 id 11095
> > > Nov 11 21:15:23 dbgsh01 kernel: clm-2076: device is readonly, unable to replay log
> > > Nov 11 21:15:23 dbgsh01 kernel: Replay Failure, unable to mount
> > > Nov 11 21:15:23 dbgsh01 kernel: reiserfs_read_super: unable to initialize journal space
> > You need to apply the VFS lock patch in the LVM PATCHES directory to make
> > reiserfs snapshots work.
>
> Are/were these part of the -ac patchset?
>
> I ask because I have it working with 2.4.8-ac8.
No, I don't think so. You can mount reiserfs snapshots if you make them off an
unmounted filesystem but other than that it shouldn't work without the VFS
patch. Maybe you have been lucky :^)
patrick
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-11-13 2:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-11 23:23 [linux-lvm] LVM, Reiserfs, and snapshots Petro
2001-11-12 2:57 ` Patrick Caulfield
2001-11-12 15:25 ` Petro
2001-11-13 2:31 ` Patrick Caulfield
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.