Index Index for
Section 8
Index Alphabetical
listing for V
Index Bottom of
page

volrootmir(8)

NAME

volrootmir - Mirror areas necessary for booting to a new disk

SYNOPSIS

/usr/sbin/volrootmir [-a] [nconfig=count] target_disk [swap=target_partition]

OPTIONS

-a Specifies that all volumes on the system disk be mirrored, not just the root and swap volumes, rootvol and swapvol.

DESCRIPTION

The volrootmir script causes a mirror copy of areas of the root disk involved in booting to be made on the specified target disk. When used without the -a option, volrootmir adds mirrors of the root and swap volumes and allocates them on the new disk. In addition, all disk regions required for booting are set up and partitions for the new volume mirrors are created. When used with the -a option, volrootmir mirrors all in-use partitions on the system disk. To mirror a swap volume that is on a separate disk from the root volume, the swap attribute must be used to specify a separate target for the swap mirror. The target disk(s) must be at least as large as the sum of the sizes of rootvol and swapvol. Also, the physical disk should not have any disk partition in use. This script can be called from the voldiskadm menus by choosing the Mirror volumes on a disk operation.

ATTRIBUTES

nconfig=count Specifies the number of log copies and copies of the configuration database, for example, nconfig=2. swap=target_partition Specifies that the swap volume, swapvol, be mirrored on a separate disk, as specified by target_partition.

EXAMPLES

1. The following command mirrors the rootvol and swapvol volumes onto the target disk, dsk3. This command will fail if swapvol is on a different disk from rootvol. # volrootmir dsk3 2. The following command mirrors rootvol, swapvol, and any other volumes on the root disk onto the target disk, dsk3. This command will fail if swapvol is on a different disk from rootvol. # volrootmir -a dsk3 3. The following command mirrors rootvol on disk dsk3, swapvol onto partition dsk7d, and any other volumes on the root disk onto disk dsk3. This command will fail if swapvol is on the same disk as rootvol. # volrootmir -a dsk3 swap=dsk7d 4. The following command mirrors rootvol onto disk dsk3 and swapvol onto partition dsk7d. This command will fail if swapvol is on the same disk as rootvol. # volrootmir dsk3 swap=dsk7d

SEE ALSO

volintro(8), voldiskadm(8)

Index Index for
Section 8
Index Alphabetical
listing for V
Index Top of
page