the command used for instant allocation: fallocate -l 10G temp_file [note: give more storage size to the fallocate than the loopback device’s storage]

reference:https://unix.stackexchange.com/questions/292843/way-to-instantly-fill-up-use-up-lots-of-disk-space https://man7.org/linux/man-pages/man2/fallocate.2.html