?
Solved

How do I add a second hard disk.

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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 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.:
Suggested Courses

765 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