All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bear Wolf <sportbear@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] new process dead after create multiple snapshot volumes
Date: Mon, 12 Sep 2005 10:34:15 +0800	[thread overview]
Message-ID: <95bbd190509111934b306235@mail.gmail.com> (raw)

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

             reply	other threads:[~2005-09-12  2:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-12  2:34 Bear Wolf [this message]
2005-09-12  8:05 ` [linux-lvm] new process dead after create multiple snapshot volumes 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=95bbd190509111934b306235@mail.gmail.com \
    --to=sportbear@gmail.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.