ext4 loopback device, Buffer I/O Error on reboot
Posted
by
cvb
on Server Fault
See other posts from Server Fault
or by cvb
Published on 2012-06-11T21:43:50Z
Indexed on
2012/06/11
22:41 UTC
Read the original article
Hit count: 219
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.
© Server Fault or respective owner