Server :: How To Mount NFS Over WAN
Jun 23, 2011how to guide for mounting NFS share over WAN.
View 9 Replieshow to guide for mounting NFS share over WAN.
View 9 RepliesI'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.
i have installed nfs server on my redhat machine.when i want to mount shared data from client(suse)machine the following error occur."mount.nfs: mount to NFS server '10.3.31.146:/home/usbtest' failed: System Error: No route to host"
View 1 Replies View RelatedI have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.
View 7 Replies View RelatedI want to setup a Linux File Server for a small windows network (around 50 users). I do know that I am gona need Smb service/pkg for that. I haven't used Samba for a while now and as per the best of my knowledge, entire communication (including usernames and passwords) between a samba server & windows client machines will be plain text. Is there any way to secure all this communication??
Secondly, if i remember correctly, MS windows wont let me mount more than one samba shares as network disk when all my shares can be accessed by different smb users with different passwords?? is there a solution to this problem? OR may be if there is any other package available for this purpose so that i wont have to use samba?
i have purchased sun server for my visualization project. Request you to help me finding the io for disk .I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.
How would i monitor the io for file server from the Application server where i have configured 4 virtual machine. one way to mount the file server share on application server and execute
dd if=/dev/zero of=/share/test.out bs=1024 count=1024 to check the read and write Is there any other way of doing this.
In my production setup, i have 3 servers using the same mount point. However, i see that the IOPS is low. Does this kind of architecture have any impact on IOPS. In case it is neutral, how can i tune my setup for better IOPS.
View 1 Replies View RelatedFirstly, I would like to know if it's possible. Secondly, how do I do it? I want to have a svn server (box A), however the files are stored on another box (box B, windows server). The users of the svn server will be auth via LDAP. I already have the LDAP setup and users can login. I can also mount the directory on box B that has the files. However, this is mounted by a single user, which doesn't sound like a good idea. I unfortunately only have admin access to the svn server box. PS Just to make this a little more fun the svn will be served via apache, https.
View 1 Replies View RelatedI have server with 32 GB ram. And i have biggest problems with HDD I/O speeds.Now i want to do use my 16 GB Ram like HDD.How can i mount 16 gb ram like hdd in CentOS ?And data safety is not problem for me.I used for sessions and if data lost in restart i dont care
View 5 Replies View RelatedI am using RHEL 5 and want to backup my linux file system from Linux rescue live CD, the partition I have is LVM, when I type LVM, not respond. And pvdisplay. command (command not found). How can I mount a lvm partition from live CD?
View 2 Replies View RelatedThis is my first time working with NFS but I fail to see what the issue is since everything works properly.
View 13 Replies View RelatedI had a centos Linux 64bit installed on my server.Unfortunately I don't know how but my OS crashed and now I have no way to get back my DATA except for rescue disk. I have a Linux 64bit loaded in my server with rescue but I have tried many ways to mount my hdd in Linux and was not succeed.
root@rescue ~ # fdisk -l
Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
[code]....
I am trying to NFS mount from an Atmel AVR32 Grasshopper (embedded Linux) client to a Ubuntu 8.04LTS server.
I have followed the guidelines in the Ubuntu NFSv4HowTo [url]
My export directory is /export/home
I know the network is working fine, because I can telnet into the Grasshopper, and browse to its web page.
I am running ubuntu server 10.10. It was running fine until I tried installing a second hdd to back up my desktop (xp) and laptop (win7). I was following this guide: [URL]. I formatted it first as ext3 then realised I need fat32 so reformatted as vfat. When I went to mount the drive I got a warning that started:
Code:
gksu:2400 Gtk-warning........
I rebooted using:
Code:
shutdown -r now
But when it restarted it stopped at a blank screen with a flashing 'underscore' in the top left corner. Where to go from here? Do I need to do a fresh install?
We can mount one NFS server just fine, but if we try mounting a share from another NFS server on the same domain we are unable to. We are using Fedora 10. Has anyone run into a problem trying to mount an exported share folder from an NFS server. Some of us get access denied and we've chmod 777 on the exported folder. The export file contains:
/labdocs 192.168.1.0/24(rw, sync, no_root_squash)
And that's it. We run exportfs -a -v and it shows up fine. On one of the client systems we try to mount the folder on a directory created by root
mkdir /docs
mount 192.168.1.13:/labdocs /docs
it either hangs or displays a message access denied.
how to allow mount in iptables for specific ip?
View 9 Replies View RelatedI'm gonna set up a HA-cluster with the help of DRBD. I have installed DRBD and it's working on the Primary node, I synced them and formated it to ext3 and mounted it successfully on the Primary.
When I'm gonna mount it on the Secondary node it just tells me that I need to specify a filesystem.. so it looks like is hasn't been synced properly or something but both nodes are up to date.
This is my drbd.conf:
Code:
global {
usage-count no;
}
resource dbcluster {
[Code].....
and could mount it without any problems on dbcluster1, but it doesn't work on dbcluster2.. according to the documentation and various howtos I'm suppose to be able to use it, mount it on both nodes etc. unless I've missed something.
Does anyone know if there is something else I need to do to get it running properly on the Secondary?
I have a server that has a Fibre Channel mount that is having issues. When I can in this morning I found that it had switched to read only. Now looking through /var/log/messages I see that there are errors reported on the disk. I know that i will need to run fsck on it, but I do see lines about the device mapper failing for mpath0 first, which is the device which is mounted. I am wondering if someone can take a look and see if this is just a drive issue, or an issue with the fibre channel connection.
uname -a
Linux server 2.6.27.25-78.2.56.fc9.x86_64 #1 SMP Thu Jun 18 12:24:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
Mar 28 00:12:36 server kernel: sd 4:0:0:0: [sdb] Result: hostbyte=DID_BUS_BUSY driverbyte=DRIVER_OK,SUGGEST_OK
Mar 28 00:12:36 server kernel: end_request: I/O error, dev sdb, sector 314570452
Mar 28 00:12:36 server kernel: device-mapper: multipath: Failing path 8:16.
Mar 28 00:12:36 server multipathd: 8:16: mark as failed
[Code].....
I'm trying to mount a mounted NFS share. I have a server that connects through VPN to a network, that has the NFS share exported. I am able to successfully mount the NFS share on that server, in /media/iSCSI. Now I want to share this NFS share with other servers, that are on the same network as the VPN-ed server, but are not connected to VPN. When I try to export the mounted share, I get:
Code:
/etc/init.d/nfs-kernel-server restart
Stopping NFS kernel daemon: mountd nfsd.
Unexporting directories for NFS kernel daemon....
[code]....
I have one NAS device and using samba share one folder without password, how can I use command mount -t cifs to mount this share folder? I tried the below command, but always popup password checking?How should I do mount this folder without password checking?
View 3 Replies View RelatedI am trying to image about 30 laptops with WinXP, and I am using Clonezilla and DRBL for the task. We will start migration to Win7 starting Q4, so for now we are still using XP. I used a Clonezilla live USB to capture a standardized image to a CIFS/SAMBA share on the enterprise file server. The file server does not support NFS. To deploy the image, I used Virtualbox to build a VM with Centos 5.5 and then later Ubuntu 10.10. I mounted the CIFS share to /home/partimag but I found that I cannot share this CIFS mount out as NFS so I was unable to deploy the image with the image still residing on the CIFS; I had to copy the image to the VM's local drive.
Now using the DRBL live distribution, which is Debian based, I was able to obtain the image from a CIFS share and then share it out to the clients to be imaged as NFS (I think). I was able to use the DRBL live for some older computers, but since that hasn't been updated in nearly 2 years, I think it's missing some device drivers for my newer machines so it doesn't work on them -- this is why I looked at using CentOS and Ubuntu. To mount the CIFS shares, I'm using the following command:
mount -t cifs -o user@domain //share_ip_addr/share_name/folder /home/mount_point
Do I need to do something different to enable the mounted CIFS share to be shared out as a NFS share so that the clients to be imaged can see the contents from the CIFS share as a NFS share? The below image depicts my setup. The workstation has two NICs. The 10 network is the enterprise network and the 192 network is for DRBL imaging only. DRBL/Clonezilla does PXE boot and leases DHCP for the laptops. The laptops are shielded from the enterprise LAN; I am not doing any kind of NAT on on the server. The Linux VM is built with dual NICs and are set to bridged mode so they appear to be a separate NIC from the VM host on the network even though they going into the same port on the wall. [URL]
I have an nfs server that is getting tons of mount requests, and i suspect it's becoming a performance issue. Even when noone is in the office I see mount/unmount requests in my logs. Is this normal?
/var/log/messages:
Mar 30 10:32:42 morgan mountd[29643]: authenticated unmount request from uranus:757 for /morgan/users (/morgan/users)
[code]....
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 RelatedI have two CentOS 5.4. One is real/host and the other one in VMware-Server.
IP of host is 192.168.200.0/24 and IP of guest is 192.168.210.0/24
I can use ftp,samba,http .. between them but can't mount nfs in the guest and vice-versa since, they are in different network. showmount -e , shows the nfs shared list
This message given while trying to mount
I had a centos Linux 64bit installed on my server. Unfortunately I don't know how but my OS crashed and now I have no way to get back my DATA except for rescue disk. I have a Linux 64bit loaded in my server with rescue but I have tried many ways to mount my hdd in Linux and was not succeed.
[Code]...
I got gigabyte chipset with an raid support. Currently I have 2 hdd's running in raid 1. When I was first installing ubuntu 11.04 server my fakeraid was detected, and I assigned a name for it in the initial installer and it was auto-mounted (working 100%) ever since.
However I was forced to reinstall my ubuntu server, and this part was somehow skipped in the installer.
HDD can still be seen in /dev/mapper
I can see
control
jmicron_GRAID -> ../dm-0
jmicron_GRAID1 -> ../dm-1
Someone in my dept rather stupidly changed an IP of a webserver, and ever since we changed it back we cannot mount 3 NFS drives.
The Error
Code:
HTTP1:/etc# /etc/init.d/networking restart
Reconfiguring network interfaces...if-up.d/mountnfs[eth0]: lock /var/run/network/mountnfs exist, not mounting
if-up.d/mountnfs[eth1]: lock /var/run/network/mountnfs exist, not mounting
done.
I have removed that lock file and tried a
Code:
mount -a
but it just hangs?
The FSTAB hasn't changed at all, and the other web servers can mount to the NFS share fine. I have tried alot, removing the lock file and rebooting etc but no luck. Debian Lenny.
Using NFS on the client machine. I am running scientific linux on my machine. Its working fine for my other machines.I have made sure that the firewall is disabled and also the selinux too. here is what i get when i use rpcinfo -p on the client.
rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100007 2 udp 868 ypbind
100007 1 udp 868 ypbind .....
I just set up a storage server with NFS sharing. Everything work fine but, when trying to mount the remote partition on my ws, this is the issue:
/usr/sbin/start-statd: line 8: /sbin/rpc.statd: Permission denied
/usr/sbin/start-statd: line 8: /sbin/rpc.statd: Success
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
I tried so to mount it locally :
mount.nfs: access denied by server while mounting localhost:/var/ftp/pub /mnt
I don't think it depends because of the permiss of the directory, and anyway it's 1777.
I built a Suse Linux server on vmware. I attached an RDM to the server and can now see the drive as a "Mass Storage Drive" in Applications - computer. When I double click on the icon, I get an error message that indicates that the drive can not be mounted. I tried to mount in gnome terminal using: mount /dev/sdb and get "can't find .dev/sdb in /etc/fstab or /etc/mtab". I tried adding device that I would like to mount to fstab, but don't think I have the settings correct. I looking for any info that might step me through the process.
View 2 Replies View Related