shell - cryptsetup luksFormat error: Requested offset is beyond real size of device /dev/loop1 -
i'm getting error when try run cryptsetup luksformat command on ubuntu.can please me issue
command: $ loop_dev= losetup --find $ echo yes | cryptsetup -v luksformat --key-file="/path/to/keyfile" $loop_dev
error: requested offset beyond real size of device /dev/loop1. command failed code 22: requested offset beyond real size of device /dev/loop1
this happening loop devices /dev/loop0-/dev/loop7