I have a sftp server running on Centos 5.10. It servers as upload/download interface for three users who basically are chrooted to three different locations.
The users run certain application procedures on app servers and on the app servers the code uploads data to the sftp server, there are three app servers for three users
Say
I have setup the autofs mounts on the Apps servers, where the application code upon completion will go to the mount point and dump the data
example
Everything works fine.
Now coming to the issue, I have a requirement of making the "UPLOAD" region common across all the three app servers so what i did was
mkdir /opt/upload
Now, this works OK if i upload data from filezilla/winscp
However from the App servers which do a autofs mount of the remote ( sftp ) servers filesystems , they are not recognizing upload to be a bound mount.When I upload data
programmatically from the app servers the data si not visible
for example
From APP server A I run the script / application code
I does not show up on /home/REGIONA/upload
and when I umount /home/REGIONA/upload, it shows up.
I figure its an issue with autofs recognizing an underlying mount binded sub directory on the remote filesystem.
Assuming I understand - in general filesystems (and the kernel) do not play well when mounted natively read/write at more than one point on separate kernels.
Our answer:
The solution we have is to create one "regular" mount, share the disk, and then mount the device as a foreign nfs filesystem on the other two systems. In our case we have one disk device nfs mounted at 9 locations.
The output of mount if we are looking for the it on the APP server is as follows
It is doing an auto mount of /sftp/msysftp01-REGION1, however I have a mount --bind mount under the /sftp/msysftp01-REGION1 which is not behaving a seperate entity and when data upload happens to that region, its not visible. I have to un mount the mount bind mount for it to be visible.
So in a nutshell autofs does not recognize the remote underlying subdirectory to be mount binded.
How to create a new mount point with 600GB and add 350 GBexisting mount point
Best if there step that i can follow or execute before i mount or add diskspace IN AIX
Thanks (2 Replies)
Hi All
I need to do bind of exiting filesystem to new storage allocated
mount --bind /prod/OpenCSS /var/lib/test
echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab
will this command just work ? (2 Replies)
Hi ALL
I am unable to do mount bind to connect new storage
Once I run the below commands both file systems were empty
Code:
mount --bind /prod/OpenCSS /var/lib/test
Code:
echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab
Please use code tags for code and data (9 Replies)
Hi All,
we have an issue in bind mounting LINUX.
we are able to see the bound mounts in mount command and
df -h <file system name> but they are not visible in normal df -h command.
all these mounts are local mounts.
we have a /xyz is mount and abc is a directory in /xyz ( /xyz/abc )
... (1 Reply)
Heyas
At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it.
EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...).
Figured about credential files,... (0 Replies)
When you get the message can't bind to ip already in use.
is there a command to search to see everything that is using that IP?
I've already check the host and hostname files (2 Replies)
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;)
Below are the configs
/etc/exports on host
/home/woodnt/Homeschool... (2 Replies)
I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password=""
mount error 13 = Permission denied Refer to the... (3 Replies)
Hi...
question is this:
How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure.
... (4 Replies)