[linux-lvm] lvcreate goes into deep-sleep while creating an xfs snapshot

Sven Riedel sr at baghus.net
Thu Jun 9 09:05:29 UTC 2005


Hi,
I'm creating a backup script for a database using lvm snapshots.
The script ran fine for a few test runs, then I added xfs_freeze -f 
just before the lvcreate command, as per HOWTO recipe. Now
lvcreate went into deep-sleep and wont wake up:

update:~/bin# ps ax | grep lvcreate
25053 pts/2    D<L+   0:00 lvcreate -s -L 55M -n tables_snap 
   /dev/database_vg/tables_lv

Running lvdisplay in a different terminal to see if lvm itself
is still seeing all LVs results in lvdisplay going into 
deep-sleep mode as well. Doing an strace -p 25053 
doesn't display anything (strace won't catch my interrupts
either, but according to ps it's in a regular sleep).

dmesg doesn't say anything to this situation.

Is there a known issue with snapshots and xfs_freeze? 
Any way I can gather pertinent debugging info?

I'm running lvm 2.01.04 (package from debian unstable).

Regs,
Sven

------------------------------------------

BAGHUS GmbH
EDV und Internetdienstleistungen

Staffelseestr. 2
81477 München

Tel.: 0 89 / 8 71 81 - 4 84
Fax.: 0 89 / 8 71 81 - 4 88

www.baghus.net, info at baghus.net
HRB: 144283, USt-IdNr: DE224865405

------------------------------------------
 




More information about the linux-lvm mailing list