[linux-lvm] snapshot file zombies

Jürgen Vollmer juergen at informatik-vollmer.de
Sat Jan 4 11:03:02 UTC 2003


"Heinz J . Mauelshagen" <mauelshagen at sistina.com>:
> If reading the snapshot LV fails, let's go forward analyzing LVM, if not
> there might be a reiserfs fix for that.

Dear Heinz,
A good new year to you!

I've just some spare time :-)

I created the snapshot as usual and let tar access the files:
  for i seq 1 20
  do
    tar -cvf /dev/null /lvm-snapshot
  done

after some time tar produces the following:
  tar: /lvm-snapshot/vollmer/.exmh/exmh_addrs: can not stat, permission denied
(message translated by me from german)

During that I did some work on the original (reading email and news, running
some compile jobs, running some seti at home jobs).

It seems to me, that when I modify or delete a file in the original, those
files trigger the problem! (I just modified a Makefile and deleted a file
and the next time tar visits that Makefile and the deleted file 
it was flagged with the above error message);

The problem is reproducible.

The files exists and are accessible in the original.

ls -l  /lvm-snapshot/vollmer/.exmh/
ls: /lvm-snapshot/vollmer/.exmh/exmh_addrs.bak: no permission
ls: /lvm-snapshot/vollmer/.exmh/exmh_addrs: no permission
insgesamt 34
-rw-r--r--    1 vollmer  users       11282 2003-01-01 20:03 exmh-defaults
-rw-r--r--    1 vollmer  users       11115 2002-09-25 20:25 exmh-defaults~
drwxr-x---    2 vollmer  users        1872 2002-07-06 10:18 exmh-images/
-rw-r--r--    1 vollmer  users          65 2001-01-19 11:09 exmh-shell-history
-rw-r-----    1 vollmer  users        1564 1999-10-27 23:45 exmhsedit

The files seem to be in the directory catalog, but not in the filesystem
anymore.

Here the original:
ls -l /home/vollmer/.exmh/
insgesamt 466
-rw-r--r--    1 vollmer  users       11282 2003-01-01 20:03 exmh-defaults
-rw-r--r--    1 vollmer  users       11115 2002-09-25 20:25 exmh-defaults~
drwxr-x---    2 vollmer  users        1872 2002-07-06 10:18 exmh-images/
-rw-r--r--    1 vollmer  users          65 2001-01-19 11:09 exmh-shell-history
-rw-r--r--    1 vollmer  users      220115 2003-01-04 17:20 exmh_addrs
-rw-r--r--    1 vollmer  users      220115 2003-01-04 17:14 exmh_addrs.bak
-rw-r-----    1 vollmer  users        1564 1999-10-27 23:45 exmhsedit


Currently I use a SuSe 8.1 system with the actual (i.e. patch-40) kernel
from ftp.suse.com/pub/people/mantel/next.

I use an SMP System (2 x XENON 2GHz, 1GB RAM) with 4 SCSI devices. Three of
them under control of LVM. As filesystem I use reiserfs

ReiserFS version:
$ mkreiserfs -h
mkreiserfs 3.6.2 (2002)

LVM version:
$lvcreate --version
lvcreate: Logical Volume Manager 1.0.5(mp-v6)
Heinz Mauelshagen, Sistina Software  15/07/2002 (IOP 10)

Do you need more information, how can I help to find the problem.

With best regards

Jürgen


-- 
Dr.rer.nat. Juergen Vollmer, Viktoriastrasse 15, D-76133 Karlsruhe
Tel: +49(721) 9204871 Fax: +49(721) 24874
juergen at informatik-vollmer.de,vollmer at cocolab.de,Juergen.Vollmer at acm.org
www.informatik-vollmer.de


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20030104/050e249c/attachment.sig>


More information about the linux-lvm mailing list