Ubuntu Servers :: Unable To Mount NFS4 Driver?
Dec 14, 2010
I tried this command in a Ubuntu 10.10 server
$ sudo mount -t nfs4 -o port=99 xxx.xxx.xxx.xxx:/home /mnt/tmp
The server returns an error message "mount.nfs4: Protocol family not supported" and I have installed nfs-common.
View 5 Replies
ADVERTISEMENT
Dec 5, 2010
i'm trying to setup a nfs4 server and client. i followed the instructions in
[URL]
The SERVER is on 192.168.89.1 running Xubuntu 10.04, and the CLIENT is on 192.168.89.128 running Ubuntu 10.10. Firewall is disabled on both the server and the client for testing purposes. /etc/default/nfs-kernel-server on the SERVER:
Code:
# Number of servers to start up
RPCNFSDCOUNT=8
# Runtime priority of server (see nice(1))
[code]....
because we want UID/GUID to be mapped from names. This way, server and client do not need the users to share same UID/GUID. In that case,
1. Should i set those 2 fields to "no" and "yes" respectively instead?
2. Or else, how do i make sure that the uid on the server is mapped to something useful on the client instead of nobody and nogroup?
View 1 Replies
View Related
May 10, 2011
I have centos 5.6 I'm having trouble mounting my client on nfs4...
everytime I mount my client with proto=tcp I can't mount nfs4 exports directory
but if i change to proto=udp no problem mounting nfs4 export to client
This one no problem mounting
mount -t nfs4 -o hard,intr,proto=udp,port=2049,acregmin=24,acregmax=240,acdirmin=240,acdirmax=240,rsize=32768,wsize=32768 192.168.0.10:/ /uploads
[Code].....
View 6 Replies
View Related
Nov 28, 2009
I can not use nfs from F10 client to F12 server. nfs mount on F10 to F12 times out anf nfs4 mount gives "mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory" I have tried to close firewall and set selinux to permissive mode on both client and server with same result. Samba works fine. On server [root@flokipal ~]# mount -t nfs4 localhost:/home /media/tonlist mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory
but
[root@flokipal ~]# mount -t nfs localhost:/home /media/tonlist
[root@flokipal ~]#
works
View 3 Replies
View Related
Jun 23, 2010
Attempts to do a mount -t nfs4 servername:/share /mnt hang. Performing an strace of the mount shows that the mount command is attempting to find /sbin/mount.nfs4 The nfs server, client, and util packages are installled. Did ps -ef | grep idmapd; ps -ef | grep gssd to check client side daemons and things look good. Not using gssd right now tho. Just want to get the thing to mount. Firewalls are not running. Doing a showmount -e servername reports the shares as being offered. I can mount it using nfs v3 protocol.
View 8 Replies
View Related
Dec 2, 2010
i'm trying to setup a nfs4 server and client. i followed the instructions in [URL](nfsv4 quick start section) and [URL] The SERVER is on 192.168.89.1 running Xubuntu 10.04, and the CLIENT is on 192.168.89.128 running Ubuntu 10.10. Firewall is disabled on both the server and the client for testing purposes. /etc/default/nfs-kernel-server on the SERVER:
Code:
# Number of servers to start up
RPCNFSDCOUNT=8
# Runtime priority of server (see nice(1))
[code]....
On the [URL], i see some steps related to portmap on the "NFS Server" and "NFS Client" sections. Would i need those steps as well? There's also a list of steps on [URL] (linked from [URL]. Are those necessary?
EDIT: Running showmount on the client seemed to show that NOTHING is shared on the server:
Code:
$ showmount -a 192.168.89.1
All mount points on 192.168.89.1:
View 3 Replies
View Related
Sep 22, 2010
Before I go prodding about on this server does anyone have any experience of sharing a single folder over NFS3 (for compatibility) and NFS4 (for newer clients)??
View 4 Replies
View Related
Oct 5, 2010
i set up a ubuntu server (10.04) with LDAP, Kerberos and NFS4. Did a set up for a client (ubuntu desktop 10.04 32 / 64) to connect to ldap, kerberos and nfs4-mount. All is working fine except of the idmapping. Some uids are not mapped to names. the entrys, which cannot be mapped, change. so 10 minutes before the uid was mapped to the correct name, after that time (i'm not sure if it's exactly 10 minutes) the name is mapped to nobody. sometimes the gid cannot be mapped too.I mount the nfs-share via nfs4 with sec=krb5 (krb5i or krb5p result in the same problem) and after successfully mounting the device, i type ls -la. i never have problems with getent passwd or with logging in as ldap-user. i get all the entries of the ldap-db and i also get kerberos tickets. All is working fine with nfs3, but i would like to use nfs4 for security-reasons.
if i run the rpc.idmapd with many "-v" i get the following messages in the daemon.log-file:
Code:
....
rpc.idmapd[15953]: nfs4_name_to_uid: calling nsswitch->name_to_uid
rpc.idmapd[15953]: nss_getpwnam: name 'test@DOMAIN.TEST' domain 'DOMAIN.TEST': resulting localname 'test'
rpc.idmapd[15953]: nfs4_name_to_uid: nsswitch->name_to_uid returned 0
code....
the first part is the response to a correct name-to-uid-mapping the second part is a failed one. both user exist, both users have the same ldap-entries (except of the different descriptions, uid and so on). the responses have the same timestamp, so the reply is in (nearly) the same second.
restarting the idmap-daemon every 5 minutes or other workarounds are not practicable in normal operating environment.
View 5 Replies
View Related
Feb 2, 2010
I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:
- Debian Lenny
- Archlinux 64bit
Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:
[Code]....
how I can go about debugging this?
View 1 Replies
View Related
Feb 20, 2010
I'm trying to run this command code...
how do I fix this? Although I'm working on Ubuntu 8.04.4 server 32 bit
View 3 Replies
View Related
Apr 29, 2010
I am trying to mount my usb printer in Ubuntu Server 9.10. I'm trying to do this so that the usb printer will be picked up by vmware server so the Windows XP guest I have on there will then be able to access the printer as if it were hooked up to it directly. I found a few posts online and this is what I've done so far. I found in a couple of posts that they said I should uncomment out the following lines in /etc/init.d/mountdevsubfs.sh. Well I found that the file didn't exsist. Someone posted up their copy of it so I copied that code into the mountdevsubfs.sh script. That code is the following:
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides: mountdevsubfs mountvirtfs
# Required-Start: mountkernfs
# Required-Stop:
[code]....
I also added this line to the bottom of my /etc/fstab file
Code:
usbfs /proc/bus/usb usbfs auto 0 0
When I go ahead and run the script it errors out on this line:
Code:
. /lib/init/mount-functions.sh
I went to go look in /lib/init and the mount-functions.sh script doesn't exist. I've googled this and I haven't been able to find anything. why am I missing /lib/init/mount-functions.sh and how can I get that script?
View 1 Replies
View Related
Jul 21, 2010
I've built a customized 2.6.32 kernel over Ubuntu 10.04 server (physically) -note: it is the same version that comes with the livecd-. Then I added my stuff, cloned the disk, applied it to 3 different hardware boxes and it works perfectly. But when I put that image on a VMWare Workstation 7.1 or VirtualBox machine it doesn't load... I get a "kernel panic: not syncing vfs unable to mount root fs on unknown-block 0,0". So, I've created a new vm, I've installed ubuntu and it booted without a problem.
I ran my kernel patching as I did on the physical machine, but when I rebooted with the new kernel, I got the same error. So, the problem seems to be something in the customized kernel, but specifically going over virualized copies. By the way - In a previous version, specifically Debian 5 with kernel 2.6.18, I did the same stuff about a year ago and the machine loads perfectly in any virtualized environment. Then, the only thing left to think about my problem is that some grub parameter or kernel driver or something is messing up with booting. The customization of the kernel is only the patching for IMQ stuff.
View 5 Replies
View Related
Aug 24, 2011
My 11.04 installation is running beautifully in VM on ESXi. I'm trying to add storage so I added the disks, assigned them in vmware to the vm, then tried to mount them when I received the error code...
my setup:
HP Microserver, booting vmware from USB drive. Hardware RAID card (Adaptec RAID 2405), 2 x 250GB HDD in RAID1 (datastore1) with VM's, 2 x 2TB HDD in RAID1 (datastore2) - the storage I'm trying to add.
A search of the above errors yielded many results, all of them were different scenarios to mine.
View 8 Replies
View Related
Jan 4, 2010
I am connecting servers using NFS4 the shared directories are on servers running Debian 4 while the one who read from them is Debian 5.0.3. The problem is one of these shared servers suddenly stop responding and you cannot list it from Debian 5 server, also df hang, and the web application that is using it does not respond to requests that use this shared directory since it is blocked. Then the load on the server start to increase until the server cannot respond (over 90). I have found many entries in the syslog that refer to this like:
ma25555 kernel: [1200285.732919] nfs: server 10.xxx.xxx.xxx not responding, still trying
Dec 31 08:16:33 ma25555 kernel: [1200289.815378] INFO: task java:9702 blocked for more than 120 seconds.
Dec 31 08:16:33 ma25555 kernel: [1200289.835249] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
code....
I have tried the connection between the 2 servers using ping for one day and all are OK (zero lost)
There are 3 other servers that are running Debian 4 and are working fine.
View 1 Replies
View Related
Jul 26, 2010
I have a Dell Inspiron 1720 running Ubuntu v10.04 with a wireless card.My desktop is a Dell Optiflex running WinXP.The desktop is connected via ethernet cable to a Linksys wireless router. Certain folders on the desktop are set for sharing. Up until early last week I was able to access the desktop folders from the laptop with no issues.Suddenly I am now getting this error "Unable to mount location Failed to mount Windows share" whenever I try to access the desktop folders from the laptop.I suspect an upgrade is the culprit, but not sure.
View 3 Replies
View Related
Feb 6, 2010
I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.
I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:
Code:
However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.
From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:
Code:
The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.
Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.
View 3 Replies
View Related
Apr 4, 2011
Linux box info: root@mytestbox:~# uname -a Linux mytestbox 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux
Windows box info: Windows Server 2008 SP2 Enterprise I've verified via --verbose output that mount.cifs is indeed processing the passed on options.
root@mytestbox:~# mount -t cifs //10.1.1.10/Test /root/testwin --verbose -o credentials=/root/testcreds,rw,nocase,noperm,noacl,nounix,noserverin o,iocharset=utf8,file_mode=0777,dir_mode=0777
[Code]...
Yet, when I type mount all it reports is (rw,mand). The share works just fine, and I can see the masking (all files are showing as rwxrwxrwx as expected etc) but mount is not listing the options?!
Is this normal expected behavior? Is there a bug report on this? I've google'd to the best of my capabilities and could not locate any such information which is why I decided to hit the forums prior to filing a bug.
View 1 Replies
View Related
Aug 5, 2010
I have 2 internal drives. One is for the OS and one is for the Data. I tried to get the Data drive to mount automatically at login using some crap I found on a linux blog. Safe to say it didn't work and now I can't mount it with the OS on the OS Drive.
It mounts from a live CD and all the data is perfectly safe. When I try to mount the drive I get this error message: "Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdb1 on /media/data" What have I done wrong and how can I make it mount again? Preferably this time at login.
View 2 Replies
View Related
May 25, 2010
I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"
My smb.conf file looks like this:
That folders I cannot access are Music and Videos.
View 9 Replies
View Related
May 7, 2009
I on a dell latitude c500/c600 and running 9.10 and have a maxtor 160 gb external hd that wont mount right. it shows up in / but when i click on it i get the error message:unable to mount location can't mount file. could someone give a suggestion to get this to work.
View 9 Replies
View Related
Jun 26, 2011
actually some my windows ntfs partiitions are unable to mount at start up. the error msg is -'some of your partitions are unable to mount press 's' to skip or 'm' to manually mount.
View 14 Replies
View Related
Mar 21, 2010
i'm trying to connect to the three other machines in my house but am having quite a hard time doing so. i've never had a problem in the past with ubuntu, but, with 9.1 and windows 7, things have gotten a bit harder. i'm running 9.1 and my roommates are running windows 7. i've installed, set up and configured samba and i can see the computers on my network, but any time i try to access either of the drives, it says unable to mount location: failed to mount windows share.
View 4 Replies
View Related
Oct 4, 2010
Not able to mount windows drive & foder, in linux. i have got following error.
mount error 92 = Protocol not available
View 10 Replies
View Related
Jan 6, 2011
I just installed Linux Mint Debian Edition on my friend's laptop. The biggest problem is getting his iPhone 4 to mount. On libimobiledevice.org it shows a cool video of a guy managing his iPhone with Linux thanks to libimobiledevice. libimobiledevice.org also says libimobiledevice supports the iPhone 4. But when he plugs it in, he gets an error that says:
Quote: Unable to mount location: Unhandled Lockdown error (-5) It's a serious issue and needs to be resolved ASAP. ***EDIT*** If this is a hardware topic, any mods can feel free to move it.
View 5 Replies
View Related
Aug 17, 2010
I have been using truecrypt to mount a partition on my computer for a few months now. Yesterday I tried to access it and it failed, with the following error:" mount: you must specify the filesystem type "
When creating the partition, the filesystem type was set to ext2. Apart from yesterday, I have not accessed this partition for a number of days now, and have done nothing to the operating in system in the ways of changing settings and such for a good week.
View 3 Replies
View Related
Mar 6, 2011
I am using Debian 6.0. When I try to mount a drive (USB) in GNOME or using udisks, I end up with following error message:
Code:
And the when executing
Code:
Code:
Seems like it is trying to mount a CD.
But I am able to mount the same using
Code:
I tried the same with different filesystem and getting same message form udisks.
I am able mount other hard disk partition using udisks:
Code:
How to mount drives using udisks. I don't know how I can configure udisks.
View 1 Replies
View Related
May 24, 2010
I'm totally unable to play or mount audio CDs and unable to use video DVD's on my box right now. When I insert an audio CD I get a dialog box saying:
Unable to mount disc: Location is not mountable
and if I check messages in the Log File Viewer I see the following text repeated (save for the last line) a couple of dozen times.
Code:
May 24 13:04:37 Amber kernel: [ 6680.434685] sr 0:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
May 24 13:04:37 Amber kernel: [ 6680.434691] sr 0:0:0:0: [sr0] Sense Key : Illegal Request [current]
May 24 13:04:37 Amber kernel: [ 6680.434695] sr 0:0:0:0: [sr0] Add. Sense: Illegal mode for this track
[code]...
on a similar but ultimately unrelated thread someone was asked to enter a few commands so I tried them and the following was the output:
Code:
main@Amber:~$ ls /dev/scd*
/dev/scd0
main@Amber:~$ sudo mount /dev/cdrom /media/cdrom0
[code]...
An error occurred: Could not open location; you might not have permission to open the file. As far as I can tell I have the relevant CSS libraries installed I'm lost without being able to play CD's and DVD's on my system.
View 9 Replies
View Related
Jun 12, 2010
I switch on the PC and it loads the Grub splash screen. However, it does not automatically boot the top entry after two seconds as it's supposed to and just hangs. I hit enter to boot it and it attempts to but after a few seconds gives me the error "unable to mount file system....a maintenance shell will be started"
This occurred after I was using it and then everything suddenly froze up on me and I had to crash out Now this!
View 6 Replies
View Related
Sep 5, 2010
I have recently set up an ubuntu installation on an old PC. After some fiddling with both it, and the windows 7 machine, I have managed to share all of my drives. However, when attempting to access them from ubuntu, only 2 of the 4 hard disk shares will mount, with the other 2 failing with a Unable to mount location, failed to mount windows share error message.
View 2 Replies
View Related
Dec 25, 2010
I have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?
View 9 Replies
View Related