Technical article 109407

Can I regain access to my non-root Virtual Disk Manager disk arrays after reinstalling my root filesystem?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

My system crashed and I have no access to, or have not created, a tape backup. I must reinstall my root filesystem. Is there a way I can regain access to my non-root Virtual Disk Manager disk arrays? These virtual disks arrays reside on disks which do NOT include my root disk.

Solution

This is possible if a backup of the /etc/dktab is available on floppy, or if the contents of it were kept in a logbook. Upon completion of your operating system reinstallation, take these steps:

1. Reinstall Virtual Disk Manager.

Note: SCO OpenServer Release 5.0.0 will require the installation of SCO Virtual Disk Manager Release 1.1.0, which can be downloaded from the Supplements/vdm110 directory on the SCO website.

          2. Run 'mkdev hd' to add each of your non-root disks that were
             previously configured before your crash. When you get to
             fdisk, which allows you to partition your disk, choose 'q' to
             quit.  Note: Your disks already have a unix partition, so
             choosing anything but 'q' to quit or '1. Display partition
table',              will cause your data to be destroyed.
Note: SCO OpenServer 5.0.4 may bring you into fdisk on your first
pass of mkdev hd. The other releases will require a relink and
reboot after your first pass of mkdev hd. Your second pass will
then bring you to fdisk.

3. Next, you will see another menu asking if you want to scan the UNIX partition. Choose 'q' to quit.

4. You will then see:

0 bad blocks have been found. Enter the number of bad blocks to allocate space for or press <Return> to use the existing value of <some number>. Warning: Changing the value will remove all filessystems in this partition:

Press <Return> (or <Enter>) to use the existing value.

5. You will then be asked whether or not you wish to run divvy which will allow you to create and layout filesystems within your UNIX partition. With Virtual Disk Manager installed you will see a message that you should choose 'No' if you plan to use this disk for Virtual Disk Manager. Your disks are already being used for Virtual Disk Manager. Choose 'n' for No or 'q' to quit.

6. Now restore/recreate your /etc/dktab file.

7. Bring up the Filesystem Manager and choose Mount==>Add Mount Configuration==>Local and add your Local Mount Configuration. For example, if your first virtual disk is /dev/dsk/vdisk4, as depicted in your /etc/dktab, then enter that on the Device File: box. Then enter your mount point and choose any other options you want. Do this for each of the virtual disks.

8. Reboot your system. Your virtual disks should now be mounted and accessible.

From the Xinuos technical article database, record 109407. Reproduced with permission. The original is at www.sco.com/ta/109407, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.