Hello and thanks Wayne!

I hadn't thought of keeping the RRAbuntu machine in operation as a server.
I had simply wanted to take the 2nd drive in that RRAbuntu machine that has
all our sound files on it, and is currently mapped to /var/snd in that
machine and put it into the new CentOS/Rivendell machine.

If I am understanding things, we'd do that via fstab, but first I must get
CentOS to see this 2nd drive when it's installed in the computer.

When I installed hwbrowser I can see a 2nd drive in the CentOS / Rivendell
computer, but I can't seem to figure out how to mount it so that the GUI or
OS sees it. That's why I was wondering about Disk Utility.

So, if all I wanted to do was to mount this 2nd drive into the CentOS
machine, and either map it to /var/snd or simply copy the RDLibrary files
over to the 1st drive (the one with the OS which does have enough room on
it, it's 1TB), what would you recommend?

and, a MILLION thanks for your help, kind sir!

Rene



On Tue, Jul 3, 2012 at 9:23 AM, Wayne Merricks <
waynemerri...@thevoiceasia.com> wrote:

> It depends what you're trying to do, if you are keeping your RRABuntu
> computer as some sort of server for the /var/snd you can mount it via NFS.
>
> On RRABuntu:
>
> sudo apt-get install nfs-kernel-server
>
> sudo nano /etc/exports
>
> In here add the line:
>
> /var/snd 10.44.0.0/255.255.0.0(rw,sync,all_squash,subtree_check)
>
> This requires some explanation
>
> /var/snd : the directory to share via NFS
> 10.44.0.0/255.255.0.0 : This is my network subnet that this will be
> shared with (this way you can be slightly more secure by restricting it
> to certain subnets).
>
> So if you had a 192.168.1.x network you could change this to
> 192.168.1.0/255.255.255.0
>
> The stuff in the brackets are then the sharing options:
>
> rw = share with read and write permissions
> sync = wait for data to be received/written before declaring it good and
> moving on.  This has the benefit of guaranteeing data delivery however
> because it has to wait for mechanical drives can be slower than async.
> Async will just write data to the buffers and move on however you never
> know if this buffer is ever read/written so there is potential for data
> loss.
>
> all_squash : ignores whatever linux user is in use at the remote end and
> squashes it down to fit the permissions on the share. This lets you do
> things like chmod/chown without having to have users with the same UID
> (I might have remembered this wrongly but its something random like that
> and allowing root permissions)
>
> subtree_check : something to do with parsing sub directories and
> applying permissions there too.
>
> Anyway once thats in the file and saved you can make the shares live by
> going:
>
> sudo exportfs -r -v
>
> Now on your CentOS client I think its the following packages that you
> need (courtesy of Google):
>
> yum install nfs-utils nfs-utils-lib
>
> Once thats in place test the share by the following:
>
> sudo mount -t nfs rrabuntu_host_name_or_ip:/var/snd /var/snd
>
> So for me this was sudo mount -t nfs ukaud001:/var/snd /var/snd if you
> don't have any DNS records just use the IP address instead.
>
> If that works for you, you can permanently mount it by adding the
> following to /etc/fstab:
>
> rrabuntu_host_name_or_ip:/var/snd /var/snd nfs
> rsize=8192,wsize=8192,timeo=14,intr
>
> The rsize and wsize is the size of the read and write buffers.  I think
> thats 8192KB.  The max is 32768.  I've found that I sometimes get drop
> outs with smaller buffer sizes.  I think I set mine as max, the server
> and clients will auto negotiate to the highest compatible buffer size
> anyway so its no big deal to go big.
>
> At this point you can reboot and see how you go.
>
> If you're adding a second drive, fstab is also the way to go and is
> quite simple.  This page has the info so no point retyping here:
>
> http://linux.justinhartman.com/Installing_a_second_hard_drive
>
> Obviously don't fdisk and format if partitions are already in place
>
> Wayne Merricks
> The Voice Asia
>
> On 03/07/12 14:07, ICR Programs wrote:
> > drive to /var/snd
>
>
>
> #######################
> Scanned by MailMarshal
> #######################
>
> ############
>
> Attention:
>
> The information contained in this message is confidential and intended
> for the addressee(s) only. If you have received this message in error
> or there are any problems, please notify the originator immediately.
> The unauthorised use, disclosure, copying or alteration of this message
> is strictly forbidden. Christian Vision or any of its subsidiaries will
> not be liable for direct, special, indirect or consequential damages
> arising from alteration of the contents of this message by a third party
> or as a result of any virus being passed on. Please note that we reserve
> the right to monitor and read any e-mails sent or received by the
> company under the Telecommunications (Lawful Business Practice)
> (Interception of Communications) Regulation 2000. Christian Vision is
> registered in England as a limited company 2842414 and as a charity
> 1031031
>
> ############
> _______________________________________________
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>



-- 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                          "Democracy is not a spectator sport"

                    Ithaca Community Radio -- 88.1 FM in Ithaca
                                WRFI 91.9 FM in Watkins Glen
                                     WINO 89.9 FM in Odessa

News, Culture & Information from our Neighborhoods and the World

*Phone*: 607.319.5445
*Email*:  progr...@ithacaradio.org
*Web*:    http://ithacaradio.org/


Mailing address:
The Clinton House
103 West Seneca St.
Suite 305
Ithaca, N.Y, 14850
_______________________________________________
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to