openSUSE Forums > Archives > Novell Archives » Too many nfs options!!!!!

Go Back   openSUSE Forums > Archives > Novell Archives
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
  #1 (permalink)  
Old 03-Jun-2008, 02:14
Robert Smits
Guest
 
Posts: n/a
Default Too many nfs options!!!!!

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.
  #2 (permalink)  
Old 03-Jun-2008, 07:44
ab@novell.com
Guest
 
Posts: n/a
Default Re: Too many nfs options!!!!!

-----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-----
  #3 (permalink)  
Old 03-Jun-2008, 13:54
Menes Narmer
Guest
 
Posts: n/a
Default Re: Too many nfs options!!!!!

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."
  #4 (permalink)  
Old 03-Jun-2008, 14:01
Robert Smits
Guest
 
Posts: n/a
Default Re: Too many nfs options!!!!!

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
  #5 (permalink)  
Old 03-Jun-2008, 17:24
Menes Narmer
Guest
 
Posts: n/a
Default Re: Too many nfs options!!!!!

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."
  #6 (permalink)  
Old 03-Jun-2008, 17:50
Chris Cox
Guest
 
Posts: n/a
Default Re: Too many nfs options!!!!!

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...


  #7 (permalink)  
Old 05-Jun-2008, 12:52
Robert Smits
Guest
 
Posts: n/a
Default Re: Too many nfs options!!!!!

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2