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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy files to an external HD

Status
Not open for further replies.

ksdh

Technical User
Oct 24, 2007
41
IN
Hello
Can anyone tell me how can i copy live files from a Solaris OS to an external hard disk.

Thanks
 
First, I'm not a Solaris user so this may not apply.

What kind of hardware are you dealing with? Particularly hard drives and hard drive controllers. To write stuff to an external drive you need to have it connected to a controller and the operating system needs to be aware of the drive and have it attached to the filesystems.

In the SCO world, using SCSI hard drives for the system, it is a matter of using mkdev to create the mount points for hardware then rebooting to get the hardware stuff in place, use mkdev again to condition the hard drive, mkdev again for filesystem creation and let it mount the newly created filesystem. Then it is a matter of copying stuff to the new location. In this regard the external hard drive is no different from an internal drive.

Moving the hard drive off the system is an issue of disconnecting the filesystem and taking it away via umount.
Putting the hard drive back on the system uses mount.

You'll probably get more specific help from a Solaris user.
 
Edfair, thanks a lot for your time and efforts. But to be honest with you, i am a new user as well, its just that i work in Ireland and my client is in germany. now they get the live feeds from the network and i want to go on site to get these feed files for internal /analytical use.
 
Some clarification needed.

Your client in Germany gets their files updated from a network connection of some type?

And you want to download those updated files to your system?

And is your system is the same type as the client system?

 
Well, we re both working on a solaris platform. The hardware might vary a little bit but i dont think it should be an issue. I just wanted to know the general way of copying files to an external HD.
 
Assuming that the OS and hardware are ready for it, setup as the drive name ext and the mount point /etc the SCO way would be:

mount /dev/ext /ext
cp /sourcedirectory/* /ext
umount /ext

In preparing the external hard drive in SCO you give the hard drive area you are using another name, above and beyond the hardware mount names. This is partitioning , except called divvy.
 
apologies for getting back so late , but thanks everyone for your help. It works with edfair's tip.

Thanks mate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top