Fedora Servers :: NFS: Submounts Under Exported Mount

Dec 9, 2009

I have an exported (via NFS) file system that contains other sub-mounted file systems (eg, DVD drives, ISO files, etc). While the sub-mounts show up locally, they aren't visible when the parent mount is exported.

In /etc/exportfs, the nohide option is specified for that export.

What else do I need to do?

View 3 Replies


ADVERTISEMENT

Fedora :: Submounts Not Exported With NFS

Jan 29, 2010

I have a filesystem mount at /A. I can export that filesystem via nfs with no issues.

I then mount an ISO image in a folder under /A: mount -o loop fname.ISO /A/isomnt. The original mount /A had the nohide option.

The files in the ISO image are available on the local machine, but the submount doesn't get exported by nfs to any other systems (FWIW: it does show up via samba). I have even run exportfs -a after the ISO mount, but that did nothing.

I have several ISO files that I would like to make available this way, without having to make several nfs exports for all of these, and then make mount commands on all of the remote systems.

Is this possible? If so, what do I need to do to make this work?

View 3 Replies View Related

OpenSUSE Network :: Cannot Mount NFSv4 Exported Dirctories?

Oct 20, 2010

I am using OpenSuSE 11.3 (64 bit) and am trying to force my new server use NFSv4. Later, GSSAPI, sould be added, but for beginning, I want to configure without it for now. If I try using NFSv3, this works good, but I need NFSv4. I have exported my directory:

Code:
omega:/ # cat /etc/exports
/distrib *(ro,no_root_squash,sync,no_subtree_check)
After mount attempt I have a error:
Code:
omega:/ # exportfs -var

[Code]...

View 4 Replies View Related

Ubuntu Servers :: Very Slow Response Of Browser Exported On Ssh Connection

Jul 19, 2010

firstly it took a very long time to display the browser.After the browser was working on my localmachine it took really long time to show the response.I am doing all this on internet and the server has bandwidth as 6Mbps and my internet connection has a speed 1Mbps what could be the reason for such a slow response.The same exists in case of Chromium is there a way to make it fast.Ubuntu 10.04 server edition and ssh2.

View 2 Replies View Related

Fedora Servers :: FC9 Can't NFS Mount From Solaris 10

May 6, 2009

FC9 (fresh install) can't NFS mount from Solaris 10 machine called NFSServer.# uname -a Linux myFC9 2.6.27.19-78.2.30.fc9.x86_64.Firewalls and iptables disabled on both hosts. On the client side myFC9 is trying to NFS mount NFSServer:/opt/sysadmin as read-only. On the NFSServer side the filesystem is exported read-only and "visible" as with show-mount.

View 2 Replies View Related

Fedora Servers :: Can't Mount NFS Share?

Aug 13, 2010

I had everything working okay, but suddenly I couldn't mount an NFS share from one specific machine to another specific machineIn detail, I have a server (machine 'S') with a share '/big' exported. All hosts on the subnet (ie, 192.168.1.0/24) have rw access . A client machine, 'A', can mount the share S:/big. But client machine 'B' cannot. Not only are they on the same subnet, but this had been working for quite awhile. Also, I have another client 'C' and it can still mount the server's S:/big share.

When I say that 'B' cannot mount S:/big, what really happens is that the mount call just hangs for a long time (10min+). There is nothing in dmesg or /var/log/messages either.I don't think I did anything that would have changed this. The lines in '/etc/exports' are still the same. Machine 'B' has complete net access to 'S' (ping, ssh, etc), and 'B' can even mount samba shares on 'S'. Just not nfs.

View 2 Replies View Related

Fedora Servers :: Nfs Mount After Upgrade To F14?

Feb 8, 2011

I have upgraded one of the computers on my network to Fedora 14 (previously Mandriva 2010.1). There's a directory on another machine that I want to mount on this one. The directory can be mounted OK on two other machines in the network (including one running Fedora 13) and, before the upgrade could be mounted on this one, so the nfs server is OK.

If I try to mount manually I get the following:

[root@lipwig Documents]# mount -v 192.168.8.4:/backup /mnt/librarian/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Tue Feb 8 12:17:00 2011
mount.nfs: trying text-based options 'vers=4,addr=192.168.8.4,clientaddr=192.168.8.12'
mount.nfs: mount(2): Operation not permitted
mount.nfs: trying text-based options 'addr=192.168.8.4'
mount.nfs: prog 100003, trying vers=3, prot=6

[Code]...

/etc/hosts has the names and ip addresses of all the machines on the network so the reverse dns lookup (which I have fallen foul of in past years) shouldn't be an issue. So I'm kind of out of ideas. I don't recall there being any problem accessing this mount with Fedora 13 .

View 9 Replies View Related

Red Hat / Fedora :: NFS Mount Point On Two Servers?

Jun 1, 2010

I am trying to mount /NFS as nfs mountpoint on two servers ( A & B ) having OS OEL 5. After mounting the nfs filesystem, both of them behave normally for around 10 mins and after that the NFS file handle become stale and the mountpoints dont respond. While executing df -kh, the output hang out and the /var/log/messages show the following message:

May 27 15:48:56 earth mountd[3078]: Cannot export /NFS, possibly unsupported filesystem or fsid= required
May 28 04:04:20 earth kernel: nfs: server nas not responding, still trying
May 28 10:11:51 earth kernel: nfs: server nas not responding, still trying

The fstab entries for /NFS mountpoint on both servers is :
nas:/NFS /NFS nfs rw,bg,hard,nointr,tcp,nfsvers=3,timeo=600,rsize=32 768,wsize=32768,acti
meo=0 1 2

/etc/export entries on both server is :
/NFS *(rw,sync,no_wdelay,insecure_locks,no_root_squash)

View 4 Replies View Related

Fedora Servers :: NFS Shares Mount But Permissions Are All Nobody Nobody?

Apr 2, 2011

This morning my NFS shares mount but permissions are all NOBODY NOBODY. If I ssh to the server to check the drive(s) permissions are all as they should be! Exports there are fine as is my local fstab. I hope I am just suffering and update glitch because they usually go-away in a subsequent update.

I just spent an hour and a half trying to track it down with no success - time to give up before I do real damage (to which I am prone ).

fc14 on both

View 14 Replies View Related

Programming :: Dereferencing Exported Variable?

Jul 6, 2010

This is probably a very easy thing to do, but I don't know how: I'd like to export an env't variable, and then use its reference in a Bash script

Code:

View 5 Replies View Related

Server :: Read An LVM Volume That Was Not Exported?

Feb 8, 2011

I have a machine which had a hardware fault and I want to read the disks by plugging them into a SATA-USB docking station in another machineWhen I do thisI can see the partitions on the old disk, but cannot read the LVM volumes on one of these physical partitions.Commands like pvscan do not find anything on this disk. Apparently you are supposed to export the volumes before trying to read them on a new system, but this was not performed. Does anyone know how to access the data on this disk? Surely it is possible.

View 1 Replies View Related

Fedora Servers :: Failed To Mount Share On Client

Jan 23, 2010

Setting of my NFS as following and I am failed to mount client and get connected the both computer using Fedora 11; server ~(tower) and client (note book)

NFS Server setting ...
root@tomcat shylock_1]# cat /etc/sysconfig/iptables
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter .....

Please make note selinux demon has been disabled.

On Client Side:
file : /etc/exports EMPTY
file : /etc/hosts.allow EMPTY
file :/etc/hosts.deny EMPTY
[root@eagle shylock_1]# cat /etc/sysconfig/iptables
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter .....

After making several attempt I cannot mount share on client. What I am missing here? OR is there problem with F11 with NFS server? While throwing everything including sink... I ran tcpdump on server while issuing mount command from client; I got following tcp dump.

01:14:57.142977 IP eagle.xxxxx.co.uk.38684 > tomcat.xxxx.co.uk.sunrpc: S 593790635:593790635(0) win 5840 <mss 1460,sackOK,timestamp 38407834 0,nop,wscale 6>
01:14:57.143033 IP tomcat.xxxxx.co.uk > eagle.xxxxx.co.uk: ICMP host tomcat.xxxxx.co.uk unreachable - admin prohibited, length 68
01:15:02.142293 arp who-has eagle.xxxxx.co.uk tell tomcat.xxxxx.co.uk
01:15:02.142431 arp reply eagle.xxxxx.co.uk is-at 00:10:a7:04:d0:0d (oui Unknown)

Which reflect that client (computer - eagle) trying to make call on Server - tomcat but failing. We have a router which also server DHCP Server and issue IP but server has static IPs.

View 2 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 Servers :: Setting Up A FTP / P2P - Mount Point Information

Aug 19, 2011

I have just been gifted with a Linux dedicated server for the next six months, with an option to renew after that time has expired, and I'd like to set it up for FTP/P2P use. I do have some familiarity with Fedora from work, but only as a pre-installed desktop OS. The company providing the server has asked me to choose a OS, so of course I picked the one with which I already have some knowledge. They've also asked me to provide partition and mount point information, and it's here that I'm having some problems. I've spent most of my free time today reading everything I could about partitioning for a server, and I'm still not comfortable making this decision on my own.

The server comes with two drives - one 500GB and one 1TB, and 8GB RAM. My thinking is to use the 500GB drive for the OS, and the 1TB for media storage. I know I still have a good bit of learning to do, but I just want to get the blasted thing set up so I can get on with the hands-on part of figuring out how it works.

View 14 Replies View Related

Software :: [bash] Exported Variable Gone After End Of Script?

Apr 22, 2011

I'm using a simple Bash script to export an environment variable, eg.

Code:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/my/own/dir

[code]....

View 2 Replies View Related

Software :: Referencing Non Exported Kernel Symbol In LKM

Aug 21, 2010

So after much intense reading of linux documentation and posts I can't find an answer to my question. Maybe someone can help.I am trying to access a kernel symbol that isn't exported (the symbol exists in /proc/kallsyms but not in Modules.symvers). Is there a non intrusive way (by avoiding compiling the kernel with CONFIG_KALLSYMS and parsing /proc/kallsyms in my LKM) to reference kernel symbols that are in /proc/kallsyms and not in Modules.symvers i.e. not exported symbols.

View 1 Replies View Related

Fedora Servers :: NFS Drive - Mount System Call Failed

Oct 5, 2009

These are the settings on my server, which has a static ip:
Code:
[tim@computim ~]$ cat /etc/exports
/media/cavern 192.168.1.*(rw,sync)

Code:
[tim@computim ~]$ cat /etc/hosts.deny
portmap:ALL
mountd:ALL
rquotad:ALL
statd:ALL
lockd:ALL

Code:
[tim@computim ~]$ cat /etc/hosts.allow
portmap: 192.168.1.2/100
lockd: 192.168.1.2/100
rquotad: 192.168.1.2/100
mountd: 192.168.1.2/100
statd: 192.168.1.2/100

When I try to mount the disk from my client machine I get the error:
Code:
[tim@localhost ~]$ sudo mount -t nfs 192.168.1.10:/media/cavern /media/cavern
mount.nfs mount system call failed

Thinking the problem might be due to iptables I tried the following command as recommended by a book I found on google:
Code:
sudo iptables -A INPUT -i wlan0 -f -j ACCEPT
didn't help so tried disabling the firewall - still getting the error
Both machines are running FC11 - should i be using nfs4?

View 7 Replies View Related

Fedora Servers :: How To Preverse Ownership Of File Copy From NFS Mount

Sep 17, 2010

I export a folder via NFS service.I able to mount this NFS share in another Linux machine.The folder has many files.The ownership of these files aren't belong to single user. There are more than 10 different users' files in the folder.I am trying to migrate all these files to another folder. When I use "cp -a", the new files' ownership are all reset to the logon user.

Both NFS server and client machine has exactly same copy of users/groups as these 2 machines refer to same LDAP directory service. When use "ls -al" to list the NFS share in client, I can see the files ownership is exactly the same as the NFS server.Is that possible to preserve the ownership of files while doing such migration? The "cp -a" fail to deliver the job.

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

Ubuntu Servers :: Mount Does Not List CIFS Mount Options On 10.04.2 LTS?

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

Fedora Servers :: Mount.nfs4: Mounting Localhost:/home Failed - No Such File Or Directory

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

General :: Know Which Display Number For The Variable DISPLAY To Be Exported When Ssh To Server?

Dec 26, 2010

When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only

export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock

[code]....

View 1 Replies View Related

Fedora X86/64bit :: USB Flash Drive Mount - Un-mount ?

Sep 17, 2010

Its annoying to unmount my flash drive twice.. its not a major problem actually but its kinda annoying , its whenever i plug-in my flash drive.. everything works well except when i need to un-mount it.. I usually unmount it twice using right-click of the mouse, then it mounts itself back, so i have to unmount it again.. Is there any way to control this? How do i setup the auto-mount option for USB flash drives?

View 1 Replies View Related

Ubuntu Servers :: Can't Cd To Nfs Mount?

Feb 9, 2011

I have a file share server hosted by a CentOS 5.5 install. All the other Linux CentOS 5.5 boxes can mount the share no problem.A Ubuntu Server 10.10 box however seems to be able to mount the drive, but then says cannot cd to the folder in question. I have installed the nfs-common package.The CentOS share has the following in its exports file:/media 192.168.1.0/24(ro,sync,no_root_squash)This allows use of mount server:/media /myfolderThe ubuntu box has the following in its fstab file:server:/media /myfolder/media nfs defaults 0 0I've tried setting up the users on both boxes to match, but this seems to have no effect. The exact message is:cd: <random number each time>: can't cd to media

View 4 Replies View Related

Ubuntu Servers :: Unable To Mount / Make It Possible?

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

Ubuntu Servers :: Restrict Access To Nfs Mount?

Apr 12, 2010

I will mount a nfs share on a client with fstab. Is there a way to don't allow some users accessto that folder ?

View 4 Replies View Related

Ubuntu Servers :: Unable To Mount Usb Printer

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

Ubuntu Servers :: Auto Mount Of An Usb Drive?

Sep 1, 2010

I just changed the os on my media server from Windows Home Server to Unbuntu 10.4 server. I got most of it working (samba, twonkymedia)

The only thing i have left to get working is the backup of that server. I installed bacula as i beleive it will do the job (unless someone has a better and simpler to configure idea) and i would like it to backup to my external usb 1Tb hard drive. I am able to mount the drive manually but this server gets turn on and off often to save power (and cut the electric bill) when not in use. I tried adding a line to fstab but when a do that, the server gets stuck on the startup even with the drive turned on. I read somewhere that i should use the UUID of the drive as it could change from sbd1 to sbh1 on restart so i did, same result.

View 4 Replies View Related

Ubuntu Servers :: Not Authorized To Mount Usb Or DVD Drives

Jan 2, 2011

I've got a 10.04 server install, on which I installed a basic gnome desktop. But I've never been able to automount usb drives or DVD/CDs!?but seem for desktop. May relate to not having standard gnome install? I don't have users-admin to try that, and don't see install package.

View 6 Replies View Related

Ubuntu Servers :: How To Mount FreeNAS Drive

Feb 6, 2011

I am very new to Ubuntu and have been having trouble mounting my FreeNAS drive. I installed Ubuntu 10.10 on partition sda2. I wanted to keep FreeNAS completely separate from here, so I used Virtualbox to host FreeNAS as a guest o/s on a second hdd, sdb1 mounted at /media/NAS-Data. I can access the NAS from all computers except my Ubuntu box. I have CIFS/SMB and NFS (among other) services enabled on FreeNAS.

I would like to run a program that needs access my music. I followed many of the "How To's" on the forum, but am not sure if they didn't work or if my setup is different and can't work the way that has been described. My last effort was to mount the file system using NFS, but I get a timed out error.

When I run showmount -e 192.168.0.44, result is /mnt/cNb-NAS-data 192.168.0.0. I've tried many variations to mount, but none have worked. For all I know, again I'm very new to Ubuntu, the file system is already considered mounted (/media/NAS-Data), and I just need to find the correct path to access my data. This is probably obvious, but when I navigate to NAS-Data, it has the Virtualbox NAS.vdi file.

Was hoping someone might be able to either help me get the correct path name or mounting instructions in order to view these files from Ubuntu.

View 6 Replies View Related







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