Server :: [OpenSUSE] Nfs _netdev - Manage Nfs Mount Via Fstab

Dec 13, 2010

I'd like to manage a nfs-mount via etc/fstab. The simplest solution (or lets say, I forgot _netdev) went wrong - but in bash I could mount - showing the entry in the fstab is fine. (nfsvers=3, soft). So I added _netdev. I expected from the system, that mount would be called twice in the init scripts: The first without those _netdev (s) and after bringing up the network then mounting all _netdev (s). But it seems, it is not working this way. Is anyone here, who can explain the (may OpenSUSE special) behaviour? I found in [URL] the information that _netdev is especially for nfs - so should work, shouldn't it?

Quote: uname -all Linux ******* 2.6.31.14-0.4-desktop #1 SMP PREEMPT 2010-10-25 08:45:30 +0200 x86_64 x86_64 x86_64 GNU/Linux

View 1 Replies


ADVERTISEMENT

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

Server :: Fstab - NFS Share To Mount Automatically

Apr 13, 2011

On a production server, I want an NFS share to mount automatically. What is the best practice to use?

[Code]...

My understanding is that it is always best practice to use IP addresses in the fstab because the server will fail to mount the share upon booting if DNS is unavailable. I've also been told that if one MUST use names in the fstab, there should be a hosts file entry for it so that the server doesn't depend on DNS on boot.

View 7 Replies View Related

General :: Mount Network Ntfs Drive On Server And Add It On FSTAB?

Jan 25, 2011

I am using CentOS 5.5 OS. I already install ntfs-3g rpm, but I don't know the command to mount network NTFS drive. I also want to mount it on my fstab file, so whenever it reloads, it can automatically mount on the specific folder.

View 9 Replies View Related

OpenSUSE Network :: Unable To Mount The Nfs Entries From Etc/fstab?

Jan 17, 2010

I am getting this error when trying to mount my client on the directory I exported in Yast2 NFS Server

View 9 Replies View Related

Ubuntu Servers :: Mount Works But Fstab Entry For Same Server Doesn't?

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

OpenSUSE :: Mount NTFS By Normal Users So Used The Entry In Fstab?

May 20, 2011

i want to mount NTFS by normal users so i used the following entry in fstab /dev/sda6 /media/Mostafa ntfs-3g noauto,exec,rw,user 0 0 however when i try to mount the partition i get the following error Unable to mount Mostafa

Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sda6': Permission denied
Failed to mount '/dev/sda6': Permission denied
Please check '/dev/sda6' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
NTFS-3G Questions at Tuxera

[Code]...

View 6 Replies View Related

OpenSUSE Install :: Auto-mount Truecrypt Partitions From Fstab?

Jan 14, 2011

I have a Windows partition encrypted with TrueCrypt. If I start TrueCrypt (or RealCrypt) I can mount the partition through the GUI. before I encrypted the partition I used to auto-mount it at boot using fstab and it would appear in my places bar in the file managers. Is it possible to auto-mount truecrypt partitions from fstab?

View 2 Replies View Related

Server :: Samba Entry Of Fstab To Mount Windows Shared Folder On Machine

Dec 15, 2010

I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.

View 6 Replies View Related

General :: Mount Read Only Ext4 Partition From Opensuse In / Etc / Fstab Under Ubuntu?

Jun 4, 2010

I have dual boot: Ubuntu 10.04 and Opensuse 11.2.Howto mount Read Only ext4 partition from Opensuse in /etc/fstab under Ubuntu?

View 3 Replies View Related

OpenSUSE Hardware :: 11.4 Fstab Entries For CD / DVD (and Floppy) Drives Will Not Mount After 11.4 Install Or Upgrade

Jul 29, 2011

After installing 11.4 my fstab entries for CD and DVD drives as well as floppy generate errors when I try to mount them automatically or via Nautilus when inserting CD or DVD. The icons and CD/DVD name show up ok but will not mount. Manually mounting via terminal command works. Here are the relevant lines from fstab

[Code]...

In /dev scd0 and scd1 are symlinks pointing to sr0 and sr1 respectively. The above error message was generated after attempting to load a CD in scd0 i.e. my laptop internal CD/DVD drive. Lines 10,11 and 12 are the fstab lines quoted above.

View 6 Replies View Related

Debian Configuration :: NFS Shares In Fstab - Error: Mount.nfs4: Access Denied By Server While Mounting (null)

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

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

Server :: Can Mount WinXP Share But Not Win7 Share In Fstab

Jun 8, 2010

this has happened in different distros, so far i have tried slack, arch, and mint at work i have an xp box with a shared folder i created. on my linux box i setup fstab as follows

Code:

//winxp/temp$ /home/user/temp cifs rw,uid=1000,gid=1000,credentials=/home/user/.creds 0 0

this gets mounted correctly and i can read/write the shared folder at home i have a win7 box that i create a share on and use the exact same code in fstab, but it wont mount the share. i get something like permission denied or access denied is there a difference in how winxp and win7 share folders? my usernames on the linux boxes match those of my windows boxes at each location. i have given my win accounts full access and control over the win shares.

View 9 Replies View Related

OpenSUSE Network :: Nfs Server On 11.2 - Mount.nfs: Mount System Call Failed

Apr 29, 2010

I've tried to get an opensuse box I have to share a directory via NFS. I've failed each time, but I thought that the third time, I'd enlist some help from the forums, if I could. how do I know that the nfs server and not the client is the problem? Short answer is: I don't! That's why nfs (and many netwrk problems) are laborious, you're troubleshooting needs to take place at both source and desitination. Next question, what do I have set up so far? Well, I did download the nfs server kernel stuff (two months back) and /etc/init.d/nfsserver start seems to get set up OK. No errors and the daemons nfsd, idmapd, mountd area all running. So, I *think* that part is OK. I have the share set up properly in /etc/exportfs and have "exportfs -r" it.

OK, now onto the trickier stuff: the client and iptables. On the client pinging to the nfserver box is perfect, and I have rpcbind running. the reported error is "mount.nfs: mount system call failed" though from experience nfs errors don't mean a whole lot.However, I will go off and check now and see if I need a mountd running on client-side too.Then there's iptables .... ouch, that could be a long and painful trek. I don't see any specific ports being blocked, and it's the iptables that the default v11.2 opensuse came with. I did turn them off and the problem was the same, so whether wishfl thinking or not, I'm hoping it's not an iptables issue.

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

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

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

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 :: 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

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

Ubuntu :: Fstab Mount Not Working/visible?

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

Ubuntu :: Fstab - Trying To Mount Hard Drive ?

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

General :: RAID Impossible To Mount Through Fstab

Nov 3, 2010

After having solved my raid5 creation problems, I'm running into a new one: the RAID is just impossible to mount through fstab. I get a wonderful "The disk drive for /dev/md0 is not ready yet or not present.
Continue to wait or press S to skip mounting or M for mount recovery."

Once the system has booted, I can perfectly run a mount /dev/md0 /media/raid and mount it manually.
I've already tried mdadm.conf with UUIDs, with device names, tried several options in fstab, xfs and ext4 filesystems, nothing to do, it won't mount.

All this is running under Ubuntu 10.04 server, kernel: 2.6.32-25 server, mdadm 3.1.4 (from a Debian sid)

Here's my mdadm.conf:

Code:

The entry in my fstab:

Code:

And just for info, my /proc/mdstat:

Code:

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

General :: Fstab And My Vista Partition - Can't Mount At All

Dec 19, 2009

I can't remember if things with mounting vista/ntfs partitions has changed, but I cannot seem to get my partition mounted as a read-write partition.

I tried this in fstab:

And it made it read-only..

So i tried this:

And it wouldn't mount it.

Quote:

Failed to mount '/dev/sda1': Operation not supported Mount is denied because NTFS is marked to be in use. Choose one action:

Choice 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly.

Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line:

Or add the option to the relevant row in the /etc/fstab file:/dev/sda1 /media/vista ntfs-3g force 0 0

View 4 Replies View Related







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