Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I ghost a Unix(Solaris 8.X) box to another

Status
Not open for further replies.

menace212

Programmer
Jul 11, 2003
144
US
Can I ghost a Unix file structure(Solaris 8.X) to another Sun Solaris. Can I do a cp for one box to another?
 
Not sure about Solaris - but on AIX I would do :
rcp -r dir_to_copy Other_server:/dir_above

HTH

Dickie Bird (:)-)))
 
it has been done here on i86pc ... but you can't do it on any system that has that funny boot loader.

if you have access to the CD's it might be easier to set up an install server and install over your network, maybe, then copy over the files that differ.
 
In Solaris, cp will only allow you to copy directories or file structures on the system you are currently logged onto...If you want to transfer to another system you would need to do something like:

rcp -p <name of file> <destination server>:<directory>

This is assuming you are currently in the directory that you are copying the file from...

Systems Analyst
HEB Grocery Company
San Antonio, Texas
 
if the disk sizes are the same you can use dd to copy from and to disks, or ufsdump/ufsrestore if the file system exists.

cp is not a good way to copy a system, tar is _much_ better in that it doesn't destroy links.
 
If the disks are the same size and geometery the dd command will do it quite nicely. If however you want to ghost furhter machines that are on the SAME NETWORK segment i.e no need to go through a router then use jumpstart and create some rules files for it. Its pretty easy to setup and will save you a lot of bother in the future.

Cheers

 
Thanks guys, I'll try rcp and Ufsdump/Ufsrestore to see what I want to use...
 
don't try rcp if you can help it ... it breaks links.

use 'tar' instead ... you can always do:

rsh <machine> tar cvf - <path> | tar xvf -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top