Scott,

mount and its options in fstab will not mount a raid device attached to
a file.

/somefile /somelocation ext4 loop 0 0

because mdadm must assemble and start the array first:

mdadm --assemble --scan /dev/someloopdevice

and losetup needs to setup that loop device first:

losetup /somefile /dev/someloopdevice

Any idea what the right way to do this is on boot!

More background:

This device won't be mounted in the host os.

the array gets mounted in an lxc container

yet the host OS must do the losetup and the array assemble

and start for the container to use the device...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/441454

Title:
  mountall fails on loop-device without losetup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/441454/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to