ext4 loopback device, Buffer I/O Error on reboot
- by cvb
I am trying to mount a loopback device on my ext4 formatted ssd drive.
I get these errors when I reboot on Linux kernel 2.6.38.8
Buffer I/O error on device loop1, logical block 0
Here is what I do:
dd if=/dev/zero of=/mnt/s/lodev bs=4096 count=250000
mkfs.ext4 /mnt/s/lodev
mount -n -o loop,rw /mnt/s/lodev /mnt/test
The loopback mount is successful, but on reboot I get errors as mentioned above. Even mouting with 'sync','data=writeback' does not help.
I tried to losetup a device, but see the same behavior.
I also reformatted the base device and created the loopback device and mounted as above, I still see these errors. I do not see them when I format them as vfat.
Appreciate any suggestions on this problem.