I'm confirming this issue in Feisty's xen kernel 2.6.19-4-server:
# ./snapshot-collision.sh xen 4 1 4G 512M Attempting to empty disk caches ... 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB) copied, 6.87661 seconds, 156 MB/s Creating test LVs ... Logical volume "poc1" created Logical volume "poc2" created Logical volume "poc3" created Logical volume "poc4" created Creating snapshots ... LV xen/poc1-1 in use: not deactivating Couldn't deactivate new snapshot. Logical volume "poc3-1" created LV xen/poc2-1 in use: not deactivating Couldn't deactivate new snapshot. Logical volume "poc4-1" created Done Deleting snapshots ... umount: /mnt/poc1-1: not found umount: /mnt/poc2-1: not found Logical volume "poc1-1" successfully removed Logical volume "poc2-1" successfully removed Logical volume "poc4-1" successfully removed Logical volume "poc3-1" successfully removed Deleteing test LVs ... Logical volume "poc1" successfully removed Logical volume "poc2" successfully removed Logical volume "poc3" successfully removed Logical volume "poc4" successfully removed
I'm confirming this issue in Feisty's xen kernel 2.6.19-4-server:
# ./snapshot- collision. sh xen 4 1 4G 512M
Attempting to empty disk caches ...
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 6.87661 seconds, 156 MB/s
Creating test LVs ...
Logical volume "poc1" created
Logical volume "poc2" created
Logical volume "poc3" created
Logical volume "poc4" created
Creating snapshots ...
LV xen/poc1-1 in use: not deactivating
Couldn't deactivate new snapshot.
Logical volume "poc3-1" created
LV xen/poc2-1 in use: not deactivating
Couldn't deactivate new snapshot.
Logical volume "poc4-1" created
Done
Deleting snapshots ...
umount: /mnt/poc1-1: not found
umount: /mnt/poc2-1: not found
Logical volume "poc1-1" successfully removed
Logical volume "poc2-1" successfully removed
Logical volume "poc4-1" successfully removed
Logical volume "poc3-1" successfully removed
Deleteing test LVs ...
Logical volume "poc1" successfully removed
Logical volume "poc2" successfully removed
Logical volume "poc3" successfully removed
Logical volume "poc4" successfully removed