Ubuntu Networking :: Nfs Mount In Fstab Doesn't Work (does In 10.04)
Nov 27, 2010
I installed 10.10 yesterday and all seemed fine. Now I made an NFS mount in /etc/fstab like I use to in 10.04
Kaapstad:/admin /mnt/Kaapstadadmin nfs defaults 0 0
but get this:
# 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?
View 2 Replies
ADVERTISEMENT
Feb 2, 2016
On my debian jessie "testing" I have set in fstab some line to mount folder located on my pc server...
When pc boot up the error is
Code:
Select allFailed to mount /mnt/Web
See 'systemctl status mnt-web.mount' for details...
CIFS VFS: cifs_mount failed w/return code = -101
Then, after logging in, if I run mount -a all works correctly...
Maybe error was LAN that is not started? In this case how to resolve?
View 11 Replies
View Related
Jul 28, 2011
Code:
192.168.0.133:/openils /openils nfs4 rw,_netdev,auto 0 0
fails to mount the nfs4 share, however
[code]...
View 6 Replies
View Related
Jan 26, 2010
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.
View 9 Replies
View Related
Aug 19, 2011
I have two mount points that used to work. I have them defined as cifs shares in fstab, and they map to a Windows machine, which I am able to ping from my Fedora machine, but for some reason I get a mount error 2, and the destination is not accessible. The man page doesn't really give any troubleshooting steps. Since I am mounting by IP address (which as I said has worked before), nothing has changed, although the IP address did change, which I updated in the fstab file to the new IP address (and since I have reserved this new IP address so it can't change again!)
I ran a test and shared a folder from another one of my computers, and added a line in fstab to auto-mount that, and I get a "permission denied" error 13, which is different than the error 2 I get on the other 2 shares. What should I be looking for as far as actual connectivity between the machines? I have verified that the windows machine is on and I can access the same shares from another computer.
Update: Added the host and IP address to my hosts file, and replaced the IP address with the name, and still get the same error. Also, the share name has a space in it, so I replace that with a "�40" space character (which worked in the past). I tried replacing that with an actual space, and putting quotes around the URL, but then I get a "bad URL" error.
[Code]..
View 5 Replies
View Related
Jul 10, 2010
I'm running XBMC media center which is built on Ubuntu and I'm trying to mount a network share, but I can't seem to automate it. If I manually run:
Code:
mount -t cifs -o file_mode=0777,dir_mode=0777 //192.168.1.20/disk7/xbmc_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails
The mount is created and everything works fine. But obviously the mount eill be lost on the next boot. A few months back, when I was running a previous version of XBMC and first instructed on how to do this, I was told to put that command in /etc/init.d/rc.local so the mount would automatically be created at boot. I did and it worked. The other day I upgraded to a new XBMC build (which is built on the newer Lucid Ubuntu) and while the same command creates the mount, putting it in /etc/init.d/rc.local does not create it on boot. Someone suggested the fstab was the better place to create the mount. So I inserted the following in /etc/fstab:
Code:
//192.168.1.20/disk7/XBMC_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails cifs file_mode=0777,dir_mode=0777 0 0
That doesn't work either. What am I doing wrong and how can I get this mount auto-created on boot?
View 4 Replies
View Related
Jul 18, 2011
I have been trying to work out how to set up Fedora 15 to automatically mount an NFS share at boot time. I can mount the share interactively using 'mount -t nfs server:/usr/local /usr/local'. When I put the entry in /etc/fstab, it stops the machine booting. It tries to give me a shell ('Enter root password for shell or press Control-D to exit') or something close to that. However, I cannot enter the maintenance mode, it hangs. Same thing with pressing control-D, it hangs and doesn't get any further.
I rescued the system by booting off a CD, mounting root, and removing the nfs entry from fstab. After that it booted fine. The entry I had in the fstab is: nfsserver:usr/local /usr/localnfsro,hard,bg,intr,comment=systemd.automount0 0
I put the 'comment=systemd.automount' entry in because of some related searches I did in forums.
View 14 Replies
View Related
Sep 4, 2009
Our office just switched from CentOs to Fedora and I'm trying to get everything set up. Everything is working so farbut im having a problem with my mounted cifs drives. They mount ok, I made directories in /mnt where the drives are readable and accessible. I'm only missing the shortcuts to the mounted drives in nautilus and on the desktop. I've checked the gconf editor and the volumes should be visible.Is there an extra option i have to add in the fstab line to get the shortcuts or something like that?
View 2 Replies
View Related
Nov 25, 2010
I am trying to mount a directory from my server onto my wireless laptop. The directory mounts successfully if I am already logged into the laptop with another account first but if I log on initially with the user who requires the mount the mount fails. I suspect the mount is taking place before my network connection is up, is it possible therefore, to delay the mount in fstab until the network is fully connected?
View 3 Replies
View Related
Jun 24, 2010
I'm using cifs to mount windows share.I have created one credentials file and given the path in fstab to mount at boot time. Now i want to encrypt the credentials file and place that in the fstab file.But it is not accepting.. how to use encrypted file to use in fstab,so that normal users can not watch the credentials inside the file.
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
Feb 10, 2010
I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.
1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?
2) If not, is there a tool i.e. GUI to set the mount permissions?
View 14 Replies
View Related
Aug 31, 2010
I have a hard time mounting two external drives on my Suse 11.3. When I use the device notifier gadget both drives get mounted in /media/<drive name>, the vfat drive is read-only though. However, I would like to mount both drives under /<drive name> in separate directories and rw. I looked at the devices in /dev/ and entered the device name to fstab, set the mount point, file system (vfat, and ntfs-3g) and set 'rw,noauto,exec,user,sync 0 0'.
This way I could mount my vfat drive read-only under /<drive name>, but not the ntfs one. After a reboot i noticed that the external drives get different IDs in /dev. E.g. what I had in my fstab under /dev/sdc1 got /dev/sdf1, and /dev/sdc was unknown. I am doing something wrong here, what worked in 11.0 does not seem to work here.
[code]...
View 2 Replies
View Related
Sep 28, 2010
Using Fedore 12 I am trying to mount on a server with the following command: # mount -t cifs //samba-pool-suse/pool-suse /mnt -o user=xxxx I was waiting that the system askme the user password and thats all, but the answer is: mount: wrong fs type, bad option, bad superblock on //samba-pool-suse/pool-suse, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so using:# dmesg | tail returs: CIFS VFS: cifs_mount failed w/return code = -22
View 3 Replies
View Related
Apr 23, 2009
I have this annoying problem since day one.I am testing out Red Hat RHEL5, everything is fine except DNS look up.If I ping www.google.com, it doesn't work, ping ip address it all works;if I bring up browser, put www.google.com it doesn't work, can't find the name, however, simply put ip address there it works.My DNS seeting seems ok, and the DNS works from Windows box.
View 2 Replies
View Related
May 22, 2010
I'm really tired of having to umount under root, then mount again as a user for my external hard disk. When I'm in firefox, I like to save pages alot onto my external but I constantly have to remount because my user has no write permissions for the drive. What can I do for my device in fstab so that it mounts automatically under my user and not root?
View 9 Replies
View Related
Sep 3, 2010
I have a router that supports NAS; that is, you can plug a USB drive directly into the router, and it becomes a Windows share. I can manually mount the NAS share and use it properly. But, I would like to have it automatically mount on startup. The main reason for this is to assign it a proper mount point so that I can access it from the command line, since I'm having trouble doing that after I mount it manually.
To mount it manually, I go to Places > Connect to Server, select the "Windows Share" service type, and enter "//192.168.1.1/USB_Storage" as the server name. The server name is supposed to be "//readyshare/USB_Storage," but that does not work, so I used the IP address.
I would like to mount this drive at /mnt/readyshare. So, I followed (I thought) the instruction in this document. I created the directory /mnt/readyshare I assigned myself a samba password with smbpsswd I created a group "readyshare" with the GID 1010 I created a .smbcredentials file in my home directory I modified my /etc/fstab file.The .smbcredentials file reads:
Code:
username=<my username>
password=<the password I created with smbpsswd
The line I added to my /etc/fstab is:
Code:
//192.168.1.1/USB_Storage /mnt/readyshare smbfs iocharset=utf8,credentials=/home/<my username>/.smbcredentials,dir_mode=0775,gid=1010 0 0
But, no dice. The share does not mount.What am I doing wrong?
View 9 Replies
View Related
May 5, 2010
I have a problem with one of my partitions, that used to be automounted trough fstab, before my upgrade to Lucid.
The partitions is used for storing all things related to virtualization. It's purpose is not relevant to the error, I think.
The affected part of the fstab file looks as follows:
Code:
# backuppartition on sdb
UUID=b623c9a2-8d4a-4399-be07-b8b1c74d23fd /backup ext4 defaults 1 3
# Virtualization Partition
[Code].....
P.S. I tried editing the fstab for the virtual parition, to
UUID=a56a9445-d375-45b4-abb5-d3512da0a3e6 /home/***/virtual ext4 defaults,auto 1 3
View 3 Replies
View Related
Aug 18, 2010
Installed ubuntu 10.4 on a formatted hard drive IDE. desktop has two other drives , one SATA drive and one SCSI drive. SCSI drive has windows.
Both windows and ubuntu load fine through GRUB2 etc
I had installed WUBI before on the SATA drive and then i uninstalled it.
problem is that when i log in to Ubuntu i see on fdisk
But i cannot access the SATA drive /dev/sda i tried mounting the drive but i get an error saying this is mounted as /dev/sdb5
How do i mount the SATA drive to get access to the drive ? i messed around with this drive when i was using WUBI. i.e. tried to mount it to recover grub but never got it working. Now somehow it seems that this old mounted drive is messing with my current Ubuntu install.
How to recover my fstab is shown below:
Changed the connect sequence in BIOS and mounted the volume using sudo mount /dev/sdb1 /media/sdb1
View 1 Replies
View Related
Mar 21, 2010
I have a command line that mounts the disk of my mobile
Code:
It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.
Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.
View 7 Replies
View Related
May 9, 2010
I have since quite a long time the problem that files using special characters in their filenames are not displayed in various applications. In console or Thunar I have a special "white questionmark in a rhombus" sign for every special character. It is an XFS partition. I have read a few times that this can be solved by using the iocharset=utf8 option in /etc/fstab, but this option is not recognized and the mount inhibited.
I used other options: utf8 as well as nls=utf8, but that was not recognized neither. What option do I need to specify to enable utf8 for XFS ? Samba works. That means I can play an MP3 file in Windows exported from the XFS disk using Samba, although the special character is then shown as "_" in Windows..
View 4 Replies
View Related
Jul 29, 2010
I'm trying to add a line to fstab to mount a share on every boot. I can mount the share manually using
sudo mount -t nfs 192.168.2.1:/x_machine /mnt/test
I've added the line
192.168.2.1:/x_machine /mnt/test nfs rw,hard,intr 0 0
to my /etc/fstab file, but it doesn't seem to mount on boot. What am I missing. I tried looking in the log files for an error, but couldn't find anything. Ubuntu 10.04 x64 desktop edition.
View 7 Replies
View Related
Sep 28, 2010
I just installed pysdm so I could configure what drives mount on boot, and now when I go to access my external harddrive, this is what I get:
Unable to mount Hard Drive
Error mounting: mount exited with exit code 1: helper failed with:
[mntent]: line 11 in /etc/fstab is bad
[mntent]: line 12 in /etc/fstab is bad
[mntent]: line 13 in /etc/fstab is bad
[mntent]: line 14 in /etc/fstab is bad
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
View 7 Replies
View Related
May 1, 2011
I've recently installed Natty and now I've got a problem mounting two of my partitions via fstab. This is what my fstab file looks like:
Code:
proc /proc proc nodev,noexec,nosuid 0 0
UUID=2ea65813-a227-405f-90d2-69598120808e / ext4 defaults,errors=remount-ro 0 1
UUID=6e4f2339-b796-484e-9473-804b4db1531e /home ext4
[Code].....
I CAN mount them by first executing sudo umount -a (which tells me that the two partitions in question cannot be unmounted, because they are not mounted) and then sudo mount -a (which correctly mounts the two partitions). The mount does not work, if I omit the umount command.
View 3 Replies
View Related
Oct 28, 2009
I can access the files I need by using the telnet command, but I need to have access to the files in my local file system. Is it possible to mount a shared drive over telnet in the fstab file?
View 8 Replies
View Related
Sep 25, 2009
On my Suse 11.1 computer, I'm only able to run 'mount' as root, but this screws up the permissions somehow, in that my external drives are now read only when I am normal user. I can plug my external drives to my mac osx laptop via usb or firewire, and I can read,write, and execute. As su, I can mount the drives using usb on my suse computer, but only as read only.
Optimally, I want to edit the fstab file to auto mount these external drives, and then have samba run to make the drives available (i.e. rw) on laptop.
NOTE:
1. I created the file systems on a laptop (mac osx) which has different user name than my suse 11.1 computer.
2. I tried to use chown to manually force user:group to be Mike:users instead of root:root, but the external drives still are 'read only.' Trying different options in column 4 fstab file kept giving same trouble, but I can now get user:group = 99: 99 (not sure what that means).
View 9 Replies
View Related
Sep 8, 2009
Can I mount ftp server in fstab? I have a ftp server and I want to mount it in fstab to /mnt/myftp. Is that possible?
View 8 Replies
View Related
Mar 20, 2010
how do i give group write permissions in fstab? i'm trying to mount a virtualbox shared folder. currently my fstab looks like this Code: Share_Name /mnt/point vboxsf rw,uid=1000,gid=1000 0 0 i want to give both the owner and group, write permissions. currently, only the owner has write permissions, and group read with these mount options.
View 3 Replies
View Related
Apr 30, 2010
I have the following line in my fstab:
Code:
//192.168.0.242/websites /mnt/supercube cifs rw,user=XXX,pass=XXX,iocharset=utf8,file_mode=0777,file_mode=0777,dir_mode=0777,uid=XXX 0 0
But it doesn't auto mount with everything and disconnects whenever I suspend my computer. The only way to get it to mount is with
Code: sudo mount -a and it mounts fine with no error.
Did lucid change the way it uses fstab or something? Obviously writing mount -a isn't a huge concern, but it kind of destroys the point of putting it in my fstab.
View 9 Replies
View Related
Mar 15, 2011
One entry I have put in fstab results in the failure of a partition to be mounted at boot time. I get the message:
Code: The disk drive for /media/WinXP is not ready yet or not present. Continue to wait; or Press S to skip mounting or M for manual recovery If I choose M and enter the command: Code:mount -t ntfs /dev/sdb1 /media/WinXP then I get no error message, but the partition still doesn't seem to be mounted, when boot completes.
I don't understand this failure. I have created my fstab file using UUIDs to boot Ubuntu on my dual boot machine. It works fine, booting from the hard-disk which is Master on my Secondary IDE channel. For Ubuntu booting the MBR and grub menu are on this disk. The default is to boot Ubuntu , but with an option to select Windows Xp.
As an aside, I can set an option in my BIOS to make the Master disk on the Primary IDE channel the first disk, rather than the second disk. Then the system boots from the MBR on this Primary IDE channel and boots only to WinXP. That works fine.
When running Ubuntu I use space on the Windows disk (on the Primary IDE channel) to hold backups of key Ubuntu files in case I loose Ubuntu - as I did for the past few days. So, to mount this partition I inserted this line into my fstab:
Code:
UUID=0e4851c44851ab6b/media/WinXPntfsnosuid, nodev, allow_other00 I know the UUID is correct because I have checked it with blkid. But the partition is not mounted at boot time. I don't even get an icon for the partition on my desk top. It appears in the 'places' menu, as unmounted, but mounts as soon as I click on it. However, this causes some of my linux apps, which want to load and save to this partition, to post an error message until I have manually mounted it via clicking on it in the Places menu. I want to avoid this manual step by having the partition automatically loaded at boot time. What am I doing wrong?
View 9 Replies
View Related