Fedora Networking :: 15: NFS Mount In Fstab Hangs Boot

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


ADVERTISEMENT

Fedora Networking :: Mount Shortcut / Option To Add In The Fstab Line To Get The Shortcuts?

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

Fedora Networking :: Delaying Fstab Mount Until Network Fully Connected

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

General :: Sheevaplug - USB Will Not Mount At Boot As Per Fstab

Feb 11, 2010

I've just started playing around with a Sheevaplug running a very light version of Ubuntu. I'm planning to run it with an SD card to store all my server data and a USB stick to regularly back up some of it.My problem is that the 2 partitions on my SD card mount fine at boot, but my USB stick's single partition does not. Could it be that the mounts specified in fstab are done before my USB device has finished getting alive? Mounting the USB stick manually works perfectly well.

fstab
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/sda1 /media/usb1 ext2 defaults 0 0
/dev/mmcblk0p1 /media/sd1 ext2 defaults 0 0
/dev/mmcblk0p2 /media/sd2 ext2 defaults 0 0
dmesg after boot

Code:
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver.....

In the dmesg
Code:
usb-storage: device scan complete
comes after

Code:
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
which makes me think the USB stick has missed the fstab train the 2 SD card partitions are on. And changing the order of the entries in fstab does not make any difference either.

I'm not planning to reboot my Sheevaplug every 5 minutes, but I like things to be nice and clean.

View 1 Replies View Related

Ubuntu :: Add A Line To Fstab To Mount A Share On Every Boot?

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

Ubuntu Servers :: Unreachable /etc/fstab Cifs/smbfs Mount Halts Boot?

Jan 16, 2011

I have the following two lines at the bottom of my /etc/fstab

Quote:
//172.16.6.15/e /tmp/e cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
//172.16.6.15/e/Public /var/www/index/pub cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
My server address is 172.16.6.1.

If the destination (which is my workstation desktop) 172.16.6.15 is offline when the server tries to boot, the entire boot procedure halts with the following message: Unable to find suitable address. mountall: mount <destination> terminated with status 2 The problem is that my server runs headlessly, and every time something silly like this happens where you'd normally expect the OS to continue regardless, I'm forced to plug a monitor in and diagnose on console

So my question: Is there any way to make it proceed with the boot normally despite the host being unreachable? I could probably chuck a mount command into crontab or /etc/rc.local or a /etc/network/if-up.d script, but isn't this the way it really should be done (/etc/fstab)? If so, then we shouldn't expect the entire boot to halt just because a network share can't be mounted, right? While on the topic of a headless ubuntu server 10.10 not booting without some kind of intervention, I have yet another issue: If the server goes down without proper shutdown (power failure, for example) the grub menu displays the kernel choices and there's no countdown timer. Instead, I have to manually press enter to continue the boot. Is there any way around this? Clearly this should not be the case for a server distribution

View 3 Replies View Related

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 View Related

Red Hat / Fedora :: Mount Telnet Using Fstab ?

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

General :: XFS Won't Mount With Fstab Options In Fedora 12

Feb 6, 2010

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

noatime,nobarrier,logbsize=256k,logbufs=8,biosize=16

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).

View 1 Replies View Related

Networking :: Not Accepting The Encryped File In Fstab To Mount Win Share Through Cifs?

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

Fedora Servers :: Mount Errors From Fstab - Used To Work?

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

Fedora Hardware :: Find The Volume And Mountit Or Set Fstab To Create The Mount Point

Jan 13, 2010

Gateway m275 laptop with builtin smartcard reader. I've done modeprobe - <mmc module of all types> after having removed modprobe.conf file. I see that there is a pcmcia rules, Do I add all modules to this list so hat it can be probed. Once pccardctl is working, how do I find the volume and mountit or set fstab to create the mount point or to have it automatically mounted in media.

View 1 Replies View Related

Fedora Networking :: Wireless Enable Correctly On Boot / NFS Can Mount Properly At Boot Also?

Aug 8, 2009

I have a server that NFS exports the /home directory out to other computers. On the desktop they all work great, but on a wireless laptop, this is where the problem occurs. The wireless enables after the person logs in, rendering the NFS export /home useless on the laptops.Is there anyway to have the wireless enable correctly on the boot so that NFS can mount properly at boot also?I'm using Fedora 11 (32bit) with a wireless router that has a security of WPA-PSK [TKIP] + WPA2-PSK [AES]. I could switch to some of the older versions if necessary to get this working.

View 5 Replies View Related

Ubuntu Servers :: Mount A USB Drive In Rc.local With /sbin/mount And UUID Instead Of Fstab?

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

General :: Setup Fstab To Automatically Mount NTFS Partitions - GUI To Set The Mount Permissions?

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

Fedora Installation :: Editing Fstab File To Mount Ntfs Volumes Rw For User Account?

Mar 29, 2009

I have two NTFS volumes I want to automount at boot. I can't get my user account to mount them in Fedora 10. I keep getting the message that the two lines I have edited in fstab are bad. The volumes are sda2 and sda8, and the volume names are SPACELAB and Spaceman. I also need to be able to mount an NTFS usb drive from time to time. I am getting frustrated, so I have posted my fstab file below,

#
# /etc/fstab
# Created by anaconda on Sun Mar 1 12:44:11 2009
#

[code]....

View 13 Replies View Related

Fedora :: Fstab Ext3 F11 - Automatically Mount The Drive In File Tree At The Location /mnt/TheDrive?

May 15, 2010

With a 1Tb USB drive plugged in, we'll call it "TheDrive", I boot my machine and "TheDrive" is mounted automatically. The icon is on the desk-top. "TheDrive" mounts to /media/TheDrive. Everything is fine. But, I would like to automatically mount the drive in my file tree at the location /mnt/TheDrive. I would not like to have the drive automatically mounted to /media/ and appear on the desktop. I know that this requires the use of fstab; but, I do not know what to add to this file.

[Code]...

View 14 Replies View Related

Fedora Hardware :: Edit The Fstab File In Order To Mount The Second Hard Drive And Get Files Off Of It?

Jul 28, 2010

I have a second hard drive with fedora 10 installed on it. My primary drive and os is fedora 12. How do I edit the fstab file in order to mount the second hard drive and get files off of it

View 8 Replies View Related

Fedora :: Can't Boot - Need To Edit Fstab

Oct 2, 2009

I really need some help here, this is driving me mad. I edited my fstab file to boot a partition on start up, only instead of typing sda7 I typed sda1 by mistake and now can't boot.
The problem that is driving me mad is I cannot save changes to fstab from a live cd because I do not have root permissions.
I am relatively new to Linux and have no idea how to use the fedora install disk or the commands to use or if it will let me save changes to the file.
I cannot believe something so easy to fix does not appear to be possible because i can't save changes to the fstab on my fedora install.

View 3 Replies View Related

Red Hat / Fedora :: Cant Boot After Changing /etc/fstab?

Oct 2, 2010

I've edited /etc/fstab to auto-mount two partitions on a new disk drive that have been formatted as ext3, by appending the following two lines:

/dev/sdb1 /bak1 ext3 defaults 1 1
/dev/sdb2 /bak2 ext3 defaults 1 1

On reboot, the system complains there is some problem (I can't advise what the problem is, because the display scrolls up too fast to read!), and I'm left with a root command prompt.

Its a /etc/fstab problem, presumably. I've used vi to edit /etc/fstab to remove the two lines mentioned above, but on quit and save, I'm told I have a read-only file system!

1. How can I mount a read-write file system so I can edit /etc/fstab?

2. What's wrong with my two new entries in /etc/fstab? After formatting /dev/sdb1 and /dev/sdb2, I checked the they were mountable with # mount /dev/sdbn /bakn (n = 1, 2) before editing fstab.

View 9 Replies View Related

Fedora :: Repair FSTAB - Change In Boot But It Says Read Only

Jul 21, 2011

I have a bad entry in /etc/fstab I have tried to tried to change in boot but it says read only. It will not take su. I have a livecd but I can't seem to get to my filesystem from a terminal where I can specify su

View 2 Replies View Related

Fedora :: Accidentally Removing /etc/fstab Cannot Boot/enter Run Level 2

Jun 8, 2010

1. I accidentally removing /etc/fstab

2. reboot

3. It enter gdm/runlevel 5 though several warning complaining missing /etc/fstab (i can post the boot.log if it is needed)

4. I "touch /etc/fstab"

5. reboot (and cannot pass run level 2)

I can enter run level 1, but when after that if I "init 2" it is halted. Most of the boot message (after i create empty fstab with touch) is complaining about read only filesystem.

ps note:

1. I use LVM

2. I don't have access to a live cd until saturday

3. /etc/mtab is empty as well when i checked it in run level 1

View 4 Replies View Related

Ubuntu :: Mount As Non-root In Fstab?

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

Ubuntu :: Mount NAS Share In Fstab?

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

SUSE :: Mount - Fstab - Permissions ?

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

Software :: Can Mount Ftp Server In Fstab

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

Debian :: Mount In Fstab Doesn't Work

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

Debian :: Mount Ntfs Partition In Fstab?

Mar 13, 2011

/dev/sda1: UUID="1ABC9F967605D379" TYPE="ntfs"

View 2 Replies View Related

Debian :: Mount NTFS Partitions In /etc/fstab?

Jun 29, 2010

Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.

a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.

b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?

c) Which options should I use?

d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).

View 5 Replies View Related

General :: Mount And Umount As User Without Fstab?

Jul 19, 2011

I am writing this software that creates virtual block device nodes almost like loop does. I need to allow non-superusers to mount and umount filesystems from these devices. I don't know the names of the block device nodes beforehand so i can't use fstab entries to add "user" or "owner" flags there.

Currently i solve this by providing a small suid helper tool that verifies that this is indeed "my" block device the user is trying to mount and then just call /sbin/mount or /sbin/umount to do the job. This is definitely better than setting a suid bit for the whole program but not really perfect.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved