*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> volrootmir (8)              
Title
Content
Arch
Section
 

volrootmir(8)

Contents


NAME    [Toc]    [Back]

       volrootmir - Creates mirror of areas necessary for booting
       on a new disk

SYNOPSIS    [Toc]    [Back]

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

OPTIONS    [Toc]    [Back]

       Specifies  that  all  volumes relating to the boot disk be
       mirrored, not just the root and swap volumes, rootvol  and
       swapvol.  Specifies the number of log copies and copies of
       the configuration database; for example, nconfig=2.  Specifies
 that the swap volume, swapvol, be mirrored on a separate
 disk, specified by target_disk.

DESCRIPTION    [Toc]    [Back]

       The volrootmir script creates a copy of all areas involved
       in  booting  on  the  specified target disk and adds those
       copies as mirrors to the relevant system volumes.

       When used without the -a option, volrootmir  adds  mirrors
       to  the  root  and  swap volumes only (does not mirror the
       volume for /usr or /var) 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 inuse
 partitions on the system disk.

       To mirror a swap volume that is on a  separate  disk  from
       the  root  volume, use the swap operand to specify a separate
 target for the swap mirror.

       You can run this script from the voldiskadm menu by choosing
 the Mirror volumes on a disk operation.

RESTRICTIONS    [Toc]    [Back]

       The volrootmir command is not supported in a cluster.

       The  specified  target  disk  for mirroring the boot disk:
       Must not be under LSM control Must have a disk label  with
       all  partitions marked unused Must be as large as the partitions
 (on the boot disk) being mirrored plus the size of
       the private region (4096 blocks).

       If the swap partition is on a different disk than the boot
       disk, to mirror swap you need an additional disk that:  Is
       not under LSM control Has a disk label with all partitions
       marked unused Is at least as large as the swap space  partition
 plus the size of the private region (4096 blocks)

       Specify a disk (not a partition) as the target for mirroring
 a swap volume, if the swap volume  is  on  a  separate
       disk.





EXAMPLES    [Toc]    [Back]

       The  following  command  adds  mirrors for the rootvol and
       swapvol volumes on the target  disk,  dsk3.  This  command
       will  fail if swapvol is on a different disk from rootvol.

              # volrootmir dsk3 The following command  adds  mirrors
 for rootvol, swapvol, and any other volumes on
              the root disk on the target disk, dsk3.  This  command
  will  fail  if swapvol is on a different disk
              from rootvol.

              # volrootmir -a dsk3  The  following  command  adds
              mirrors  for  rootvol on disk dsk3, swapvol on disk
              dsk7, and any other volumes on  the  root  disk  on
              disk  dsk3. This command will fail if swapvol is on
              the same disk as rootvol.

              # volrootmir -a swap=dsk7 dsk3 The  following  command
  adds  mirrors  for  rootvol  on disk dsk3 and
              swapvol on disk dsk7. This  command  will  fail  if
              swapvol is on the same disk as rootvol.

              # volrootmir swap=dsk7 dsk3

SEE ALSO    [Toc]    [Back]

      
      
       Commands: voldiskadm(8)

       Other: volintro(8)



                                                    volrootmir(8)
[ Back ]
 Similar pages
Name OS Title
vxmirror HP-UX mirror volumes on a disk or control default mirroring
vxrootmir HP-UX create a mirror of a VERITAS Volume Manager root disk
createlabel Tru64 creates a disk label structure for a disk device
volclonedg Tru64 Creates a copy of an LSM disk group whose underlying disks have been cloned via hardware.
diskless FreeBSD booting a system over the network
diskless OpenBSD booting a system over the network
memcmp Linux compare memory areas
glxchannelrectsyncsgix IRIX configures the system to update video input areas on complete swap buffers of bound xwids
ctm FreeBSD source code mirror system
mirroring-ports OpenBSD how to build a mirror for ports distfiles
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service