Copying files from one server to another


 
Thread Tools Search this Thread
# 8  
The simplest answer may be using rsync and SSH, but if you aren't able to install either one, you could always revert to using tar and ftp.
# 9  
The main reason why i have to move files is my root directory (cd /) is 93% occupied . So i am afraid that it may lead to crash...
So i want to delete some files from root directory but i dont know which files i want to delete...
Our solarise is claasified in to disk 1,2,3,4 .so i planned to move some files in disk4 to other solrise in same network so that root disk usgae may be reduced....
Can you help me to increase the memory space of root?
# 10  
Can you show us the output from the "df" command which showed 93% , but for all filesystems? Filling a 10 Gb root partition is quite unusual unless there is something in the root partition which is not normally there or you have a runaway log.
Has this system been up for a very long time?
Code:
who -b

Please check the root partition for large files. Must be logged in a root.
Code:
find // -xdev -type f -size +10000000c -exec ls -ald {} \;
# Don't know what version of Solaris you have. If -xdev gives a syntax
# error, use -mount

If you find large files, do not delete or null them without informed advice.
If you really don't know what you are doing it is very easy to destroy your system.


There is a lengthy pinned post on the Solaris board in unix.com.
The diagnostics side is very good but do not take any of the remedial actions without informed advice (some are dangerous).
https://www.unix.com/solaris/25840-fi...what-look.html

Last edited by methyl; 12-15-2011 at 07:54 AM..
# 11  
Code:
5146254 4687823  406969    93%    /net/mcd01

Should i execute the following mentioed cmd -xdev....

Last edited by zaxxon; 12-15-2011 at 12:59 PM.. Reason: code tags
# 12  
You might try zipping up the subfolders then using the Rapid Transfer Script (dot com) to copy the zipped files over and unzipping them. It's php and usually copies 1GB files in under 90 seconds.
# 13  
Quote:
5146254 4687823 406969 93% /net/mcd01
Quote:
my root directory (cd /)
I don't understand how the above directory is your root directory or where your size of 10 Gb came from.


Let's get some basic information about filesystem net/mcd01 .
Code:
# Large files
find /net/mcd01 -xdev -type f -size +10000000c -exec ls -ald {} \;
# Number of directories
find /net/mcd01 -xdev -type d -print | wc -l
# Number of files
find /net/mcd01 -xdev -type d -print | wc -l

 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Science: Mathematics
Difficulty: Medium
111,111,111 x 111,111,111 = 12,345,678,987,654,321
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copying files to remote server

I am trying to copy code to remote server, doing something like this However it is copying one file and than the script exits i=0; j=0 while read fn; do dir=${fn%/*} # Gets directory path fnm=${fn##*/} # Gets filename excl. path rgx_nwk="s/${nwk}/${nwk}.sac/g" ... (2 Replies)
Discussion started by: kristinu
2 Replies

2. Shell Programming and Scripting

Copying the files to Windows server from UNIX server

Hi Team, I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows. I am very new on this concept. Could you please help me or guide in... (4 Replies)
Discussion started by: gvkumar25
4 Replies

3. Shell Programming and Scripting

Copying files from one server to another server?

Hi all, In Server1, one directory contains files now. In this directory, based on some operations, daily some files will generate and store regularly. Now i want to copy the files to Server2 through SFTP/FTP command on daily based on the previous day present data(i.e based on the latest file... (1 Reply)
Discussion started by: venkat6134
1 Replies

4. UNIX for Dummies Questions & Answers

Copying files from different server

Is there any option to copy files from a different server other than using an SCP command??? thanks,:b: Arun manas (2 Replies)
Discussion started by: arunmanas
2 Replies

5. Shell Programming and Scripting

Copying files from one server to other.

Any one advice here- need to copy some files from one server to other server thru shell programming. (8 Replies)
Discussion started by: samkhu
8 Replies

6. Shell Programming and Scripting

script for Copying files from one server to another using scp

Hi Scripting experts, I am new to the unix scripting. Please help me out for solving the condition given below I am trying to develop a script for Copying files which are getting generated in server A to server B using scp. In serverA files are generating as for eg abc1.txt, abc2.txt,... (5 Replies)
Discussion started by: rohithji
5 Replies

7. UNIX for Dummies Questions & Answers

Copying a list of files from one 'server' to another?

I have two servers. I would like to copy some files from one directory on server A into the same directory on server B. Its not all the files in in the directory, just some of them. Is there a way to make a file list in a txt file and then somehow copy all the files in that list in one go to... (6 Replies)
Discussion started by: Sepia
6 Replies

8. Shell Programming and Scripting

copying files from one server to another server

Hi, I want to transfer files from one linux server to another linux server using shell script using sftp. But I dont won't that while connecting one server to another server it will ask for password , it should be part of script. I wont to know how password should be included in the... (4 Replies)
Discussion started by: manoj.solaris
4 Replies

9. UNIX for Dummies Questions & Answers

copying .profile files to a new server (SCO)

Hello Intelligent Life Forms (I hope) This should be a snap for some of you. I need to copy the /usr .profiles from 1 sco system to another. Migrating to a new server. I've tried a recursive copy to the target system with a NFS mount point from the source. Wouldn't do it permissions... (2 Replies)
Discussion started by: sighbrrguy
2 Replies

10. UNIX for Advanced & Expert Users

Copying files between 2 Unix server

Is there a simple way to copy data from one server to a different server? Seems that if 2 servers are on the same network, there should be a simple way to copy between the two. Not just one file. I need to copy a whole directory with subdirectories from one server to a different one. I... (9 Replies)
Discussion started by: Docboyeee
9 Replies

Featured Tech Videos