mdraid volume does not get mounted using fstab, but manually
#1
Tue, 2015-09-29 19:00
troubleticket
-
- Offline
- 1 year 9 months ago
- 2013-06-21
Hi forum,
building a Server for a friend of mine gives the above problem:
I created a raid1 device on a running alpine 3.2.3 installation, which should mount under /var/storage as storage for a samba-share.
Mounting it manually ("mount -a" after boot/login as root) works perfectely.
But neither using "UUID=" nor "/dev/md0" in fstab lets it mount automatically on boot.
initramfs and extlinux are updated, but no success so far ...
What may I be missing?
Thank you for your time reading (&perhaps answering)
Joachim -Joe- Weber
hi joe,
i tried to setup a softraid lvl 5 in a virtualbox (with alpine 3.3.1) using this HowTo:
http://wiki.alpinelinux.org/wiki/Setting_up_a_software_RAID_array
i added the following line to fstab:
finally i did this like the tutorial suggested:
...which results in a lot of errors during boot (/dev/md0 on /mnt/raid failed: No such file or directory)
but i found a hint in the setup-disk-script, obviously the runlevel is an important thing and it did the trick (for my case):