Dividing a disk partition into divisions using divvy
The
divvy(ADM)
utility divides a UNIX
system partition into a maximum of seven divisions (0 to
6). You can use these divisions as filesystems or swap
areas. Division 6 (recover) is reserved for use by
fsck(ADM)
on the root disk only.
Division 7 is reserved and refers to the entire partition.
divvy displays a table of the current divisions within
a UNIX partition. To change this table, use the following
one-letter commands to:
n-
name a division.
This creates a corresponding
block device file for accessing the division, for example,
/dev/x for a division named x.
Do not name a division usr.
c-
create a division. Used to bring a
division into use.
t-
select the filesystem type of a division.
Divisions can be one of the supported filesystem types
such as HTFS or DTFS, and
NON FS for a swap or recover area.
p-
prevent a filesystem from being created on a division.
s-
define the start logical block for a division. divvy
displays the total number of filesystem logical (1KB) blocks
available.
Note that a filesystem logical block is not the same
as a physical disk block or a SCSI logical block
(which are typically 512 bytes in size).
Do not allow any of divisions 0 to 6 to overlap; a
division cannot start on or before the end block of the previous
division.
e-
define the end logical block for a division.
r-
restore the division table to the state it was in when you
entered divvy.
Changes are not final until you quit divvy and select
install (i) from the closing menu. To leave divvy
without saving your changes, select exit (e) from the
closing menu.
Creating and resizing divisions
If you are partitioning your primary hard disk at install time, you
can reallocate the space used by the default root division to create
multiple filesystems. Do not change the other divisions
(including swap, recover, and boot) unless you are an experienced
administrator. For the primary hard disk, you would first shrink
the root division using the e command to define the new
ending block. You can then create and name a
new division that starts after the ending block of the resized root
division and ends at the old ending block for the root division.
NOTE:
You can have a maximum of 7 filesystems.
The maximum filesystem size that you can create using
divvy is 1 terabyte for DTFS and
HTFS, and 2GB for other
filesystems.
Depending on file sizes, you may experience
performance problems with filesystems larger
than 100GB to 350GB.
If you have an unusually large number of files on
a filesystem bigger than 18GB,
we recommend using DTFS filesystems
with compression disabled.
Previous topic:
Scanning a disk for defects using badtrk
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003