|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Novell Archives Archived content from Novell openSUSE support forums |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I'm trying to get my desktop networked to my laptop so I can backup via
rsync. At this moment, I'm having difficulty trying to persuade my desktop machine to let me write files from my laptop to the remote directory on my desktop. I have two machines here for this problem. Both are set up with static ip addresses, and I export three directories from the desktop, using the yast2-nfsserver. For each directory, I tell it to use host with my laptop ip address,rw, no_check_subtree, async. On the laptop, I've created a new directory, /network, with three sub-directories, into which I've told yast2-nfsclient to mount the three exported directories from the desktop. This works. I can see the directories in Konqueror, and I can drag files from the desktop server to the laptop. What I can't get is write permission on the d#$%%$$$ desktop server. I can't create folders or write files there, which pretty much defeats backing up. I use the same user id on both computers. I have the exported directories share permission set to export to local nfs, with the ip addresses specified. As user, I own the exported directories. This is really frustrating. I've discovered three different ways to export nfs directories - 1. Modify the share settings in the directory to be exported. 2. Go to Yast, then the nfs-server settings page. 3. Manually modify the /etc/exports file. 1. and 2. seem to interact as well. Anyone have a suggestion where to look to get this to work again? (I had it working fine before upgrading to 10.3) Bob. |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 This isn't going to help with your NFS at all but since you're using rsync have you tried rsync over SSH? Everybody I know who uses that loves it as it reduces the number of exposed services and also encrypts all the traffic while keeping all the fun of rsync implemented. Good luck. Robert Smits wrote: | I'm trying to get my desktop networked to my laptop so I can backup via | rsync. | | At this moment, I'm having difficulty trying to persuade my desktop machine | to let me write files from my laptop to the remote directory on my desktop. | | I have two machines here for this problem. Both are set up with static ip | addresses, and I export three directories from the desktop, using the | yast2-nfsserver. For each directory, I tell it to use host with my laptop | ip address,rw, no_check_subtree, async. | | On the laptop, I've created a new directory, /network, with three | sub-directories, into which I've told yast2-nfsclient to mount the three | exported directories from the desktop. This works. I can see the | directories in Konqueror, and I can drag files from the desktop server to | the laptop. What I can't get is write permission on the d#$%%$$$ desktop | server. I can't create folders or write files there, which pretty much | defeats backing up. | | I use the same user id on both computers. I have the exported directories | share permission set to export to local nfs, with the ip addresses | specified. As user, I own the exported directories. | | This is really frustrating. | | I've discovered three different ways to export nfs directories - | | 1. Modify the share settings in the directory to be exported. | 2. Go to Yast, then the nfs-server settings page. | 3. Manually modify the /etc/exports file. | | 1. and 2. seem to interact as well. | | Anyone have a suggestion where to look to get this to work again? | (I had it working fine before upgrading to 10.3) | | Bob. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIRTyW3s42bA80+9kRAmMjAJ4pzwg7af1Jd8uvpVQvDV nKpmhb6gCfZ9iy DVhazItQD/ASnl7Q9v3nlpI= =GH3c -----END PGP SIGNATURE----- |
|
|||
|
Robert Smits wrote:
> For each directory, I tell it to use host with my laptop > ip address,rw, no_check_subtree, async. Are you trying to write these files as root? If so, try the no_root_squash parm as one of your export options on the nfs server. -- Menes Narmer menesofmemphis [at] gmail [dot] com "Unity and humility is the lesson all of history teaches." |
|
|||
|
Menes Narmer wrote:
> Robert Smits wrote: > >> For each directory, I tell it to use host with my laptop >> ip address,rw, no_check_subtree, async. > > Are you trying to write these files as root? If so, try the > no_root_squash parm as one of your export options on the nfs server. > No, I'm trying to write these files as a user. At both ends. (Client and Server) Bob |
|
|||
|
Robert Smits wrote:
> No, I'm trying to write these files as a user. POSIX rights? Can the same user touch a file in the same filesystem directly (not through NFS)? -- Menes Narmer menesofmemphis [at] gmail [dot] com "Unity and humility is the lesson all of history teaches." |
|
|||
|
On Tue, 2008-06-03 at 22:24 +0000, Menes Narmer wrote:
> Robert Smits wrote: > > > No, I'm trying to write these files as a user. > > POSIX rights? Can the same user touch a file in the same filesystem > directly (not through NFS)? > Also, you want to have common usernames/uids across systems (e.g. use LDAP or NIS). Just stabbing in the dark... |
|
|||
|
Chris Cox wrote:
> On Tue, 2008-06-03 at 22:24 +0000, Menes Narmer wrote: >> Robert Smits wrote: >> >> > No, I'm trying to write these files as a user. >> >> POSIX rights? Can the same user touch a file in the same filesystem >> directly (not through NFS)? >> > > Also, you want to have common usernames/uids across systems (e.g. > use LDAP or NIS). Just stabbing in the dark... First, yes I use the same usernames on both machines. I have no idea what POSIX rights are or how to determine them. Also stabbing in the dark.... Bob. -- Robert Smits Nanaimo, Duncan & District Labour Council |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|