Where to define filesystems to mount at boot time

Hello,
I've setup a RAID 1 array with two hard drives (on each drive one partition covering the whole space) on a Buffalo Linkstation.
After that I created a logical volume using lvm2 and formatted it using xfs.
For this logical volume I made an entry in /etc/fstab:

/dev/lvm/serverbackups /data/serverbackups xfs errors=remount-ro 0 1

Using "mount -a" works fine, but during boot the filesystem does not get mounted.

I noticed that /etc/fstab was empty before so I think that OpenWRT defines the mount points in an other way and does not make use of "mount -a" at boot time like other Linux systems?

Do you have a hint where to place the information so that the file system gets mounted automagically?

Thank you!

1 Like
1 Like

I think the fstab configuration page is a little bit more helpful. Don't know why I did not find it yesterday :slight_smile:
The "Mounting Block Devices" page is more confusing because it reflects several major changes regarding the implementation but not the current, consolidated state.
Thank you very much for pointing me to that!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.