Technical article 109658

Is there a limit on the number of Virtual Disk Pieces under Virtual Disk Manager (VDM)?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

I want to configure a large number of virtual disks or a few virtual
disks, each with a large number of pieces, using SCO Virtual Disk
Manager.  Are there any restrictions?

Solution

The maximum number of virtual disk pieces per disk partition is limited to 30 per disk partition.

Each vdisk piece has a timestamp which is stored in the same 1KB
disk block as the divvy table.  There is only enough room to store
about 30 timestamp structures, so this is a hard-coded limit.
If you want to create more than 30 vdisk pieces on a single hard
disk, then a possible workaround is to create more than one UNIX
partition on the hard disk using fdisk(ADM) and allocate up to 30
vdisk pieces in each partition.  It is not necessary for the extra
partitions to be marked as active.  See the man page for hd(HW)
for more details on hard disk device node naming.  Also, be aware
that there is a maximum of four fdisk partitions per hard disk,
and so an overall limit of 120 (30x4) vdisk pieces per hard disk.
- The maximum number of system wide virtual disks that can be
configured is governed by the kernel parameter VDUNITMAX.  This
parameter defaults to 100; the minimum and maximum values are 5
and 256.  It can be changed using configure(ADM).
- The Virtual Disk Manager front-end does not allow creation of
a virtual disk greater than 50GB (50 gigabytes).  However, a
virtual disk of up to 1TB (1 terabyte) can be created by manually
editing /etc/dktab using a text editor and then running dkconfig(ADM)
on the command line.
NOTE:     By default, device nodes up to (and including) vdisk16 are built.
          If all these virtual disk devices are in use, edit
          /etc/conf/node.d/vdisk to define extra block and character device
          files.  For example, to define vdisk17, add the following lines to
          the vdisk node file:
vdisk   dsk/vdisk17     b       17      sysinfo sysinfo 600
vdisk   rdsk/vdisk17    c       17      sysinfo sysinfo 600

Use the command idmknod(ADM) to create the new device nodes. (This procedure was also detailed in the Virtual Disk Manager Supplement 1.1 Release Notes).

See also

SCO OpenServer 5 System Administration Guide.

ta104799, "Tips for configuring RAID arrays with the Virtual Disk Manager."

From the Xinuos technical article database, record 109658. Reproduced with permission. The original is at www.sco.com/ta/109658, 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.