dm errors with lvcreate --snapshot
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
Signature · 4 lines
Dane Miller Systems Administartor Greatschools, Inc http://www.greatschools.net
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
Quoted 33 lines · Dane Miller
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-9no longer valid fordevice(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-10no longer valid fordevice(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-11no longer valid fordevice(253,11)Aborting - please provide new pathname for what used to be/dev/dm-11Logical volume "vm1optsnap" created
amanda_snapshot.pl: mount/dev/vg0/vm1optsnap/media/vm1optsnapWhat would cause these
/dev/dm-*errors? How can I find out what's going on?Dane
(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
Quoted 33 lines · Dane Miller
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-9no longer valid fordevice(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-10no longer valid fordevice(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-11no longer valid fordevice(253,11)Aborting - please provide new pathname for what used to be/dev/dm-11Logical volume "vm1optsnap" created
amanda_snapshot.pl: mount/dev/vg0/vm1optsnap/media/vm1optsnapWhat would cause these
/dev/dm-*errors? How can I find out what's going on?Dane
[linux-lvm] how rude... Re: dm errors with lvcreate --snapshot
Quoted 1 line · Dane Miller
(re-posting after 4h30m)
Please accept my humblest apologies to the list for this re-posting. I inadvertently filtered linux-lvm messages into an unsubscribed IMAP folder, and thus didn't see them post. I assumed I was a victim of over-aggressive gray listing, when in fact I was just an over-zealous filterer.
I realize that such a re-post after such a short period of time must have appeared quite rude and demanding. Let me assure you that was not my intention.
Dane
Signature · 4 lines
Dane Miller Systems Administartor Greatschools, Inc http://www.greatschools.net