Mount AUFS pooled volume on boot (persistent / permanent)

Tags:

Answer: 1

6 hours ago

I have mounted aufs with the following command:

sudo mount -t aufs -o br=/mnt/disk1=rw:/mnt/disk2=rw -o sum -o udba=reval -o create=pmfs none /mnt/virtual

It seems tow ork as expected so far with files from both disks appearing in virtual directory. The issue is that it gets unmounted on reboot. How do I mount it permanently so it remains after reboot?

I don't think it can be done in fstab as it's only for physical devices or so it seems. What is the correct way of achieving this?

Answer: 2

13 hours ago

Putting the line in /etc/rc.local should do the trick.

Added by: Heather Ratke

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9