• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Tachytelic.net

  • Sco Openserver
    • Sco Unix Support
    • SCO Openserver Installation ISOs
    • SCO Openserver Binaries
    • Add a Hard Drive to an Openserver 5 Virtual Machine
    • Install SCO Vision SQL-Retriever ODBC Driver on Windows 10
    • License Expired on Virtual SCO Openserver Installation
    • How to reset the root password on SCO Openserver 5
  • Scripting
    • PowerShell
      • Add leading zeros
      • Check if a File Exists
      • Grep with Powershell
      • Create Environment Variables
      • Test for open Ports
      • Append to a Text File
    • VBScript
      • Check if a File Exists
      • lpad and rpad functions
      • Windows Update E-Mail Notification
  • Office 365
    • Connect to Office 365 with PowerShell
    • Add or remove an email alias using Powershell
    • Change Primary email address of Active Directory user
    • How to hide an AD user from the Global Address List
    • How to hide mail contacts from the Global Address List
    • Change the primary email address for an account with PowerShell
    • Change Primary email address of an AD User
    • Grant a single user access to access to all calendars
    • Forward email to an external address using Powershell
    • Convert shared mailbox to user mailbox with Powershell
  • Get in Touch
  • About Me
    • Privacy Policy

Add an additional hard drive to virtual SCO Openserver 5

July 11, 2019 by Paulie 3 Comments

This is a quick post and video that shows how to add an additional Hard Drive to a Virtual SCO Openserver 5 system.

When I configure SCO Openserver Systems I always use the LSI Logic Parrallel controller. It seems to provide reasonable performance and makes it easy to add additional virtual drives if required.

The virtual machine in the video already has two SCSI drives and I demonstrate how to add a third. When completed the /etc/conf/cf.d/mscsi file looks like this:

*ha     attach  number  ID      lun     bus
*
lsil    Sdsk    0       0       0       0
wd      Srom    1       0       0       0
lsil    Sdsk    0       1       0       0
lsil    Sdsk    0       2       0       0

The highlighted line represents the virtual disk that is going to be added. Note that in the mscsi file an asterisk symbol denotes a comment. So this virtual machine has 3 hard drives, all using the “lsil” controller at IDs 0,1 and 2.

How to add an Additional Virtual Drive

Adding an additional drive is easy, but not very intuitive in my opinion. Here is how to do it:

  1. From a root prompt run:
    mkdev hd
  2. Choose Option:
    2) Add a hard disk to a SCSI controller
  3. You are now prompted for the prefix of the SCSI Host Adapter that will support the new drive. In this case it is “lsil”. You can just press enter if that is already the default.
  4. When asked which SCSI Host Adapter supports the new device (0 or 1). Put in whatever you specified on the Virtual Hard Drive. But more than likely it will be zero.
  5. Next you are asked what the Target ID for the device is. Again, match this to the SCSI ID specified with the Virtual machine.
  6. The LUN will be Zero.
  7. Finally you are asked if you would like to update the SCSI configuration. Press y for Yes.

Now relink the kernel and reboot. When you have logged back in run the procedure above and answer the questions in the same way again. This time around “mkdev hd” actually does some work with the drive.

From here it is up to you how you want to setup the drive, but in a ESXi environment I always just make a single division and use the entire drive for Unix.

After the new drive is added and you have created a division you can mount it with scoadmin.

It is far easier to watch the video below than understand the written explanation. If you have any questions, feel free to ask.

Related

Filed Under: How To Tagged With: SCO Openserver

Reader Interactions

Comments

  1. Todd Porter says

    May 6, 2020 at 9:51 pm

    Good article.. on par with aplawrence stuff 🙂 I have one question. Do you know WHY most disk imagers have a problem with this? I would assume any image progam would just make a block by block copy of the disk and not care about the underlying OS / filesystem (if given the correct settings). I have yet to find one that will work for this exact scenario (havent tried older clonezilla yet). Most times, I will attach the imaged disk file to a SCO VM and SCO sees 3 unknown partitions on it instead of 1 partition with the x3 divisions…

  2. Paulie says

    May 6, 2020 at 10:08 pm

    In my experience and understanding (which may be incorrect) the disk imaging programs don’t have a problem, it’s the machines I’ve tried to run them on that have had the problems. Hence the reason I used the old Clonezilla. But even having done that I had to use a new bootstring. Which imaging tool did you try (and fail) with? I don’t think I have ever tried what I think you are doing – are you mounting a virtual disk that has been cloned from an existing system on a VM that has already been created?

    It is a shame most of the aplawrence stuff has vanished from his site, it was an excellent resource.

  3. bwchuah says

    June 1, 2020 at 10:39 am

    Awesome… This save me alot!!! Thanks..

Leave a Reply Cancel reply

Primary Sidebar

Link to my LinkedIn Profile
Sco Openserver Support Image
Go to mobile version