Non-Persistent FastResync
70 20, 30, 40, 50, 60
VERITAS Volume Replicator (VVR) Enhancements
Unrelocate
50 20, 30, 40
SRVM (now known as VERITAS Volume Replicator or VVR)
40 20, 30
Hot-Relocation
30 20
VxSmartSync Recovery Accelerator
• A volume manager disk is given a disk media name when it is added to a disk
group which can be default or unique user defined..
CREATING VM DISK
# vxdisksetup –i <diskname>
or
#vxencap <diskname>
or we can use
#vxdiskadm (utility)
Disk groups
• A disk group is a collection of volume manager disks grouped
together to hold the data . All the configuration changes made
to a disk group are applied to the disks in that disk group only.
• Volume Manager objects cannot span disk groups i.e. all the
operations on a particular disk group remains confined to that
particular group .
• volume manager disk space that is not reserved or that is not part of a
subdisk is free space. You can use free space to create new subdisks.
CREATING SUB-DISKS
#vxmake –g dg sd disk1-01 disk1,0,100m
• A plex is also called a mirror. The terms plex and mirror can be
used interchangeably, even though a plex is only one copy of
the data. The terms "mirrored" or "mirroring" imply two or more
copies of data.
CREATING PLEX
#vxmake –g dg plex <plexname> sd=<sdname>
Volumes
• A volume is composed of one or more plexes not restricted by
the physical size of the disk.
VM Disk A contiguous area of disk space from which the Volume Manager allocates storage. Each VM disk
corresponds to at least one partition. A VM disk usually refers to a physical disk in the array.
Disk A collection of VM disks that share a common configuration. The default disk group used to be rootdg (the
Group root disk group) in versions prior to version 4, but there is now no default disk group assigned.
Additional disk groups can be created, as necessary. Volumes are created within a disk group; a given
volume must be configured from disks belonging to the same disk group. Disk groups allow the
administrator to group disks into logical collections for administrative convenience.
Subdisk A set of contiguous disk blocks; subdisks are the basic units in which the Volume Manager allocates disk
space. A VM disk can be divided into one or more subdisks.
Plex Often referred to as mirrors; a plex consists of one or more subdisks located on one or more disks,
forming one side of a mirror configuration. The use of two or more plexes forms a functional mirror.
Volume A virtual disk device that appears to be a physical disk partition to applications, databases, and file
systems, but does not have the physical limitations of a physical disk partition. Volumes are created
within a disk group; a given volume must be configured from disks belonging to the same disk group.
Disk Regions
Private
This is were VERITAS holds the meta data
regarding the disk. A copy of the configuration
database is copied to each private region within the
disk group. VERITAS will try and keep 5 copies of the
configuration database.
Public
/etc/vx/reconfig.d/state.d/install-db
vxinstall has not be run
Licenses /etc/vx/licenses/lic
/var/vxvm/tempdb
Imported disk groups info
Note: to clear the tempdb file:
vxconfigd -k -x cleartempdir - clear the /var/vxvm/tempdb
vxmake sd <sub-disk>
Creating sub-disk
<disk>, offset, len
Removing sub-disk vxedit rm <sub-disk>
vxsd mv <old sub-
Moving sub-disk
disk> <new sub-disk>
vxmake plex <plex>
sd=<sub-disk>, …
i.e vxmake plex
Associating with a plex
home-1 sd= disk02-
01, disk02-00,
disk02-02
Dissociating vxsd dis <sub-disk>
vxsd –s<size> split
Splitting
sd<new sub><newsub2>
vxsd join <sub-
Joining disk1><subdisk2><new
subdisk>
Plex
Creating a
vxmake plex <plex> sd =<sub disk name>
plex
Attaching a
vxplex att <volume> <plex>
plex
Detaching a
vxplex det <plex>
plex
Offlining a
vxmend off vol01-02
plex
Starting a volume vxvol start <volume