OpenSUSE Network :: NFSv4 Oddity On 4 Servers - Directory Export?
Jan 27, 2011
I'm running OpenSuSE 11.3 (64 bit) with the latest kernel update as of yesterday. I've recently moved from NFSv3 to NFSv4 on 4 servers. Between the 4 servers there are 9 exported directories. All of them work except 1 on 1 of the 4 servers.
/etc/exports
# NFSv4 fsid=0 for the top level directory
/export *(rw,fsid=0,async,no_subtree_check,insecure)
# End
# NFSv3
/export/apps/oracle *(rw,async,fsid=7,no_subtree_check,insecure)
/export/ftpserver *(rw,async,fsid=6,no_subtree_check,insecure)
# End
I had to keep the NFSv3 entry as I need that as the mount doesn't work with v4.
/export directory listing
/export:
total 5
drwxr-xr-x 4 root root 104 2002-08-08 16:47 .
drwxr-xr-x 33 root root 944 2011-01-25 17:28 ..
drwxr-xr-x 10 root root 232 2010-01-26 10:01 apps
drwxr-xr-x 8 root root 4096 2010-12-13 12:31 ftpserver
/export/apps:
total 0
drwxr-xr-x 10 root root 232 2010-01-26 10:01 .
drwxr-xr-x 4 root root 104 2002-08-08 16:47 ..
drwx------ 3 root root 72 2008-08-06 16:40 etc
drwxr-xr-x 2 root root 240 2011-01-24 03:00 htdig
drwx------ 3 root root 72 2008-08-06 16:40 lib
drwx------ 2 root root 48 2002-07-02 13:18 lost+found
drwxr-xr-x 4 oracle oinstall 104 2009-01-07 09:59 oracle
drwx------ 5 root root 120 2008-08-06 16:40 usr
Now on any of the 4 servers if I do:
# mount -t nfs4 machinename:/apps/oracle /mnt
mount.nfs4: mounting lister:/apps/oracle failed, reason given by server:
No such file or directory
But the other sub-dir of /export is fine:
# mount -t nfs4 machinename:/apps/ftpserver /mnt
If I mount the pseudo root:
# mount -t nfs4 machinename:/ /mnt
# ls -l /mnt
total 4
drwxr-xr-x 2 root root 48 2002-08-08 15:20 apps
drwxr-xr-x 8 root root 4096 2010-12-13 12:31 ftpserver
But the apps sub-dir is empty
# ls -l /mnt/apps
total 0
On the server:
# ls -l /export/apps
total 0
drwx------ 3 root root 72 2008-08-06 16:40 etc
drwxr-xr-x 2 root root 240 2011-01-24 03:00 htdig
drwx------ 3 root root 72 2008-08-06 16:40 lib
drwx------ 2 root root 48 2002-07-02 13:18 lost+found
drwxr-xr-x 4 oracle oinstall 104 2009-01-07 09:59 oracle
drwx------ 5 root root 120 2008-08-06 16:40 usr
Well that explains why the NFSv4 mount of /apps/oracle fails because for some reason it can't "see" any files below that, but as I say the ftpserver sub-dir & mount are fine.
View 9 Replies
ADVERTISEMENT
Oct 20, 2010
I am using OpenSuSE 11.3 (64 bit) and am trying to force my new server use NFSv4. Later, GSSAPI, sould be added, but for beginning, I want to configure without it for now. If I try using NFSv3, this works good, but I need NFSv4. I have exported my directory:
Code:
omega:/ # cat /etc/exports
/distrib *(ro,no_root_squash,sync,no_subtree_check)
After mount attempt I have a error:
Code:
omega:/ # exportfs -var
[Code]...
View 4 Replies
View Related
Jan 19, 2010
Is there are fundamental difference in using NFSv4 instead of NFS while mounting drives?What advantages NFSv4 has versus NFS mounting?
View 1 Replies
View Related
Mar 13, 2009
Is there an easy to make an entry in /etc/exports to export a directory for every entry in /etc/hosts?
View 2 Replies
View Related
Oct 23, 2010
I have AD DS installed on Windows Server 2008 R2. Also, I've got SLES 10.3 as NFSv4 server, which will allow remote users to mount their /home partitions. What I need, is NFSv4 w/Kerberos. As AD server already has integrated Kerberos server, I need SLES to authenticate in it.Everything works good, but when it comes to svcgssd service activation, I receive an error.Here's the log:
/usr/sbin/rpc.svcgssd -f
ERROR: GSS-API: error in gss_acquire_cred(): Miscellaneous failure - No principal in keytab matches desired name
[code]....
View 1 Replies
View Related
Oct 20, 2010
I am running OpenSuSE 11.3. I cannot mount an export from a Redhat 9 NFS server.I am able to mount the export from RHEL5, Ubuntu, Fedora, Solaris but not OpenSuSE 11.3. This is the command I use from a Ubuntu Karmic box.
mount server:/exportdir /mnt -o vers=3,proto=udp
As I said it works from many other distros, but not sure why no go on this one. Can anyone explain this? Should I submit a bug? I noticed portmap is not used anymore and am wondering if thatmay have anything to do with it. The rpcbind is supposed to handle this from what I read..not sure if this is accurate.
View 4 Replies
View Related
Dec 16, 2010
I have noticed that when I have my home directory mounted over network with NFSv4 ==> applications that use dconf to save preferences do not work correctly.
If I try to save preferences they won't save and I'm getting "Unable to contact dconf service" errors with Evince, Empathy etc.
I was googling this issue and I figured out that Dconf uses inotify() ( [url] and [url]) and those notifys don't work with NFS at all so the whole "dconf thing" doesn't work!
Am I right that Ubuntu is moving from GConf to DConf? If that is true I think this issue will be a serious problem if most of the applications use mechanism to save settings that doesn't work with NFS mounted drives. It is quite common to use NFS to mount home directory in some schools, companies and LTSP-machines.
I've tried to reinstall dconf and libdconf0 packages with no working result. When I'm using my home directory locally there is no problems.
And with Ubuntu 10.04/9.10/9.04... there were no these problems.
Links:
[url]
[url]
[url]
[url]
View 2 Replies
View Related
Dec 6, 2010
I've used the NFS how to on the Ubuntu Community wiki here to setup a shared directory between my Ubuntu 10.10 server, and two clients, one running 10.04, another 10.10. I can create and read files from both machines just fine but cannot modify a file created by the other machine.when viewing the permissions on machine A, that was created by machine B, the permissions say "nogroup, nouser". Both users are setup on the server with the same UID, and GID's.Also, both machines are setup to create files that by default are read/write possible for user and group, per the link here.
View 4 Replies
View Related
Jan 18, 2011
Is it possible to add repositories from NFSv4 to zypper? I have initiated automatic mounting network resources on NFSv4 and it works fine, but after adding repository from NFSv4 to zypper, I have problem on refreshing repository data:
Code:
omega:/distrib/repositories/1 # zypper refresh repo-update-1
Retrieving repository 'repo-update-1' metadata []
[code]....
View 2 Replies
View Related
Mar 28, 2011
I cant use the option "export" from the VPN settings in the Gnome Network Manager, when I tried to export a popup says "Unknown error"This happend also in 11.3 and now in 11.4, so it is a nm-applet problema I think... Is there any other way to export my VPN connections?
View 5 Replies
View Related
Feb 25, 2011
I,m having a rough time getting the terminal environment to recognize my android debug bridge path (which is set in a separate hdd) I used to paste this in my bashrc, but then found that it would make the env system bonkers whenever i attempted sudoing with an option:
# Android Debug Bridge (ADB) sdk path
alias sudo='sudo env PATH=$PATH'
export PATH=${PATH}:/media/Disk/Linux/Android/sdk/platform-tools/
The "alias" line was the one making me have a rough time with env.
Now that i got rid of it everything is well but adb's path isn't exported anymore.
[Code]...
View 3 Replies
View Related
Jan 22, 2011
3.What /etc/exports entry would export a directory named /nfs to all clients on the subnet 192.168.10.0 and give them read-only access?
View 3 Replies
View Related
Jul 1, 2010
I have set up an NFS server on Fedora 13, and I am connecting to it with Fedora 13 and Ubuntu 10.
On both clients the command
Code:
works fine. On Fedora I can get into the directory with Nautilus and have read/write permissions as specified in /etc/exports on the server, but on Ubuntu I can only get into it from a sudo'd command line.
The ownership of the file on Fedora is "nobody" and on Ubuntu it's "user #500", with only people in the "500" group having access to it.
Obviously the permissions can't be changed on the client, but with the Fedora box being able to read/write to it with no problems I'm not sure what else I can do on the server to let normal users on the Ubuntu box read it.
View 1 Replies
View Related
Apr 15, 2011
I am attempting to setup a linux file server in active directory. It has been kind of an ongoing project(nightmare) for me... I have tried a few distributions of linux and I have to say I really enjoy openSUSE. YaST is my best friend. Now to the problem at hand.
I have samba installed and configured for the domain. I was able to successfully join the machine to the domain. I can even log on using domain user names and passwords (more than I was able to accomplish with other distros...). Where I am having a problem currently is I cannot see the suse machine from a windows machine. I can access shares from suse to windows though.
View 1 Replies
View Related
Jun 12, 2010
seahorse export menu is always disabled. I need to export the passwords to restore it after formatting my machine.
View 1 Replies
View Related
Feb 24, 2009
I'm trying to setup a Samba network share with a Fedora Directory Server backend. This will be used primarily for Windows users to authenticate before accessing the share. I am using Fedora Core 10 and have all of the latest updates installed. When I try to connect from a Windows machine, I am prompted for a username and password. I enter the username and password of the account I created in Fedora Directory Server in OU=People. The credentials are rejected. At the same time in the log file I see this:
[2009/02/24 16:50:16, 3] auth/auth_sam.c:check_sam_security(282)
check_sam_security: Couldn't find user 'Administrator' in passdb.
[2009/02/24 16:50:16, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [Administrator] -> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER
Administrator is the user I created in Fedora Directory Server. If I perform an ldapsearch it will find the user as uid: Administrator so I know it is able to be looked up in FDS. But I'm guessing that's not the problem.
[Code]...
View 4 Replies
View Related
Oct 6, 2010
I use Fedora 11, and have an external HD (USB) which has 4 partitions of 500GB each.
/dev/sdb1 is an NTFS partition that is exported to my windows machine using samba.
However, only 75GB is visible in windows (via rt.click properties).
Anyways, below is output from fdisk -l. why does windows see only 75GB of a partition that is 500GB in linux?
fdisk -l
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000ac734
[Code]....
View 3 Replies
View Related
Jul 8, 2010
exportfs outputs the following error upon restart or after editing /etc/exports.
Code:
'exportfs: Warning: /exports does not support NFS export.'
here is my info and configs.
[code]....
View 6 Replies
View Related
Jul 1, 2010
how to export normal unix user to ldap I've unbuntu ldap server with some local users. I want to export all my local users to ldap database as a ldap users. Or if there is any configuration so that when ever a normal user is created then automatically an ldap user with the same name as the normal user will be created
View 5 Replies
View Related
Dec 16, 2010
Problem with my Internet connection. I can't connect to the update servers. I don't know why. It's a brand new installation, not a week old yet. I can't install the support for restricted media for example. The servers won't refresh in YaST. It tells me it can't download the repomd.xml.asc.
The other problem is that some servers on the web won't load for me either.
For example, I get most of my local news from The Toronto Star, and I can't connect to it's website at all.
I can from Windows (I dual boot) but not SUSE. I don't think its a problem limited to that one website either. I am able to connect to most websites though.
This is the result of zypper repos -d
Code:
View 9 Replies
View Related
Aug 17, 2010
I'm new to Ubuntu and I'm remote from the server. I'm setting up an Ubuntu server 10.04 x64. My intention is to load Oracle 11g, however I know I will need to be able to export an X display back to my desktop (Solaris) to run the Oracle installer. What do I need to load to get X working enough to export the display back to myself. I need to provide additional information. Since I'm new I may not have adequately covered what's needed.
View 4 Replies
View Related
Mar 2, 2010
I am using openSUSE 11.2 with active directory for authentication. I configured it using the Window Domain Membership YaST2 module and I can login successfully (although unreliably). The problem is that I need the UID and GID of the users on my computer to match the UID and GID assigned by Active Directory. Currently it just assigns UIDs and GIDs starting at 10000, which is completely different than the UID and GID used by Active Directory and by other Linux computer runs by the school (those use CentOS). Does anyone know how to get my openSUSE computer to assign UIDs and GIDs from Active Directory?
View 3 Replies
View Related
Jul 6, 2011
I installed a simple VPN pptp. Works fine to connect to the linux server. However I would like to connect my other linux-server and (more important) my old Novell 6.0 server. Anyone have an idear what I need to change?
View 3 Replies
View Related
Mar 24, 2010
Unfortunately I haven't been able to figure out yet how to share specific directories only, so I set up my Samba server to share users' home directories (which is not a security issue here since the only possible client is my other machine). My user's home directory contains a symlinked directory on another hard drive partition, which I had to explicitly share to be able to access it from the other machine. This setup has been working for months now, but for a reason that escapes me at the moment it stopped working today, presumably after samba got updated from 3.4.2-1.1.3.1 to 3.4.3-3.2.1.
The error message on the client (Windows XP/SP3) for this one above mentioned directory, and for this directory alone, is "Access denied"; I can access all other directories fine.
View 9 Replies
View Related
Jan 10, 2011
What is the The easiest way to authentication Active Directory with ubuntu.
View 2 Replies
View Related
Apr 5, 2011
i have a suse 11.3 machine and i cannot set it to be a NFS server that is i cannot mount a directory of this machine on another one running as well a 11.3 while i can mount without problem a directory from 10.0.i do not know where to start as the NFS server option seems to have vanished from YAST.
View 5 Replies
View Related
Feb 10, 2010
I have configured my Laptop running OS 11.1 as an ftp server with vsftpd behind a router on my home network. I have managed to get it working so that I have authenticated users who can connect and write using the external ip address. The problem is that the authenticated user, rather than being allowed access only to the folder in question (/srv/ftp), can browse my entire directory structure.
When I tried this from a different computer (a Mac) from within my home network (but connecting through the external IP address) with fileZilla, using a user name I established as the authenticated ftp user (not my own uname), I could even download and write to other locations in the directory. I had another person try from outside the network, and they could browse the entire directory, but couldn't download from it. how can I confine an authenticated FTP user to the designated ftp directory?
View 2 Replies
View Related
May 4, 2010
I am attempting to setup the following:
1.User login/authentication via a single NIS server.
2. User home directory should also be on the Same NIS server.
3. If possible to setup a single shared home directory for all users.
OpenSuse version 11.2 There are twelve workstations from which users will login using the NIS authentication. I have succeeded in setting up NI server. However login fails as the home directory is not accessible.
View 9 Replies
View Related
May 23, 2010
I currently have a LAMP server running with multiple virtual hosts configured. I have one virtual host with a sub directory that contains pdf news letters.do not want the directory browsable and tried putting an index.php file that re-directshe user to the root directory but when I go to the [web address]/[directory name] in any browser I see the contents of the folder listed.
Currently the news letter list is drawn from a database table and displayed as links on a page in the root directory. The links point to the file name in the sub directory. How do I block users from going to that sub directory and seeinge contents of that directory listed? Would I add another <directory> statement in the vhosts.conf file? If so how would I structure that directive?
View 1 Replies
View Related
Jan 20, 2011
I can access my NAS box with telnet but the file I am looking for is not in the expected directory. Of course I could go through all the directories using ls -a but that would take days. Is there a command I can run to look for the file for me using the telnet console?
View 3 Replies
View Related