[dm-crypt] Cryptsetup using loop device makes it stop

Milan Broz gmazyland at gmail.com
Tue May 28 07:23:45 CEST 2013


On 05/27/2013 11:18 PM, Clément Hertling (Wxcafé) wrote:

> open("crypto.img", O_RDONLY|O_SYNC|O_DIRECT|0x100000) = 5
> fstat(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> read(5, "", 0)                          = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0

This look like file crypto.img is empty, IOW file of zero size.

Please check it (also fsck filesystem etc.)

Milan


More information about the dm-crypt mailing list