HP 11i Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Software HP 11i. HP 11i User's Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 557
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Veritas Volume Manager 5.0
Administrator’s Guide
HP-UX 11i v3
First Edition
Manufacturing Part Number: 5992-3942
May 2008
Zobrazit stránku 0
1 2 3 4 5 6 ... 556 557

Shrnutí obsahu

Strany 1 - Administrator’s Guide

Veritas Volume Manager 5.0 Administrator’s GuideHP-UX 11i v3First EditionManufacturing Part Number: 5992-3942May 2008

Strany 2 - Legal Notices

11ContentsAdding a RAID-5 log using vxplex ...283Removing a RAID-5 log ...

Strany 3

101Administering disksAdding a disk to VxVMvxdiskadm then proceeds to add the disks.Adding disk device device name to disk group disk group name withd

Strany 4 - Contents

102 Administering disksRootabilityNote: If you are adding an uninitialized disk, warning and error messages are displayed on the console during the vx

Strany 5 - 6 Contents

103Administering disksRootabilityVxVM root disk volume restrictionsVolumes on a bootable VxVM root disk have the following configuration restrictions:

Strany 6 - 7Contents

104 Administering disksRootabilityBooting root volumesNote: At boot time, the system firmware provides you with a short time period during which you c

Strany 7 - 8 Contents

105Administering disksRootabilityNote: The -b option to vxcp_lvmroot uses the setboot command to define c0t4d0 as the primary boot device. If this opt

Strany 8 - Chapter 7 Creating volumes

106 Administering disksRootabilityNote: You may want to keep the LVM root disk in case you ever need a boot disk that does not depend on VxVM being pr

Strany 9 - 10 Contents

107Administering disksRootabilityAdding swap volumes to a VxVM rootable systemTo add a swap volume to an HP-UX system with a VxVM root disk1 Initializ

Strany 10 - 11Contents

108 Administering disksDynamic LUN expansionRemoving a persistent dump volumeCaution: The system will not boot correctly if you delete a dump volume w

Strany 11 - 12 Contents

109Administering disksDynamic LUN expansionAny volumes on the device should only be grown after the device itself has first been grown. Otherwise, sto

Strany 12 - 13Contents

110 Administering disksRemoving disksRemoving disksNote: You must disable a disk group as described in “Disabling a disk group” on page 207 before you

Strany 13 - Chapter 14 Administering

12 ContentsAdding a snapshot to a cascaded snapshot hierarchy ...337Refreshing an instant snapshot ...

Strany 14 - Appendix A Commands summary

111Administering disksRemoving disksContinue with operation? [y,n,q,?] (default: y)The vxdiskadm utility removes the disk from the disk group and disp

Strany 15 - Index 531

112 Administering disksRemoving a disk from VxVM controlRemoving a disk with no subdisksTo remove a disk that contains no subdisks from its disk group

Strany 16 - Volume Manager

113Administering disksRemoving and replacing disksTo replace a disk1 Select menu item 3 (Remove a disk for replacement) from the vxdiskadm main menu.2

Strany 17

114 Administering disksRemoving and replacing disksThe following devices are available as replacements: c0t1d0You can choose one of these disks now, t

Strany 18 - VxVM and the operating system

115Administering disksRemoving and replacing disksVxVM NOTICE V-5-2-158 Disk replacement completed successfully.9 At the following prompt, indicate wh

Strany 19

116 Administering disksRemoving and replacing disksc0t1d0 c1t1d0You can choose one of these disks to replace mydg02. Choose "none" to initia

Strany 20 - Disk arrays

117Administering disksEnabling a disk8 After using the vxdiskadm command to replace one or more failed disks in a VxVM cluster, run the following comm

Strany 21 - Device discovery

118 Administering disksTaking a disk offlinevxdiskadm enables the specified device.3 At the following prompt, indicate whether you want to enable anot

Strany 22 - Enclosure-based naming

119Administering disksRenaming a diskRenaming a diskIf you do not specify a VM disk name, VxVM gives the disk a default name when you add the disk to

Strany 23

120 Administering disksDisplaying disk informationThe vxassist command overrides the reservation and creates a 20 megabyte volume on mydg03. However,

Strany 24

13ContentsChapter 12 Administering hot-relocationHow hot-relocation works ...

Strany 25 - Virtual objects

121Administering disksDisplaying disk informationDisplaying disk information with vxdiskadmDisplaying disk information shows you which disks are initi

Strany 26

122 Administering disksControlling Powerfail TimeoutControlling Powerfail TimeoutPowerfail Timeout is an attribute of a SCSI disk connected to an HP-U

Strany 27 - VM disks

123Administering disksControlling Powerfail TimeoutEnabling or disabling PFTOTo enable or disable PFTO on a disk, use the following command: $ vxdisk

Strany 28 - Subdisks

124 Administering disksControlling Powerfail Timeout

Strany 29

Chapter3Administering dynamic multipathing (DMP)The dynamic multipathing (DMP) feature of Veritas Volume Manager (VxVM) provides greater availability,

Strany 30

126 Administering dynamic multipathing (DMP)How DMP worksFor Active/Passive arrays with LUN group failover (A/PG arrays), a group of LUNs that are con

Strany 31

127Administering dynamic multipathing (DMP)How DMP worksFigure 3-1 How DMP represents multiple physical paths to a disk as one nodeAs described in “En

Strany 32

128 Administering dynamic multipathing (DMP)How DMP worksSee “Changing the disk-naming scheme” on page 91 for details of how to change the naming sche

Strany 33 - Volume layouts in VxVM

129Administering dynamic multipathing (DMP)How DMP worksDMP is also informed when a connection is repaired or restored, and when you add or remove dev

Strany 34 - Concatenation and spanning

130 Administering dynamic multipathing (DMP)How DMP worksDMP coexistence with HP-UX native multipathingThe HP-UX 11i v3 release includes support for n

Strany 35

14 ContentsConverting a disk group from shared to private ...424Moving objects between disk groups ...

Strany 36

131Administering dynamic multipathing (DMP)How DMP works3 Restart all the volumes in each disk group:# vxvol -g diskgroup startallThe output from the

Strany 37 - Striping (RAID-0)

132 Administering dynamic multipathing (DMP)How DMP worksand under the new naming scheme as:# vxdisk listDEVICE TYPE DISK GRO

Strany 38

133Administering dynamic multipathing (DMP)Disabling and enabling multipathing for specific devicesEnabling or disabling controllers with shared disk

Strany 39

134 Administering dynamic multipathing (DMP)Disabling and enabling multipathing for specific devices◆Select option 1 to exclude all paths through the

Strany 40

135Administering dynamic multipathing (DMP)Disabling and enabling multipathing for specific devices? Display help about menu?? Display help about the

Strany 41 - Mirroring (RAID-1)

136 Administering dynamic multipathing (DMP)Enabling and disabling I/O for controllers and storage processorsEnabling and disabling I/O for controller

Strany 42

137Administering dynamic multipathing (DMP)Displaying DMP database informationDisplaying DMP database informationYou can use the vxdmpadm command to l

Strany 43

138 Administering dynamic multipathing (DMP)Displaying the paths to a diskdevicetag: c1t0d3type: simplehostid: zortdisk: name=mydg04 id=9

Strany 44 - RAID-5 (striping with parity)

139Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmAdministering DMP using vxdmpadmThe vxdmpadm utility is a command line admi

Strany 45

140 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe physical path is specified by argument to the nodename attribute, whic

Strany 46

15ContentsRunning a rule ...447Identifying configuration prob

Strany 47 - Left-symmetric layout

141Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmFor A/P arrays in which the I/O policy is set to singleactive, only one pat

Strany 48

142 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmoperations being disabled on that controller by using the vxdmpadm disable

Strany 49 - RAID-5 logging

143Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmNAME ENCLR-NAME ARRAY-PORT-ID pWWN=========================================

Strany 50 - Layered volumes

144 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmGathering and displaying I/O statisticsYou can use the vxdmpadm iostat com

Strany 51

145Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmc2t115d0 87 0 44544 0 0.001200 0.000000c3t115d0 0

Strany 52

146 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmc3t115d0 0 0 0 0 0.000000 0.000000cpu usage =

Strany 53 - Online relayout

147Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm primaryDefines a path as being the primary path for an Active/Passive dis

Strany 54

148 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmNote: Starting with release 4.1 of VxVM, I/O policies are recorded in the

Strany 55

149Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmYou can use the size argument to the partitionsize attribute to specify the

Strany 56

150 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm minimumqThis policy sends I/O on paths that have the minimum number of o

Strany 57

16 ContentsDirty region logging guidelines ... 515Striping guidelines ...

Strany 58 - Volume resynchronization

151Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm# vxdmpadm setattr arrayname DISK iopolicy=singleactiveScheduling I/O on th

Strany 59 - Dirty region logging

152 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm# dd if=/dev/vx/rdsk/mydg/myvol1 of=/dev/null &By running the vxdmpadm

Strany 60 - Sequential DRL

153Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmc4t2d15 1086 0 1086 0 0.390424 0.000000c4t3d15 1048 0 1048 0 0.391221 0.000

Strany 61 - Data volume configuration

154 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe disable operation fails if it is issued to a controller that is connec

Strany 62 - Volume snapshots

155Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmFor a system with a volume mirrored across 2 controllers on one HBA, set up

Strany 63

156 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmConfiguring the response to I/O failuresBy default, DMP is configured to r

Strany 64

157Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe following example configures time-bound recovery for the enclosure enc0

Strany 65 - FastResync

158 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe following example shows how to disable I/O throttling for the paths to

Strany 66 - Non-persistent FastResync

159Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmDisplaying recoveryoption valuesThe following example shows the vxdmpadm ge

Strany 67 - DCO volume versioning

160 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmConfiguring DMP path restoration policiesDMP maintains a kernel thread tha

Strany 68 - Version 20 DCO volume layout

Chapter1Understanding Veritas Volume ManagerVeritasTM Volume Manager (VxVM) by Symantec is a storage management subsystem that allows you to manage ph

Strany 69

161Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmThe interval attribute must be specified for this policy. The default numbe

Strany 70

162 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmDisplaying information about the DMP error-handling threadTo display infor

Strany 71

163Administering dynamic multipathing (DMP)Administering DMP using vxdmpadmNote: By default, DMP uses the most recent APM that is available. Specify t

Strany 72

164 Administering dynamic multipathing (DMP)Administering DMP using vxdmpadm

Strany 73 - FastResync limitations

Chapter4Creating and administering disk groupsThis chapter describes how to create and manage disk groups. Disk groups are named collections of disks

Strany 74 - Volume sets

166 Creating and administering disk groupsAs system administrator, you can create additional disk groups to arrange your system’s disks for different

Strany 75

167Creating and administering disk groupsSpecifying a disk group to commandsSpecifying a disk group to commandsNote: Most VxVM commands require superu

Strany 76 - Administering disks

168 Creating and administering disk groupsSpecifying a disk group to commandsRules for determining the default disk groupIt is recommended that you us

Strany 77 - Disk device naming in VxVM

169Creating and administering disk groupsDisplaying disk group informationIf bootdg is specified as the argument to this command, the default disk gro

Strany 78

170 Creating and administering disk groupsCreating a disk groupflags: online ready private autoconfig autoimport importeddiskid: 963504891.1070.bassd

Strany 79 - Disk devices

18 Understanding Veritas Volume Manager Volume snapshots FastResync Hot-relocation Volume setsFurther information on administering Veritas Volume

Strany 80

171Creating and administering disk groupsAdding a disk to a disk groupA disk group must have at least one disk associated with it. A new disk group ca

Strany 81 - Partial device discovery

172 Creating and administering disk groupsRemoving a disk from a disk groupRemoving a disk from a disk groupNote: Before you can remove the last disk

Strany 82 - Disk categories

173Creating and administering disk groupsDeporting a disk group There is not enough space on the remaining disks. Plexes or striped subdisks cannot

Strany 83 - # swremove vrtsda

174 Creating and administering disk groupsImporting a disk groupEnter name of disk group [<group>,list,q,?] (default: list) newdg 5 At the foll

Strany 84

175Creating and administering disk groupsHandling disks with duplicated identifiersEnable access to (import) a disk group Menu: VolumeManager/Disk/Ena

Strany 85 - Listing excluded disk arrays

176 Creating and administering disk groupsHandling disks with duplicated identifierscompared with the UDID that is set in the disk’s private region. I

Strany 86

177Creating and administering disk groupsHandling disks with duplicated identifiers# vxdg -o useclonedev=on [-o updateid] import mydgNote: This form o

Strany 87 - SNO length

178 Creating and administering disk groupsHandling disks with duplicated identifiersTo check which disks in a disk group contain copies of this config

Strany 88

179Creating and administering disk groupsHandling disks with duplicated identifiersThese tags can be viewed by using the vxdisk listtag command:# vxdi

Strany 89 - 90 Administering disks

180 Creating and administering disk groupsHandling disks with duplicated identifiersTo import the cloned disks, they must be assigned a new disk group

Strany 90

19Understanding Veritas Volume ManagerVxVM and the operating systemVxVM and the operating systemVxVM operates as a subsystem between your operating sy

Strany 91

181Creating and administering disk groupsHandling disks with duplicated identifiersDEVICE TYPE DISK GROUP STATUSEMC0_1 auto:cdsdisk EMC0_1 mydg online

Strany 92

182 Creating and administering disk groupsHandling disks with duplicated identifiersAs the cloned disk EMC0_15 is not tagged as t1, it is not imported

Strany 93

183Creating and administering disk groupsRenaming a disk groupRenaming a disk groupOnly one disk group of a given name can exist per system. It is not

Strany 94

184 Creating and administering disk groupsMoving disks between disk groupsdgid: 774226267.1025.tweetyNote: In this example, the administrator has ch

Strany 95

185Creating and administering disk groupsMoving disk groups between systemsYou can also move a disk by using the vxdiskadm command. Select item 3 (Rem

Strany 96 - Adding a disk to VxVM

186 Creating and administering disk groupsMoving disk groups between systemsCaution: The purpose of the lock is to ensure that dual-ported disks (disk

Strany 97

187Creating and administering disk groupsMoving disk groups between systemsThe following error message indicates a recoverable error.VxVM vxdg ERROR V

Strany 98

188 Creating and administering disk groupsMoving disk groups between systemsminor numbers near the top of this range to allow for temporary device num

Strany 99

189Creating and administering disk groupsMoving disk groups between systemsreminor operation on the nodes that are in the cluster to resolve the confl

Strany 100 - Reinitializing a disk

190 Creating and administering disk groupsHandling conflicting configuration copiesYou can use the following command to discover the maximum number of

Strany 101 - Rootability

20 Understanding Veritas Volume ManagerHow VxVM handles storage managementHow VxVM handles storage managementVxVM uses two types of objects to handle

Strany 102 - Root disk mirrors

191Creating and administering disk groupsHandling conflicting configuration copiesFigure 4-1 Typical arrangement of a 2-node campus clusterA serial sp

Strany 103 - Booting root volumes

192 Creating and administering disk groupsHandling conflicting configuration copiesfor the disks in their copies of the configuration database, and al

Strany 104

193Creating and administering disk groupsHandling conflicting configuration copies If the other disks were also imported on another host, no disk can

Strany 105

194 Creating and administering disk groupsHandling conflicting configuration copiesThe following section, “Correcting conflicting configuration inform

Strany 106

195Creating and administering disk groupsReorganizing the contents of disk groupsIn this example, the disk group has four disks, and is split so that

Strany 107 - Dynamic LUN expansion

196 Creating and administering disk groupsReorganizing the contents of disk groups To perform online maintenance and upgrading of fault-tolerant syst

Strany 108 - 109Administering disks

197Creating and administering disk groupsReorganizing the contents of disk groupsimported disk group exists with the same name as the target disk grou

Strany 109 - Removing disks

198 Creating and administering disk groupsReorganizing the contents of disk groupsFigure 4-6 Disk group join operationThese operations are performed o

Strany 110 - Removing a disk with subdisks

199Creating and administering disk groupsReorganizing the contents of disk groupsmust recover the disk group manually as described in the section “Rec

Strany 111 - Removing and replacing disks

200 Creating and administering disk groupsReorganizing the contents of disk groupswithin storage pools may not be split or moved. See the Veritas Stor

Strany 112

2Legal Notices © Copyright 2008 Hewlett-Packard Development Company, L.P.Publication Date: 2008Confidential computer software. Valid license from HP r

Strany 113

21Understanding Veritas Volume ManagerHow VxVM handles storage managementVxVM writes identification information on physical disks under VxVM control (

Strany 114

201Creating and administering disk groupsReorganizing the contents of disk groupsplexes were placed on the same disks as the data plexes for convenien

Strany 115

202 Creating and administering disk groupsReorganizing the contents of disk groupsFigure 4-7 Examples of disk groups that can and cannot be splitXSnap

Strany 116 - Enabling a disk

203Creating and administering disk groupsReorganizing the contents of disk groupsMoving objects between disk groupsTo move a self-contained set of VxV

Strany 117 - Taking a disk offline

204 Creating and administering disk groupsReorganizing the contents of disk groupsFor example, the following output from vxprint shows the contents of

Strany 118 - Reserving disks

205Creating and administering disk groupsReorganizing the contents of disk groupsDisk group: mydgTY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PU

Strany 119 - Displaying disk information

206 Creating and administering disk groupsReorganizing the contents of disk groupsThe output from vxprint after the split shows the new disk group, my

Strany 120

207Creating and administering disk groupsDisabling a disk groupDisk group: mydgTY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 dg mydg myd

Strany 121 - Controlling Powerfail Timeout

208 Creating and administering disk groupsDestroying a disk groupDestroying a disk groupThe vxdg command provides a destroy option that removes a disk

Strany 122 - Enabling or disabling PFTO

209Creating and administering disk groupsUpgrading a disk groupbecomes incompatible with earlier releases of VxVM that do not support the new version.

Strany 123 - 124 Administering disks

210 Creating and administering disk groupsUpgrading a disk groupImporting the disk group of a previous version on a Veritas Volume Manager system prev

Strany 124 - Administering dynamic

22 Understanding Veritas Volume ManagerHow VxVM handles storage managementFigure 1-2 How VxVM presents the disks in a disk array as volumes to the ope

Strany 125 - How DMP works

211Creating and administering disk groupsUpgrading a disk groupTo list the version of a disk group, use this command:# vxdg list dgnameYou can also de

Strany 126

212 Creating and administering disk groupsManaging the configuration daemon in VxVMTo create a disk group with a previous version, specify the -T vers

Strany 127 - How DMP monitors I/O on paths

213Creating and administering disk groupsBacking up and restoring disk group configuration dataFor more information about how to use vxdctl, refer to

Strany 128 - Load balancing

214 Creating and administering disk groupsUsing vxnotify to monitor configuration changes

Strany 129

Chapter5Creating and administering subdisksThis chapter describes how to create and maintain subdisks. Subdisks are the low-level building blocks in a

Strany 130

216 Creating and administering subdisksDisplaying subdisk informationNote: As for all VxVM commands, the default size unit is s, representing a sector

Strany 131

217Creating and administering subdisksMoving subdisksMoving subdisks Moving a subdisk copies the disk space contents of a subdisk onto one or more oth

Strany 132

218 Creating and administering subdisksJoining subdisksFor example, to split subdisk mydg03-02, with size 2000 megabytes into subdisks mydg03-02, mydg

Strany 133

219Creating and administering subdisksAssociating subdisks with plexesSubdisks can also be associated with a plex that already exists. To associate on

Strany 134

220 Creating and administering subdisksAssociating log subdisksIf the volume is enabled, the association operation regenerates data that belongs on th

Strany 135

23Understanding Veritas Volume ManagerHow VxVM handles storage managementDevice Discovery service enables you to add support dynamically for new disk

Strany 136

221Creating and administering subdisksDissociating subdisks from plexesDissociating subdisks from plexesTo break an established connection between a s

Strany 137

222 Creating and administering subdisksChanging subdisk attributes putiln tutiln len commentThe putiln field attributes are maintained on reboot;

Strany 138

Chapter6Creating and administering plexesThis chapter describes how to create and maintain plexes. Plexes are logical groupings of subdisks that creat

Strany 139

224 Creating and administering plexesCreating a striped plexCreating a striped plexTo create a striped plex, you must specify additional attributes. F

Strany 140

225Creating and administering plexesDisplaying plex informationVxVM utilities use plex states to: indicate whether volume contents have been initial

Strany 141

226 Creating and administering plexesDisplaying plex informationEMPTY plex stateVolume creation sets all plexes associated with the volume to the EMPT

Strany 142

227Creating and administering plexesDisplaying plex informationSNAPTMP plex stateThe SNAPTMP plex state is used during a vxassist snapstart operation

Strany 143

228 Creating and administering plexesDisplaying plex informationTEMPRMSD plex stateThe TEMPRMSD plex state is used by vxassist when attaching new data

Strany 144

229Creating and administering plexesAttaching and associating plexesPlex kernel states The plex kernel state indicates the accessibility of the plex t

Strany 145 - ■ preferred [priority=N]

230 Creating and administering plexesTaking plexes offlineNote: You can also use the command vxassist mirror volume to add a data plex as a mirror to

Strany 146 - Specifying the I/O policy

24 Understanding Veritas Volume ManagerHow VxVM handles storage managementFigure 1-3 Example configuration for disk enclosures connected via a fibre c

Strany 147 - ■ adaptiveminq

231Creating and administering plexesDetaching plexesDetaching plexesTo temporarily detach one data plex in a mirrored volume, use the following comman

Strany 148

232 Creating and administering plexesMoving plexesIf the vxinfo command shows that the volume is unstartable (see “Listing Unstartable Volumes” in the

Strany 149 - ■ singleactive

233Creating and administering plexesCopying volumes to plexesCopying volumes to plexes This task copies the contents of a volume onto a specified plex

Strany 150

234 Creating and administering plexesChanging plex attributesAlternatively, you can first dissociate the plex and subdisks, and then remove them with

Strany 151

Chapter7Creating volumesThis chapter describes how to create volumes in Veritas Volume Manager (VxVM). Volumes are logical devices that appear as phys

Strany 152

236 Creating volumesTypes of volume layoutsTypes of volume layoutsVxVM allows you to create volumes with the following layout types: Concatenated A vo

Strany 153

237Creating volumesTypes of volume layoutsSupported volume logs and mapsVeritas Volume Manager supports the use of several types of logs and maps with

Strany 154 - Renaming an enclosure

238 Creating volumesCreating a volumeRefer to the following sections for information on creating a volume on which DRL is enabled: “Creating a volume

Strany 155

239Creating volumesUsing vxassist3 Associate plexes with the volume using vxmake vol; see “Creating a volume using vxmake” on page 258.4 Initialize th

Strany 156

240 Creating volumesUsing vxassist Operations result in a set of configuration changes that either succeed or fail as a group, rather than individual

Strany 157

25Understanding Veritas Volume ManagerHow VxVM handles storage managementIn High Availability (HA) configurations, redundant-loop access to storage ca

Strany 158

241Creating volumesUsing vxassistThe section, “Creating a volume on any disk” on page 243 describes the simplest way to create a volume with default a

Strany 159 - ■ check_periodic

242 Creating volumesDiscovering the maximum size of a volumemax_nstripe=8min_nstripe=2# for RAID-5, by default create between 3 and 8 stripe columnsm

Strany 160

243Creating volumesCreating a volume on any diskTo discover the value in blocks of the alignment that is set on a disk group, use this command:# vxpri

Strany 161

244 Creating volumesCreating a volume on specific disksCreating a volume on specific disksVxVM automatically selects the disks on which each volume re

Strany 162

245Creating volumesCreating a volume on specific disksSpecifying ordered allocation of storage to volumesOrdered allocation gives you complete control

Strany 163

246 Creating volumesCreating a volume on specific disksFigure 7-2 Example of using ordered allocation to create a striped-mirror volumeAdditionally, y

Strany 164 - Creating and

247Creating volumesCreating a volume on specific disksFigure 7-3 Example of using concatenated disk space to create a mirrored-stripe volumeOther stor

Strany 165

248 Creating volumesCreating a volume on specific disksFigure 7-4 Example of storage allocation used to create a mirrored-stripe volume across control

Strany 166 - /dev/vx/dsk/mktdg/mktvol

249Creating volumesCreating a mirrored volumeCreating a mirrored volumeNote: You need a full license to use this feature.A mirrored volume provides da

Strany 167

250 Creating volumesCreating a volume with a version 0 DCO volume# vxassist [-b] [-g diskgroup] make volume length \layout=concat-mirror [nmirror=numb

Strany 168

26 Understanding Veritas Volume ManagerHow VxVM handles storage managementSee “Disk device naming in VxVM” on page 78 and “Changing the disk-naming sc

Strany 169 - Creating a disk group

251Creating volumesCreating a volume with a version 0 DCO volume# vxdg list diskgroupTo upgrade a disk group to version 90, use the following command:

Strany 170 - Adding a disk to a disk group

252 Creating volumesCreating a volume with a version 20 DCO volumeCreating a volume with a version 20 DCO volumeTo create a volume with an attached ve

Strany 171

253Creating volumesCreating a striped volumeDirty region logging (DRL), if enabled, speeds recovery of mirrored volumes after a system crash. To enabl

Strany 172 - Deporting a disk group

254 Creating volumesCreating a striped volumeYou can specify the disks on which the volumes are to be created by including the disk names on the comma

Strany 173 - Importing a disk group

255Creating volumesMirroring across targets, controllers or enclosuresfor the attribute stripe-mirror-col-split-trigger-pt that is defined in the vxas

Strany 174

256 Creating volumesCreating a RAID-5 volumeSee “Specifying ordered allocation of storage to volumes” on page 245 for a description of other ways in w

Strany 175 - Writing a new UDID to a disk

257Creating volumesCreating tagged volumesRAID-5 logs can be concatenated or striped plexes, and each RAID-5 log associated with a RAID-5 volume has a

Strany 176

258 Creating volumesCreating a volume using vxmakeTag names and tag values are case-sensitive character strings of up to 256 characters. Tag names can

Strany 177

259Creating volumesCreating a volume using vxmakeIf each column in a RAID-5 plex is to be created from multiple subdisks which may span several physic

Strany 178

260 Creating volumesInitializing and starting a volumeThe following sample description file defines a volume, db, with two plexes, db-01 and db-02: #r

Strany 179

27Understanding Veritas Volume ManagerHow VxVM handles storage management Subdisks (each representing a specific region of a disk) are combined to fo

Strany 180

261Creating volumesInitializing and starting a volumeAs an alternative to the -b option, you can specify the init=active attribute to make a new volum

Strany 181

262 Creating volumesAccessing a volumeAccessing a volumeAs soon as a volume has been created and initialized, it is available for use as a virtual dis

Strany 182 - Renaming a disk group

Chapter8Administering volumesThis chapter describes how to perform common maintenance tasks on volumes in Veritas Volume Manager (VxVM). This includes

Strany 183 - 774226267.1025.tweety

264 Administering volumesDisplaying volume informationDisplaying volume information You can use the vxprint command to display information about how a

Strany 184

265Administering volumesDisplaying volume information# vxprint -g mydg -t voldefThis is example output from this command:V NAME RVG/VSET/CO KSTATE STA

Strany 185

266 Administering volumesDisplaying volume informationINVALID volume stateThe contents of an instant snapshot volume no longer represent a true point-

Strany 186

267Administering volumesMonitoring and controlling tasksNote: No user intervention is required to set these states; they are maintained internally. On

Strany 187

268 Administering volumesMonitoring and controlling tasksAny tasks started by the utilities invoked by vxrecover also inherit its task ID and task ta

Strany 188

269Administering volumesMonitoring and controlling tasksgenerated when the task completes. When this occurs, the state of the task is printed as EXITE

Strany 189

270 Administering volumesStopping a volumeStopping a volumeStopping a volume renders it unavailable to the user, and changes the volume kernel state f

Strany 190

28 Understanding Veritas Volume ManagerHow VxVM handles storage managementVeritas Volume Manager, such as data change objects (DCOs), and cache object

Strany 191

271Administering volumesStarting a volumeStarting a volumeStarting a volume makes it available for use, and changes the volume state from DISABLED or

Strany 192

272 Administering volumesAdding a mirror to a volumeMirroring all volumes To mirror all volumes in a disk group to available disk space, use the follo

Strany 193

273Administering volumesRemoving a mirrorYou can choose to mirror volumes from disk mydg02 onto anyavailable disk space, or you can choose to mirror o

Strany 194

274 Administering volumesAdding logs and maps to volumesThis command removes the mirror vol01-02 and all associated subdisks. This is equivalent to en

Strany 195

275Administering volumesPreparing a volume for DRL and instant snapshotsPreparing a volume for DRL and instant snapshotsNote: This procedure describes

Strany 196 - Source disk group

276 Administering volumesPreparing a volume for DRL and instant snapshotsNote: The vxsnap prepare command automatically enables Persistent FastResync

Strany 197 - Target disk group

277Administering volumesPreparing a volume for DRL and instant snapshotsIf required, you can use the vxassist move command to relocate DCO plexes to d

Strany 198

278 Administering volumesPreparing a volume for DRL and instant snapshotsDetermining if DRL is enabled on a volumeTo determine if DRL (configured usin

Strany 199

279Administering volumesUpgrading existing volumes to use version 20 DCOsTo re-enable DRL on a volume, enter this command:# vxvol [-g diskgroup] set d

Strany 200

280 Administering volumesUpgrading existing volumes to use version 20 DCOs# vxdg list diskgroupTo upgrade a disk group to the latest version, use the

Strany 201

29Understanding Veritas Volume ManagerHow VxVM handles storage managementFigure 1-6 VM disk exampleSubdisksA subdisk is a set of contiguous disk block

Strany 202

281Administering volumesAdding traditional DRL logging to a mirrored volumesubsequently create from the snapshot plexes. For example, specify ndcomirs

Strany 203

282 Administering volumesAdding traditional DRL logging to a mirrored volumewhere each bit represents one region in the volume. For example, the size

Strany 204 - Splitting disk groups

283Administering volumesAdding a RAID-5 logAdding a RAID-5 logNote: You need a full license to use this feature.Only one RAID-5 plex can exist per RAI

Strany 205 - Joining disk groups

284 Administering volumesResizing a volumeRemoving a RAID-5 log To identify the plex of the RAID-5 log, use the following command: # vxprint [-g diskg

Strany 206 - Disabling a disk group

285Administering volumesResizing a volumevxassist command also allows you to specify an increment by which to change the volume’s size.Caution: If you

Strany 207 - Upgrading a disk group

286 Administering volumesResizing a volume Resizing a volume with a usage type other than FSGEN or RAID5 can result in loss of data. If such an opera

Strany 208

287Administering volumesResizing a volumeNote: If specified, the -b option makes growing the volume a background task.For example, to extend volcat by

Strany 209

288 Administering volumesSetting tags on volumesNote: The vxvol set len command cannot increase the size of a volume unless the needed space is availa

Strany 210

289Administering volumesChanging the read policy for mirrored volumes# vxassist -g mydg settag myvol "dbvol=table space 1"Dotted tag hierarc

Strany 211

290 Administering volumesRemoving a volumeFor example, to set the policy for vol01 to read preferentially from the plex vol01-02, use the following co

Strany 212

30 Understanding Veritas Volume ManagerHow VxVM handles storage managementFigure 1-8 Example of three subdisks assigned to one VM DiskAny VM disk spac

Strany 213

291Administering volumesMoving volumes from a VM diskTo move volumes from a disk1 Select menu item 6 (Move volumes from a disk) from the vxdiskadm mai

Strany 214

292 Administering volumesEnabling FastResync on a volumeEnabling FastResync on a volumeNote: The recommended method for enabling FastResync on a volum

Strany 215

293Administering volumesEnabling FastResync on a volumeNote: To use FastResync with a snapshot, FastResync must be enabled before the snapshot is take

Strany 216 - Splitting subdisks

294 Administering volumesPerforming online relayoutPerforming online relayoutNote: You need a full license to use this feature.You can use the vxassis

Strany 217 - Joining subdisks

295Administering volumesPerforming online relayoutPermitted relayout transformationsThe tables below give details of the relayout operations that are

Strany 218

296 Administering volumesPerforming online relayoutTable 8-4 Supported relayout transformations for RAID-5 volumesRelayout to From raid5concatYes.conc

Strany 219 - Associating log subdisks

297Administering volumesPerforming online relayoutTable 8-6 Supported relayout transformations for mirrored-stripe volumesRelayout to From mirror-stri

Strany 220 - Changing subdisk attributes

298 Administering volumesPerforming online relayoutSpecifying a non-default layoutYou can specify one or more relayout options to change the default l

Strany 221

299Administering volumesPerforming online relayoutViewing the status of a relayoutOnline relayout operations take some time to perform. You can use th

Strany 222

300 Administering volumesConverting between layered and non-layered volumesinserts a delay of 1000 milliseconds (1 second) between copying each 10-meg

Strany 224 - DCOSNP plex state

31Understanding Veritas Volume ManagerHow VxVM handles storage managementYou can organize data on subdisks to form a plex by using the following metho

Strany 225

301Administering volumesConverting between layered and non-layered volumesWhen the relayout has completed, use the vxassist convert command to change

Strany 226 - TEMPRM plex state

302 Administering volumesConverting between layered and non-layered volumes

Strany 227 - Plex condition flags

Chapter9Administering volume snapshotsVeritas Volume Manager (VxVM) provides the capability for taking an image of a volume at a given point in time.

Strany 228 - Plex kernel states

304 Administering volume snapshotsNote: A volume snapshot represents the data that exists in a volume at a given point in time. As such, VxVM does not

Strany 229 - Taking plexes offline

305Administering volume snapshotsTraditional third-mirror break-off snapshotsTraditional third-mirror break-off snapshotsThe traditional third-mirror

Strany 230 - Reattaching plexes

306 Administering volume snapshotsTraditional third-mirror break-off snapshotsits data plexes. The snapshot volume contains a copy of the original vol

Strany 231 - Moving plexes

307Administering volume snapshotsFull-sized instant snapshotsFull-sized instant snapshotsFull-sized instant snapshots are a variation on the third-mir

Strany 232 - Copying volumes to plexes

308 Administering volume snapshotsFull-sized instant snapshotsvolume are updated, its original contents are gradually relocated to the snapshot volume

Strany 233 - Changing plex attributes

309Administering volume snapshotsSpace-optimized instant snapshotsSpace-optimized instant snapshotsVolume snapshots, such as those described in “Tradi

Strany 234 - Creating volumes

310 Administering volume snapshotsEmulation of third-mirror break-off snapshotsAs for instant snapshots, space-optimized snapshots use a copy-on-write

Strany 235 - Types of volume layouts

32 Understanding Veritas Volume ManagerHow VxVM handles storage managementNote: You can use the Veritas Intelligent Storage Provisioning (ISP) feature

Strany 236

311Administering volume snapshotsLinked break-off snapshot volumes Use the vxsnap make command with the sync=yes and type=full attributes specified t

Strany 237 - Creating a volume

312 Administering volume snapshotsCascaded snapshotsto recover the mirror volume in the same way as for a DISABLED volume. See “Starting a volume” on

Strany 238 - Using vxassist

313Administering volume snapshotsCascaded snapshotsto read data from an older snapshot that does not exist in that snapshot, it is obtained by searchi

Strany 239

314 Administering volume snapshotsCascaded snapshotsFigure 9-5 Creating a snapshot of a snapshotEven though the arrangement of the snapshots in this f

Strany 240

315Administering volume snapshotsCascaded snapshotsFigure 9-6 Using a snapshot of a snapshot to restore a databaseIf you have configured snapshots in

Strany 241

316 Administering volume snapshotsCascaded snapshotsFigure 9-7 Dissociating a snapshot volume vxsnap split dissociates a snapshot and its dependent s

Strany 242 - Creating a volume on any disk

317Administering volume snapshotsCreating multiple snapshotsFigure 9-8 Splitting snapshotsCreating multiple snapshotsTo make it easier to create snaps

Strany 243

318 Administering volume snapshotsRestoring the original volume from a snapshotFigure 9-9 Resynchronizing an original volume from a snapshotNote: The

Strany 244

319Administering volume snapshotsCreating instant snapshotsCreating instant snapshotsNote: You need a full license to use this feature.VxVM allows you

Strany 245

320 Administering volume snapshotsCreating instant snapshotsYou can create instant snapshots of volume sets by replacing volume names with volume set

Strany 246 - 247Creating volumes

33Understanding Veritas Volume ManagerHow VxVM handles storage managementIn Figure 1-11 a volume, vol06, with two data plexes is mirrored. Each plex o

Strany 247 - 248 Creating volumes

321Administering volume snapshotsCreating instant snapshotsPreparing to create instant and break-off snapshotsTo prepare a volume for the creation of

Strany 248 - Creating a mirrored volume

322 Administering volume snapshotsCreating instant snapshotscreated, and it must also have the same region size. See “Creating a volume for use as a f

Strany 249 - 250 Creating volumes

323Administering volume snapshotsCreating instant snapshotsNote: All space-optimized snapshots that share the cache must have a region size that is eq

Strany 250

324 Administering volume snapshotsCreating instant snapshots4 Use the vxassist command to create a volume, snapvol, of the required size and redundanc

Strany 251

325Administering volume snapshotsCreating instant snapshotsFor space-optimized instant snapshots that share a cache object, the specified region size

Strany 252 - Creating a striped volume

326 Administering volume snapshotsCreating instant snapshotsFor example, to create the space-optimized instant snapshot, snap4myvol, of the volume, my

Strany 253

327Administering volume snapshotsCreating instant snapshotsCreating and managing full-sized instant snapshotsNote: Full-sized instant snapshots are no

Strany 254

328 Administering volume snapshotsCreating instant snapshotsIf required, you can use the following command to test if the synchronization of a volume

Strany 255 - Creating a RAID-5 volume

329Administering volume snapshotsCreating instant snapshots Dissociate the snapshot volume entirely from the original volume. This may be useful if y

Strany 256 - Creating tagged volumes

330 Administering volume snapshotsCreating instant snapshotsIf you specify the -b option to the vxsnap addmir command, you can use the vxsnap snapwait

Strany 257

34 Understanding Veritas Volume ManagerVolume layouts in VxVMVolume layouts in VxVMA VxVM virtual device is defined by a volume. A volume has a layout

Strany 258

331Administering volume snapshotsCreating instant snapshotssynchronization was already in progress on the snapshot, this operation may result in large

Strany 259

332 Administering volume snapshotsCreating instant snapshots[mirdg=snapdg]The optional mirdg attribute can be used to specify the snapshot volume’s cu

Strany 260

333Administering volume snapshotsCreating instant snapshotsNote: This operation is not possible if the linked volume and snapshot are in different dis

Strany 261 - Accessing a volume

334 Administering volume snapshotsCreating instant snapshotsIn this example, snapvol1 is a full-sized snapshot that uses a prepared volume, snapvol2 i

Strany 262 - Administering volumes

335Administering volume snapshotsCreating instant snapshotsVOLUME INDEX LENGTH KSTATE CONTEXTsvol_0 0 204800 ENABLED -svol_1 1 409600 ENABLED -svol_2

Strany 263

336 Administering volume snapshotsCreating instant snapshotsAdding snapshot mirrors to a volumeIf you are going to create a full-sized break-off snaps

Strany 264 - Volume states

337Administering volume snapshotsCreating instant snapshotsNote: This command is similar in usage to the vxassist snapabort command.If a volume set na

Strany 265 - /CLEAN flag). If the

338 Administering volume snapshotsCreating instant snapshotsTo disable resynchronization, specify the syncing=no attribute. This attribute is not supp

Strany 266 - Specifying task tags

339Administering volume snapshotsCreating instant snapshotssnapwait command (but not vxsnap syncwait) to wait for the resynchronization of the reattac

Strany 267 - Managing tasks with vxtask

340 Administering volume snapshotsCreating instant snapshotssyncwait) to wait for the resynchronization of the reattached volume to complete, as shown

Strany 268 - Using the vxtask command

35Understanding Veritas Volume ManagerVolume layouts in VxVMLayout methodsData in virtual objects is organized to create volumes by using the followin

Strany 269 - Stopping a volume

341Administering volume snapshotsCreating instant snapshotssnapshots remain, snapvol may be dissociated. The snapshot hierarchy is then adopted by sna

Strany 270 - Adding a mirror to a volume

342 Administering volume snapshotsCreating instant snapshotsNote: The topmost snapshot volume in the hierarchy must have been fully synchronized for t

Strany 271 - Mirroring all volumes

343Administering volume snapshotsCreating instant snapshotsAlternatively, you can use the vxsnap list command, which is an alias for the vxsnap -n pri

Strany 272 - Removing a mirror

344 Administering volume snapshotsCreating instant snapshotsSee the vxsnap(1M) manual page for more information about using the vxsnap print and vxsna

Strany 273 - # vxplex -g mydg dis vol01-02

345Administering volume snapshotsCreating instant snapshotsinstant snapshot” on page 338 and “Reattaching a linked break-off snapshot volume” on page

Strany 274

346 Administering volume snapshotsCreating instant snapshotsTuning the autogrow attributes of a cacheThe highwatermark, autogrowby and maxautogrow att

Strany 275

347Administering volume snapshotsCreating instant snapshotsCaution: Ensure that the cache is sufficiently large, and that the autogrow attributes are

Strany 276

348 Administering volume snapshotsCreating traditional third-mirror break-off snapshotsCreating traditional third-mirror break-off snapshotsVxVM provi

Strany 277 - Disabling and re-enabling DRL

349Administering volume snapshotsCreating traditional third-mirror break-off snapshotscreating the snapshot mirror is long in contrast to the brief am

Strany 278 - 279Administering volumes

350 Administering volume snapshotsCreating traditional third-mirror break-off snapshotsIt is also possible to make a snapshot plex from an existing pl

Strany 279

36 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-12 Example of concatenationYou can use concatenation with multiple subdisks when

Strany 280

351Administering volume snapshotsCreating traditional third-mirror break-off snapshotsNote: Dissociating or removing the snapshot volume loses the adv

Strany 281

352 Administering volume snapshotsCreating traditional third-mirror break-off snapshotsTo convert an existing plex into a snapshot plex in the SNAPDON

Strany 282 - Adding a RAID-5 log

353Administering volume snapshotsCreating traditional third-mirror break-off snapshotsplexes are snapped back. This task resynchronizes the data in th

Strany 283 - Resizing a volume

354 Administering volume snapshotsCreating traditional third-mirror break-off snapshots2 Use the vxassist mirror command to create mirrors of the exis

Strany 284

355Administering volume snapshotsCreating traditional third-mirror break-off snapshotsDisplaying snapshot informationThe vxassist snapprint command di

Strany 285 - Extending by a given length

356 Administering volume snapshotsAdding a version 0 DCO and DCO volumeAdding a version 0 DCO and DCO volumeNote: The procedure described in this sect

Strany 286 - Resizing volumes using vxvol

357Administering volume snapshotsAdding a version 0 DCO and DCO volume3 Use the following command to add a DCO and DCO volume to the existing volume:#

Strany 287 - Setting tags on volumes

358 Administering volume snapshotsAdding a version 0 DCO and DCO volumethe volume named vol1 (the TUTIL0 and PUTIL0 columns are omitted for clarity):T

Strany 288

359Administering volume snapshotsAdding a version 0 DCO and DCO volumeThis form of the command dissociates the DCO object from the volume but does not

Strany 289 - Moving volumes from a VM disk

360 Administering volume snapshotsAdding a version 0 DCO and DCO volume

Strany 290

37Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-13 Example of spanningCaution: Spanning a plex across multiple disks increases th

Strany 291

Chapter10Creating and administering volume setsThis chapter describes how to use the vxvset command to create and administer volume sets in Veritas Vo

Strany 292 - Disabling FastResync

362 Creating and administering volume setsCreating a volume set Volume sets can be used in place of volumes with the following vxsnap operations on i

Strany 293 - Performing online relayout

363Creating and administering volume setsListing details of volume setsCaution: The -f (force) option must be specified if the volume being added, or

Strany 294

364 Creating and administering volume setsRemoving a volume from a volume set# vxvset -g mydg list set1VOLUME INDEX LENGTH KSTATE

Strany 295

365Creating and administering volume setsRaw device node access to component volumesCaution: Writing directly to or reading from the raw device node o

Strany 296

366 Creating and administering volume setsRaw device node access to component volumesvalue of the makedev attribute is currently set to on. The access

Strany 297 - Tagging a relayout operation

367Creating and administering volume setsRaw device node access to component volumesThe syntax for setting the compvol_access attribute on a volume se

Strany 298

368 Creating and administering volume setsRaw device node access to component volumes

Strany 299

Chapter11Configuring off-host processingOff-host processing allows you to implement the following activities:Data backup As the requirement for 24 x 7

Strany 300 - 301Administering volumes

370 Configuring off-host processingImplementing off-host processing solutionsOff-host processing is made simpler by using linked break-off snapshots,

Strany 301 - 302 Administering volumes

38 Understanding Veritas Volume ManagerVolume layouts in VxVMStriping (RAID-0)Note: You need a full license to use this feature.Striping (RAID-0) is u

Strany 302 - Administering volume

371Configuring off-host processingImplementing off-host processing solutions Implementing decision supportThese applications use the Persistent FastR

Strany 303

372 Configuring off-host processingImplementing off-host processing solutionsNote: If the volume was created under VxVM 4.0 or a later release, and it

Strany 304

373Configuring off-host processingImplementing off-host processing solutionsIf a database spans more than one volume, you can specify all the volumes

Strany 305

374 Configuring off-host processingImplementing off-host processing solutions# vxsnap -g snapvoldg reattach snapvol source=vol \sourcedg=volumedgFor e

Strany 306 - Full-sized instant snapshots

375Configuring off-host processingImplementing off-host processing solutionsThis command returns on if FastResync is enabled; otherwise, it returns of

Strany 307

376 Configuring off-host processingImplementing off-host processing solutions8 On the primary host, if you temporarily suspended updates to a volume i

Strany 308

377Configuring off-host processingImplementing off-host processing solutionsFor example, to reattach the snapshot volumes svol1, svol2 and svol3:# vxs

Strany 309

378 Configuring off-host processingImplementing off-host processing solutions

Strany 310

Chapter12Administering hot-relocationIf a volume has a disk I/O failure (for example, the disk has an uncorrectable error), Veritas Volume Manager (Vx

Strany 311 - Cascaded snapshots

380 Administering hot-relocationHow hot-relocation worksHow hot-relocation worksHot-relocation allows a system to react automatically to I/O failures

Strany 312

39Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-14 Striping across three columnsA stripe consists of the set of stripe units at t

Strany 313

381Administering hot-relocationHow hot-relocation worksspares (marked spare) in the disk group where the failure occurred. It then relocates the subdi

Strany 314

382 Administering hot-relocationHow hot-relocation worksFigure 12-1 Example of hot-relocation for a subdisk in a RAID-5 volumemydg01 mydg02 mydg03 myd

Strany 315

383Administering hot-relocationHow hot-relocation worksPartial disk failure mail messagesIf hot-relocation is enabled when a plex or disk is detached

Strany 316 - Creating multiple snapshots

384 Administering hot-relocationHow hot-relocation worksComplete disk failure mail messagesIf a disk fails completely and hot-relocation is enabled, t

Strany 317

385Administering hot-relocationConfiguring a system for hot-relocationdoes not take place. If relocation is not possible, the system administrator is

Strany 318 - Creating instant snapshots

386 Administering hot-relocationDisplaying spare disk informationAfter a successful relocation, remove and replace the failed disk as described in “Re

Strany 319

387Administering hot-relocationMarking a disk as a hot-relocation spareMarking a disk as a hot-relocation spareHot-relocation allows the system to rea

Strany 320

388 Administering hot-relocationRemoving a disk from use as a hot-relocation spareelectronic mail. After successful relocation, you may want to replac

Strany 321

389Administering hot-relocationMaking a disk available for hot-relocation useTo use vxdiskadm to exclude a disk from hot-relocation use1 Select menu i

Strany 322

390 Administering hot-relocationConfiguring hot-relocation to use only spare disksEnter disk name [<disk>,list,q,?] mydg01The following confirma

Strany 323

40 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-15 shows a striped plex with three equal sized, single-subdisk columns. There is

Strany 324

391Administering hot-relocationMoving and unrelocating subdisksVolume home Subdisk mydg02-03 relocated to mydg05-01,but not yet recovered.Before you m

Strany 325

392 Administering hot-relocationMoving and unrelocating subdiskssubdisks using vxassist” on page 392 and “Moving and unrelocating subdisks using vxunr

Strany 326

393Administering hot-relocationMoving and unrelocating subdiskswithout using the original offsets. Refer to the vxunreloc(1M) manual page for more inf

Strany 327

394 Administering hot-relocationMoving and unrelocating subdisksExamining which subdisks were hot-relocated from a diskIf a subdisk was hot relocated

Strany 328

395Administering hot-relocationModifying the behavior of hot-relocationIf the system goes down after the new subdisks are created on the destination d

Strany 329

396 Administering hot-relocationModifying the behavior of hot-relocationAlternatively, you can use the following command:# nohup /etc/vx/bin/vxrelocd

Strany 330

Chapter13Administering cluster functionalityA cluster consists of a number of hosts or nodes that share a set of disks. The main benefits of cluster c

Strany 331

398 Administering cluster functionalityOverview of cluster volume managementenabled, all the nodes in the cluster can share VxVM objects such as share

Strany 332

399Administering cluster functionalityOverview of cluster volume managementmembership. Each node starts up independently and has its own cluster monit

Strany 333

400 Administering cluster functionalityOverview of cluster volume managementFigure 13-1 Example of a 4-node cluster To the cluster monitor, all nodes

Strany 334

ContentsChapter 1 Understanding Veritas Volume ManagerVxVM and the operating system ...

Strany 335 - Removing a snapshot mirror

41Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-16 Example of a striped plex with concatenated subdisks per columnSee “Creating a

Strany 336

401Administering cluster functionalityOverview of cluster volume managementPrivate and shared disk groupsTwo types of disk groups are defined:In a clu

Strany 337

402 Administering cluster functionalityOverview of cluster volume managementcluster-shareable disk group is available as long as at least one node is

Strany 338

403Administering cluster functionalityOverview of cluster volume managementThe following table summarizes the allowed and conflicting activation modes

Strany 339

404 Administering cluster functionalityOverview of cluster volume managementNote: The activation mode of a disk group controls volume I/O from differe

Strany 340 - Removing an instant snapshot

405Administering cluster functionalityOverview of cluster volume managementpolicy. However, in some cases, it is not desirable to have all nodes react

Strany 341

406 Administering cluster functionalityOverview of cluster volume managementLocal detach policyCaution: Do not use the local detach policy if you use

Strany 342

407Administering cluster functionalityOverview of cluster volume managementDisk group failure policyThe local detach policy by itself is insufficient

Strany 343

408 Administering cluster functionalityOverview of cluster volume managementGuidelines for choosing detach and failure policiesIn most cases it is rec

Strany 344

409Administering cluster functionalityOverview of cluster volume managementThe default settings for the detach and failure policies are global and dgd

Strany 345

410 Administering cluster functionalityCluster initialization and configurationCluster initialization and configurationBefore any nodes can join a new

Strany 346 - Removing a cache

42 Understanding Veritas Volume ManagerVolume layouts in VxVMMirroring (RAID-1)Note: You need a full license to use this feature with disks other than

Strany 347

411Administering cluster functionalityCluster initialization and configurationDuring cluster reconfiguration, VxVM suspends I/O to shared disks. I/O r

Strany 348

412 Administering cluster functionalityCluster initialization and configurationTable 13-5 Node abort messagesReason Descriptioncannot find disk on sla

Strany 349

413Administering cluster functionalityCluster initialization and configurationSee the vxclustadm(1M) manual page for more information about vxclustadm

Strany 350

414 Administering cluster functionalityCluster initialization and configurationWhen an error occurs, such as when a check on a slave fails or a node l

Strany 351 - Reattaching a snapshot volume

415Administering cluster functionalityCluster initialization and configurationstopped, volume reconfiguration cannot take place. Other nodes can join

Strany 352

416 Administering cluster functionalityCluster initialization and configurationNote: The -r reset option to vxconfigd restarts the vxconfigd daemon an

Strany 353

417Administering cluster functionalityMultiple host failover configurationsNote: Once shutdown succeeds, the node has left the cluster. It is not poss

Strany 354

418 Administering cluster functionalityMultiple host failover configurationscorrupted. Similar corruption can also occur if a file system or database

Strany 355

419Administering cluster functionalityMultiple host failover configurationsFor details on how to clear locks and force an import, see “Moving disk gro

Strany 356

420 Administering cluster functionalityAdministering VxVM in cluster environmentsAdministering VxVM in cluster environmentsThe following sections desc

Strany 357

43Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-17 Mirrored-stripe volume laid out on six disksSee “Creating a mirrored-stripe vo

Strany 358

421Administering cluster functionalityAdministering VxVM in cluster environmentsDetermining if a disk is shareableThe vxdisk utility manages VxVM disk

Strany 359

422 Administering cluster functionalityAdministering VxVM in cluster environmentsThe following is example output for the command vxdg list group1 on t

Strany 360

423Administering cluster functionalityAdministering VxVM in cluster environmentsCaution: The operating system cannot tell if a disk is shared. To prot

Strany 361 - Creating a volume set

424 Administering cluster functionalityAdministering VxVM in cluster environments Some of the nodes to which disks in the disk group are attached are

Strany 362

425Administering cluster functionalityAdministering VxVM in cluster environmentscan join two private disk groups on any cluster node where those disk

Strany 363

426 Administering cluster functionalityAdministering VxVM in cluster environmentsSetting the disk group failure policy on a shared disk groupNote: The

Strany 364

427Administering cluster functionalityAdministering VxVM in cluster environmentsMultiple opens by the same node are also supported. Any attempts by ot

Strany 365

428 Administering cluster functionalityAdministering VxVM in cluster environmentsUpgrading the cluster protocol versionNote: The cluster protocol vers

Strany 366

429Administering cluster functionalityAdministering VxVM in cluster environmentsThis command produces output similar to the following: OPERATIONS BLOC

Strany 367

430 Administering cluster functionalityAdministering VxVM in cluster environments

Strany 368 - Configuring off-host

44 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-18 Striped-mirror volume laid out on six disksSee “Creating a striped-mirror vol

Strany 369

Chapter14Administeringsites and remote mirrorsIn a Remote Mirror configuration (also known as a campus cluster or stretch cluster) the hosts and stora

Strany 370

432 Administering sites and remote mirrorsIf a disk group is configured across the storage at the sites, and inter-site communication is disrupted, th

Strany 371

433Administering sites and remote mirrorsTo enhance read performance, VxVM will service reads from the plexes at the local site where an application i

Strany 372 - on the volume. The

434 Administering sites and remote mirrorsConfiguring sites for hosts and disksConfiguring sites for hosts and disksNote: The Remote Mirror feature re

Strany 373 - Implementing decision support

435Administering sites and remote mirrorsConfiguring site consistency on a disk groupThe -f option allows the requirement to be removed if the site is

Strany 374

436 Administering sites and remote mirrorsSetting the siteread policy on a volumeTo turn on the site consistency requirement for an existing volume, u

Strany 375

437Administering sites and remote mirrorsSite-based allocation of storage to volumesNote: If the Site Awareness license is installed on all the hosts

Strany 376

438 Administering sites and remote mirrorsSite-based allocation of storage to volumesExamples of storage allocation using sitesThe examples in the fol

Strany 377

439Administering sites and remote mirrorsMaking an existing disk group site consistentMaking an existing disk group site consistentTo make an existing

Strany 378 - Administering

440 Administering sites and remote mirrorsFire drill — testing the configurationFire drill — testing the configurationCaution: To avoid potential loss

Strany 379 - How hot-relocation works

45Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-19 How the failure of a single disk affects mirrored-stripe and striped-mirror vo

Strany 380

441Administering sites and remote mirrorsFailure scenarios and recovery proceduressite state to ACTIVE, and initiates recovery of the plexes. When all

Strany 381 - Spare Disk

442 Administering sites and remote mirrorsFailure scenarios and recovery proceduresRecovery from a loss of site connectivityIf the network links betwe

Strany 382

443Administering sites and remote mirrorsFailure scenarios and recovery proceduresat the other sites. When the storage comes back online, you can use

Strany 383

444 Administering sites and remote mirrorsFailure scenarios and recovery procedures

Strany 384

Chapter15Using Storage ExpertAbout Storage ExpertSystem administrators often find that gathering and interpreting data about large and complex configu

Strany 385 - # vxdg [-g diskgroup] spare

446 Using Storage ExpertHow Storage Expert worksHow Storage Expert worksStorage Expert components include a set of rule scripts and a rules engine. Th

Strany 386

447Using Storage ExpertRunning Storage ExpertSee “Rule definitions and attributes” on page 456.Discovering what a rule doesTo obtain details about wha

Strany 387

448 Using Storage ExpertRunning Storage Expert# vxse_dg1 -g mydg run VxVM vxse:vxse_dg1 INFO V-5-1-5511 vxse_vxdg1 - RESULTS -------------------------

Strany 388 - Make a disk available for

449Using Storage ExpertIdentifying configuration problems using Storage Expert A value specified on the command line. A value specified in a user-d

Strany 389

450 Using Storage ExpertIdentifying configuration problems using Storage ExpertChecking for large mirror volumes without a dirty region log (vxse_drl1

Strany 390 - you can choose to

46 Understanding Veritas Volume ManagerVolume layouts in VxVMAlthough both mirroring (RAID-1) and RAID-5 provide redundancy of data, they use differen

Strany 391

451Using Storage ExpertIdentifying configuration problems using Storage ExpertA mirror of the RAID-5 log protects against loss of data due to the fail

Strany 392

452 Using Storage ExpertIdentifying configuration problems using Storage ExpertChecking the number of configuration copies in a disk group (vxse_dg5)T

Strany 393

453Using Storage ExpertIdentifying configuration problems using Storage Expert volumes needing recoverySee “Reattaching plexes” on page 231.See “Star

Strany 394

454 Using Storage ExpertIdentifying configuration problems using Storage ExpertChecking the number of columns in striped volumes (vxse_stripes2)The de

Strany 395

455Using Storage ExpertIdentifying configuration problems using Storage ExpertChecking the system name (vxse_host)Rule vxse_host can be used to confir

Strany 396

456 Using Storage ExpertRule definitions and attributesRule definitions and attributesYou can use the info keyword to show a description of a rule.See

Strany 397

457Using Storage ExpertRule definitions and attributesYou can use the list and check keywords to show what attributes are available for a rule and to

Strany 398

458 Using Storage ExpertRule definitions and attributesTable 15-2 Rule attributes and default attribute valuesRule Attribute Default valueDescriptionv

Strany 399

459Using Storage ExpertRule definitions and attributesvxse_mirstripe large_mirror_sizensd_threshold1g (1GB)8Large mirror-stripe threshold size.Warn if

Strany 400

460 Using Storage ExpertRule definitions and attributesvxse_redundancy volume_redundancy 0Volume redundancy check. The value of 2 performs a mirror re

Strany 401

47Understanding Veritas Volume ManagerVolume layouts in VxVMparity stripe. Figure 1-21 shows the row and column arrangement of a traditional RAID-5 ar

Strany 402

461Using Storage ExpertRule definitions and attributesvxse_volplex - - No user-configurable variables.Table 15-2 Rule attributes and default attribute

Strany 403

462 Using Storage ExpertRule definitions and attributes

Strany 404 - Global detach policy

Chapter16Performance monitoring and tuningVeritas Volume Manager (VxVM) can improve overall system performance by optimizing the layout of data storag

Strany 405 - Local detach policy

464 Performance monitoring and tuningPerformance guidelinesStripingStriping improves access performance by cutting data into slices and storing it on

Strany 406 - Disk group failure policy

465Performance monitoring and tuningPerformance guidelinesCombining mirroring and stripingNote: You need a full license to use this feature.Mirroring

Strany 407

466 Performance monitoring and tuningPerformance guidelinesVolume read policiesTo help optimize performance for different types of volumes, VxVM suppo

Strany 408

467Performance monitoring and tuningPerformance monitoringNote: To improve performance for read-intensive workloads, you can attach up to 32 data plex

Strany 409 - Cluster reconfiguration

468 Performance monitoring and tuningPerformance monitoringTracing volume operationsUse the vxtrace command to trace operations on specified volumes,

Strany 410

469Performance monitoring and tuningPerformance monitoringan operation makes it possible to measure the impact of that particular operation. The follo

Strany 411 - Reason Description

470 Performance monitoring and tuningPerformance monitoringSuch output helps to identify volumes with an unusually large number of operations or exces

Strany 412 - Volume reconfiguration

48 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-22 Veritas Volume Manager RAID-5 arrayNote: Mirroring of RAID-5 volumes is not s

Strany 413 - ■ role of the node

471Performance monitoring and tuningPerformance monitoringIf two volumes (other than the root volume) on the same disk are busy, move them so that eac

Strany 414

472 Performance monitoring and tuningTuning VxVMwrites where mirroring can improve performance depends greatly on the disks, the disk controller, whet

Strany 415 - Node shutdown

473Performance monitoring and tuningTuning VxVMTuning guidelines for large systemsOn smaller systems (with fewer than a hundred disk drives), tuning i

Strany 416 - Cluster shutdown

474 Performance monitoring and tuningTuning VxVMTo set the number of configuration copies for a new disk group, use the nconfig operand with the vxdg

Strany 417 - Failover

475Performance monitoring and tuningTuning VxVMTunable parametersThe following sections describe specific tunable parameters.dmp_cache_openIf set to o

Strany 418

476 Performance monitoring and tuningTuning VxVMThe value of this tunable is changed by using the vxdmpadm settune command.dmp_health_timeDMP detects

Strany 419

477Performance monitoring and tuningTuning VxVMincreasing the value of this tunable. For example, for the HDS 9960 A/A array, the optimal value is bet

Strany 420 - Listing shared disk groups

478 Performance monitoring and tuningTuning VxVMdmp_restore_policyThe DMP restore policy, which can be set to 0 (CHECK_ALL), 1 (CHECK_DISABLED), 2 (CH

Strany 421 - Creating a shared disk group

479Performance monitoring and tuningTuning VxVMdmp_stat_intervalThe time interval between gathering DMP statistics. The default and minimum value is 1

Strany 422

480 Performance monitoring and tuningTuning VxVMSince the region size must be the same on all nodes in a cluster for a shared volume, the value of the

Strany 423

49Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-23 Left-symmetric layoutFor each stripe, data is organized starting to the right

Strany 424

481Performance monitoring and tuningTuning VxVMperforming operations of a certain size and can fail unexpectedly if they issue oversized ioctl request

Strany 425

482 Performance monitoring and tuningTuning VxVMvolcvm_smartsyncIf set to 0, volcvm_smartsync disables SmartSync on shared disk groups. If set to 1, t

Strany 426

483Performance monitoring and tuningTuning VxVMvoliomem_maxpool_szThe maximum memory requested from the system by VxVM for internal purposes. This tun

Strany 427

484 Performance monitoring and tuningTuning VxVMtracing event records. As trace buffers are requested to be stored in the kernel, the memory for them

Strany 428

485Performance monitoring and tuningTuning VxVMNote: The memory allocated for this cache is exclusively dedicated to it. It is not available for other

Strany 429

486 Performance monitoring and tuningTuning VxVM

Strany 430

AppendixACommands summaryThis appendix summarizes the usage and purpose of important commonly-used commands in Veritas Volume Manager (VxVM). Referenc

Strany 431 - Volume V

488 Commands summaryother commands and scripts, and which are not intended for general use, are not located in /opt/VRTS/bin and do not have manual pa

Strany 432

489Commands summaryvxinfo [-g diskgroup] [volume ...] Displays information about the accessibility and usability of volumes. See “Listing Unstartable

Strany 433

490 Commands summaryvxdiskadd [devicename ...] Adds a disk specified by device name. See “Using vxdiskadd to place a disk under control of VxVM” on pa

Strany 434

50 Understanding Veritas Volume ManagerVolume layouts in VxVMNote: Failure of more than one column in a RAID-5 plex detaches the volume. The volume is

Strany 435

491Commands summaryvxedit [-g diskgroup] set \ spare=on|off disknameAdds/removes a disk from the pool of hot-relocation spares.See “Marking a disk as

Strany 436

492 Commands summaryTable A-3 Creating and administering disk groupsCommand Descriptionvxdg [-s] init diskgroup \ [diskname=]devicenameCreates a disk

Strany 437 - Command Description

493Commands summaryvxdg [-o expand] listmove sourcedg \ targetdg object ...Lists the objects potentially affected by moving a disk group.See “Listing

Strany 438

494 Commands summaryvxrecover -g diskgroup -sb Starts all volumes in an imported disk group.See “Moving disk groups between systems” on page 185.Examp

Strany 439 - Automatic site reattachment

495Commands summaryvxsd [-g diskgroup] assoc plex \ subdisk1:0 ... subdiskM:N-1Adds subdisks to the ends of the columns in a striped or RAID-5 volume.

Strany 440

496 Commands summaryvxunreloc [-g diskgroup] original_disk Relocates subdisks to their original disks.See “Moving and unrelocating subdisks using vxun

Strany 441 - Recovery from storage failure

497Commands summaryvxmake [-g diskgroup] plex plex \ layout=stripe|raid5 stwidth=W \ ncolumn=N sd=subdisk1[,subdisk2,...]Creates a striped or RAID-5 p

Strany 442 - Recovery from site failure

498 Commands summaryvxplex [-g diskgroup] cp volume newplex Copies a volume onto a plex.See “Copying volumes to plexes” on page 233.Example:# vxplex -

Strany 443

499Commands summaryvxassist -b [-g diskgroup] make \ volume length [layout=layout ] [attributes]Creates a volume.See “Creating a volume on any disk” o

Strany 444 - Using Storage Expert

500 Commands summaryvxassist -b [-g diskgroup] make \ volume length layout=mirror \ mirror=ctlr [attributes]Creates a volume with mirrored data plexes

Strany 445 - Running Storage Expert

6 ContentsDCO volume versioning ... 68FastResync limitations ...

Strany 446 - Running a rule

51Understanding Veritas Volume ManagerVolume layouts in VxVMLogs are associated with a RAID-5 volume by being attached as log plexes. More than one lo

Strany 447 - Setting rule attributes

501Commands summaryTable A-7 Administering volumesCommand Descriptionvxassist [-g diskgroup] mirror volume \ [attributes]Adds a mirror to a volume.See

Strany 448 - Recovery time

502 Commands summaryvxsnap [-g diskgroup] prepare volume \[drl=on|sequential|off]Prepares a volume for instant snapshots and for DRL logging. See “Pre

Strany 449

503Commands summaryvxmake [-g diskgroup] cache \cache_object cachevolname=volume \[regionsize=size]Creates a cache object for use by space-optimized i

Strany 450

504 Commands summaryvxsnap [-g diskgroup] unprepare volume Removes support for instant snapshots and DRL logging from a volume.See “Removing support f

Strany 451

505Commands summaryvxassist [-g diskgroup] convert \volume [layout=layout] [convert_options]Converts between a layered volume and a non-layered volume

Strany 452 - Disk striping

506 Commands summaryvxtask pause task Suspends operation of a task.See “Using the vxtask command” on page 269.Example:# vxtask pause mytaskvxtask -p [

Strany 453 - System name

507Commands summaryOnline manual pagesOnline manual pagesManual pages are organized into three sections: Section 1M — administrative commands Sectio

Strany 454 - 455Using Storage Expert

508 Commands summaryOnline manual pagesvxconfigd Veritas Volume Manager configuration daemonvxconfigrestore Restore disk group configuration.vxcp_lvmr

Strany 455

509Commands summaryOnline manual pagesvxmend Mend simple problems in configuration records.vxmirror Mirror volumes on a disk or control default mirror

Strany 456

510 Commands summaryOnline manual pagesSection 4 — file formatsManual pages in section 4 describe the format of files that are used by Veritas Volume

Strany 457 - Description

52 Understanding Veritas Volume ManagerVolume layouts in VxVMFigure 1-25 Example of a striped-mirror layered volumeFigure 1-25 illustrates the structu

Strany 458

AppendixBConfiguring Veritas Volume ManagerThis appendix provides guidelines for setting up efficient storage management after installing the Veritas

Strany 459

512 Configuring Veritas Volume ManagerAdding unsupported disk arrays as JBODsOptional Setup Tasks Place the root disk under VxVM control and mirror i

Strany 460

513Configuring Veritas Volume ManagerGuidelines for configuring storagegroups. Storage pools are only required if you intend using the ISP feature of

Strany 461 - 462 Using Storage Expert

514 Configuring Veritas Volume ManagerGuidelines for configuring storage Leave the Veritas Volume Manager hot-relocation feature enabled. See “Hot-re

Strany 462 - Performance monitoring

515Configuring Veritas Volume ManagerGuidelines for configuring storageDirty region logging guidelinesDirty region logging (DRL) can speed up recovery

Strany 463 - Mirroring

516 Configuring Veritas Volume ManagerGuidelines for configuring storage If more than one plex of a mirrored volume is striped, configure the same st

Strany 464 - Performance guidelines

517Configuring Veritas Volume ManagerGuidelines for configuring storageThe hot-relocation feature is enabled by default. The associated daemon, vxrelo

Strany 465 - Volume read policies

518 Configuring Veritas Volume ManagerControlling VxVM’s view of multipathed devicessubdisks to determine whether they should be relocated to more sui

Strany 466

519Configuring Veritas Volume ManagerConfiguring cluster supportConfiguring shared disk groupsThis section describes how to configure shared disks in

Strany 467 - Printing volume statistics

520 Configuring Veritas Volume ManagerReconfiguration tasksIf dirty region logs exist, ensure they are active. If not, replace them with larger ones.T

Strany 468 - Using performance data

53Understanding Veritas Volume ManagerVolume layouts in VxVMplex (for example, resizing the volume, changing the column width, or adding a column). Sy

Strany 469

GlossaryActive/Active disk arraysThis type of multipathed disk array allows you to access a disk in the disk array through all the paths to the disk s

Strany 470

522 GlossaryclusterA set of hosts (each termed a node) that share a set of disks.cluster managerAn externally-provided daemon that runs on each node i

Strany 471 - Tuning VxVM

523Glossarymaintained in the DCO volume. Otherwise, the DRL is allocated to an associated subdisk called a log subdisk.disabled pathA path to a disk t

Strany 472

524 GlossaryAn alternative term for a disk name.disk media record A configuration record that identifies a particular disk, by disk ID, and gives that

Strany 473

525GlossaryAn area of a disk under VxVM control that is not allocated to any subdisk or reserved for use by any other VxVM object.free subdiskA subdis

Strany 474 - Tunable parameters

526 GlossaryWhere there are multiple physical access paths to a disk connected to a system, the disk is called multipathed. Any software residing on t

Strany 475

527GlossaryA form of FastResync that can preserve its maps across reboots of the system by storing its change map in a DCO volume on disk. Also see da

Strany 476

528 GlossaryThe disk containing the root file system. This disk may be under VxVM control.root file system The initial file system mounted as part of

Strany 477

529GlossaryA plex that is not as long as the volume or that has holes (regions of the plex that do not have a backing subdisk).Storage Area Network (S

Strany 478

530 GlossaryA virtual disk, representing an addressable range of disk blocks used by applications such as file systems or databases. A volume is a col

Strany 479

54 Understanding Veritas Volume ManagerOnline relayoutOnline relayoutNote: You need a full license to use this feature.Online relayout allows you to c

Strany 480

IndexSymbols/dev/vx/dmp directory 126/dev/vx/rdmp directory 126/etc/default/vxassist file 241, 390/etc/default/vxdg defaults file 403/etc/default/vxdg

Strany 481

532 Indexndcomirror 251, 252, 357ndcomirs 275, 321newvol 330nmirror 330nomanual 146nopreferred 146plex 234preferred priority 146primary 147putil 222,

Strany 482

533Indexclustersactivating disk groups 403activating shared disk groups 425activation modes for shared disk groups 402benefits 397checking cluster pro

Strany 483

534 Indexcrash dumpsusing VxVM volumes for 107Cross-platform Data Sharing (CDS)alignment constraints 242disk format 81CVMcluster functionality of VxVM

Strany 484

535IndexA/P-C 126A/PF 126A/PF-C 126A/PG 126A/PG-C 126Active/Active 126Active/Passive 125adding disks to DISKS category 87adding vendor-supplied suppor

Strany 485

536 Indexserial split brain condition 190setting connectivity policies in clusters 425setting default disk group 168setting failure policies in cluste

Strany 486 - Commands summary

537Indexspares 388removing from VxVM control 112, 172removing tags from 178removing with subdisks 111, 112renaming 119replacing 112replacing removed 1

Strany 487

538 Indexdmp_scsi_timeout tunable 478dmp_stat_interval tunable 479DRLadding log subdisks 220adding logs to mirrored volumes 281checking existence of 4

Strany 488 - Table A-2 Administering disks

539Indexuse with snapshots 66fastresync attribute 251, 252, 293file systemsgrowing using vxresize 285shrinking using vxresize 285unmounting 290fire dr

Strany 489

540 Indexinitialization of disks 90instant snapshotsbacking up multiple volumes 333cascaded 312creating backups 319creating for volume sets 334creatin

Strany 490

55Understanding Veritas Volume ManagerOnline relayoutamount of temporary space that is required is usually 10% of the size of the volume, from a minim

Strany 491

541IndexLUN group failover 126LUN groupsdisplaying details of 140LUNsidle 477Mmapsadding to volumes 274usage with volumes 237master nodedefined 400dis

Strany 492

542 Indexplex attribute 234renaming disks 119subdisk 29subdisk attribute 221VM disk 29volume 31naming schemechanging for disks 91changing for TPD encl

Strany 493

543Indexhot spots identified by I/O traces 472impact of number of disk group configuration copies 473improving for instant snapshot synchronization 34

Strany 494

544 Indexcondition flags 228converting to snapshot 351copying 233creating 223creating striped 224defined 30detaching from volumes temporarily 231disco

Strany 495

545Indexperformance of 466prefer 289round 289select 289siteread 289, 433, 434, 436split 289read-only mode 402readonly mode 402RECOVER plex condition 2

Strany 496

546 Indexread policy 289rulesattributes 458checking attribute values 447checking disk group configuration copies 451checking disk group version number

Strany 497 - Table A-6 Creating volumes

547Indexsiteconsistent attribute 435siteread read policy 289, 433, 434, 436sitesreattaching 440size units 216slave nodesdefined 400SmartSync 62disabli

Strany 498

548 Indexstandby path attribute 147statesfor plexes 224of link objects 311volume 265statistics gathering 128storageordered allocation of 245, 251, 257

Strany 499

549Indexphysical disk placement 513putil attribute 222RAID-5 failure of 380RAID-5 plex, configuring 516removing from VxVM 221restrictions on moving 21

Strany 500

550 Indexvol_default_iodelay 479vol_fmr_logsz 68, 479vol_max_vol 480vol_maxio 480vol_maxioctl 480vol_maxparallelio 481vol_maxspecialio 481vol_subdisk_

Strany 501

56 Understanding Veritas Volume ManagerOnline relayout(shown by the shaded area) decreases the overall storage space that the volume requires.Figure 1

Strany 502

551IndexDETACHED 267DISABLED 267ENABLED 267volume length, RAID-5 guidelines 516volume resynchronization 59volume setsadding volumes to 362administerin

Strany 503

552 Indexeffect of growing on FastResync maps 73enabling FastResync on 292enabling FastResync on new 251excluding storage from use by vxassist 244find

Strany 504

553Indexzeroing out contents of 261vxassistadding a log subdisk 220adding a RAID-5 log 283adding DCOs to volumes 357adding DRL logs 281adding mirrors

Strany 505

554 Indexreattaching version 0 DCOs to volumes 359removing version 0 DCOs from volumes 358vxdctlchecking cluster protocol version 427managing vxconfig

Strany 506 - Online manual pages

555Indexvxdisk scandisksrescanning devices 82scanning devices 82vxdiskaddadding disks to disk groups 171creating disk groups 171placing disks under Vx

Strany 507 - Name Description

556 Indexremoving instant snapshots 341removing plexes 234removing snapshots from a cache 347removing subdisks from VxVM 221removing volumes 290renami

Strany 508

557Indexvxse_dg2rule to check disk group configuration copies 451vxse_dg3rule to check on disk config size 451vxse_dg4rule to check disk group version

Strany 509 - Section 4 — file formats

558 Indexmoving subdisks after hot-relocation 392restarting after errors 394specifying different offsets for unrelocated subdisks 393unrelocating subd

Strany 510 - Configuring Veritas

57Understanding Veritas Volume ManagerOnline relayoutFigure 1-30 Example of increasing the stripe width for the columns in a volumeFor details of how

Strany 511 - Adding disks to disk groups

58 Understanding Veritas Volume ManagerOnline relayout The number of mirrors in a mirrored volume cannot be changed using relayout. Only one relayou

Strany 512

59Understanding Veritas Volume ManagerVolume resynchronizationVolume resynchronizationWhen storing data redundantly and using mirrored or RAID-5 volum

Strany 513 - Mirroring guidelines

60 Understanding Veritas Volume ManagerDirty region loggingResynchronization of data in the volume is done in the background. This allows the volume t

Strany 514 - Striping guidelines

7ContentsTaking a disk offline ...118Renaming a disk ...

Strany 515 - Hot-relocation guidelines

61Understanding Veritas Volume ManagerDirty region loggingbecomes the least recently accessed for writes. This allows writes to the same region to be

Strany 516

62 Understanding Veritas Volume ManagerDirty region loggingSmartSync recovery acceleratorThe SmartSync feature of Veritas Volume Manager increases the

Strany 517 - Configuring cluster support

63Understanding Veritas Volume ManagerVolume snapshotsRedo log volume configurationA redo log is a log of changes to the database data. Because the da

Strany 518

64 Understanding Veritas Volume ManagerVolume snapshotsFigure 1-31 Volume snapshot as a point-in-time image of a volumeThe traditional type of volume

Strany 519 - Reconfiguration tasks

65Understanding Veritas Volume ManagerVolume snapshotsmirror snapshots such as immediate availability and easier configuration and administration. You

Strany 520 - Glossary

66 Understanding Veritas Volume ManagerFastResyncFastResyncNote: You need a Veritas FlashSnap or FastResync license to use this feature.The FastResync

Strany 521

67Understanding Veritas Volume ManagerFastResyncsnapshot is taken, it can be accessed independently of the volume from which it was taken. In a cluste

Strany 522

68 Understanding Veritas Volume ManagerFastResyncAvailability (HA) environment requires the full resynchronization of a mirror when it is reattached t

Strany 523

69Understanding Veritas Volume ManagerFastResyncVersion 0 DCO volume layoutIn VxVM releases 3.2 and 3.5, the DCO object only managed information about

Strany 524

70 Understanding Veritas Volume ManagerFastResync(by default) are used either for tracking writes to snapshots, or as copymaps. The size of the DCO vo

Strany 525

8 ContentsDisplaying the status of the DMP path restoration thread ...161Displaying information about the DMP error-handling thread ...

Strany 526

71Understanding Veritas Volume ManagerFastResyncFigure 1-32 Mirrored volume with persistent FastResync enabledTo create a traditional third-mirror sna

Strany 527

72 Understanding Veritas Volume ManagerFastResyncNote: Space-optimized instant snapshots do not require additional full-sized plexes to be created. In

Strany 528

73Understanding Veritas Volume ManagerFastResyncNote: The vxsnap reattach, dis and split operations are not supported for instant space-optimized snap

Strany 529 - /dev/vx/dsk

74 Understanding Veritas Volume ManagerFastResyncdifferent effects on the map that FastResync uses to track changes to the original volume: For a ver

Strany 530

75Understanding Veritas Volume ManagerHot-relocationassociation. However, in such a case, you can use the vxplex snapback command with the -f (force)

Strany 531 - 532 Index

76 Understanding Veritas Volume ManagerVolume setsand availability characteristics of the underlying volumes. For example, file system metadata could

Strany 532 - 533Index

Chapter2Administering disksThis chapter describes the operations for managing disks used by the Veritas Volume Manager (VxVM). This includes placing d

Strany 533 - 534 Index

78 Administering disksDisk devicesand /dev/rdisk directories. To maintain backward compatibility, HP-UX also creates legacy devices in the /dev/dsk an

Strany 534 - 535Index

79Administering disksDisk devicesThe syntax of a legacy device name is c#t#d#, where c# represents a controller on a host bus adapter, t# is the targe

Strany 535 - 536 Index

80 Administering disksDisk devicesPrivate and public disk regionsMost VM disks have two regions:private region A small area where configuration inform

Strany 536 - 537Index

9ContentsCreating subdisks ...215Displaying subdisk inform

Strany 537 - 538 Index

81Administering disksDisk devicesauto When the vxconfigd daemon is started, VxVM obtains a list of known disk device addresses from the operating syst

Strany 538 - 539Index

82 Administering disksDiscovering and configuring newly added disk devicesDiscovering and configuring newly added disk devicesWhen you physically conn

Strany 539 - 540 Index

83Administering disksDiscovering and configuring newly added disk devicesAlternatively, you can specify a ! prefix character to indicate that you want

Strany 540 - 541Index

84 Administering disksDiscovering and configuring newly added disk devicesAdding support for a new disk arrayThe following example illustrates how to

Strany 541 - 542 Index

85Administering disksDiscovering and configuring newly added disk devicesSee “Changing device naming for TPD-controlled enclosures” on page 94 for inf

Strany 542 - 543Index

86 Administering disksDiscovering and configuring newly added disk devicesThis command displays the vendor ID (VID), product IDs (PIDs) for the arrays

Strany 543 - 544 Index

87Administering disksDiscovering and configuring newly added disk devicesListing supported disks in the DISKS categoryTo list disks that are supported

Strany 544 - 545Index

88 Administering disksDiscovering and configuring newly added disk devices[length=serialno_length] [policy=ap]where vendorid and productid are the VID

Strany 545 - 546 Index

89Administering disksDiscovering and configuring newly added disk devicesFor more information, enter the command vxddladm help addjbod, or see the vxd

Strany 546 - 547Index

90 Administering disksPlacing disks under VxVM control Enclosure information is not available to VxVM. This can reduce the availability of any disk g

Strany 547 - 548 Index

10 ContentsCreating a concatenated-mirror volume ...249Creating a volume with a version 0 DCO volume ...

Strany 548 - 549Index

91Administering disksChanging the disk-naming scheme If the disk was previously in use by the LVM subsystem, you can preserve existing data while sti

Strany 549 - 550 Index

92 Administering disksChanging the disk-naming schemeAlternatively, you can change the naming scheme from the command line. The following commands sel

Strany 550 - 551Index

93Administering disksChanging the disk-naming scheme# vxdmpadm getlungroup dmpnodename=disk25VxVM vxdmpadm ERROR V-5-1-10910 Invalid da-name# vxdmpad

Strany 551 - 552 Index

94 Administering disksChanging the disk-naming schemeChanging device naming for TPD-controlled enclosuresNote: This feature is available only if the d

Strany 552 - 553Index

95Administering disksChanging the disk-naming scheme Persistent simple or nopriv disks in the boot disk group Persistent simple or nopriv disks in n

Strany 553 - 554 Index

96 Administering disksInstalling and formatting disks3 If you want to use enclosure-based naming, use vxdiskadm to add a non-persistent simple disk to

Strany 554 - 555Index

97Administering disksDisplaying and changing default disk layout attributesDisplaying and changing default disk layout attributesTo display or change

Strany 555 - 556 Index

98 Administering disksAdding a disk to VxVMdisks available for use as replacement disks. More than one disk or pattern may be entered at the prompt.He

Strany 556 - 557Index

99Administering disksAdding a disk to VxVM3 To continue with the operation, enter y (or press Return) at the following prompt:Here are the disks selec

Strany 557 - 558 Index

100 Administering disksAdding a disk to VxVMA site tag is usually applied to disk arrays or enclosures, and is not required unless you want to use the

Komentáře k této Příručce

Žádné komentáře