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

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


(re-posting after 4h30m)

Oops, some software versions might be helpful...

OS: CentOS 4.4
Kernel: 2.6.9-42.0.10.ELsmp i686 athlon i386 GNU/Linux
LVM2: lvm2-2.02.21-5.el4
Device-mapper: device-mapper-1.02.17-3.0.1.el4

Dane Miller wrote:
> 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




More information about the linux-lvm mailing list