Questions tagged [nfs]

NFS is an acronym for Network File System, a network file system developed by Sun Microsystems most often associated with the Unix family of operating systems.

NFS is an acronym for Network File System, a network file system developed by Sun Microsystems most often associated with the Unix family of operating systems.

NFS is derived from the distributed file system mechanism. It is generally implemented in computing environments where the centralized management of data and resources is critical. Network file system works on all IP-based networks. It uses TCP and UDP for data access and delivery, depending on the version in use.

Network file system is implemented in a client/server computing model, where an NFS sever manages the authentication, authorization and management of clients, as well as all the data shared within a specific file system. Once authorized, clients can view and access the data through their local systems much like they'd access it from an internal disk drive

1399 questions
0
votes
2 answers

Shell scripting extra parentheses displayed

I am a beginner in shell scripting echo $ip "node$i" >> /etc/hosts Writing the above in shell leads to 192.168.1.2 { 192.168.1.4 node2 192.168.1.2 } I dont want { and } .What should i do? Complete program read total number=virsh list --all | …
sww
  • 856
  • 1
  • 8
  • 15
0
votes
1 answer

why the NFS v3 is stateless and NFS V4 is state full?

is there any specific reason why the authors chosen NFS v3 as stateless and V4 as state full?
0
votes
1 answer

FolderExists function of VB6 sometimes fail

My batch program had been working without any problems for a decade. I replaced a NFS(Network File System) with new one. After that, it has become to fail once or twice per month. (The program is working three times per day) The following is an…
Sankame
  • 113
  • 9
0
votes
1 answer

NFS doesn't mount after username change

NFS was working fine and I had managed to mount my entire /home/old_name folder upon login/boot, however, after a username change (sudo usermod new_name old_name) and updating /etc/fstab, NFS no longer mounts /home/new_name. What has gone wrong and…
puk
  • 16,318
  • 29
  • 119
  • 199
0
votes
1 answer

File r/w locking and unlink

I have following problem. I want to create a file system based session storage where each session data is stored in simple file named with session ids. I want following API: write(sid,data,timeout), read(sid,data,timeout), remove(sid) where…
Artyom
  • 31,019
  • 21
  • 127
  • 215
0
votes
1 answer

NFS hierarchy suggestions

I am in the process of creating a webpage that will allow the user to upload video/mp3/images. I have been browsing around looking for something that would point me in the right direction but have nothing that has helped clear this up. Would it be…
Andrew.W
  • 3
  • 2
0
votes
1 answer

Sharing an already shared location using NFS

Is it possible to share a shared location with another system using NFS ? For Eg: Shared location is auto-mounted and appears in /etc/fstab of machine2 : machine1:/loc1 /shared_location nfs defaults I want to share the folder /shared_location…
Rahul
  • 1
  • 2
0
votes
0 answers

JBoss is not able to write files to external nfs mount

I have an nfs mount. I run JBoss and Spring/Java. As root, I am able to read/write files to the nfs shared location. JBoss is started as root. For some reason JBoss is unable to write to the nfs shared location. JBoss write operation does however…
user1340582
  • 19,151
  • 35
  • 115
  • 171
0
votes
0 answers

files movement in network file system

I have around 500 directories and each directory contains about 1000 files. I want to move all these files in a single directory(it will have around 500000 files.). But it takes around 20 minutes to do so. I am using readdir iterator and rename…
quartz
  • 747
  • 9
  • 26
0
votes
3 answers

NFS or SMB on Windows Share

If I were to create a Windows shared folder, put a database file in that folder to be shared among multiple users of our client app, is that an NFS or SMB shared folder?
Ben Mc
  • 2,038
  • 6
  • 30
  • 37
0
votes
1 answer

Attempt to mount remote nfs only when it is accessed

I'm looking for some way to mount nfs belatedly, only when it is being accessed. The ideal solution would be if I could add an entry to fstab for the remote nfs drive, but only attempt to mount that drive when it is being accessed. Basically, I…
jadams
  • 33
  • 1
  • 4
0
votes
5 answers

mount: nfs access denied by server

Am trying to mount a NFS device in my linux machine. My /etc/fstab is like this, 192.168.0.5:/volume2/Asterisk_Recordings /var/spool/newnfs nfs rsize=32768,wsize=32768,intr,noatime 1 0 My /etc/mtab is like…
Gopala Krishnan
  • 167
  • 3
  • 3
  • 10
0
votes
2 answers

How can I use read timeouts with stat?

I have the following code: #!/bin/bash read -t1 < <(stat -t "/my/mountpoint") if [ $? -eq 1 ]; then echo NFS mount stale. Removing... umount -f -l /my/mountpoint fi How do I mute the output of stat while at the same time being still able to…
Ville
  • 4,088
  • 2
  • 37
  • 38
0
votes
1 answer

NFS time gap too long

I've got 2 machines that exchange data via NFS: 2 different files of about 20 bytes. The client writes its file and the server reads and deletes it then it writes its different file and the server reads and deletes. And so on. The 2 files have…
asclepix
  • 7,971
  • 3
  • 31
  • 41
0
votes
1 answer

NFS unavailable until NFS server restart

I have quite a strange problem with NFS. I have two systems. One is my workstation, Ubuntu 13.04, linux kernel 3.8.0. Here I've got a directory with code I am working on: /home/user/source. The other is a virtual machine running on some remote…
Sventimir
  • 1,996
  • 3
  • 14
  • 25