08-13-2012
Does it have to be NFS mount in order to copy the file? NFS is not always the best way to go.
Can you use other utilities such as 'scp' or 'rsync' to name a couple? If you have mixed up versions of NFS installed on the different servers you may not be able to achieve the throughput you are looking for. Look at nfsstat as mentioned above.
10 More Discussions You Might Find Interesting
1. Solaris
I am new user to solaris and installed solaris operating system on full Harddisk 120Gb. I am unable to copy music files to desktop and /home directory.
One thing happened while registering is- i entered login-root and its password. The message prompted your system is crashed. Is it because of... (1 Reply)
Discussion started by: patilmukundraj
1 Replies
2. Shell Programming and Scripting
hi
I want to copy all files from the current directory and move to .archive file.
Moreover,I want to add .bak to each file name, that will be copied.
How can I do that? (4 Replies)
Discussion started by: tjay83
4 Replies
3. AIX
We have 22 servers where 3 of them have gzip 1.2.4 installed on our AIX 4.2 .
If I want to copy that gzip unto all the other servers, is it simply a matter of compying the /usr/local/bin/gzip or do I also have to copy other files (librairies, ...) ?
I sent an email to the gzip support group... (10 Replies)
Discussion started by: Browser_ice
10 Replies
4. UNIX for Advanced & Expert Users
I am userB and have a dir
/temp1
This dir is owned by me.
How do I recursively copy files from another users's dir userA?
I need to preserve the original user who created files, original group information, original create date, mod date etc.
I tried
cp -pr /home/userA/* .
... (2 Replies)
Discussion started by: Hangman2
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am just wondering is it possible to move or copy a file from a UNIX server to a different location e.g. the C drive on a computer?
I have used the cp command to move files to different locations on unix servers but it would be handy to move a file to my C drive.
I am currently... (3 Replies)
Discussion started by: crunchie
3 Replies
6. Shell Programming and Scripting
Hi All,
I'm trying to list some files from my log directory
and files are like this
log.20110302_20.gz
log.20110302_21.gz
log.20110302_22.gz
log.20110302_23.gz
log.20110303_00.gz
log.20110303_01.gz
log.20110303_02.gz
............
log.20110311_22.gz
log.20110311_23.gz... (2 Replies)
Discussion started by: thelakbe
2 Replies
7. Shell Programming and Scripting
Hi All,
I am doing this for svn patch making. I got the list of files to make the patch. I have the list in a file with path of all the files.
To Do
From Directory : /myproject/MainDir
To Directory : /myproject/data
List of files need to copy is in the file: /myproject/filesList.txt
... (4 Replies)
Discussion started by: linuxadmin
4 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Please help me for a shell. I am a New to unix
I am trying to DB dump file from one server and copying it to another server.
From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC.
I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies
9. Shell Programming and Scripting
I'm trying to do this exact same thing, so far I have created this to move files
i've named my script CP.sh
#!/bin/bash
cd /root/my-documents/NewDir/
for f in *.doc
do cp -v $f root/my-documents/NewDir $f{%.doc}
done
When i go to run this in the console i type, bin/sh/ CP.sh
but it... (7 Replies)
Discussion started by: MKTM_93_SIMP
7 Replies
10. Shell Programming and Scripting
Shell script for connecting multiple servers and then copying 30 days old files from those server .
HI ,
I have 6 multiple servers
pla1,pla2,pla3,pla4,pla5,pla6
1. These six servers have common shared mount point /var/share
2. Running script from /var/share to connect these servers.I... (1 Reply)
Discussion started by: rcroyal88
1 Replies
LEARN ABOUT CENTOS
locktest
LOCKTEST(1) Test Suite LOCKTEST(1)
NAME
locktest - Find differences in locking between two SMB servers
SYNOPSIS
locktest {//server1/share1} {//server2/share2} [-U user%pass] [-U user%pass] [-s seed] [-o numops] [-a] [-O] [-E] [-Z] [-R range] [-B base]
[-M min]
DESCRIPTION
locktest is a utility for detecting differences in behaviour in locking between SMB servers. It will run a random set of locking operations
against //server1/share1 and then the same random set against //server2/share2 and display the differences in the responses it gets.
This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers.
OPTIONS
-U user%pass
Specify the user and password to use when logging on on the shares. This parameter can be specified twice (once for the first server,
once for the second).
-s seed
Seed the random number generator with the specified value.
-o numops
Set the number of operations to perform.
-a
Print the operations that are performed.
-A
Backtrack to find minimal number of operations required to make the response to a certain call differ.
-O
Enable oplocks.
-u
Hide unlock fails.
-E
enable exact error code checking
-Z
enable the zero/zero lock
-R range
set lock range
-B base
set lock base
-M min
set min lock length
-k
Use kerberos
VERSION
This man page is correct for version 4.0 of the Samba suite.
SEE ALSO
Samba
AUTHOR
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2].
locktest was written by Andrew Tridgell.
This manpage was written by Jelmer Vernooij.
NOTES
1. Samba
http://www.samba.org/
2. Samba Team
http://www.samba.org/samba/team/
Samba 4.0 06/17/2014 LOCKTEST(1)