*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: volsetup | Section: 8 | Source: Digital UNIX | File: volsetup.8.gz
volsetup(8) System Manager's Manual volsetup(8) NAME volsetup - Initialize the Logical Storage Manager (LSM) by creating rootdg disk group. SYNOPSIS /usr/sbin/volsetup [-o force] [-n num] [diskname | partition ...] DESCRIPTION The volsetup script should be run after installing the LSM kit. volsetup is an interactive script which prompts for a disk name, if one is not provided on the command line. If the complete disk cannot be added to LSM, partition names can also be given. If more than one disk name or partition name is given as input, all the disks and partitions are added to the rootdg disk group. The -n num option can be used to specify an estimate of the number of disks that will be in the rootdg disk group. volsetup uses the value specified by the num parameter to create a private region of appropri- ate size and to select an optimal number of configuration copies per disk. The -o force option can be used to remove an existing LSM configuration and reinitialize LSM. volsetup starts vold and two voliods by default. After running volsetup, LSM is fully functional. ERRORS You may receive the following messages when using the volsetup command. LSM initialization will fail if none of the disks specified can be ini- tialized into LSM. A previous LSM configuration exists (err=22). Use the "-o force" option to reinitialize LSM. Stop. This message indicates that LSM has already been initialized on the system. To reinitialize LSM, use the -o force option. This will remove any previous LSM configuration. special-device or an overlapping partition is open Quitting... This message indicates that you tried to initialize an LSM disk on a partition or a disk that is actively in use. The partition could be a mounted UFS or AdvFS filesystem, initialized as an LSM disk or used as a swap device. special-device is marked in use for fstype in the disklabel. If you continue with the oper- ation you can possibly destroy existing data CONTINUE? [y/n] This message indicates that you tried to initialize an LSM disk on a partition that is not currently in active use but is marked for use in the disk label's partition map. For example, the par- tition may be part of a UFS filesystem (4.2BSD) or an AdvFS do- main. If you know that the partition you specified to volsetup does not contain any data, you can choose to override the warning. In this case, the fstype in the disk label will be modified to an LSM fstype such as LSMsimp, LSMpubl or LSMpriv. The exact fstype depends on whether a disk or a partition is given as an argument to voldisksetup. Note that you can use the command disklabel -s to set the fstype in the disk label to unused for partitions that do not contain any valid data. See disklabel(8) for more information. Parti- tion(s) which overlap special-device are marked in use. If you continue with the operation you can possibly destroy existing data. CONTINUE? [y/n] This message indicates that the partition you specified is not marked for use, but other, overlapping partitions on the disk are marked for use. If you override this warning, the fstype in the disk's label will be modified. The partition you specified to volsetup will be marked as in use by LSM and all overlapping partitions will be marked UNUSED. The following examples illustrate these messages: Initializing an LSM disk on a partition that is open and actively in use: # /usr/sbin/volsetup rz11c rz11c or an overlapping partition is open. Quitting... Initializing an LSM sliced disk on a disk which has partition g marked for use by UFS (4.2BSD): # /usr/sbin/volsetup rz11 /dev/rrz11g is marked in use for 4.2BSD in the disklabel. If you con- tinue with the operation you can possibly destroy existing data. CON- TINUE? [y/n] Partition g of disk rz11 is marked for use by UFS (4.2BSD). If UFS is not actively using this partition and the partition does not contain any data, you may want to override this warning, by answering y. In this case, partition g will be marked as LSM- publ and partition h will be marked as LSMpriv in the disk la- bel. Initializing an LSM simple disk on a partition whose over- lapping partitions are marked for use: # /usr/sbin/volsetup rz11c Partition(s) which overlap /dev/rrz11c are marked in use. If you continue with the operation you can possibly destroy exist- ing data. CONTINUE? [y/n] Partition c, which is being initialized into LSM, is not cur- rently in use, but other partition(s) which overlap with parti- tion c are marked in use in the disk label. If you answer y, partition c on disk rz11 will be marked LSMsimp in the disk la- bel and all partitions that overlap partition c will be marked UNUSED. Initializing an LSM disk on a disk that has no disk la- bel: # /usr/sbin/volsetup rz11 The disklabel for rz11 does not exist or is corrupted. Quit- ting... See disklabel(8) for information on installing a disk label on a disk. EXAMPLES The following is an example of volsetup usage : # /usr/sbin/volsetup rz3 rz8h This will add disk rz3 and partition rz8h to the rootdg disk group. RELATED INFORMATION disklabel(8), volintro(8), vold(8), voliod(8) Logical Storage Manager delim off volsetup(8)

Navigation Options