Solved

How do I add a second hard disk.

Posted on 1998-10-15
3
351 Views
Last Modified: 2013-12-16
How do I add a second hard disk to my system SCO OpenServer 5.
So far I have /dev/rhd10. But have had no luck in being
able to use it. A complete list of commands I need would be good. I want to use all the hard disk for unix.
0
Comment
Question by:davidcawkwell
3 Comments
 

Expert Comment

by:rjs1
ID: 1812252

I don't know much about SCO Unix, but it sounds as if you need to create a filesystem on your new disk and mount it. I think the
tool for doing this is called "newfs" in Solaris - it might be
similar in SCO. Under Solaris you'd then need to edit the /etc/vfstab and /etc/dfstab files to mount the disk.
0
 
LVL 1

Accepted Solution

by:
plebras earned 100 total points
ID: 1812253
Hi !
Fisrt You need to declare the disk : use the command
"mkdev hd" : a menu asks you for the type of controler the number of controler (first is 0) or if SCSI the type of controler (eg aha), the id (0-7) the number of controler (0 if only one), the Lun (always 0 for hard disk). You need perhaps to make a new kernel and rerun mkdev hd if SCSI controler (this point is indicated if needed).
Second (after making a new kernel and reboot) you need to use the command fdisk to declare the disk (all, rest etc..) tu use for unix.The command is "fdisk /dev/rhd20"
Then you have to use the command "divvy /dev/rhd20" to create the divisions and make the file systems (one or more) with a menu. Note that you will be able to rename the name by default for the first partition (SCO names it for example d1053) by typing n (new name). You have to specify first and last block, type of division (EAFS), c (for create). Then you type i (for install) and the system file(s) will be created with the name you give (eg disk2 gives /dev/rdisk2 and /dev/disk2) Note is a interactive menu.
Now you need to define the new(s) mount point(s) for all of the divisions you have defined (eg : mkdir /users2 and chmod 777 /users2) and mount manually the file system by mount /dev/disk2 /users2.
If you want this file system mounted at start, you need to edit and add lines in the file : /etc/filesys (take example in the existing lines: bdev= cdev= mount= and so on)

Bye !
0
 

Author Comment

by:davidcawkwell
ID: 1812254
Good answer unfortunately whenever I start to write to this
disk for one reason or another it crashes the whole machine.
I even tried installing SCO again with just this disk as the master but the install falls over virtually straight away. But that's
nothing more than I've come to expect of crappy UNIX.
I did however manage to install it on another PC with this disk so that will sort my problem.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now