[nfs-discuss] "No such file or directory" error

2009-12-15 Thread Tom Haynes
Andre Goree wrote:
> Hmmm, apparently the default is "sys" as I determined by looking at 
> /etc/nfssec.conf
>   

There is sometimes a negotiation going on.

> Here are the three commands and their output:
>
> andre at sol:~# mount -o sec=sys /mnt/mandibox
> nfs mount: mandibox:/home/andre: No such file or directory
>   

I take it /home/andre does exisit on mandibox?

And that if you are trying this from a Linux client, it just works?

Could you get snoop output?

On your OpenSolaris client:

# snoop -o /root/mount.scp mandibox sol

where mandibox and sol are the names of the two machines involved.

If possible, don't have any other connection between the two going on
(e.g., a ssh session from one to the other to do scripting/commands).

And then share it with us.


[nfs-discuss] "No such file or directory" error

2009-12-15 Thread Tom Haynes
Andre Goree wrote:
> Hello all.  I'm having an issue using NFS in OpenSolaris 2009.06.  I have a 
> Linux server (Mandriva) whose shares I'm trying to connect to, and for some 
> unown reason, I keep failing.  I've searched for a while and have tried all 
> kinds of different solutions but nothing has worked so far.
>
> Here is the output of [i]showmount -e mandibox.drenet.local[/i]:
> export list for mandibox.drenet.local:
> /home/andre/Videos *
> /backups   *
> /home/andre*
>
> Here is my /etc/vfstab file on OS:
> #device device  mount   FS  fsckmount   mount
> #to mount   to fsck point   typepassat boot 
> options
> #
> /devices-   /devicesdevfs   -   no  -
> /proc   -   /proc   proc-   no  -
> ctfs-   /system/contract ctfs   -   no  -
> objfs   -   /system/object  objfs   -   no  -
> sharefs -   /etc/dfs/sharetab   sharefs -   no
>   -
> fd  -   /dev/fd fd  -   no  -
> swap-   /tmptmpfs   -   yes -
> /dev/zvol/dsk/rpool/swap-   -   swap- 
>   no  -
> mandibox:/home/andre-   /mnt/mandibox   nfs -   yes rw
>
> Here is my /etc/exports file on my Linux server:
> # generated by drakhosts.pl
> /home/andre *(no_root_squash,async,insecure,subtree_check,rw)
> /backups *(no_root_squash,async,insecure,no_subtree_check,rw)
> /home/andre/Videos *(no_root_squash,async,insecure,subtree_check,rw)
>
> Output of [i]getent hosts 10.0.0.100[/i]:
> 10.0.0.100 mandibox.drenet.local
>
> I've tried different things, such as specifying NFS version 3 (via the 
> command as well as via /etc/default/nfs file) and adding the "fsid=0" option 
> to my /etc/exports file, but to no avail.
>
> Can anyone help a solaris noob out?
>   

Please try specifying sec=sys as one of your mount options...

Both Linux and OpenSolaris had bugs in this area.




[nfs-discuss] "No such file or directory" error

2009-12-15 Thread Andre Goree
Yes, /home/andre does exist and is accessible by other Linux clients (and 
FreeBSD clients for that matter).  Yes, it simply works by editing the fstab 
file or using the proper command.

> Could you get snoop output?
> 
> On your OpenSolaris client:
> 
> # snoop -o /root/mount.scp mandibox sol
> 
> where mandibox and sol are the names of the two
> machines involved.
> 
> If possible, don't have any other connection between
> the two going on
> (e.g., a ssh session from one to the other to do
> scripting/commands).


Am I to understand this command as "snoop -o /root/mount.scp [nfs_server] 
[nfs_client]"?

The output of the above is:
andre at sol:~# snoop -o /root/mount.scp mandibox sol
Using device nge0 (promiscuous mode)
30 ^C

Where "^C" is where I canceled with [ctrl+c].  I had let this run for some time 
before cancelling (between 5-10 min).
-- 
This message posted from opensolaris.org


[nfs-discuss] "No such file or directory" error

2009-12-15 Thread Andre Goree
Hmmm, apparently the default is "sys" as I determined by looking at 
/etc/nfssec.conf

Here are the three commands and their output:

andre at sol:~# mount -o sec=sys /mnt/mandibox
nfs mount: mandibox:/home/andre: No such file or directory
andre at sol:~# mount -o sec=none /mnt/mandibox
nfs mount: mount: /mnt/mandibox: Permission denied
andre at sol:~# mount -o sec=dh /mnt/mandibox
nfs mount: errors constructing security related data
-- 
This message posted from opensolaris.org


[nfs-discuss] "No such file or directory" error

2009-12-15 Thread Andre Goree
Hello all.  I'm having an issue using NFS in OpenSolaris 2009.06.  I have a 
Linux server (Mandriva) whose shares I'm trying to connect to, and for some 
unown reason, I keep failing.  I've searched for a while and have tried all 
kinds of different solutions but nothing has worked so far.

Here is the output of [i]showmount -e mandibox.drenet.local[/i]:
export list for mandibox.drenet.local:
/home/andre/Videos *
/backups   *
/home/andre*

Here is my /etc/vfstab file on OS:
#device device  mount   FS  fsckmount   mount
#to mount   to fsck point   typepassat boot options
#
/devices-   /devicesdevfs   -   no  -
/proc   -   /proc   proc-   no  -
ctfs-   /system/contract ctfs   -   no  -
objfs   -   /system/object  objfs   -   no  -
sharefs -   /etc/dfs/sharetab   sharefs -   no  
-
fd  -   /dev/fd fd  -   no  -
swap-   /tmptmpfs   -   yes -
/dev/zvol/dsk/rpool/swap-   -   swap-   
no  -
mandibox:/home/andre-   /mnt/mandibox   nfs -   yes rw

Here is my /etc/exports file on my Linux server:
# generated by drakhosts.pl
/home/andre *(no_root_squash,async,insecure,subtree_check,rw)
/backups *(no_root_squash,async,insecure,no_subtree_check,rw)
/home/andre/Videos *(no_root_squash,async,insecure,subtree_check,rw)

Output of [i]getent hosts 10.0.0.100[/i]:
10.0.0.100 mandibox.drenet.local

I've tried different things, such as specifying NFS version 3 (via the command 
as well as via /etc/default/nfs file) and adding the "fsid=0" option to my 
/etc/exports file, but to no avail.

Can anyone help a solaris noob out?
-- 
This message posted from opensolaris.org