Disk Passed Through to KVM Errors When Starting the KVM

JustaGuy

Renowned Member
Jan 1, 2010
324
2
83
Hi,
When I start my fileserver KVM VM from the console I see the following error:

Code:
WARNING: Image format was not specified for '/dev/disk/by-id/ata-HGST_HTS721010A9E630_JG40006PG0EVED' and probing guessed raw. 
 Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. 
 Specify the 'raw' format explicitly to remove the restrictions.

But when I start it from the WebUI I don't.

What's it all about, & do I really need to change anything to be safe?

Thanks,

-J
 
Code:
virtio2: /dev/disk/by-id/ata-ST31000528AS_9VP8GN6C,cache=writeback,serial=5383-8732-2765624887,backup=no,size=976762584K
virtio3: /dev/disk/by-id/ata-HGST_HTS721010A9E630_JG40006PG0EVED,cache=writeback,serial=6428-4103-5705898346,backup=no,size=976762584K
 
Try adding the `,format=raw` property to those drives. Since you pass raw devices 'raw' is the correct format after all.
 
Try adding the `,format=raw` property to those drives. Since you pass raw devices 'raw' is the correct format after all.
Ok, did that. Will see what happens after I reboot. I don't reboot all that often, so it might be awhile, but eventually. Thanks.