Skip to main content

All Questions

Tagged with
1 vote
1 answer
6k views

Root squashing for NFS and SMB clarification

Root squashing means that when I try to access a directory that has it enabled, I won't be able to use my root permissions because it will be remapped to a nfsnobody user or whatever user is specified....
Kenshie van Assche's user avatar
0 votes
1 answer
120 views

Efficiently Fixing Ownership, Group Membership, and Mode Problems on an Extremely Large NFS Share

I am fixing ownership, group membership, and mode problems in an entire directory tree (except for two particular subdirectories) accessible to me only via NFS. This directory tree contains tens of TB ...
Dave's user avatar
  • 1,049
0 votes
0 answers
659 views

Files go missing when copied over NFS: cp command does not throw errors

I have a script that is copying files like this: cp $MILL_OUTPUT/$JOB_ID"_"$DATE"_"*.afp $AFP_DIR/ test $? -ne 0 && exit 3 The engine that executes the bash script will stop processing if ...
Ahatius's user avatar
  • 207
3 votes
3 answers
8k views

bash script how to parse outputs

I am writing a script to test read/write performance on the network storage, but i need a bit of help to finish the script. The script is simple: reloads the nfs mount to clear the cache ...
D.Zou's user avatar
  • 163
1 vote
2 answers
4k views

Set Linux file share permissions and ownership on a large NAS quickly

I have an isolated cluster of Linux systems, Windows systems, and appliances all mounting a set of remote shares (via NFS and CIFS). The OS sharing out the filesystems is Linux. I frequently create ...
MT.'s user avatar
  • 515
0 votes
1 answer
68 views

Live CD: Script doens't work correctly after login

I have a PXE/NFS Server (192.168.1.10), a client PC and a diskless PC. I installed base ubuntu 12.04 to client PC. I wrote this script (update.sh) to work after login to client PC. SERVER=192.168.1....
Eyüp Alemdar's user avatar
10 votes
3 answers
30k views

“ls” shows no files in mounted NFS folder, but “cd” works

An NFS share was mounted to /vol/mynfs on a Linux client. It does not show any folders with ls and bash completion does not work in /vol/mynfs too. But after changing to a subdirectory all files are ...
Jonas Stein's user avatar
  • 1,142