Solved

How do I add a second hard disk.

Posted on 1998-10-15
3
370 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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…
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…

756 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