[linux-lvm] dm errors with lvcreate --snapshot

Dane Miller dane at greatschools.net
Sat Dec 8 00:40:39 UTC 2007


(re-posting after 4h30m)
Hi,

I've recently started getting errors when creating a snapshot.  I'm new
to LVM2 troubleshooting, so please point me in the right direction if
these are obvious error messages.

The script 'amanda_snapshot.pl' removes yesterday's snapshot and creates
a new snapshot, which amanda backs up some time later.  Here's the
output of this script, including error messages:

amanda_snapshot.pl: umount /media/vm1optsnap
amanda_snapshot.pl: lvremove -f /dev/vg0/vm1optsnap
  Logical volume "vm1optsnap" successfully removed
amanda_snapshot.pl: lvcreate --snapshot --name vm1optsnap --size
10G /dev/vg0/vm1opt
  /dev/dm-9: stat failed: No such file or directory
  Path /dev/dm-9 no longer valid for device(253,9)
  Aborting - please provide new pathname for what used to be /dev/dm-9
  /dev/dm-10: stat failed: No such file or directory
  Path /dev/dm-10 no longer valid for device(253,10)
  Aborting - please provide new pathname for what used to be /dev/dm-10
  /dev/dm-11: stat failed: No such file or directory
  Path /dev/dm-11 no longer valid for device(253,11)
  Aborting - please provide new pathname for what used to be /dev/dm-11
  Logical volume "vm1optsnap" created
amanda_snapshot.pl: mount /dev/vg0/vm1optsnap /media/vm1optsnap


What would cause these /dev/dm-* errors?  How can I find out what's
going on?


Dane
-- 
Dane Miller
Systems Administartor
Greatschools, Inc
http://www.greatschools.net




More information about the linux-lvm mailing list