InfoScale™ 9.0 Storage Foundation Administrator's Guide - Solaris
- Section I. Introducing Storage Foundation
- Overview of Storage Foundation
- How Dynamic Multi-Pathing works
- How DMP 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
- Managing DMP devices for the ZFS root pool
- 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
- Simple or nopriv disks with enclosure-based naming
- About the Array Volume Identifier (AVID) attribute
- 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
- 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
- Rootability
- Encapsulating a disk
- Rootability
- Administering an encapsulated boot disk
- Quotas
- Using Veritas File System quotas
- File Change Log
- Managing volumes and disk groups
- 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 a mirror for the ZFS root pool using a DMP device
After the root pool is in DMP control, you can add any DMP device as a mirror to the ZFS root pool. You can attach or detach the DMP device using the zpool commands.
To replace a disk of root pool, you can use the following procedure to add the new device as a mirror to the ZFS root pool. After the new device is resilvered, you can detach the original device.
The following examples show attaching and detaching the DMP device hitachi_vsp0_00f3s0
to the ZFS root pool.
To configure a mirror for the ZFS root pool using a DMP device.
- Make sure the dmp_native_support tunable is set to on.
# vxdmpadm gettune dmp_native_support Tunable Current Value Default Value -------------------------- ------------- --------------- dmp_native_support on off
If the dmp_native_support tunable is not on, you must enable DMP support for native devices.
- View the status of the root pool using the following command:
# zpool status rpool pool: rpool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 hitachi_vsp0_00f4s0 ONLINE 0 0 0
- Use the format command or the fmthard command to format the partition table on the DMP device that you want to add to the root pool. Create the partition the same as the partition of the original device. In this example, the new device
hitachi_vsp0_00f3
is formatted to have the similar partitions as the original devicehitachi_vsp0_00f4
. - Attach the DMP device
hitachi_vsp0_00f3
to the root pool.# zpool attach rpool hitachi_vsp0_00f4s0 hitachi_vsp0_00f3s0
- Make sure to wait until the resilvering operation is completed, before you reboot the system.
# zpool status rpool pool: rpool state: DEGRADED status: One or more devices is currently being resilvered. The pool will continue to function in a degraded state. action: Wait for the resilver to complete. Run 'zpool status -v' to see device specific details. scan: resilver in progress since Fri Feb 8 05:06:26 2013 10.6G scanned out of 20.0G at 143M/s, 0h1m to go 10.6G resilvered, 53.04% done config: NAME STATE READ WRITE CKSUM rpool DEGRADED 0 0 0 mirror-0 DEGRADED 0 0 0 hitachi_vsp0_00f4s0 ONLINE 0 0 0 hitachi_vsp0_00f3s0 DEGRADED 0 0 0 (resilvering)
For the system to be bootable with the mirror disk, update the eeprom variable
boot-device
with the paths of the mirrored DMP device.You can perform these steps while the resilvering is in progress.
- If the resilvering operation is completed, then verify booting from mirror disk.
# zpool status rpool pool: rpool state: ONLINE scan: resilvered 20.0G in 0h10m with 0 errors on Wed Mar 6 05:02:36 2013 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 hitachi_vsp0_00f4s0 ONLINE 0 0 0 hitachi_vsp0_00f3s0 ONLINE 0 0 0
- Update the ZFS bootloader for the new mirror disk.
# bootadm install-bootloader hitachi_vsp0_00f3s0
or
# /sbin/installboot -F zfs -f /usr/plaftform/'uname -m' \ /lib/fs/zfs/bootblk /dev/vx/rdmp/hitachi_vsp0_00f3s0