Re: [RDD] Importing audio on new drive

2022-04-01 Thread Fred Gleason
On Mar 31, 2022, at 09:47, David Klann  wrote:

> For the record, the "Fred Gleason recommended way(tm)" to attach remote file 
> systems uses the autofs[1] subsystem. Autofs causes remote file systems to be 
> attached at the time they are accessed and are detached when unused for a 
> specified period of time.

Yup. :)

The beauty of autofs is that it can automatically ‘heal’ situations that 
otherwise can cause major grief. A classic one is recovery from a facility-wide 
power failure. It’s not uncommon for the Rivendell server to take significantly 
longer to finish rebooting than many workstations; with the result that 
fstab(5) based setups end up with ‘/var/snd’ not being mounted from the server. 
If you’re “lucky”, this will show up right away when audio doesn’t play. The 
really invidious case though is with dedicated net catchers, which will happily 
record audio to the machine's local drive rather than the server. This 
sometimes doesn’t get caught until hours (or days!) later, when incorrect/dated 
material hits the air.

Cheers!


|-|
| Frederick F. Gleason, Jr. | Chief Developer |
|   | Paravel Systems |
|-|
| A room without books is like a body without a soul. |
| |
| -- Cicero   |
|-|___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing audio on new drive

2022-04-01 Thread Rob Landry


After going through the standard Paravel Rivendell 3 install procedure, I 
moved /var/snd to /var/snd.0 and created a new empty /var/snd .


Then I used blkid to find the uuid of the audio disk drive.  I then 
created the following:


# /root/startup.sh :

#!/bin/bash

# STARTUP SCRIPT

sleep 30

# MOUNT /var/snd
mount -U cc4434f0-1e78-4759-a6e5-fbd7785f7227 /var/snd


## root's crontab:

# CRON TABLE FOR root

USER=root
PATH=/bin:/usr/bin:/usr/local/bin:/root

#m  h   d   m   w   what

# STARTUP
@reboot startup.sh

##

...and that's it. After mounting the disk to /var/snd for the first time, 
I changed its ownership and group to "rivendell":


chown -R rivendell /var/snd
chgrp -R rivendell /var/snd


Rob

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


On Wed, 30 Mar 2022, Seth Stevenson wrote:


Would you mind sharing how you set that up, and a script if possible?

On Wed, Mar 30, 2022 at 2:43 PM Rob Landry <41001...@interpring.com> wrote:

  I have long been in the habit of building Rivendell machines
  with two
  drives: a smaller solid-state drive for the OS, and a larger
  mechanical
  drive, typically 2 TB, for the audio files. Rather than using
  /etc/fstab, though, I have a cron job running as root that
  mounts the big
  drive as /var/snd after booting.

  If something happens to the audio drive and someone reboots the
  machine,
  if the drive is listed in /etc/fstab and can't be mounted, the
  machine
  won't boot.

  But if the drive is mounted after booting, the OS will still run
  and I can
  troubleshoot the machine remotely. Most of the stations I
  support are 2+
  hours drive from me, so it pays to know that I need a new drive
  before I
  leave home.


  Rob

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


  On Tue, 29 Mar 2022, ermina wrote:

  > Hi,
  >
  > not sure how RD4 works yet, but if your installation is on a
  single
  > computer, you can just edit /etc/fstab to bind the path where
  you
  > actually store your files to /var/snd; ie add a line that
  says:
  >
  > /media/rd/F00E70710E703328/var/snd/   /var/snd    none bind 0
  0
  >
  > Hope this helps.
  >
  > . leo
  >
  > On 3/26/22 8:09 PM, Seth Stevenson wrote:
  >>
  >> I using the new ubuntu studio version of Rivendell with the
  4.0 version
  >> of Rivendell. I was able to import files just fine with the
  standard setup.
  >>
  >> However I needed to move /var/snd to a bigger second drive. I
  deleted
  >> the /var/snd and created one on the second drive. I give it
  permissions
  >> per normal. However rdimport now errors with "unable to
  create the
  >> destination file".
  >>
  >> The path I'm using on the new drive is
  >> this /media/rd/F00E70710E703328/var/snd/
  >>
  >> What  am I missing in order to get rivendell to see the new
  /var/snd
  >> location?
  >>
  >> --
  >> Seth Stevenson
  >>
  >> ___
  >> Rivendell-dev mailing list
  >> Rivendell-dev@lists.rivendellaudio.org
  >>
  http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
  >>
  > ___
  > Rivendell-dev mailing list
  > Rivendell-dev@lists.rivendellaudio.org
  >
  http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
  >___
  Rivendell-dev mailing list
  Rivendell-dev@lists.rivendellaudio.org
  http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

--
Seth Stevenson

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing audio on new drive

2022-03-31 Thread Seth Stevenson
Yes I would like details as well.

On Thu, Mar 31, 2022 at 7:47 AM drew Roberts  wrote:

> Thanks Rob,
>
> interesting idea, I will have to play with it.
>
> Care to share the "full details" of the cron job for those of us who are
> reading this while it is still "too early"???
>
> all the best,
>
> drew
>
> On Wed, Mar 30, 2022 at 2:50 PM Rob Landry <41001...@interpring.com>
> wrote:
>
>>
>> I have long been in the habit of building Rivendell machines with two
>> drives: a smaller solid-state drive for the OS, and a larger mechanical
>> drive, typically 2 TB, for the audio files. Rather than using
>> /etc/fstab, though, I have a cron job running as root that mounts the big
>> drive as /var/snd after booting.
>>
>> If something happens to the audio drive and someone reboots the machine,
>> if the drive is listed in /etc/fstab and can't be mounted, the machine
>> won't boot.
>>
>> But if the drive is mounted after booting, the OS will still run and I
>> can
>> troubleshoot the machine remotely. Most of the stations I support are 2+
>> hours drive from me, so it pays to know that I need a new drive before I
>> leave home.
>>
>>
>> Rob
>>
>> --
>> Не думай что всё пропели,
>> Что бури все отгремели;
>> Готовься к великой цели,
>> А слава тебя найдёт.
>>
>>
>> On Tue, 29 Mar 2022, ermina wrote:
>>
>> > Hi,
>> >
>> > not sure how RD4 works yet, but if your installation is on a single
>> > computer, you can just edit /etc/fstab to bind the path where you
>> > actually store your files to /var/snd; ie add a line that says:
>> >
>> > /media/rd/F00E70710E703328/var/snd/   /var/sndnone bind 0 0
>> >
>> > Hope this helps.
>> >
>> > . leo
>> >
>> > On 3/26/22 8:09 PM, Seth Stevenson wrote:
>> >>
>> >> I using the new ubuntu studio version of Rivendell with the 4.0
>> version
>> >> of Rivendell. I was able to import files just fine with the standard
>> setup.
>> >>
>> >> However I needed to move /var/snd to a bigger second drive. I deleted
>> >> the /var/snd and created one on the second drive. I give it
>> permissions
>> >> per normal. However rdimport now errors with "unable to create the
>> >> destination file".
>> >>
>> >> The path I'm using on the new drive is
>> >> this /media/rd/F00E70710E703328/var/snd/
>> >>
>> >> What  am I missing in order to get rivendell to see the new /var/snd
>> >> location?
>> >>
>> >> --
>> >> Seth Stevenson
>> >>
>> >> ___
>> >> Rivendell-dev mailing list
>> >> Rivendell-dev@lists.rivendellaudio.org
>> >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>> >>
>> > ___
>> > Rivendell-dev mailing list
>> > Rivendell-dev@lists.rivendellaudio.org
>> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>> >___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>
>
> --
> Enjoy the *Paradise Island Cam* playing
> *Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
-- 
Seth Stevenson
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing audio on new drive

2022-03-31 Thread drew Roberts
Thanks Rob,

interesting idea, I will have to play with it.

Care to share the "full details" of the cron job for those of us who are
reading this while it is still "too early"???

all the best,

drew

On Wed, Mar 30, 2022 at 2:50 PM Rob Landry <41001...@interpring.com> wrote:

>
> I have long been in the habit of building Rivendell machines with two
> drives: a smaller solid-state drive for the OS, and a larger mechanical
> drive, typically 2 TB, for the audio files. Rather than using
> /etc/fstab, though, I have a cron job running as root that mounts the big
> drive as /var/snd after booting.
>
> If something happens to the audio drive and someone reboots the machine,
> if the drive is listed in /etc/fstab and can't be mounted, the machine
> won't boot.
>
> But if the drive is mounted after booting, the OS will still run and I can
> troubleshoot the machine remotely. Most of the stations I support are 2+
> hours drive from me, so it pays to know that I need a new drive before I
> leave home.
>
>
> Rob
>
> --
> Не думай что всё пропели,
> Что бури все отгремели;
> Готовься к великой цели,
> А слава тебя найдёт.
>
>
> On Tue, 29 Mar 2022, ermina wrote:
>
> > Hi,
> >
> > not sure how RD4 works yet, but if your installation is on a single
> > computer, you can just edit /etc/fstab to bind the path where you
> > actually store your files to /var/snd; ie add a line that says:
> >
> > /media/rd/F00E70710E703328/var/snd/   /var/sndnone bind 0 0
> >
> > Hope this helps.
> >
> > . leo
> >
> > On 3/26/22 8:09 PM, Seth Stevenson wrote:
> >>
> >> I using the new ubuntu studio version of Rivendell with the 4.0 version
> >> of Rivendell. I was able to import files just fine with the standard
> setup.
> >>
> >> However I needed to move /var/snd to a bigger second drive. I deleted
> >> the /var/snd and created one on the second drive. I give it permissions
> >> per normal. However rdimport now errors with "unable to create the
> >> destination file".
> >>
> >> The path I'm using on the new drive is
> >> this /media/rd/F00E70710E703328/var/snd/
> >>
> >> What  am I missing in order to get rivendell to see the new /var/snd
> >> location?
> >>
> >> --
> >> Seth Stevenson
> >>
> >> ___
> >> Rivendell-dev mailing list
> >> Rivendell-dev@lists.rivendellaudio.org
> >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >>
> > ___
> > Rivendell-dev mailing list
> > Rivendell-dev@lists.rivendellaudio.org
> > http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>


-- 
Enjoy the *Paradise Island Cam* playing
*Bahamian Or Nuttin* - https://www.paradiseislandcam.com/
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing audio on new drive

2022-03-30 Thread Rob Landry


I have long been in the habit of building Rivendell machines with two 
drives: a smaller solid-state drive for the OS, and a larger mechanical 
drive, typically 2 TB, for the audio files. Rather than using 
/etc/fstab, though, I have a cron job running as root that mounts the big 
drive as /var/snd after booting.


If something happens to the audio drive and someone reboots the machine, 
if the drive is listed in /etc/fstab and can't be mounted, the machine 
won't boot.


But if the drive is mounted after booting, the OS will still run and I can 
troubleshoot the machine remotely. Most of the stations I support are 2+ 
hours drive from me, so it pays to know that I need a new drive before I 
leave home.



Rob

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


On Tue, 29 Mar 2022, ermina wrote:


Hi,

not sure how RD4 works yet, but if your installation is on a single 
computer, you can just edit /etc/fstab to bind the path where you 
actually store your files to /var/snd; ie add a line that says:


/media/rd/F00E70710E703328/var/snd/ /var/sndnone bind 0 0

Hope this helps.

. leo

On 3/26/22 8:09 PM, Seth Stevenson wrote:


I using the new ubuntu studio version of Rivendell with the 4.0 version 
of Rivendell. I was able to import files just fine with the standard setup.


However I needed to move /var/snd to a bigger second drive. I deleted 
the /var/snd and created one on the second drive. I give it permissions 
per normal. However rdimport now errors with "unable to create the 
destination file".


The path I'm using on the new drive is 
this /media/rd/F00E70710E703328/var/snd/


What  am I missing in order to get rivendell to see the new /var/snd 
location?


--
Seth Stevenson

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing audio on new drive

2022-03-29 Thread ermina

Hi,

not sure how RD4 works yet, but if your installation is on a single 
computer, you can just edit /etc/fstab to bind the path where you 
actually store your files to /var/snd; ie add a line that says:


/media/rd/F00E70710E703328/var/snd/ /var/sndnone bind 0 0

Hope this helps.

. leo

On 3/26/22 8:09 PM, Seth Stevenson wrote:


I using the new ubuntu studio version of Rivendell with the 4.0 version 
of Rivendell. I was able to import files just fine with the standard setup.


However I needed to move /var/snd to a bigger second drive. I deleted 
the /var/snd and created one on the second drive. I give it permissions 
per normal. However rdimport now errors with "unable to create the 
destination file".


The path I'm using on the new drive is 
this /media/rd/F00E70710E703328/var/snd/


What  am I missing in order to get rivendell to see the new /var/snd 
location?


--
Seth Stevenson

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing audio on new drive

2022-03-27 Thread Chuck
> On  Sa, 26 Mar 2022 19:15:08 +> Jay Schell 
wrote:> > Did you create an alias (this may be the wrong term) so that
/var/snd points to the new > location? <
It's called a symbolic link, but I like "alias" better.  I have never
been able to get a sym link creation command to work.  When viewing
/var/snd, it needs to show the cart files, but my attempts at a sym
link always showed the drive label, not the contents.
So I used the gnome-disk-utility with the following steps.
--delete all files in the original /var/snd and make sure its
permissionsare rivendell:rivendell (owner:group)--download "gnome-disk-
utility"--open Disks and select the new drive; click on the tiny
gearicon; select 'modify mount options' and mount that drive to
/var/snd;when you open /var/snd, it must display the file contents of
the drive,and NOT just the label of the drive--make sure the drive
itself, and all the file contents arerivendell:rivendell (owner:group)
I am not IT savy enough to know what that utility does, but it worked
for me.
--Chuck


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Importing audio on new drive

2022-03-26 Thread Jay Schell
Did you create an alias (this may be the wrong term) so that /var/snd points to 
the new location?

Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>

From: rivendell-dev-boun...@lists.rivendellaudio.org 
 on behalf of Seth Stevenson 

Sent: Saturday, March 26, 2022 3:09:59 PM
To: User discussion about the Rivendell Radio Automation System 

Subject: [RDD] Importing audio on new drive


UF ITS CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you recognize the sender and know the 
content is safe.


[https://lh3.googleusercontent.com/a/AATXAJwpvXn6O2poSQ-GEOAQHdm5Tpsb2INer1nxrK8C=s40-mo]

I using the new ubuntu studio version of Rivendell with the 4.0 version of 
Rivendell. I was able to import files just fine with the standard setup.

However I needed to move /var/snd to a bigger second drive. I deleted the 
/var/snd and created one on the second drive. I give it permissions per normal. 
However rdimport now errors with "unable to create the destination file".

The path I'm using on the new drive is this /media/rd/F00E70710E703328/var/snd/

What  am I missing in order to get rivendell to see the new /var/snd location?

--
Seth Stevenson
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Importing audio on new drive

2022-03-26 Thread Seth Stevenson
I using the new ubuntu studio version of Rivendell with the 4.0 version of
Rivendell. I was able to import files just fine with the standard setup.

However I needed to move /var/snd to a bigger second drive. I deleted the
/var/snd and created one on the second drive. I give it permissions per
normal. However rdimport now errors with "unable to create the destination
file".

The path I'm using on the new drive is
this /media/rd/F00E70710E703328/var/snd/

What  am I missing in order to get rivendell to see the new /var/snd
location?

-- 
Seth Stevenson
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev