Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Help with autos and mount bind Post 302919739 by maverick_here on Friday 3rd of October 2014 12:09:18 PM
Old 10-03-2014
Got it working

Hello,

I have it working now, I will document the whole procedure of what I did. I had to fiddle with the nfs options from the SFTP servers.

I basically shared with following options

Code:
/home/REGIONA/    (rw,wdelay,root_squash,nohide,crossmnt)
/home/REGIONB/  (rw,wdelay,root_squash,nohide,crossmnt)
 /home/REGIONC/ (rw,wdelay,root_squash,nohide,crossmnt)

and also

Code:
/home/REGIONA/upload (rw,wdelay,root_squash,nohide)
/home/REGIONB/upload (rw,wdelay,root_squash,nohide)
 /home/REGIONC/upload (rw,wdelay,root_squash,nohide)

Now from the sftp server if i check all the three directories
Code:
[root@XXXXX~]# ls -lrt /opt/upload/ /home/REGIONA/upload /home/REGIONB/upload/ /home/REGIONC/upload
/opt/upload/:
total 144
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.3
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.2
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.1
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.3
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.2
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.1

/home/REGIONA/upload/:
total 144
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.3
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.2
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.1
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.3
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.2
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.1

/home/REGIONB/upload:
total 144
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.3
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.2
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.1
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.3
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.2
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.1

/home/REGIONC/upload:
total 144
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.3
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.2
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme01.log.1
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.3
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.2
-rw-rw---- 1 nfsnobody root 23893 Oct  3 21:28 acme02.log.1

And if upload to any of the APP servers to the upload directory it is consistent across.

The issue is now resolvedSmilieSmilie

Last edited by maverick_here; 10-04-2014 at 01:59 AM.. Reason: I have found few typos in my post
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

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)
Discussion started by: soulshaker
4 Replies

2. UNIX for Advanced & Expert Users

mount -t cifs permission denied by mount -t smbfs works fine

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)
Discussion started by: humbletech99
3 Replies

3. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

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)
Discussion started by: Narnie
2 Replies

4. UNIX for Dummies Questions & Answers

mount --bind

I read it create hard link but I want to be sure, what does this command do exactly? Thank in advance. (1 Reply)
Discussion started by: programAngel
1 Replies

5. UNIX for Dummies Questions & Answers

Can't bind to IP

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)
Discussion started by: mchelle_99
2 Replies

6. Shell Programming and Scripting

Script to mount nas-share using generated credentials (mount EC 13,32)

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)
Discussion started by: sea
0 Replies

7. Red Hat

Linux Bind mount issues.

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)
Discussion started by: Naveen.6025
1 Replies

8. UNIX for Beginners Questions & Answers

Mount point bind issues

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)
Discussion started by: anil529
9 Replies

9. UNIX for Advanced & Expert Users

Bind

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)
Discussion started by: anil529
2 Replies

10. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

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)
Discussion started by: Thilagarajan
2 Replies
SFTP-SERVER(8)						    BSD System Manager's Manual 					    SFTP-SERVER(8)

NAME
sftp-server -- SFTP server subsystem SYNOPSIS
sftp-server [-ehR] [-f log_facility] [-l log_level] [-u umask] DESCRIPTION
sftp-server is a program that speaks the server side of SFTP protocol to stdout and expects client requests from stdin. sftp-server is not intended to be called directly, but from sshd(8) using the Subsystem option. Command-line flags to sftp-server should be specified in the Subsystem declaration. See sshd_config(5) for more information. Valid options are: -e Causes sftp-server to print logging information to stderr instead of syslog for debugging. -f log_facility Specifies the facility code that is used when logging messages from sftp-server. The possible values are: DAEMON, USER, AUTH, LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. The default is AUTH. -h Displays sftp-server usage information. -l log_level Specifies which messages will be logged by sftp-server. The possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. INFO and VERBOSE log transactions that sftp-server performs on behalf of the client. DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of debugging output. The default is ERROR. -R Places this instance of sftp-server into a read-only mode. Attempts to open files for writing, as well as other operations that change the state of the filesystem, will be denied. -u umask Sets an explicit umask(2) to be applied to newly-created files and directories, instead of the user's default mask. For logging to work, sftp-server must be able to access /dev/log. Use of sftp-server in a chroot configuration therefore requires that syslogd(8) establish a logging socket inside the chroot directory. SEE ALSO
sftp(1), ssh(1), sshd_config(5), sshd(8) T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress material. HISTORY
sftp-server first appeared in OpenBSD 2.8. AUTHORS
Markus Friedl <markus@openbsd.org> BSD
January 9, 2010 BSD
All times are GMT -4. The time now is 10:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy