[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] snapshot file zombies



"Heinz J . Mauelshagen" <mauelshagen 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 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 informatik-vollmer de,vollmer cocolab de,Juergen Vollmer acm org
www.informatik-vollmer.de


Attachment: pgp00000.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]