Solved

How do I add a second hard disk.

Posted on 1998-10-15
3
377 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

695 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