[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How do I add a second hard disk.

Posted on 1998-10-15
3
Medium Priority
?
384 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 300 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.
Suggested Courses

830 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