InfoScale™ 9.0 Storage Foundation Administrator's Guide - AIX
- Section I. Introducing Storage Foundation
- Overview of Storage Foundation
- How Dynamic Multi-Pathing works
- How Volume Manager works
- How Volume Manager works with the operating system
- How Volume Manager handles storage management
- Volume layouts in Veritas Volume Manager
- Online relayout
- Volume resynchronization
- Dirty region logging
- Volume snapshots
- FastResync
- How VxVM handles hardware clones or snapshots
- How Veritas File System works
- Section II. Provisioning storage
- Provisioning new storage
- Advanced allocation methods for configuring storage
- Customizing allocation behavior
- Using rules to make volume allocation more efficient
- Understanding persistent attributes
- Customizing disk classes for allocation
- Specifying allocation constraints for vxassist operations with the use clause and the require clause
- Creating volumes of a specific layout
- Customizing allocation behavior
- Creating and mounting VxFS file systems
- Creating a VxFS file system
- Mounting a VxFS file system
- tmplog mount option
- ioerror mount option
- largefiles and nolargefiles mount options
- Resizing a file system
- Monitoring free space
- Extent attributes
- Section III. Administering multi-pathing with DMP
- Administering Dynamic Multi-Pathing
- Discovering and configuring newly added disk devices
- About discovering disks and dynamically adding disk arrays
- How to administer the Device Discovery Layer
- Administering DMP using the vxdmpadm utility
- Gathering and displaying I/O statistics
- Specifying the I/O policy
- Discovering and configuring newly added disk devices
- Dynamic Reconfiguration of devices
- Reconfiguring a LUN online that is under DMP control using the Dynamic Reconfiguration tool
- Manually reconfiguring a LUN online that is under DMP control
- Managing devices
- Displaying disk information
- Changing the disk device naming scheme
- Adding and removing disks
- Event monitoring
- Administering Dynamic Multi-Pathing
- Section IV. Administering Storage Foundation
- Administering sites and remote mirrors
- About sites and remote mirrors
- Fire drill - testing the configuration
- Changing the site name
- Administering the Remote Mirror configuration
- Failure and recovery scenarios
- Administering sites and remote mirrors
- Section V. Optimizing I/O performance
- Section VI. Using Point-in-time copies
- Understanding point-in-time copy methods
- When to use point-in-time copies
- About Storage Foundation point-in-time copy technologies
- Volume-level snapshots
- Storage Checkpoints
- About FileSnaps
- About snapshot file systems
- Administering volume snapshots
- Traditional third-mirror break-off snapshots
- Full-sized instant snapshots
- Creating instant snapshots
- Adding an instant snap DCO and DCO volume
- Controlling instant snapshot synchronization
- Creating instant snapshots
- Cascaded snapshots
- Adding a version 0 DCO and DCO volume
- Administering Storage Checkpoints
- Storage Checkpoint administration
- Administering FileSnaps
- Administering snapshot file systems
- Understanding point-in-time copy methods
- Section VII. Optimizing storage with Storage Foundation
- Understanding storage optimization solutions in Storage Foundation
- Migrating data from thick storage to thin storage
- Maintaining Thin Storage with Thin Reclamation
- Reclamation of storage on thin reclamation arrays
- Identifying thin and thin reclamation LUNs
- InfoScale 4K sector device support solution
- Section VIII. Maximizing storage utilization
- Understanding storage tiering with SmartTier
- Creating and administering volume sets
- Multi-volume file systems
- Features implemented using multi-volume file system (MVFS) support
- Adding a volume to and removing a volume from a multi-volume file system
- Volume encapsulation
- Load balancing
- Administering SmartTier
- About SmartTier
- Placement classes
- Administering placement policies
- File placement policy rules
- Multiple criteria in file placement policy rule statements
- Using SmartTier with solid state disks
- Sub-file relocation
- Administering hot-relocation
- How hot-relocation works
- Moving relocated subdisks
- Compressing files
- About compressing files
- Use cases for compressing files
- Section IX. Administering and protecting storage
- Administering VxVM volumes as paging devices
- Managing volumes and disk groups
- Rules for determining the default disk group
- Moving volumes or disks
- Monitoring and controlling tasks
- Performing online relayout
- Adding a mirror to a volume
- Managing disk groups
- Disk group versions
- Displaying disk group information
- Importing a disk group
- Moving disk groups between systems
- Importing a disk group containing hardware cloned disks
- Handling conflicting configuration copies
- Destroying a disk group
- Backing up and restoring disk group configuration data
- Managing plexes and subdisks
- Decommissioning storage
- Using DMP with a SAN boot disk
- Configuring DMP for SAN booting
- Administering the root volume group (rootvg) under DMP control
- Extending an LVM rootvg that is enabled for DMP
- Quotas
- Using Veritas File System quotas
- File Change Log
- Section X. Reference
- Appendix A. Reverse path name lookup
- Appendix B. Tunable parameters
- Tuning the VxFS file system
- Methods to change Dynamic Multi-Pathing tunable parameters
- Tunable parameters for VxVM
- Methods to change Veritas Volume Manager tunable parameters
- Appendix C. Command reference
- Appendix D. Executive Order logging
Configuring DMP support for booting over a SAN
For DMP to work with an LVM root disk over a SAN, configure the system to use the boot device over all possible paths.
To configure DMP support for booting over a SAN
- Verify that each path to the root device has the same physical volume identifier (PVID) and the same volume group. Use the lspv command for the root volume group to verify that the PVID and volume group entries are set correctly. The PVID and volume group entries in the second and third columns of the output should be identical for all the paths.
In this example, the LVM root disk is multi-pathed with four paths. The output from the lspv command for the root volume group (rootvg) is as follows:
# lspv | grep rootvg hdisk374 00cbf5ce56def54d rootvg active hdisk375 00cbf5ce56def54d rootvg active hdisk376 00cbf5ce56def54d rootvg active hdisk377 00cbf5ce56def54d rootvg active
- If the PVID and volume group entries are not set correctly on any of the paths, use the chdev command to set the correct value.
For example, the following output shows that the
hdisk377
path is not set correctly:# lspv hdisk374 00cbf5ce56def54d rootvg active hdisk375 00cbf5ce56def54d rootvg active hdisk376 00cbf5ce56def54d rootvg active hdisk377 none None
To set the PVID for the path, use the following command:
# chdev -l hdisk377 -a pv=yes hdisk377 changed
The output of the lspv command now shows the correct values:
# lspv | grep rootvg hdisk374 00cbf5ce56def54d rootvg active hdisk375 00cbf5ce56def54d rootvg active hdisk376 00cbf5ce56def54d rootvg active hdisk377 00cbf5ce56def54d rootvg active
- If any path to the target disk has SCSI reserve ODM attribute set, then change the attributes to release the SCSI reservation from the paths, on a restart.
If a path has the reserve_policy attribute set, change thereserve_policy attribute to no_reserve for all the paths.
# lsattr -E1 hdisk557 | grep res
reserve_policy single_path
Reserve Policy True
# chdev -l hdisk557 -a reserve_policy=no_reserve -P
hdisk557 changed
If a path has the reserve_lock attribute set, change the reserve_lockattribute to no.
# lsattr -E1 hdisk558 | grep reserve_lock
reserve_lock yes
Reserve Device on open True
# chdev -l hdisk558 -a reserve_lock=no -P
hdisk558 changed
- Set the boot list to include all the paths of current boot disk.
# bootlist -m normal hdisk374 hdisk375 hdisk376 hdisk377 blv=hd5
Verify that the boot list includes all paths and that each path shows the default boot volume hd5:
# bootlist -m normal -o hdisk374 blv=hd5 hdisk375 blv=hd5 hdisk376 blv=hd5 hdisk377 blv=hd5
- If the blv option is not set for a path to the disk, use the bootlist command to set it. For example:
# bootlist -m normal hdisk374 hdisk375 hdisk376 hdisk377 blv=hd5
- Run one of the following commands to configure DMP on the root disk:
The recommended method is to turn on DMP support for LVM volumes, including the root volume.
# vxdmpadm settune dmp_native_support=on
The following command enables DMP support for LVM volumes only for the root disk.
# vxdmpadm native enable vgname=rootvg
- Reboot the system. DMP takes control of the SAN boot device to perform load balancing and failover.
- Verify whether DMP controls the root disk.
# vxdmpadm native list vgname=rootvg PATH DMPNODENAME =========================== hdisk374 ams_wms0_491 hdisk375 ams_wms0_491 hdisk376 ams_wms0_491 hdisk377 ams_wms0_491
# lspv | grep rootvg hdisk374 00cbf5ce56def54d rootvg active hdisk375 00cbf5ce56def54d rootvg active hdisk376 00cbf5ce56def54d rootvg active hdisk377 00cbf5ce56def54d rootvg active