linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] new process dead after create multiple snapshot volumes
@ 2005-09-12  2:34 Bear Wolf
  2005-09-12  8:05 ` Lars Ellenberg
  0 siblings, 1 reply; 8+ messages in thread
From: Bear Wolf @ 2005-09-12  2:34 UTC (permalink / raw)
  To: linux-lvm

Dear all 

I test snapshot function on my system.
when I create the first snapshot, everything works fine.
then I create more snapshot, everything works fine too.
but when I access the source volume and do sync
the sync command will be dead.

and I test with a script file

I=0
for I in 1 2 3 4 5 6 7 8 9
do
cp -af /etc /mnt/volume1
lvcreate -s -L 64 -n snaplv${I} /dev/VG01/volume1
sleep 1
done

after create the 4th sn apshot volume, the system process hang without
any error message.

result of ps
------------------------------------------------------------
 2259 pts/1    S+     0:00 bash test.sh
 2267 ?        S      0:00 [xfssyncd]
 2278 ?        S<     0:00 [kcopyd]
 2318 pts/1    D+     0:00 cp -af /etc /mnt/volume1/etc5


log of create the 4th snapstot volume
----------------------------------------------------
    Setting chunksize to 16 sectors.
    Finding volume group "VG01"
    Creating logical volume snaplv4
    Creating volume group backup "/etc/lvm/backup/VG01" (seqno 9).
    Found volume group "VG01"
    Loading VG01-snaplv4
    Zeroing start of logical volume "snaplv4"
    Found volume group "VG01"
    Removing VG01-snaplv4
    Found volume group "VG01"
    Found volume group "VG01"
    Found volume group "VG01"
    Loading VG01-snaplv1-cow
    Loading VG01-volume1-real
    Loading VG01-snaplv1
    Loading VG01-snaplv3-cow
    Loading VG01-snaplv3
    Loading VG01-snaplv4-cow
    Loading VG01-snaplv4
    Loading VG01-snaplv2-cow
    Loading VG01-snaplv2
    Loading VG01-volume1
    Creating volume group backup "/etc/lvm/backup/VG01" (seqno 10).
  Logical volume "snaplv4" created

resultof lvscan
-----------------------
  ACTIVE   Original '/dev/VG01/volume1' [128.00 MB] inherit
  ACTIVE   Snapshot '/dev/VG01/snaplv1' [64.00 MB] inherit
  ACTIVE   Snapshot '/dev/VG01/snaplv2' [64.00 MB] inherit
  ACTIVE   Snapshot '/dev/VG01/snaplv3' [64.00 MB] inherit
  ACTIVE   Snapshot '/dev/VG01/snaplv4' [64.00 MB] inherit

dmesg and messages has no error.

is this a known issue of snapshot?

Kernel 2.6.13
LVM version:     2.01.14 (2005-08-04)
Library version: 1.01.04 (2005-08-02)
Driver version:  4.4.0

Thanks.
SportBear

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

end of thread, other threads:[~2005-09-19  1:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-12  2:34 [linux-lvm] new process dead after create multiple snapshot volumes Bear Wolf
2005-09-12  8:05 ` Lars Ellenberg
2005-09-12  8:42   ` Bear Wolf
2005-09-17  6:27     ` Bear Wolf
2005-09-17  8:23       ` Bear Wolf
2005-09-17  8:31         ` Bear Wolf
2005-09-17 19:16       ` Lars Ellenberg
2005-09-19  1:35         ` Bear Wolf

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).