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!

Interchanging SCSI Hard Disk on 2 SCO Box.

Status
Not open for further replies.

salimwng

IS-IT--Management
Mar 11, 2002
134
MU
Hello guys,

OS System: SCO Unix Sys V-Rel 3.2.4.2

I have been trying something since weeks, but cannot get it right. Can i have some help from you please. The situation is as follows;

I have setup 3 unix servers ( above OS ). One is at the work place running 24/24hrs, the second one is also at the office but it acts as secondary controller in case the primary one fails and it has rsync installed on it, which mirror the data files every 3 hours internvals and finally i just setup a 3rd one which is at home ( running my Unix projects to it).

I have purchased a 9 Gig SCSI hard Disk which i have mounted to the secondary controller and copies the data to it. This works fine. But when i bring it at home (3rd Unix box ) and remount it again, i lose the data i just copied from the mirrored server in the office.

The mkdev .scsi / mkdev fd / mkdev fs all of this are working fine, it's just that everytime i unmount and bring it either at home or office, i lose the data.

What am i doing wrong in that ?

Many thanks for your ideas.
Salim
 
Are you doing the mkdev each time?
Did you call the filesystems the same thing on both machines?

When adding a disk to a system that has data on it that you want to keep you must tell divvy that it is not a new filesystem when you create the filesystems.
 
Thanks for replying stanhubble.

With reply to your questions, yes, i did the mkdev each time. As for divvy /dev/hd1a, as long as we tell it that it's a new filesystem, we wont be able to use it. Guess we need go through this way, and by doing this, it erases the previous information on the HD.

Or maybe i am interpreting it in the wrong way and you are right. The biggest problem is that i do not know how to do it then...

Any help please.
Thanks
Salim
 
When you are in the divvy screen you would select

p[revent]
then select which division number is to have a division defined but not re-initialized.

You should only need to do the mkdev once on each machine and then edit the /etc/fstab file to "not" rcmount the filesystem. This way you manually have to mount the filesystem when the drive is in the machine but it will not give you errors when the drive is not there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top