Author |
Message |
pompeyjohn
|
Posted: Tue Nov 22, 2005 9:37 am |
|
Joined: Sat Oct 01, 2005 7:36 am
Posts: 32
|
Hi there,
Simple newbie question: I have set up a ubuntu install for my main machine. I would like to...
1. transfer files back and forth between the two machines
2. set up directories on each machine to be view as local directories - music files on ubuntu show up in knoppmyth for example.
Can I get some advice please on how to set this up - I have had a look around the forum but not found anything.
Many thanks in advance,
John
ps. now running 26 - and think it is excellent 
|
|
Top |
|
 |
cesman
|
Posted: Tue Nov 22, 2005 10:42 am |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
NFS or Samba. Details are here and on the wiki.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
 |
benjohnson
|
Posted: Wed Nov 23, 2005 7:52 am |
|
Joined: Wed Jul 21, 2004 7:09 pm
Posts: 71
Location:
Mounds View, MN (burbs of MSP)
|
The only problem with R5A16 and NFS that I found was that the mythtv user and group uid and gid are the same as ubuntu's syslog user. So you either have to change the uid oand gid of one or the other. I don't know if this is a problem in R5A22 or 26. I don't remember having to monley around in R5A12 either.
Why not samba you ask, well I have run up against the 2GB limit in samba before and I think nfs is nore seemless and faster between to linux machines. The downside is that you can't mount with different users and groups like samba.
_________________ FRONTEND 1 - R5A16, Athlon 3000+, NVidia Motherboard, SB live, GeForce 5200, AA 9A60
FRONTEND 2 - R5A16, Athlon 2500+, Nvidia Motherboard, SB Live, GeForce 440MX, TV-OUT
BACKEND - R5A16, Althon 1700+, Nvidia MB, 2- HD3000's, 450GB LVM partition
|
|
Top |
|
 |
ceenvee703
|
Posted: Wed Nov 23, 2005 11:18 am |
|
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location:
Virginia, USA
|
Quote: I have run up against the 2GB limit in samba before
Not sure what limit you're referring to: my personal record is a 15GB HD recording copied via samba from my MythTV box to my Windows box.
|
|
Top |
|
 |
Mephi
|
Posted: Wed Nov 23, 2005 4:09 pm |
|
Joined: Sat Feb 26, 2005 9:05 am
Posts: 160
Location:
Ipswich, UK
|
I managed to get directories mounted between my myth box and a Debian server quite easily. I'm on the verge of stopping calling myself a Linux newbie, but I'm still far from proficient.
I've been keeping a log of what I'm doing, so if people need it I'll write it up and post it here and/or on the wiki. It was mostly using the current wiki entries and the samba tool, swat.
Details on samba and swat are here:
http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/
Mephi
|
|
Top |
|
 |
dyinman
|
Posted: Mon Dec 05, 2005 6:36 pm |
|
|
I've been having troubles with the mythtv-backend writing to a smb mount more than 2gb in one contiguous file. It crashes my backend everytime it reaches that 2gb mark... I think I might go to NFS anyway.
I would suggest that to anybody having the same problem.
|
|
Top |
|
 |
tjc
|
Posted: Mon Dec 05, 2005 7:19 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Sharing files Linux <-> Linux, NFS is the more natural choice...
|
|
Top |
|
 |
pompeyjohn
|
Posted: Wed Feb 01, 2006 6:33 pm |
|
Joined: Sat Oct 01, 2005 7:36 am
Posts: 32
|
Thanks guys, as the other machine is Ubuntu, I am going with NFS.
But, I still have a problem. I have searched around on here, on ubuntuforums - and elsewhere. So if anyone can help much appreciated.
The problem is that I want to share the contents of a USB drive between the two machines using NFS. Doesnt sound like much of a problem eh? Well in in Ubuntu it automounts as "WD USB 2" - and it seems that either NFS or Ubuntu (or both) have problems with the spaces in the drive name.
If I try to share a sub folder on it in Ubuntu using their NFS right click applet - the system insists on calling the share "WD." Frustrating as I'd rather not share the whole drive. Attempts to share the whole drive also come up with "WD."
As that name is automatically generated when the drive mounts I cant change it. I have asked around on the Ubuntu forums if it is possible to change it, and no one seems to know how.
I have tried creating a symbolic link in a folder, and sharing the folder - that doesnt work either. I have tried using NFS to link to the device or media point. Neither work.
From the knoppmyth side, it shows up fine - but again, I cant get to it from the other machine.
I have looked into NFS and it doesnt appear that you can use "" in a syntax to force a name - I tried it anyway. No joy.
Well, I am at a loss with it. If anyone has an ideas - much appreciated.
|
|
Top |
|
 |
tjc
|
Posted: Wed Feb 01, 2006 11:39 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
use the mount command to show how it's mounted. You maybe able to add an entry to /etc/fstab for the device to have it mounted in a location of your choice. For example supermount in Mandrake/Mandriva would automount CDs and my USB 2.0 CF "drive" as soon as they were inserted, while still honoring the mount points set for those device.
|
|
Top |
|
 |