Anyone have any experience with loopback devices?  I think they're broken in
redhat 7.2 and I'd like confirmation / enlightenment.  I've seen erratic
behavior, including data loss and complete system crashes. :-(

I made one loopback device and of exactly 1 gigabyte and downloaded about
650 megabytes of files into it.  All was well.

I made another loopback device with another file, and all seemed well except
that I couldn't fill it anywhere near full.  On a 640MB file I ran out of
space after cp'ing in only 330MB worth of files.  This behavior was
reproducible and consistent.  Furthermore, the following command caused the
entire system to crash:

        # updates2 is the mountpoint of the problem loopback device.
        # 307200k is 300 megabytes
        dd if=/dev/zero of=/mnt/space/updates2/testfile bs=1k count=307200

After booting back up, wiping and recreating the device, and remounting the
second loopback filesystem the same thing happened again.

Booting again, and recreating the device, followed by attempting to mount -o
loop the device file again without using losetup first caused the system to
almost immediately crash.  Nothing in the logs, just sayonara.  Admittedly I
should've used losetup to associate the loopback device with a file first
(forgot), but it still shouldn't cause the entire system to crash, should
it?

--
Trever Furnish, tgfurnish at herff-jones.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to