Ubuntu Networking :: Do NFS Mount Options Actually Work?
Jan 23, 2010
I have a bunch of nfs mounts from my MythTV backend to my netbook, both running 9.10. Due to the lousy Atheros wireless driver, it typically loses connection at least every half hour. The nfs mounts are mounted soft,intr, so programs should get an error trying to talk to a server they can't contact, and the request should be interruptable. Instead, they just lock up, can't be interrupted, and the netbook can't even shut down after the network failure because it hangs trying to clean up before shutting down.
So do these nfs options actually work in Ubuntu? 'mount' shows the nfs directory mounted with the correct options, so it doesn't seem to be any kind of configuration problem... it just doesn't do what I'm telling it to do.
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.
setup consist of three machines: 2 servers (A and B)(ubuntu) and my local laptop Server A is a company controlled server which holds project data Server B is our office local server, which we use for development purposes. The problem occurs when i ssh from my local laptop to server B. After loggin in, i execute a script to transfer data from A to B. This script mounts server A using gvfs-mount. It fails to mount completely and gives me the following error
Code:
Error mounting location: volume doesn't implement mount
However if i log onto server B, using the servers keyboard and monitor (using a gnome session) i can execute the line. To verify that it's something related to the ssh login, i tried the following: (My local laptop is also running ubuntu) from laptop open a terminal. See the gvfs mount work as expected. open another terminal and ssh localhost tried to execute gvfs-mount from the local ssh session and i get the above mentioned error. After googling a bit, i found that it might related to dbus (which i know _nothing_ about) and i tried
Code:
dbus-launch gvfs-mount and then tried to gvfs-mount server A, but it fails again.
# mount -a mount: wrong fs type, bad option, bad superblock on Kaapstad:/admin, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might
[Code]....
In /mnt, /etc/hosts everything is set as should be. In other posts I'm reading other problems with nfs as well. Is there a bug?
Have a 1TB external USB hard drive I want to use on both Windows and Linux (Mythbuntu 9.10), so I thought the easiest way would be to format it with NTFS. Installed the NTFS-3G package and I'm able to read and write to the drive fine from Linux, however I have a few questions;
1) How do I configure Linux so that when it mounts the NTFS partition it is writeable for user, group and other (bascially I want everyone to have read and write access)? Currently when the NTFS disk is mounted the permissions are restricted to the user only and I suspect I'll need to edit fstab for this, but don't have much experience here so need help with the specifics.
2) If my Linux PC is turned on with the external drive attached, the disk is not mounted until I double click on the icon on the desktop. Is there anyway I can configure Linux so that it will automatically mount the external disk when booting?
Below is what is in my fstab file at present;
Quote:
# /etc/fstab: static file system information. # # -- This file has been automaticly generated by ntfs-config -- # # <file system> <mount point> <type> <options> <dump> <pass>
I used the usual 'mkfs.xfs -l size=128m,lazy-count=1 /dev/sdX' at creation. After that, I would like to use custom mount options like: This goes instead of the "defaults" part in /etc/fstab
I receive the following error at boot: INVALID log iosize 4 [not 12-30] << No one used iosize 4... what does it mean? it is connected to the options..but which one? (At the minute I'm usig it with: noatime,nobarrier).
When using usb disks, there seems to be a difference in how they are mounted, based on the filesystem type on the disk.Vfat disks are mounted read/write for users, while extN filesystems are not.While I can fix that for individual devices, I would like to find a general solution, so that any usb storage device with any filesystem is mounted read/write for users.
I want to change the default mount options for removable devices, especially vfat devices, to have shortname=lower instead of the default shortname=mixed mount option. I googled around, and found references to /system/storage/default_options/vfat/mount_options gnome configuration option, but I don't seem to have this option set, actually, I don't seem to have a /system/storage tree in gconf-editor at all. searching in gconf-editor doesn't really yield any results.
At work we use autofs4, and we also take advangate of the -DOSNMAE=blah and -DOSREL=blah for our automount maps. We're moving some systems to autofs5 and I can't for the life of me figure out how to pass these options properly. There's no 'localoptions' in the init script anymore as there was for autofs4. I've tried adding the flags to the OPTIONS variable in /etc/default/autofs. That adds them to the global autofs process but then nothing in the automounter mounts.
I made a mistake in Gnome Disk utility tool. Instead of changing the options for a USB key, I changed the options of the root partition.
In Initial state, automatic options were desactivated. I just activated them. And after desactivacting them, I realized my mistake and switched back to "non automatic options".
By doing this, I suppose that defaults values were used since now, the system starts in command line mode and no more in graphic interface mode.
When I try the "startx" command, I get a "read-only" error.
With the command "sudo mount -o rw,remount /" the graphic interface is started.
Below is the configuration of the partition under the gnome disk utility tool :
"Mount at startup" is checked "Show in user inteface" and "Require additional authorization to mount" are unchecked
Mount options : nosuid,nodev,nofail,x-gvfs-show Mount point : /mnt/eb11d4d6-75db-XXXx-XXXx Identify as : /dev/disk/by-uuid/eb11d4d6-75db-XXXx-XXXx Filesystem type : auto
I do not want to change anything that could leat to a critical error. So what do you think I should do ?
I was wondering how to check the current mount options of my ext4 filesystems in Fedora 12? The only thing I can see in fstab is "defaults" but how can I know what is behind those defaults.mount command only shows "/dev/sda6 on / type ext4 (rw) but nothing else.I'd like to know a few more things like the data mode used like "ordered" or "journal".
I have a 2 TB hard drive in an external USB caddy that I use for backups. The drive gets automatically mounted when connected to F13, which is great, and the default mount options it uses are:Code:rw,nosuid,nodev,uhelper=udisksHowever, I want to add an extra option or two but I don't know where I can do this. Does anyone know where I can add mount options onto the default set?
openSuse 11.4 64bit fresh install, KDE 4.6.0. Now I am probably being obtuse, but If I click on the wonderfully named "My Computer" I get, among other things, a display of Disk Information; hard drive partitions and any DVDs or CDs. If I let my mouse cursor alight on any of these, I get a message "Press the right mouse button for more options (such as Mount or Eject)" But if I press the right mouse button, I don't get those options; I get a message "Open in new window, Open in new tab, Open with ..., Create file project with K3b, and Compress ...".
I'm running Opensuse 11.2 and am using a couple of USB hard drives to store large data. One of these drives is formatted with FAT32 and one with NTFS. When I plug-in a USB device KDE4 shows me a little pop-up asking what I want to do with it, I select to open it in Dolphin which of course automatically mounts it.
My question is what if I want to change some of the mount options - is this possible without reverting to manual mounting? And second question is what system does it use to automount - Fedora, Debian and Ubuntu are all deprecating HAL in favour of pure udev, is this the case in Opensuse too?
HALRemoval - Debian Wiki https://wiki.ubuntu.com/Halsectomy Features/HalRemoval - FedoraProject
I'm using squeeze and my updates are all updated. Aptitude-gtk is at 0.6.3-2 . My menu icons, like 'Update', 'Packages', and 'Preview' don't work. Luckily the buttons at the bottom of the screen, like 'Fix Manually' and 'Upgrade', still work. In this way the application is still useful. I can still search for things, and I can right-click with the mouse to mark packages for installation or removal. Then I use the buttons at the bottom of the screen to finish the work. BUT the menu icons , and come to think of it, options in the menus, don't work. Does anyone else have this problem? I went through the bug page on the debian site but I cannot find my problem.
Can I mount a WD My Book World Edition NAS in Ubuntu 11 without extensive terminal work? The NAS has a static ip, it can be ping'd from Ubuntu, and my Windows machines access it just fine, no passwords required.I have not been able to find a way to make this work. Nothing against the terminal per se, it's just still a little too unfamiliar and I keep hitting error road blocks on this one.
I'm trying to get the options for rotate timeout to work and it does not.Timeout always seems to defaults to 1 sec no mater what value I set it to, which is fine but still the option does not work.I'm setting these according to the manpage for resolv.conf, please Let me know if I'm missing somethingHere is my resolv.conf file
I have a server with two hard drives. I just backed up all my data to the secondary drive, formatted the primary one, and installed Ubuntu 11.04 Server on the primary one. The problem is, whenever the secondary hard drive is installed, Ubuntu says that it cannot mount /boot due to "unsupported options". If I physically disconnect the secondary drive, it starts up just fine, without any error messages. Is there any way that I can connect the secondary hard drive without these problems? I don't want to format it as it would destroy the entire backup.
So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.
OS: Ubuntu 10.04 LTSEmulator: Wine 1.2Program: Propellerhead's Reason 5.0After some toil, I successfully installed Reason on linux. Hurrah.However, the default audio drive failed, and now it doesn't have an audio card selected. .. but this isn't my problem.I would love to go into Options to try and tinker with the settings, but I can't click on it. In fact, I can't click on anything in the window's toolbar (ie File, Edit, Options, Help, etc)The rest seems to work just fine.
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.
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.
I'm trying to install (L)ubuntu on an old AMD 1.66GHz based HP laptop, to dual boot with Windows XP. However I'm running into an issue that I haven't come across on any other machine before where after selecting "Install Lubuntu" from the main boot menu, it moves to the scrolling dots splash/loading screen and after ~30 sec or a minute it freezes. There is no error, it doesn't reboot or eject the disk even after several hours of sitting on that splash screen, with the dots frozen, no CD activity, and no HDD activity. I get the same result if I try to boot it as a LiveCD as well.
Can someone help diagnose whats going on? Is it possible changing some boot options will allow it to install? I'm not quite sure where to go with this one.
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.
I have a problem with ssh, in that it's extremely slow when using putty to connect from Windows. A bit of googling suggested that I should use -u0 as a startup option since there's no DNS entry for this machine.
So, at the risk of sounding stupid, how do I put this options in to the /etc/init.d/ssh file? I tried adding it in the the "set" part but got an error, tried adding another "set" line and got an error and tried adding it to the first command there, but also got an error! Where does it go?
I am having a small issue with finding and installing an IRC server program for ubuntu 10.10. I would like to know if anybody has any input on what the most simplistic and secure irc server program out there is, and how I would install and configure that said program.
I am running 10.04 and have recently had an issue where a powercut shut my computer down unexpectedly. Since this all the options from the network/connection part of my taskbar have been removed.I have run the OS from a boot disk and the same problem occurs. I have updated and re-added the mobile broadband but still nothing appears and as yet i have been unable to connect to the internet again since the powercut.am still learning everything (very slowly) so i apologise if this has been previously solved but i can't seem to find it on the forums.
i have some servers behind a server/router/firewall at [URL] that can be accessed using port forwarding. they are working quite well. [URL] gets you to the first server behind the server/router/firewall (the former link above).
i would want to make the server at the latter link accessible with its own domain name ie [URL]without having to add :<port> to the end of [URL] because ":" is disallowed for aliasing in the a and cname records at network solutions (my dns?). is port forwarding the best way to reach these servers behind my firewall? is it possible to assign them their own domain name? perhaps some method other than port forwarding should be used?