[libvirt-users] KVM Raw Format Image Causes lseek Error when Copying

d hee coolio at ymail.com
Thu Mar 7 14:56:55 UTC 2013


When copying a raw KVM image to my usb drive I got a lseek error...why is this?

localhost temp # lr /kvm_guests/newInstall.img 
-rw-r--r-- 1 root root 10G Oct 22 05:36 /kvm_guests/newInstall.img
localhost temp #


localhost temp # cp /kvm_guests/newInstall.img .                      
cp: cannot lseek `./newInstall.img': Invalid argument
localhost temp # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdc1        15G  7.2G  7.8G  48% /mnt/temp



After copy error, only 4 Gigs were copied:

localhost temp # lr
total 7.2G
drwxr-xr-x  2 root root 8.0K Mar  6 18:10 .
drwxr-xr-x 16 root root 4.0K Nov  6 09:10 ..
-rwxr-xr-x  1 root root 4.0G Mar  6 18:16 newInstall.img
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130307/0a5f4f1b/attachment.htm>


More information about the libvirt-users mailing list