The script varies from machine to machine. But here's one from a Rivendell machine I built last year:

#!/bin/bash

# STARTUP SCRIPT

sleep 10

# PERMISSION SERIAL PORT
chmod o+rw /dev/ttyS0

# MOUNT VOLUMES
mount -U b5c34efb-0a26-4a5d-ad1b-ba6708d93fb4 /var/snd



Rob

--
Не думай что всё пропели,
Что бури все отгремели;
Готовься к великой цели,
А слава тебя найдёт.


On Sun, 19 Sep 2021, wa7skg wrote:

Rob, would you mind sharing that script?

Michael


Rob Landry wrote on 9/19/21 6:12 AM:

I always write a "/root/startup.sh" shell script and set up a cron job to run it on boot. It includes a mount command for /var/snd and anything else I need to happen at boot time.

The problem with using /etc/fstab is that if a mount fails, the machine won't boot at all, making it impossible to diagnose the problem remotely.


Rob

--
Не думай что всё пропели,
Что бури все отгремели;
Готовься к великой цели,
А слава тебя найдёт.


On Sat, 18 Sep 2021, wa7skg wrote:

Rivendell 3.5.0, CestOS 7.

I am still having problems with mounting /var/snd on reboot.

I have tried many variations of fstab entries, systemd stuff, and the
[AudioStore]. Nothing seems to work.

Here's an excerpt from the messages file:


Sep 18 09:00:40 khrb-rd2 systemd: Configuration file /etc/systemd/system/var-snd.mount is marked executable. Please remove executable permission bits. Proceeding anyway. Sep 18 09:00:40 khrb-rd2 systemd: Found ordering cycle on nfs-server.service/start
Sep 18 09:00:40 khrb-rd2 systemd: Found dependency on var-snd.mount/start
Sep 18 09:00:40 khrb-rd2 systemd: Found dependency on nfs-server.service/start Sep 18 09:00:40 khrb-rd2 systemd: Breaking ordering cycle by deleting job var-snd.mount/start Sep 18 09:00:40 khrb-rd2 systemd: Job var-snd.mount/start deleted to break ordering cycle starting with nfs-server.service/start


I removed the executable bits from /etc/systemd/system/var-snd.mount and no longer get that warning, however it still does not mount on reboot. This has really caused us some issues when someone used the computer and /var/snd was not mounted. Carts were created but were only stored on the local drive. Then they did not air from the main on air machine.

Further ideas on getting /var/snd to mount the remote folder on reboot would be greatly appreciated.



--
73,
Michael WA7SKG

"Any day you do not learn one new thing is a wasted day."
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to