Sponsored Content
Operating Systems Linux Red Hat Windows Drive Mount Fails to Refresh in RedHat Post 302972731 by mister_frostee on Tuesday 10th of May 2016 06:44:51 AM
Old 05-10-2016
RedHat Windows Drive Mount Fails to Refresh in RedHat

Hi all,

I have a server running Red Hat Linux 7.2 and a Windows file server. I have mounted certain paths from the Windows file server on to the Red Hat server. I can specify access privileges to folders that are visible to different users who have access to both Windows and Linux servers. However, when a new directory is created, it does not show up on the Linux server till it is restarted. If access to a folder for a user is revoked, it continues to show up for that user till the server is restarted.

This is how I have mounted the Windows shared folders on my Linux server:

Code:
//abc.com/xyz/ /home/<my_user_id>/local_mount cifs credentials=/home/<my_user_id>/.smbcredentials,uid=12345,gid=1040

The ".smbcredentials" file contains my Windows login credentials, which is needed for me to access the Windows file server path.

"xyz" is the parent path, and it contains many data folders. Whenever a new data folder is added to the "xyz" path, it doesn't appear in the mounted location specified above:

Code:
/home/<my_user_id>/local_mount

... till the Linux server is restarted.

I have tried unmounting and remounting the drive to the local path, but to no avail. Is there a solution for refreshing the mounted path without having to restart the server every time to see the newly added data folders?
 

9 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 Dummies Questions & Answers

mount external usb drive on Redhat 9

I am using Redhat 9 Linux, and am trying to get my external usb drive mounted (fat32). If I look at the KDE Control panel, it lists a usb 2.0 storage device under "USB Devices" (also in /proc/bus/usb), and under "SCSI" as scsi1. I looked at /proc/scsi/usb-storage-0, and it lists it there also. What... (6 Replies)
Discussion started by: jeremiebarber
6 Replies

3. UNIX for Dummies Questions & Answers

Mount a windows drive on unix

Hi, I would like to be able to mount windows xp to a unix system, so that I can pull data from windows machine for backup and store it on the unix server. Does anyone know how I can go about mounting the windows drive in unix. Thanks, Eric (4 Replies)
Discussion started by: ejbrever
4 Replies

4. UNIX for Advanced & Expert Users

Can I mount Windows NTFS drive?

Just inherited a windows server to support. Windows 2003 Enterprise edition I can view driver / folders on the windows NTFS volume by mapping a drive from my windows laptop.. Can I mount this from a unix server also? I heard you can use Microsoft Services for Network File System... (3 Replies)
Discussion started by: frustrated1
3 Replies

5. UNIX for Advanced & Expert Users

How to Mount a Unix share drive on Windows

We are trying to mount a Unix share drive on a Windows 2003 server to avoid transfering files accross the network using sftp. I can see shared drives on the Solaris server using the "share" command. How can I mount the drives on my Windows server so that I can read them directly. Do I need... (2 Replies)
Discussion started by: rbdenham
2 Replies

6. Red Hat

Mount Windows share on Redhat, WITHOUT Samba?

Hi, Please let me know whether I can mount a windows share on Redhat, which does not have Samba installed. The constraint is that I cannot install Samba . Looking forward for a possible solution. (1 Reply)
Discussion started by: jksena
1 Replies

7. Solaris

How to mount a windows drive on Solaris..

hi All, I have two machines one which has Open solaris as its operating system and another which has Window Xp professional.I would like to mount a drive from the Windows machine onto the open solaris machine.Just to add i wish to do this without having SAMBA in place. Anyone who can help me... (2 Replies)
Discussion started by: sankasu
2 Replies

8. Solaris

Is it possible to setup a samba share to always mount to a specific Windows drive letter???

I'm trying to setup Samba in a solaris zone... Is there a way to setup Samba so that every Windows machine that tries to connect to the share always gets it mounted under the same drive letter (e.g. H:)??? My Samba share (in smb.conf) /home/pickup I want that all Window users get it mounted... (3 Replies)
Discussion started by: verdepollo
3 Replies

9. UNIX for Dummies Questions & Answers

Need help to move .csv file from UNIX path to windows shared drive or c:\ drive

Hi Guys, Can any one help me on this. I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive? Regards, LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
CHKFONTPATH(8)							   Red Hat, Inc.						    CHKFONTPATH(8)

NAME
chkfontpath - simple interface for adding, removing, and listing directories in the X font server's path SYNOPSIS
chkfontpath [-lqfh] [-a name of directory to add] [-r name of directory to remove] DESCRIPTION
chkfontpath provides a simple method of configuring the directories contained in the X font server's path. As of Red Hat 6.0, all fonts in X are served via this separate font server process, not through the main X server process. This speeds up font rendering, and also allows use of font servers which are not running on the local host. chkfontpath is mainly used by rpm in its %post and %postun sections to add and remove new directories to the server's config file at installation and de-installation time of packages containing fonts. -a, --add=name of directory to add Add a directory to the font path. -r, --remove=name of directory to remove Remove a directory from the font path. -l, --list List all directories in the font path. -q, --quiet Quiet operation; don't display any output to the screen, even when there is an error during operation. -f, --first Requires usage of the add command; puts the specified directory first in the font path, rather than last. -h, --help Show detailed help on the command line. When directories are added to the path, some sanity checking is performed to make sure you are not adding a directory without the file fonts.dir contained in it, which the server needs to be able to render fonts properly. When a path is succesfully added or removed, the xfs process is restarted if it is currently running. RETURN CODES
chkfontpath returns 0 on success, or 1 on error. FILES
/etc/X11/fs/config Configuration file for the X font server (xfs). SEE ALSO
xfs(1),fslsfonts(1) AUTHOR
Written by Preston Brown <pbrown@redhat.com> REPORTING BUGS
Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT
Copyright (C) 1999-2001 Red Hat, Inc. All rights reserved. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTIBILITY or FITNESS FOR A PARTICU- LAR PURPOSE. 4th Berkeley Distribution Thu Jan 18 2001 CHKFONTPATH(8)
All times are GMT -4. The time now is 06:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy