VERITAS Volume Manager 3.
Legal Notices Disclaimer The information contained in this publication is subject to change without notice. VERITAS Software Corporation makes no warranty of any kind with regard to this manual, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. VERITAS Software Corporation shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this manual.
Contents 1. Introducing the VEA GUI VERITAS Volume Manager Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Main Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 The Object Tree and Grid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 The Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents Object Properties Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multiple Selections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Accessing Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing Task History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents To replace a disk drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Recovering Volumes on a Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Removing a Disk from a Dynamic Disk Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Forcing Initialization of a Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Disabling a Controller . . . . . .
Contents Resizing a Dynamic Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Renaming a Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changing a Volume Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding a Mirror to a Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Adding a Log to a Volume . . . . . .
Contents Defragmenting a File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Creating a Snapshot Copy of a File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Checking a File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Monitoring File System Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing File System Properties . . . . . . . . .
Contents Volume State: Stopped . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Volume State: Uninitialized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Volume State: Degraded . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Volume State: Unusable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General Troubleshooting . . . . . .
Preface This guide describes how to use the VERITAS Volume Manager™ Graphical User Interface (GUI).
Organization This guide is organized as follows: • Chapter 1, “Introducing the VEA GUI,” on page 1 describes the main components of the GUI. • Chapter 2, “Getting Started with VxVM VEA,” on page 15 describes how to set up and start using VxVM with VEA. • Chapter 3, “Disk Tasks,” on page 47describes how to set up and use disks using VxVM with VEA. • Chapter 4, “Volume Tasks,” on page 101describes how to create and use volumes and related objects using VxVM with VEA.
Related Documents The following documents provide related information: • VERITAS Volume Manager Administrator’s Guide • VERITAS Volume Manager Troubleshooting Guide • VERITAS Volume Manager Hardware Notes • VERITAS Volume Manager Installation Guide • VERITAS Volume Manager Release Notes • VERITAS Volume Manager manual pages The following table describes terms associated with the use of the mouse: Term Definition Click Press and release the mouse button.
Getting Help If you have any comments or problems with the VERITAS products, contact VERITAS Technical Support: • U.S. and Canadian Customers: 1-800-342-0652 • International Customers: +1 (650) 527-8555 • E-mail: support@veritas.com For license information (U.S. and Canadian Customers): • Phone: 1-925-931-2464 • E-mail: license@veritas.com • Fax: 1-925-931-2487 For software updates: • E-mail: swupdate@veritas.
xiii
xiv
1 Introducing the VEA GUI Before using the VERITAS Volume Manager VEA GUI, you should familiarize yourself with the following introductory topics: Chapter 1 • “VERITAS Volume Manager Features” on page 2 • “Main Window” on page 4 • “Task Roadmap” on page 8 1
Introducing the VEA GUI VERITAS Volume Manager Features VERITAS Volume Manager Features You use the VERITAS Volume Manager to administer disks, volumes, and file systems on local or remote machines. VERITAS Volume Manager is a Java-based interface that consists of a server and a client. The server runs on a UNIX machine that is running VxVM. The client runs on any machine that supports the Java Runtime Environment.
Introducing the VEA GUI VERITAS Volume Manager Features The VERITAS Volume Manager client can provide simultaneous access to multiple host machines. The administrator can use a single client session to connect to multiple hosts, view the objects on each host, and perform administrative tasks on each host. Each host machine must be running the VERITAS Volume Manager server.
Introducing the VEA GUI Main Window Main Window The VERITAS Volume Manager Figure 1-1, “Main Window,”consists of: Figure 1-1 • The Object Tree and Grid • The Menu Bar • The Toolbar • The Status Area Main Window The toolbar can be separated from and reattached to the main window (this is known as docking). The grid can be replicated in a separate window.
Introducing the VEA GUI Main Window The following object groups typically appear as nodes in the object tree: — Hosts – Any host machines connected to the current VERITAS Volume Manager client session. — Controllers – All controllers on the system. — Disk Groups – All disk groups on the system. — Disks – All disks on the system. — Enclosures – All enclosures (disk arrays) on the system. — File Systems – All mounted file systems on the system. — Volumes – All volumes on the system.
Introducing the VEA GUI Main Window The Actions menu is a context-sensitive menu that launches tasks on a selected object. It is inactive until you connect to a host. The Actions menu is dynamic and changes its options based on the type of object that is selected. When an object is selected, the Actions menu provides access to tasks appropriate for the selected object. • Help The Help menu provides access to online help for VxVM.
Introducing the VEA GUI Main Window The toolbar handle is the thin bar next to the toolbar. You can use the toolbar handle to separate the toolbar from the main window or move the toolbar to the bottom, side, or top of the main window. To reposition the toolbar, press and hold the mouse button over the toolbar handle and drag the toolbar to its new location. The Status Area The status area is at the bottom of the main window.
Introducing the VEA GUI Task Roadmap Task Roadmap VERITAS Volume Manager tasks are grouped into: • “Setup Tasks” on page 8 • “Maintenance Tasks” on page 10 • “Repair/Recovery Tasks” on page 13 Setup Tasks If you are using VxVM and VEA for the first time, you need to install both products, place your disks under VxVM control, and create volumes. Setting Up Your System • Installing and initializing VxVM. • Installing VEA. • Starting VEA.
Introducing the VEA GUI Setting Up Your System • Creating mirrors for any volumes that need to be redundant. These tasks are described in Chapter 4, “Volume Tasks.” To set up file systems • Placing file systems on volumes. • Mounting a file system. These tasks are described in Chapter 5, “File System Tasks.” To set up clusters • Setting up a shared disk group. • Starting a cluster. These tasks are described in Chapter 6, “Cluster Tasks,” on page 179.
Introducing the VEA GUI Maintenance Tasks Maintenance Tasks After you have set up your disks and volumes, you need to perform some or all of the following maintenance tasks. Monitor objects • Use the Main Window tree (left pane) and grid (right pane) to view disks, volumes, file systems, and other objects on the system. • Use the Disk View Window to display a graphical view of disks, volumes, and other objects in a particular disk group.
Introducing the VEA GUI Maintenance Tasks Maintain volumes • “Resizing a Dynamic Volume” on page 122 as users and applications require more space. • “Changing a Volume Layout” on page 125. • “Adding a Mirror to a Volume” on page 128 to any unmirrored volume that should be redundant. These tasks are described in Chapter 4, “Volume Tasks.
Introducing the VEA GUI Maintenance Tasks Maintain file systems • “Adding a New File System to a Volume” on page 158. • Increase the size of file systems as users and applications require more space. • Create snapshot copies of file systems and then back up the file systems. These tasks are described in Chapter 5, “File System Tasks.” Maintain clusters • Stop a cluster. • Mount a file system on a cluster node. These tasks are described in Chapter 6, “Cluster Tasks.
Introducing the VEA GUI Repair/Recovery Tasks Repair/Recovery Tasks If disk and/or system failures occur, VxVM generally performs any necessary recovery operations automatically. However, depending on the circumstances, you may need to attempt to recover from the situation as follows. Protect volumes from disk failure • “Adding a Disk to VxVM” on page 52. • “Replacing Disk” on page 63. These tasks are described in Chapter 3, “Disk Tasks,” on page 47.
Introducing the VEA GUI Repair/Recovery Tasks 14 Chapter 1
2 Getting Started with VxVM VEA Before using VxVM, you need to familiarize yourself with the following: • “Setting Up Your System” on page 16 • “Starting VxVM” on page 17 • “Viewing Objects and Object Properties” on page 18 — “Tree and Grid View” on page 18 — “Disk View Window” on page 19 — “Volume View Window” on page 25 — “Volume Layout Details Window” on page 27 — “Volume to Disk Mapping Window” on page 28 Chapter 2 • “Viewing Task History” on page 33 • “Command Log” on page 34 • “Search/Rep
Getting Started with VxVM VEA Setting Up Your System Setting Up Your System VxVM consists of a server (vxsvc) and a client (vea). You must install and run the VxVM server on a UNIX machine running VxVM. You can install and run the VxVM client on any machine that supports the Java Runtime Environment. Before you can use VxVM, you need to: Step 1. Install VxVM on the machine to be administered. Step 2. Install the VEA server and client on the machine to be administered.
Getting Started with VxVM VEA Starting VxVM Starting VxVM Only users with appropriate privileges can run VxVM. Refer to the VERITAS Volume Manager Installation Guide for information on security and access permissions. You can use VxVM to administer the local machine or a remote machine. The VxVM daemon (vxconfigd) and the VEA server (vxsvc) must be running on the machine to be administered. Once VxVM is installed, the VxVM server starts up automatically at system startup.
Getting Started with VxVM VEA Viewing Objects and Object Properties Viewing Objects and Object Properties VxVM provides the following views of objects and their properties: • “Tree and Grid View” on page 18 The main window tree and grid view displays volumes, disks, file systems, and other objects on the system. The grid also displays a limited set of properties for listed objects.
Getting Started with VxVM VEA Viewing Objects and Object Properties Disk View Window The Disk View window displays a graphical view of disks. It is dynamic, so the objects displayed in this window are automatically updated when their properties change. You can select objects or perform tasks on objects in the Disk View window. The Disk View window can be accessed by clicking on a disk and selecting Actions > Disk View. You can move the horizontal splitter to adjust the relative heights of both panes.
Getting Started with VxVM VEA Viewing Objects and Object Properties Using the Menu Bar The menu bar at the top of the Disk View window contains the following menus: • File The File menu enables you to: — Access to the page setup menu — Print the properties of a selected object — Close the Disk View window — Access the Properties window — Display selected disks • Options The Options menu provides you with the following selections: — Refresh View — Collapse—provides basic information for all disks in the v
Getting Started with VxVM VEA Viewing Objects and Object Properties The Expand button shows more detailed information about all disks in the Disk View, including subdisks and free space. This button displays objects in layout mode or detailed mode, depending on the previous mode. • Collapse The Collapse button hides details for all disks in the Disk View. This button displays objects in layout mode or basic mode, depending on the previous mode.
Getting Started with VxVM VEA Viewing Objects and Object Properties . • Projection The Projection button highlights objects associated with the selected subdisk or volume. Projection shows the relationships between objects by highlighting objects that are related to or part of a specific object. When disks are in layout mode or detailed mode, clicking on a subdisk highlights the location of the subdisk on the corresponding disk. • Print The Print button prints the properties of the selected object.
Getting Started with VxVM VEA Viewing Objects and Object Properties CAUTION Moving subdisks reorganizes volume disk space and must be done with care. The Disk View window displays plexes and subdisks that are associated with volumes. To view Volume Manager objects that are not associated with volumes (such as dissociated plexes), open the Dissociated Object View window (see “Dissociated Plex View Window” on page 26).
Getting Started with VxVM VEA Viewing Objects and Object Properties Mapping Disks to Volumes You can map a disk to the associated volume by bringing up both the Disk View and the Volume View (see “Volume View Window” on page 25). When you click on the disk in the Disk View, the corresponding plex in the Volume View is highlighted.
Getting Started with VxVM VEA Viewing Objects and Object Properties Volume View Window The Volume View window gives the characteristics of the volumes on the disks. The Volume View window can be accessed by clicking on a volume and selecting Actions > Volume View. You can move the horizontal splitter to adjust the relative heights of both panes.
Getting Started with VxVM VEA Viewing Objects and Object Properties The toolbar handle is the thin bar next to the toolbar. You can use the toolbar handle to separate the toolbar from the window or move the toolbar to the bottom, side, or top of the window. To reposition the toolbar, press and hold the mouse button over the toolbar handle and drag the toolbar to its new location. Dissociated Plex View Window The Dissociated Plex View window shows the dissociated plexes for a particular disk group.
Getting Started with VxVM VEA Viewing Objects and Object Properties The Dissociated Plex View window can be displayed by clicking on a disk group and selecting Actions > Dissociated Plex View. Volume Layout Details Window The Volume Layout Details window displays a graphical view of the selected volume’s layout, components, and properties. You can select objects or perform tasks on objects in the Volume Layout Details window.
Getting Started with VxVM VEA Viewing Objects and Object Properties • To zoom in and out of the view, use the scroll bar on the left side of the window. • To access the popup menu for an object, right-click on the object. Use the File menu to close the window. Volume to Disk Mapping Window The Figure 2-1, “Volume to Disk Mapping Window,” displays a tabular view of volumes and their underlying disks. Volumes are listed in the top row of the table and disks are listed in the left column of the table.
Getting Started with VxVM VEA Viewing Objects and Object Properties reads/writes are shown as red icons. Volumes with relatively slow response time are shown as yellow icons. All other volumes are shown as green icons. Figure 2-1, “Volume to Disk Mapping Window,” shows the relationships between volumes and disks.
Getting Started with VxVM VEA Viewing Objects and Object Properties • To display all of the subdisks and gaps on all disks, choose View > Expand All. To hide all of the subdisks and gaps on all disks, choose View > Collapse All. • To use the statistics collection feature, see “Viewing Real-Time Statistics” on page 41. • To highlight a disk row, click on the disk name. To highlight a volume column, click on the volume name.
Getting Started with VxVM VEA Viewing Objects and Object Properties Figure 2-2 Volume Properties Window Navigating the Object Properties Window You can view object properties using the following procedures: • To view the properties of an object, click on the object (in the main window grid) and then choose Properties from the Selected or popup menu. You can also access the Properties window by double-clicking on the object.
Getting Started with VxVM VEA Multiple Selections • To go to a tab in a properties window, click the appropriate tab label. • To update the contents of the Properties window to reflect current properties for the object, click Refresh. • To change any of the editable items in the Properties window, make the appropriate changes and then click OK. This changes the settings for all properties tabs in the Properties window.
Getting Started with VxVM VEA Viewing Task History Viewing Task History VxVM logs all task requests. You can view the task history (including tasks in progress) using the Task History window, or the “Command Log” on page 34 file. The Task History window displays a history of tasks performed in the current session (and any other sessions running on the machine). Each task is listed with properties such as the task name, the task status, and the start/finish times.
Getting Started with VxVM VEA Command Log Task Throttling Task Throttling causes an operation to pause for the allowed amount of time whenever a disk I/O is performed, allowing the CPU to perform other tasks. Select the popup menu option Throttle Task to change the task priority. You can change the priority for a single task, or select Throttle All Tasks to apply the priority to all Volume Manager Tasks. Click Ok to complete your selection.
Getting Started with VxVM VEA Search/Report type not supported Exit Code: 20 Search/Report The Search/Report feature allows you to search for objects on the system running VxVM. To invoke the Search/Report feature, choose Tools > Search. This brings up the “Search on Host” dialog. How to use the Search/Report Feature Step 1. In order to find an object, you must first select the object type (under Look for:).
Getting Started with VxVM VEA Search/Report — Disks — Dynamic Disk Groups — Controllers — Enclosures — File systems Step 2. Once you have chosen the object type, you define the search criteria (under Define Criteria): The criteria menu selection is based on the object type you have selected.
Getting Started with VxVM VEA Search/Report — Free space Step 3. Once you have chosen an Attribute, you must choose how to compare the object. The possible ways to compare the object change with your previous selections, and are limited to: — Any — Contains — Starts with — Ends with — Is — Is not — True — False — Greater than — Less than — Equal to Step 4. If you did not select the Status or Imported attribute, you must enter a number into the value box.
Getting Started with VxVM VEA Search/Report If you search for a Volume (object type), with a Size (attribute), of greater than (compare), 10 MB(value), the search will only display volumes with a capacity of greater than 10 MB. Step 8. If you wish to save the search results, click the Save Results button. — The Save Dialog box appears. Select the path or folder you want the file to save to. — Enter a name for the file into the File name field. — Click Save to save the file and close the dialog box.
Getting Started with VxVM VEA Performance Tuning Performance Tuning When a program or device uses too much disk I/O, bottlenecks can occur, creating a hot spot and degrading performance. You can make adjustments by moving subdisks from an area of high I/O usage to another disk that has lower usage. The VxVM statistics function provides I/O statistics to allow you to do performance tuning to improve overall disk and system performance.
Getting Started with VxVM VEA Performance Tuning Step 2. Select the checkboxes for the required statistics parameters. • Read Requests/Second The number of read requests per second for selected storage objects. • Write Requests/Second The number of write requests per second for selected storage objects. • Read Blocks/Second The amount of read request data (in blocks per second) that is processed for selected storage objects. It is the throughput on the read requests made.
Getting Started with VxVM VEA Performance Tuning The average time in microseconds that it takes to process a read block from the time a request is made until the data is returned. • Avg Time (microseconds)/Write Block The average time in microseconds that it takes to process a read block from the time a request is made until the data is returned. By default, all the statistical parameters will be enabled. Step 3. Set I/O Refresh Rate/Sec.
Getting Started with VxVM VEA Performance Tuning Monitoring Performance You can change the criteria that determine which disks are displayed as slow performers. Select View > Perf. Monitoring Parameters and complete the Performance Monitoring Parameters dialog box. This dialog box allows you to configure how many disks are shown as slowest and next slowest performers, the sampling interval, and whether to show the slowest performers for reading, for writing, or for both reading and writing.
Getting Started with VxVM VEA Load Balancing Load Balancing If disk activities are heavily concentrated on one or a small number of disks in the storage subsystem, it may create bottlenecks. You can use the “Moving a Subdisk” on page 148 and possibly the “Splitting a Subdisk” on page 150 features to spread out disk accesses more evenly across all the disks to balance the load.
Getting Started with VxVM VEA Disk Failure or Removal Disk Failure or Removal Moving a subdisk for redundant volumes (mirrored or RAID-5) will use the redundant data to recreate the subdisk on the healthy disk. However, for nonredundant volumes (concatenated or striped), the data cannot be recreated and doing subdisk move will therefore lose data, which could be recovered if the disk can be repaired.
Getting Started with VxVM VEA Setting Preferences Setting Preferences To set VxVM view and dialog preferences, select Tools > Preferences > then select the Volume Manager tab. The VxVM Preferences window appears. When you have made your changes: Figure 2-3 • Press Apply to apply the changes. • Press Reset to revert back the changes. • Press OK to apply and dispose the Preference window. • Press Cancel to discard and close the Preference window.
Getting Started with VxVM VEA Setting Preferences Show Inline Disk View Check this box if you want to show the disk view tab on any objects that have associated disks. (This view can take a long time to render in a configuration having a large number of objects.) Show Dialog Top Information Panel Check this box if you want to show information about an object selected in the tree while you are viewing its related objects in the table.
3 Disk Tasks VxVM provides you with easy-to-use interfaces for performing tasks and procedures associated with: • "Managing Disks" on page 34 • "Managing Dynamic Disk Groups" on page 35 The "Disk Task Roadmap" on page 36 summarizes these tasks.
Disk Tasks Managing Disks Managing Disks The following tasks are associated with disk management: 48 • “Adding a Disk to VxVM” on page 52 • “Scanning Disks” on page 55 • “Commands for Hot Relocation” on page 81 • “Reserving a Disk” on page 56 • “Renaming a Disk” on page 57 • “Onlining a Disk” on page 58 • “Mirroring a Disk” on page 59 • “Evacuating a Disk” on page 60 • “Disconnecting a Disk” on page 62 • “Replacing Disk” on page 63 • “Recovering Volumes on a Disk” on page 65 • “Rem
Disk Tasks Managing Dynamic Disk Groups Managing Dynamic Disk Groups NOTE “dynamic disk groups” are sometimes referred to as “disk groups” in CLI and menu displays.
Disk Tasks Disk Task Roadmap Disk Task Roadmap The following table provides a summary of common VERITAS Volume Manager disk and dynamic disk group tasks.
Disk Tasks Disk Task Roadmap To perform this task … Use this procedure … Attempt to recover all volumes on a disk “Recovering Volumes on a Disk” on page 65 Attempt to recover all volumes in a dynamic disk group “Recovering Volumes in Dynamic Disk Groups” on page 80 Other Tasks: Chapter 3 Change a disk name “Renaming a Disk” on page 57 Change a dynamic disk group name “Renaming Dynamic Disk Groups” on page 76 Move objects between dynamic disk groups “Moving Objects Between Dynamic Disk Groups”
Disk Tasks Adding a Disk to VxVM Adding a Disk to VxVM New disks must be set up on the system, placed under VxVM control, then added to a dynamic disk group before they can be used for volumes. The Actions > Rescan task scans for new devices. When you place a disk under VxVM control, the disk is either encapsulated (if your system supports encapsulation) or initialized. Encapsulation preserves any existing data on the disk in volumes. Initialization destroys any existing data on the disk.
Disk Tasks Adding a Disk to a Dynamic Disk Group Adding a Disk to a Dynamic Disk Group Select the uninitialized disk to be placed under VxVM control. Step 1. Choose Actions > Add Disk to Dynamic Group. The Add Disk to Dynamic Group wizard appears. Click Next to continue. Step 2. Complete the Add Disk to Dynamic Group wizard as follows: Dynamic disk group name: Select the dynamic disk group into which the disks will be added.
Disk Tasks Adding a Disk to a Dynamic Disk Group 54 • Disks that already belong to a dynamic disk group cannot be added to another dynamic disk group. • Disks cannot be added to deported dynamic disk groups.
Disk Tasks Scanning Disks Scanning Disks When VxVM rescans disks, it scans all attached disks for disk configuration changes. It also updates information on removable media, CD-ROM drives, basic volumes, file systems, and drive letters. Rescanning disks can take several minutes, depending on the number of hardware devices installed. • You should rescan disks when you remove disks from or add disks to a computer. • From the Actions menu, select Rescan.
Disk Tasks Reserving a Disk Reserving a Disk The Set Disk Usage feature can be used to designate a disk as a reserved disk. A reserved disk is not considered part of the free space pool. If you perform a task that requires disk space and you do not specify a disk, VxVM allocates space from disks other than the reserved disk. To reserve a disk Step 1. Follow the instructions in “Adding a Disk to VxVM” on page 52 to place the disk under VxVM control and in a dynamic disk group. Step 2.
Disk Tasks Renaming a Disk Renaming a Disk The Rename Disk procedure changes the VxVM name assigned to a disk. The VxVM disk name is the name given to the disk by the administrator or VxVM. This procedure does not change the physical disk name (device name). To rename a disk Step 1. Select the disk to be renamed. Step 2. Choose Actions > Rename Disk. Step 3.
Disk Tasks Onlining a Disk Onlining a Disk The Online Disk procedure restores access to a disk that has been taken offline. The disk is made accessible to VxVM again. After bringing a disk back online, the disk must be added to a dynamic disk group before it can be used for volumes (see “Adding a Disk to VxVM” on page 52). To bring a disk online Step 1. Select the disk to be brought online. Step 2. Choose Actions > Online Disk. Step 3. Enter Yes to confirm disk offline.
Disk Tasks Mirroring a Disk Mirroring a Disk The Mirror Disk procedure mirrors (copies) all concatenated and striped volumes on a disk onto another disk. You can use this procedure to mirror any disk that contains concatenated or striped volumes. NOTE You require a licence to mirror disks other than the root disk. To mirror all volumes on a disk Step 1. Select the disk that contains the volumes to be mirrored onto another disk. Step 2. Choose Actions > Mirror Disk. Step 3.
Disk Tasks Evacuating a Disk Evacuating a Disk This feature is similar to disk replacement, but it involves moving the contents of the volumes on one dynamic disk to another dynamic disk. If a disk begins to fail, you can attempt to protect/preserve the volumes on that disk by evacuating the disk. You can also evacuate a disk if you plan to remove the disk or use the disk elsewhere. The other dynamic disk does not have to be empty.
Disk Tasks To Evacuate a disk: To Evacuate a disk: Step 1. Right click on the disk you wish to evacuate. Step 2. Select Evacuate Disk. Step 3. The Evacuate Disk dialog will appear. Select either “Auto Assign destinations disks” or “Manually assign destination disks”. Step 4. If you chose “Manually assign destination disks” add the destination disks by clicking on the disk and clicking the Add button. Remove disks from the selected destination disks by clicking on the disk and clicking the Remove button.
Disk Tasks Disconnecting a Disk Disconnecting a Disk The Disconnect Disk procedure disconnects a VxVM disk from its underlying physical disk. You can disconnect a disk in preparation for the replacement of a physical disk. After disconnecting a disk, you can use the “Replacing Disk task to reconnect the disk (see “Replacing Disk” on page 63). To disconnect a disk Step 1. Select the disk to be disconnected. Step 2. Choose Actions > Disconnect Disk. Step 3. Press OK to confirm disconnection.
Disk Tasks Replacing Disk Replacing Disk Disks most often need replacing when they fail or start to behave strangely. A failed or removed dynamic disk can be replaced, and active redundant volumes (mirrored and RAID-5) on the replaced disk will be resynchronized automatically after disk replacement. Failed volumes on the replaced disk, however, will stay failed after disk replacement because no valid data is available for copy.
Disk Tasks To replace a disk drive To replace a disk drive Step 1. Right click on the missing disk. Step 2. Select Replace Disk. A Dialog box appears containing a list of Empty Basic Disks. Step 3. Select the Disk you wish to use to replace the Missing Disk. To select a disk, click on the corresponding circle next to the Disk or Disks. Step 4. Click OK to perform the Disk Replacement. NOTE 64 • The Replace Disk task requires the name of the disk to be replaced and the replacement disk name.
Disk Tasks Recovering Volumes on a Disk Recovering Volumes on a Disk The Recover Disk procedure performs any necessary volume recovery operations on the volumes on a given disk. The recovery operations depend on the types of volumes on the disk and include starting disabled volumes, resynchronizing mirrors in mirrored volumes, and resynchronizing parity in RAID-5 volumes. After successful recovery, the volumes are again available for use.
Disk Tasks Removing a Disk from a Dynamic Disk Group Removing a Disk from a Dynamic Disk Group You can remove a disk from a dynamic disk group if there are no volumes on the disk. If volumes exist, you must delete them before you can revert the disk. Disks shown in Volume Manager to be Unreadable as well as Foreign can be removed, but doing so causes you to lose all existing data on the disk that is removed from the group.
Disk Tasks Removing a Disk from a Dynamic Disk Group Chapter 3 • When a disk is removed from a dynamic disk group or VxVM control, the disk cannot be accessed. • A disk that is in use (that is., contains volumes) must not be removed. Removing a disk with volumes can result in loss of data or data redundancy. If volumes exist on the disk to be removed, use the Evacuate Disks task to move the volumes to another disk. • The last disk in a dynamic disk group cannot be removed.
Disk Tasks Forcing Initialization of a Disk Forcing Initialization of a Disk CAUTION Forcing the initialization or reinitialization of a disk can result in data loss. The Initialize Disk procedure forces the initialization of a disk. This task is intended for use in troubleshooting disks that have already been placed under VxVM control. To initialize a disk for VxVM use, use the Add Disks task instead (see “Adding a Disk to VxVM” on page 52). To (re)initialize a disk Step 1.
Disk Tasks Disabling a Controller Disabling a Controller The controller Disable procedure disables I/O to a controller. CAUTION If your system supports the Dynamic Multipathing (DMP) feature; it should be noted that performing the controller Disable procedure will prevent DMP from accessing the paths associated with a controller. You can disable access to a controller in preparation for hardware maintenance. To disable a controller Step 1. Select the controller to be disabled. Step 2.
Disk Tasks Viewing Disk Properties Viewing Disk Properties The Disk Properties window contains detailed information about the selected disk. The following information is displayed. Category 70 Description Disk Name of disk in VxVM. Group Name Name of dynamic disk group associated with the disk. Type Field is Dynamic. Status Fields are Imported and Deported. Capacity Size in megabytes or gigabytes Unallocated Space Amount of free space that is available to create a partition or volume.
Disk Tasks Enabling a Controller Enabling a Controller The controller Enable procedure enables I/O to a controller. (If your system supports the DMP feature, and if DMP is enabled, then the Enable procedure also restores access to the paths associated with a controller.) To enable a controller Step 1. Select the controller to be enabled. Step 2. Choose Actions > Enable. Step 3.
Disk Tasks Renaming an Enclosure Renaming an Enclosure The Enclosure Rename procedure changes the name of an enclosure (disk array). To rename an enclosure Step 1. Select the enclosure to be renamed. Step 2. Choose Actions > Enclosure Rename. Step 3. Complete the Rename Enclosure dialog box as follows: Enclosure Name: If the correct enclosure name does not already display in this field, enter the name. New Name: Enter the new enclosure name.
Disk Tasks Creating a Dynamic Disk Group Creating a Dynamic Disk Group The New Dynamic Disk Group procedure creates an additional dynamic disk group. Disks must be placed in dynamic disk groups before they can be used by VxVM. The default disk group (rootdg) is usually created during VxVM installation and always exists on a system running VxVM. You can create additional dynamic disk groups to organize your disks into logical sets of disks. When you place a disk under VxVM control, the disk is initialized.
Disk Tasks Creating a Dynamic Disk Group 74 • The New Dynamic Disk Group task requires a dynamic disk group name and the name of at least one disk. • The dynamic disk group name must be unique. • The new dynamic disk group must contain at least one disk. • Only disks that are online and do not belong to a dynamic disk group can be used to create a dynamic disk group. • The Volume Manager disk name must be unique within the dynamic disk group.
Disk Tasks Upgrading a Dynamic Disk Group Version Upgrading a Dynamic Disk Group Version NOTE This procedure is not to be confused with upgrading to a dynamic disk. The Dynamic Disk Group Upgrade procedure upgrades a dynamic disk group to the dynamic disk group version that is compatible with the current VxVM release. Some new features and tasks only work on dynamic disk groups with the current dynamic disk group version, so you must upgrade existing dynamic disk groups before you perform these tasks.
Disk Tasks Renaming Dynamic Disk Groups Renaming Dynamic Disk Groups The Rename Dynamic Disk Group procedure changes the name of an existing dynamic disk group. You can rename a dynamic disk group to provide a more appropriate name or to avoid a name conflict with a dynamic disk group to be imported. To rename a dynamic disk group Step 1. Select the dynamic disk group to be renamed. Step 2. Choose Actions > Rename Dynamic Disks Group. Step 3. Complete the Rename Dynamic Disk Group dialog box. Step 4.
Disk Tasks Deporting Dynamic Disk Groups Deporting Dynamic Disk Groups The Deport Dynamic Disk Group procedure makes a dynamic disk group and its volumes inaccessible. Once deported, a dynamic disk group cannot be used until it is imported. You can deport a dynamic disk group to make the dynamic disk group temporarily unavailable. While a dynamic disk group is deported, you cannot remove and reuse any of its disks.
Disk Tasks Importing Dynamic Disk Groups Importing Dynamic Disk Groups The Import Dynamic Disk Group procedure makes a deported (inaccessible) dynamic disk group and its volumes accessible again. To import a deported dynamic disk group, you must know the former name of the dynamic disk group, and this name must not be in use. In addition, at least one disk name formerly assigned to the deported dynamic disk group must not be in use. To import a dynamic disk group Step 1.
Disk Tasks Importing Dynamic Disk Groups Chapter 3 • A deported dynamic disk group cannot be imported if another dynamic disk group with the same name has been created since the dynamic disk group was deported. • When a dynamic disk group is imported, the system stamps its host ID on all disks in the dynamic disk group. A dynamic disk group import fails if one of the disks is stamped with a host ID that does not match the others.
Disk Tasks Recovering Volumes in Dynamic Disk Groups Recovering Volumes in Dynamic Disk Groups The Recover Dynamic Disk Group procedure performs any necessary volume recovery operations on the volumes in a given dynamic disk group. The recovery operations depend on the types of volumes in the group and include starting disabled volumes, resynchronizing mirrors in mirrored volumes, and resynchronizing parity in RAID-5 volumes. After successful recovery, the volumes are again available for use.
Disk Tasks Commands for Hot Relocation Commands for Hot Relocation The Hot Spare and Hot Relocation procedures enable a system to automatically react to I/O failures on redundant (mirrored or RAID-5) volumes, and to restore redundancy and access to those volumes.
Disk Tasks Commands for Hot Relocation When a partial disk failure occurs (that is, a failure affecting only some subdisks on a disk), redundant data on the failed portion of the disk is relocated and the existing volumes comprised of the unaffected portions of the disk remain accessible. When selecting space for relocation, hot relocation preserves the redundancy characteristics of the Volume Manager object that the relocated subdisk belongs to.
Disk Tasks Undoing Hot Relocation Undoing Hot Relocation The Undo Hot Relocation procedure relocates subdisks back to their repaired original disk or replacement disk and restores a system to its original configuration. If hot relocation scattered subdisks from a failed disk to several disks within a dynamic disk group, the undo hot relocation command will summon all of them back to a single disk without you having to find and move each one individually.
Disk Tasks Clearing Relocation Information for Dynamic Disk Groups Clearing Relocation Information for Dynamic Disk Groups The Clear Hot Relocation Info command deletes the information that describes the original location of any subdisks that have been hot relocated. Use this command if you do not plan to move the subdisks back to their original configuration. Step 1. Right-click on a disk group that contains hot relocated subdisks. Step 2. Select Actions > Clear Hot Relocation Info. Step 3.
Disk Tasks Customizing Disks for Hot Relocation Customizing Disks for Hot Relocation You can customize your disks in the following ways: • Specify individual disks to act as Hot Spares • Prevent a disk from being used for Hot Relocation or Hot Spare • Mark a disk as Reserved Each disk must be customized individually, you cannot set disk usage for a group of disks: Step 1. Click on the disk to be customized. Step 2. Choose Actions > Set Disk Usage. A window appears offering three options.
Disk Tasks Destroying a Dynamic Disk Group Destroying a Dynamic Disk Group CAUTION Destroying a dynamic disk group can result in data loss. The Destroy Dynamic Disk Group procedure permanently removes a dynamic disk group from VxVM control. This procedure also reinitializes all of the disks in the dynamic disk group as empty disks and places them in the free disk pool for reuse. Destroy a dynamic disk group only if you are sure that you no longer need the volumes and data in the dynamic disk group.
Disk Tasks Destroying a Dynamic Disk Group • Chapter 3 A dynamic disk group cannot be destroyed if any volumes in that dynamic disk group are in use (open) and/or contain mounted file systems.
Disk Tasks Moving Objects Between Dynamic Disk Groups Moving Objects Between Dynamic Disk Groups The following procedure moves a self-contained set of VxVM objects between imported dynamic disk groups. This operation is performed on VxVM objects such as disks or top-level volumes, and includes all component objects such as sub-volumes, plexes and subdisks. To perform a dynamic disk group move operation: Step 1. Right-click on the dynamic disk group to be moved. Step 2. Select Move Dynamic Disk Groups.
Disk Tasks Moving Objects Between Dynamic Disk Groups Expand: Click Expand to specify that the objects to be moved should include all other disks that contain subdisks that are associated with the specified objects or with objects that they contain. For example, if you specify that disk01 should be moved and disk01 contains vol1 which is also located on disk02, then by using the Expand button, you ensure that disk02 will also be moved.
Disk Tasks Moving Objects Between Dynamic Disk Groups • 90 The operation can only be performed on the master node of a cluster if either the source dynamic disk group or the target dynamic disk group is shared.
Disk Tasks Splitting A Dynamic Disk Group Splitting A Dynamic Disk Group The dynamic disk group split operation involves splitting the contents of an imported dynamic disk group and creating a new dynamic disk group (the Target dynamic disk group) with the objects defined in the dialog box. This operation is performed on VxVM objects such as disks or top-level volumes, and includes all component objects such as sub-volumes, plexes and subdisks. To perform a dynamic disk group split operation: Step 1.
Disk Tasks Splitting A Dynamic Disk Group NOTE 92 • Before carrying out the split operation, stop all applications that are accessing the volumes, and unmount all file systems that are configured in the volumes. • The objects to be split off must be self-contained, meaning that the disks that are split must not contain any other objects that are not intended for the move. • This operation fails if it would remove all the disks from the source dynamic disk group.
Disk Tasks Joining Dynamic Disk Groups Joining Dynamic Disk Groups This procedure joins two dynamic disk groups by moving all VxVM objects from an imported source dynamic disk group to an imported target dynamic disk group. The source dynamic disk group is removed when the join is complete. This operation is performed on VxVM objects such as disks or top-level volumes, and includes all component objects such as sub-volumes, plexes and subdisks. To perform a dynamic disk group join operation: Step 1.
Disk Tasks Activating Dynamic Disk Groups Activating Dynamic Disk Groups If supported on your platform, the Disk Groups Activation procedure sets the activation mode for a dynamic disk group. The dynamic disk group activation mode controls read and write access to volumes in the specified dynamic disk group. To activate a dynamic disk group Step 1. Select the dynamic disk group to be activated. Step 2. Choose Disk Groups > Activation. Step 3.
Disk Tasks Activating Dynamic Disk Groups Activation Mode: Select one of the following dynamic disk group activation modes: • To disallow read and write access for volumes in the dynamic disk group, select Off. • To allow read and write access for volumes in the dynamic disk group, select Read Write. • To allow read only access for volumes in the dynamic disk group, select Read Only.
Disk Tasks Activating Dynamic Disk Groups 96 • In a cluster environment, you must specify the dynamic disk group activation mode on a per-node basis. • If your system supports a cluster environment, then the Exclusive Write, Shared Write, and Shared Read modes are also applicable. The Read Write mode is not available for shared dynamic disk groups. • For shared dynamic disk groups, the default activation mode is Off. For non-shared dynamic disk groups, the default activation mode is Read Write.
Disk Tasks Viewing Dynamic Disk Group Properties Viewing Dynamic Disk Group Properties The Disk Group Properties window contains detailed information about the selected dynamic disk group. • Chapter 3 To view the properties of a dynamic disk group, select the dynamic disk group and then choose Properties from the popup menu.
Disk Tasks Setting Disk Usage Setting Disk Usage This command is used to exclude a disk from certain operations by marking it as a spare, excluding it from Hot Relocation, or marking it as a reserved disk.
Disk Tasks To set disk usage: To set disk usage: Step 1. Right click on the disk you wish to modify. Step 2. Select Set Disk Usage. Step 3. The Set Disk Usage dialog will appear. Select any options you wish to implement. Step 4. Click Ok.
Disk Tasks To set disk usage: 100 Chapter 3
4 Volume Tasks “VxVM Volumes” on page 105 tasks include: Chapter 4 • “Creating a Dynamic Volume” on page 113 • “Resizing a Dynamic Volume” on page 122 • “Renaming a Volume” on page 124 • “Changing a Volume Layout” on page 125 • “Adding a Mirror to a Volume” on page 128 • “Adding a Log to a Volume” on page 130 • “Stopping and Restarting a Volume” on page 132 • Using the Volume Snapshot Feature • “Recovering a Volume” on page 140 • “Removing a Mirror From a Volume” on page 141 • “Remov
Volume Tasks Volume Task Roadmap Volume Task Roadmap The following table provides a summary of common VERITAS Volume Manager volume tasks.
Volume Tasks Volume Task Roadmap To perform this task … Use this procedure … Abort the taking of a snapshot “Aborting a Snapshot” on page 138 Move portions of volumes to other disk space “Moving a Subdisk” on page 148 Recovery Tasks: Chapter 4 Attempt to recover a volume “Recovering a Volume” on page 140 Attempt to recover all volumes on a disk “Recovering Volumes on a Disk” on page 65 (see Chapter 3, Disk Tasks,) Attempt to recover all volumes in a disk group “Recovering Volumes in Dynamic Di
Volume Tasks Volume Task Roadmap To perform this task … Use this procedure … Other Tasks: 104 Change a volume name “Renaming a Volume” on page 124 Restore access to a stopped volume “Recovering a Volume” on page 140 Remove a mirror from a volume “Removing a Mirror From a Volume” on page 141 Remove a DRL log from a volume “Removing a Log From a Volume” on page 143 Remove a RAID-5 log from a volume “Removing a Log From a Volume” on page 143 Remove a volume “Deleting a Volume” on page 146 Star
Volume Tasks VxVM Volumes VxVM Volumes VxVM uses logical volumes to organize and manage disk space. A volume is made up of portions of one or more physical disks, so it does not have the physical limitations of a physical disk. A volume can provide greater capacity and better availability and performance than a single physical disk.
Volume Tasks VxVM Volumes RAID-5 volume data is interleaved (striped) across three or more physical disks. Within each stripe across the set of disks, the data on one of the disks is parity data. If one of the physical disks fails, the parity data can be used to reconstruct and recover the lost data. NOTE RAID-5 volumes cannot be mirrored. • Mirrored Volume Volumes with concatenated or striped layouts can be mirrored to increase data availability.
Volume Tasks VxVM Volumes — Concatenated Pro Volume A concatenated pro volume is a layered volume that concatenates several underlying mirror volumes. — Striped Pro Volume A striped pro volume is a layered volume that stripes several underlying mirror volumes. The following table summarizes the advantages and disadvantages of each volume layout. Table 4-1 Layout Comparison Layout Concatenated Chapter 4 Advantages Disadvantages • The volume can consist of disk regions that are not adjacent.
Volume Tasks VxVM Volumes Table 4-1 Layout Comparison (Continued) Layout Striped Advantages • Striping provides improved read and write performance. • Striping can help to balance the I/O load from multi-user applications across multiple disks. • RAID-5 • • 108 The volume can be mirrored to protect data against disk failure. RAID-5 provides protection against disk failure and reduces the risk of data loss. RAID-5 provides data redundancy by storing parity (a calculated value) on the disks.
Volume Tasks VxVM Volumes Table 4-1 Layout Comparison (Continued) Layout Mirrored Chapter 4 Advantages • Mirroring provides protection against disk failure and reduces the risk of data loss. • Mirroring provides data redundancy by maintaining multiple complete copies of volume data on different disks. • Mirroring provides improved read performance. Disadvantages • A mirrored volume requires extra disk space. Each mirror requires enough disk space to contain a complete copy of the volume.
Volume Tasks VxVM Volumes Table 4-1 Layout Comparison (Continued) Layout Concatenated Pro 110 Advantages • The volume is layered, and concatenates several underlying mirror volumes. This provides improved data redundancy and reduces the impact of disk failures. This type of volume is also known as a concatenated-mirro r volume. • Recovery time is quicker than with regular concatenated volumes that are mirrored. • The volume can consist of disk regions that are not adjacent.
Volume Tasks VxVM Volumes Table 4-1 Layout Comparison (Continued) Layout Striped Pro NOTE Chapter 4 Advantages • The volume is layered, and stripes several underlying mirror volumes. This provides improved data redundancy and reduces the impact of disk failures. This type of volume is also known as a striped-mirror volume. • Recovery time is quicker than with regular striped volumes that are mirrored. • Striping provides improved read and write performance.
Volume Tasks VxVM Volumes button to determine the size of the volume. Again, this is the usable size of the volume rather than the actual size taken by the volume on the disk.
Volume Tasks Creating a Dynamic Volume Creating a Dynamic Volume You can create the following dynamic volumes: • “Concatenated” on page 116 (Concatenated and Concatenated Pro) • “Striped” on page 117 (Striped and Striped Pro) • “RAID-5” on page 119 • “Mirrored” on page 120 To create a dynamic volume Step 1. Right-click a dynamic disk group in the tree view the right pane, and select New Volume from the context menu. The Create Volume wizard appears.
Volume Tasks Creating a Dynamic Volume Figure 4-1 New Volume Wizard screen Step 3. If necessary, select the dynamic Group name for the volume from the pull-down list. Step 4. Type in the Volume Name. This is a Volume Manager-specific name that is used in some Volume Manager commands. It is different from the volume label for the file system. Step 5. Specify the volume size, or select Maxsize. NOTE 114 The Maxsize button works differently, depending on whether you have a disk selected.
Volume Tasks Creating a Dynamic Volume • If you do not have a disk selected when you start the Create Volume wizard, no figure displays in the volume size box. If you then click on a volume type and also click the Maxsize button, a size appears in the volume size box that represents the maximum volume for that layout for all disks in the dynamic group.
Volume Tasks Creating a Dynamic Volume Step 8. Check your selections in the final screen. When you are satisfied with your choices, click Finish. By clicking the Previous button, you can go back and make changes before you click Finish. Concatenated A concatenated volume consists of one or more regions of the specified disks. You have the option of placing a file system on the new volume or mirroring the volume. You can create a regular concatenated volume or a concatenated pro volume.
Volume Tasks Creating a Dynamic Volume NOTE • If no disks are assigned, VxVM uses available space on disks in the selected disk group. • The data in a concatenated volume is not protected against disk failure unless the volume is mirrored. At least one additional disk is required to mirror a concatenated volume. • Concatenated pro volumes are mirrored by default, so a concatenated pro volume requires more disks than an unmirrored concatenated volume.
Volume Tasks Creating a Dynamic Volume Options: • To mirror the volume, select Mirrored. In the Total Number of Mirrors field, enter the total number of mirrors for the volume. NOTE: Striped pro volumes are mirrored by default. To enable logging for a mirrored volume, select Enable Logging. • To place a file system on the volume, click Create a file system and specify the file system type and mount point in the New File System dialog box.
Volume Tasks Creating a Dynamic Volume • You cannot use a striped pro volume for a swap volume. • If a file system is placed on the volume and the Mount at Boot option is selected, the file system table file is automatically updated. RAID-5 A RAID-5 volume spreads across two or more disks, and contains parity information. You have the option of placing a file system on the new volume. Layout: Choose RAID-5 for the volume layout.
Volume Tasks Creating a Dynamic Volume • RAID-5 volumes cannot be mirrored. • For a RAID-5 volume, the size specified in the Size field is the usable space in the volume. Volume Manager allocates additional space for the volume parity information. The disks across which the RAID-5 volume is striped must, therefore, contain additional free space for the volume parity information. • If no disks are assigned, VxVM uses available space on disks in the selected disk group.
Volume Tasks Creating a Dynamic Volume Options: • To place a file system on the volume, click Create a file system and specify the file system type and mount point in the New File System dialog box. • To enable Dirty Region Logging (DRL) for the volume, select Enable Logging. VxVM adds an appropriate number of logs to the volume. • To clear the volume before enabling it for general use, select Initialize Zero. • To prevent the creation of a layered volume, select No Layered Volumes.
Volume Tasks Resizing a Dynamic Volume Resizing a Dynamic Volume The Resize Volume procedure changes the size of a volume. If users require more space on a volume, you can use this procedure to increase the size of the volume. If a volume contains unused space that you need to use elsewhere, you can use this procedure to shrink the volume. If the volume contains a file system, this procedure also resizes the file system. To resize a volume Step 1. Select the volume to be resized. Step 2.
Volume Tasks Resizing a Dynamic Volume Chapter 4 • The Resize Volume task requires either the desired size or the amount of space to add to or subtract from the volume size. • A volume containing a file system other than VxFS cannot be shrunk. • Shrinking a volume with an unmounted file system can result in data loss, so a volume containing an unmounted file system cannot be shrunk. • When a volume is shrunk, the resulting extra space is returned to the free space pool.
Volume Tasks Renaming a Volume Renaming a Volume The Rename Volume procedure changes the name of a volume. If the volume has a file system, this procedure also makes the necessary changes to the file system table file and allows you to specify a new mount point for the file system. To rename a volume Step 1. Select the volume to be renamed. Step 2. Choose Actions > Rename Volume. Step 3.
Volume Tasks Changing a Volume Layout Changing a Volume Layout The volume Change Layout procedure changes the layout of a volume without interrupting access to data. You can use this task to change the redundancy or performance characteristics of an existing volume. You can view the progress of the relayout task through the Relayout Status Monitor window. You can also use the Relayout Status Monitor window to pause, abort, continue, or reverse the relayout task.
Volume Tasks Changing a Volume Layout Options: Click Show Options to access the optional settings for this task. • To retain the original volume size when the volume layout changes, click Retain volume size at completion. • To specify the size of the pieces of data that are copied to temporary space during the volume relayout, enter the size in the Temp space size field. • To specify additional disk space to be used for the new volume layout (if needed), specify the disk in the disk(s) field .
Volume Tasks Changing a Volume Layout Chapter 4 • The Volume Change Layout task requires a volume name and a different volume layout. • Volumes remain accessible during online relayout. • This task may take a long time, depending on the volume size and other factors. The Relayout Status Monitor shows the progress of the layout change and allows you to abort, pause, or reverse the task. • If no disk space is specified, VxVM uses available space on disks in the current disk group.
Volume Tasks Adding a Mirror to a Volume Adding a Mirror to a Volume The volume Add Mirror procedure creates a mirror (copy) of a volume on a disk that is not already being used by the volume. If one of the disks fails, the volume data can be accessed from the surviving disks. A volume can have multiple mirrors. NOTE • To create a mirror on an existing volume, use the Add Mirror Wizard. • To create a new mirrored volume, use the Create Volume Wizard.
Volume Tasks Adding a Mirror to a Volume After you have provided all necessary information in the dialog box, click OK. Adding a mirror requires resynchronization, so this task may take some time. NOTE Chapter 4 • The Mirror Add task requires a volume name. • Once mirrored, the data in the volume is redundant. If a disk fails, the data remains available on the surviving mirror (on another disk). • The new mirror cannot be created on a disk that already contains a copy of the volume.
Volume Tasks Adding a Log to a Volume Adding a Log to a Volume The volume Add Log procedure adds the appropriate type of log to a mirrored or RAID-5 volume. When used to add a Dirty Region Logging (DRL) log to a mirrored volume, DRL uses this log to track the regions of the volume that change due to I/O writes. If a system failure occurs, DRL uses the information in the log to recover only the portions of the volume that need recovery. This speeds up recovery time for mirrored volumes.
Volume Tasks Adding a Log to a Volume NOTE Chapter 4 When a log is added to a mirrored volume, DRL is activated for that volume.
Volume Tasks Stopping and Restarting a Volume Stopping and Restarting a Volume The Stop Volume procedure disables a volume. When a volume is stopped, it is not available for use until it is restarted (refer to “Recovering a Volume” on page 140). Stopping a volume is a safe way of temporarily preventing access to a volume. To stop a volume Step 1. Select the volume to be stopped. Step 2. Choose Actions > Stop Volume. Step 3. In reply to the message “Are you sure you want to stop the volume ...,” click OK.
Volume Tasks Using the Volume Snapshot Feature Using the Volume Snapshot Feature The snapshot feature can be used to take a snapshot of a mirrored or an unmirrored volume, but snapshot is not supported for RAID-5 volumes. NOTE To take a snapshot of a volume, you must have an empty dynamic disk in the volume’s disk group. The snapshot feature enables quick and efficient online backup of volumes, with minimum disruption to the user.
Volume Tasks Using the Volume Snapshot Feature • Snap Clear - “Dissociating a Snapshot Volume (Volume Snap Clear)” on page 137 Permanently removes the snapshot mirror from the original volume and releases its space. • Snap Abort - “Aborting a Snapshot” on page 138 Aborts the snapshot operation after issuing the Snap Start command. Snap Abort permanently removes the snapshot mirror from the volume and releases its space.
Volume Tasks Using the Volume Snapshot Feature NOTE To create a snapshot mirror on a dynamic volume, you must have an empty dynamic disk in the dynamic disk group of that volume. To create a snapshot mirror, do the following: Step 1. Right-click on the volume that you want to take a snapshot of. A context menu is displayed. Step 2. Select Snap > Snap Start. A new snapshot mirror is attached to the volume. The new mirror is added to the Mirrors tab for the volume.
Volume Tasks Using the Volume Snapshot Feature A context menu is displayed. Step 2. Select Snap > Snap Shot. The Snapshot Volume dialog box is displayed. You are asked to select the snapshot mirror to be used to create the snapshot volume. Step 3. Select the mirror and click OK. When there is only one snapshot mirror, “Automatic select mirror to add snapshot” will be highlighted.
Volume Tasks Using the Volume Snapshot Feature • If you remove the snapshot mirror, you cannot create a snapshot volume until you repeat the snapstart phase of the procedure. Merging a Snapshot Volume (Volume Snapback) The volume Snap Back procedure merges a snapshot copy of a volume with the original volume. The snapshot plex is detached from the snapshot volume and attached to the original volume. The snapshot volume is removed.
Volume Tasks Using the Volume Snapshot Feature Snap Clear permanently removes a snapshot mirror from a volume. Snap Clear can be specified only after the snapshot command has been issued. To permanently remove a snapshot mirror from a volume, do the following: Step 1. Right-click on the volume, whose snapshot mirror you are removing. A context mirror is displayed. Step 2. Select Snap>Snap Clear. A message box is displayed asking you to confirm the snap clear operation for the specified volume. Step 3.
Volume Tasks Preparing to Restore a Volume From Backup Preparing to Restore a Volume From Backup The Volume Prepare Restore procedure stops the volume, sets the volume to an uninitialized state, and restarts the volume (without resynchronizing the volume mirrors). The volume can then be reloaded from backup. This procedure is intended for raw image backups and is not appropriate for file system backups. This procedure is useful for disaster recovery.
Volume Tasks Recovering a Volume Recovering a Volume The Recover Volume procedure performs any necessary volume recovery operations on a volume. The recovery operations depend on the type of volume and include starting disabled volumes, resynchronizing mirrors in mirrored volumes, and resynchronizing parity in RAID-5 volumes. After successful recovery, the volume is again available for use. Alert icons and the Alert Monitor window can provide clues to let you know that volume recovery is needed.
Volume Tasks Removing a Mirror From a Volume Removing a Mirror From a Volume CAUTION Removing a mirror can result in loss of data redundancy. The Mirror Remove procedure removes a mirror from its volume. This procedure breaks the link between the mirror and its volume and returns the mirror disk space to the free space pool for reuse. You can remove an extra mirror from a volume to make the underlying disk space available for use elsewhere.
Volume Tasks Removing a Mirror From a Volume After you have provided all necessary information in the dialog box, click OK. NOTE 142 • The Mirror Remove task requires a volume name. This task also requires the number of mirrors to remove, a disk name, or a mirror name. • If a volume only has two mirrors and one mirror is removed, the volume is no longer redundant. • The last mirror (plex) cannot be removed from a volume.
Volume Tasks Removing a Log From a Volume Removing a Log From a Volume The Log Remove procedure removes a log from a mirrored or RAID-5 volume. For a mirrored volume, this removes a DRL log from the volume. For a RAID-5 volume, this removes a RAID-5 log from the volume. To remove a log from a volume Step 1. Select the volume that contains the RAID-5 or DRL log to be removed. Step 2. Select Actions > Log > Remove. Step 3.
Volume Tasks Removing a Log From a Volume • 144 If the only log is removed from a volume, logging (either dirty region logging or RAID-5 logging) is no longer in effect for that volume. When logging is disabled, recovery time increases.
Volume Tasks Recovering Volumes on a Disk Recovering Volumes on a Disk The Recover Disk procedure performs any necessary volume recovery operations on the volumes on a given disk. The recovery operations depend on the types of volumes on the disk and include starting disabled volumes, resynchronizing mirrors in mirrored volumes, and resynchronizing parity in RAID-5 volumes. After successful recovery, the volumes are again available for use.
Volume Tasks Deleting a Volume Deleting a Volume CAUTION Deleting a volume can result in data loss. This procedure permanently removes a volume and all of its data. You should only remove a volume if you are sure that you do not need the data in the volume (or the data is backed up elsewhere). You can remove a volume to make the underlying disk space available for use elsewhere. To delete a volume Step 1. Select the volume to be deleted. Step 2. Choose Actions > Delete Volume. Step 3.
Volume Tasks Associating a Plex Associating a Plex The Plex Associate procedure associates (attaches) a plex to a volume. This involves copying data from an active mirror on the volume to the new plex (mirror). To associate a plex Step 1. Choose Plex Associate. Step 2. Complete the Associate Plex dialog box as follows: Plex Name: Enter the plex name. Volume Name: Enter the name of the volume to be associated with the plex or click Browse to select a volume.
Volume Tasks Moving, Splitting, and Joining Subdisks Moving, Splitting, and Joining Subdisks The commands Subdisk Move, Split, and Join, enable you to move subdisks to other locations within the dynamic group, split subdisks, and join them back together. The flexibility of moving subdisks, splitting them, and joining them lets you make best use of your disk space.
Volume Tasks Moving, Splitting, and Joining Subdisks View window, you can move a subdisk by placing the pointer over the subdisk and then pressing and holding the mouse button to drag the subdisk to another location. To display the subdisk in the right pane, click on its volume in the tree view, and then click on the Subdisks tab in the right pane. The subdisks for that volume will display. You can use the Subdisks Properties command to further identify the characteristics of a volume’s subdisks. Step 1.
Volume Tasks Moving, Splitting, and Joining Subdisks NOTE • Subdisks are typically moved to reorganize disk space. • The disk space occupied by the original subdisk is returned to the free space pool. • A subdisk in a mirrored, striped, or RAID-5 volume should not be moved to a disk that already contains a copy or part of that volume.
Volume Tasks Moving, Splitting, and Joining Subdisks Step 5. In the next screen that comes up, specify the subdisk size for the first of the two subdisks and Click Next. The remaining space left over will be assigned to the second subdisk. For example, if the original subdisk was 100 MB and you assigned 40 MB to the first subdisk, the other subdisk will be 60 MB. Step 6. The final screen of the Subdisk Split wizard appears. Click Finish to complete the command.
Volume Tasks Moving, Splitting, and Joining Subdisks To join subdisks Step 1. Identify one of the two subdisks that you want to join and display it in the right pane. Step 2. Right-click on the subdisk you want to join to bring up its context menu. Step 3. Select Join from the context menu. Step 4. The welcome screen of the Subdisk Join wizard appears. Click Next to continue. Step 5. In the screen that comes up next, select the subdisks to be joined together and click Next. Step 6.
Volume Tasks Subdisk Properties Subdisk Properties Name Subdisks on a disk are assigned numbers in a sequence, such as 1-01, 1-02, 1-03 or 12-01, 12-02, 12-03. The subdisk number is an internal number generated by the program. There is no particular significance to the one or two digits before the dash except that, for any one disk, the first one or two numbers identifying its subdisks must be the same. The numbers after the dash represent a number for the subdisk within the disk.
Volume Tasks Viewing Volume Properties Viewing Volume Properties The Volume Properties window contains detailed information about the selected volume. The Properties window contains a set of tabbed pages, each of which contains information about the volume and related objects. You can display a different page by clicking on the appropriate tab label. 154 • To view the properties of a volume, select the volume and then choose Properties from the Volumes or popup menu.
5 File System Tasks VxVM Volumes tasks include: Chapter 5 • “Adding a New File System to a Volume” on page 158 • “Mounting a File System” on page 162 • “Unmounting a File System” on page 164 • “Removing a File System from the File System Table” on page 165 • “Defragmenting a File System” on page 166 • “Creating a Snapshot Copy of a File System” on page 167 • “Checking a File System” on page 169 • “Viewing File System Properties” on page 171 • “Unmounting a File System from a Cluster Node
File System Tasks File System Task Roadmap File System Task Roadmap The following table provides a summary of common VEA file system tasks.
File System Tasks File System Task Roadmap To perform this task … Chapter 5 Use this procedure … Enable a QuickLog device “Enabling a QuickLog Device for a File System” on page 173 Disable a QuickLog device “Disabling a QuickLog Device for a File System” on page 174 Remove a QuickLog volume “Removing a QuickLog Volume” on page 175 157
File System Tasks Adding a New File System to a Volume Adding a New File System to a Volume You can use the Volume Manager New File System procedure to place a file system onto an existing volume and mount the file system. This also updates the file system table file, if necessary. To add a new file system to an existing volume Step 1. Select the volume to contain the file system. Step 2. Choose Actions > File System > New File System. Step 3.
File System Tasks Adding a New File System to a Volume Select the file system type from the options shown. File system type: Mount Options: • Enter the mount point for the file system, if you want the file system mounted at system startup. • Select the Create mount point checkbox if you want the system to create the mount point if it does not already exist. • Select the Read only and Honor setuid checkboxes, as required.
File System Tasks Adding a New File System to a Volume Table 5-2 Create Options Option File Systems largefiles/nolarge files vxfs, jfs, fs2 File system contains/does not contain files equal or greater than 2 GBytes. logsize vxfs Activity logging area size. Table 5-3 Mount Options Option 160 Description File Systems Description largefiles/nolargefil es vxfs, jfs, fs2 File system contains/does not contain files equal or greater than 2 GBytes.
File System Tasks Adding a New File System to a Volume Table 5-3 Mount Options (Continued) Option File Systems Description log/delaylog/tmplog jfs, jfs2 Controls intent logging. To maintain filesystem integrity after a system failure, logging must be enabled. blkclear vxfs Clears all data extents before file allocation. mincache vxfs File system caching policy Note that, while the tmpcache option to mincache improves performance, it reduces integrity.
File System Tasks Mounting a File System Mounting a File System The Mount File System procedure mounts a file system and updates the file system table file, if necessary. To mount a file system on an existing volume Step 1. Select the volume that contains the file system to be mounted. Step 2. Choose Actions > File System > Mount File System. Step 3. Complete the Mount File System dialog box To mount any file system Step 1. Select the file system to be mounted. Step 2. Choose Actions > Mount File System.
File System Tasks Mounting a File System Mount Options: (refer to “Adding a New File System to a Volume” on page 158 for available options) • If you want the system to use the mount options defined in the system table, check Mount using options in the file system table. • Enter the mount point for the file system, if you want the file system mounted at system startup. • Select the Create mount point checkbox if you want the system to create the mount point if it does not already exist.
File System Tasks Unmounting a File System Unmounting a File System The Unmount File System procedure unmounts a file system. To unmount a file system on a volume Step 1. Select the volume containing the file system to be unmounted. Step 2. Choose Actions > File System > Unmount File System. Step 3. Click Yes in the Unmount File System dialog to confirm that you want the file system unmounted. To unmount any file system Step 1. Select the file system to be unmounted. Step 2.
File System Tasks Removing a File System from the File System Table Removing a File System from the File System Table The file systems Remove from File System Table procedure removes its resource information from the file system table. To remove file system information from the file system table Step 1. Select the file system to be removed. Step 2. Choose Actions > Remove from File System Table. Step 3. Click Yes in the Remove File System dialog to confirm that you want the file system information removed.
File System Tasks Defragmenting a File System Defragmenting a File System The Defrag File System procedure defragments a file system and the underlying volume, removing disjointed extents, and so on. NOTE This feature requires a license. To defragment a file system on a volume Step 1. Select the volume containing the file system to be defragmented. Step 2. Choose Actions > File System > Defrag File System. Step 3. Select Yes in the displayed dialog box To defragment any file system Step 1.
File System Tasks Creating a Snapshot Copy of a File System Creating a Snapshot Copy of a File System The File System Snapshot procedure prepares VxFS for online backup by creating a snapshot copy of the file system. This is done by creating a new volume, mounting a snapshot file system on the new volume, and copying the contents of the original file system to the snapshot file system. The snapshot file system is a consistent copy of the original file system at the time the snapshot was made.
File System Tasks Creating a Snapshot Copy of a File System Select disks to use for the volume: Select the disks for Volume screen. Cluster node (displayed only if your node is part of a cluster): If your node is part of a cluster, you can now select the node in the cluster to contain the file system. The default setting is for Volume Manager to assign the disks for you. To manually select the disks, click the Manually select which disks to use for volume radio button.
File System Tasks Checking a File System Checking a File System The Check File System procedure checks an unmounted file system for consistency (using the fsck command). See the fsck_vxfs (1M) manual page for more information on file system checking. To check a file system on a volume Step 1. Select the volume containing the file system to be checked. Step 2. Choose Actions > File System > Check File System. Step 3. Click Yes in the Check File System dialog to confirm that you want the file system checked.
File System Tasks Monitoring File System Capacity Monitoring File System Capacity The Set Usage Threshold procedure enables you to monitor the capacity of a file system on a mounted volume. To monitor the capacity of a file system Step 1. Select the file system to be monitored. Step 2. Choose Actions > Set Usage Threshold. Step 3. Complete the Set Usage Threshold dialog box as follows: NOTE Monitor Capacity Select the Monitor Capacity checkbox to initiate capacity monitoring on the file system.
File System Tasks Viewing File System Properties Viewing File System Properties The File System Properties window contains detailed information about the selected file system. Select File Systems then Properties. You can also view the properties associated with each mount point under the file systems. Chapter 5 • To view the properties of a particular file system mount point, select File Systems, then choose the mount point and Properties from the popup menu.
File System Tasks Using the QuickLog Feature Using the QuickLog Feature NOTE This feature requires a license. • “Creating a QuickLog Volume” on page 172 • “Enabling a QuickLog Device for a File System” on page 173 • “Disabling a QuickLog Device for a File System” on page 174 • “Removing a QuickLog Volume” on page 175 Creating a QuickLog Volume The Make Log procedure designates a volume as a QuickLogTM volume. After setting up a QuickLog volume, you can enable a QuickLog device for a file system.
File System Tasks Using the QuickLog Feature NOTE • The Make Log task is only available if QuickLog is installed/licensed. • The Make Log task requires a log device number (1-31). • Only VxFS file systems can be used with a QuickLog device. • The specified volume cannot contain a file system. • The size of the specified volume must be at least 32MB. Enabling a QuickLog Device for a File System The QuickLog Enable procedure enables a QuickLog device on a VxFS file system.
File System Tasks Using the QuickLog Feature Make QuickLog enable persistent (checkbox): Check to enable QuickLog whenver the File System is mounted. After you have provided all necessary information in the dialog box, click OK. NOTE • This task is only available if QuickLog is installed/licensed. • This task requires a file system name. • Only VxFS file systems can be used with a QuickLog device. • The specified QuickLog device must already have a designated QuickLog volume.
File System Tasks Using the QuickLog Feature • The QuickLog Disable task requires a file system name. Removing a QuickLog Volume The Quicklog Remove procedure detaches a QuickLog volume from a QuickLog device. Before you remove a QuickLog volume, you must disable QuickLog for all QuickLog-enabled file systems using that QuickLog device. To remove a QuickLog volume Step 1. Select the QuickLog volume to be detached. Step 2. Choose Actions > QuickLog > Remove Log.
File System Tasks Unmounting a File System from a Cluster Node Unmounting a File System from a Cluster Node Use the Unmount File System procedure to unmount a VxFS file system on a selected volume in cluster (shared) mode. To unmount a cluster file system from a particular volume Step 1. Select the volume containing the cluster file system to be unmounted. Step 2. Choose Actions > File System > Unmount File System... Step 3. Select the nodes to be unmounted from the Unmount Cluster File System dialog box.
File System Tasks Removing Resource Information for a Cluster File System Removing Resource Information for a Cluster File System The Remove Cluster Mount procedure removes cluster file system resource information from the cluster configuration file. NOTE The cluster file system must be unmounted before performing the Remove Cluster Mount procedure. To remove a cluster file system resource information Step 1. Select the file system. Step 2. Choose Actions > Remove Cluster Mount. Step 3.
File System Tasks Removing Resource Information for a Cluster File System 178 Chapter 5
6 Cluster Tasks VxVM provides access to cluster-related features only if the optional cluster functionality is present. NOTE You require a license to use this feature. The following tasks are associated with clusters: • “Working with Clusters” on page 181 • “Creating a Shared Dynamic Disk Group” on page 184 • “Importing a Shared Dynamic Disk Group” on page 186 The Cluster Task Roadmap shows a summary of common cluster tasks.
Cluster Tasks Cluster Task Roadmap Cluster Task Roadmap The following table provides a summary of common VxVM cluster tasks.
Cluster Tasks Working with Clusters Working with Clusters VxVM includes an optional cluster feature that enables VxVM to be used in a cluster environment. To activate the cluster feature, you must obtain a license for the VxVM cluster functionality. After adding the cluster license to the machine, you must restart the VERITAS Volume Manager server to enable cluster support.
Cluster Tasks Working with Clusters Figure 6-1 Tree/Grid View of a Cluster • To display the objects in a cluster, expand the cluster hierarchy (by clicking on the plus sign next to the Clusters icon). • To determine which node is the master in a cluster, expand the cluster hierarchy for the appropriate cluster and select Hosts from the cluster hierarchy. The grid displays the names and properties of the nodes in the cluster. The Type column indicates which node is the master.
Cluster Tasks Working with Clusters NOTE — When VxVM is connected to a single host, that host is auto-expanded; that is, the hierarchy of objects under that host is fully displayed in the dialog. — If VxVM is connected to more than one host, the hierarchy of objects is not auto-expanded.
Cluster Tasks Creating a Shared Dynamic Disk Group Creating a Shared Dynamic Disk Group The New Dynamic Disk Group procedure creates an additional dynamic disk group. Disks must be placed in dynamic disk groups before they can be used by VxVM. The default disk group (rootdg) is usually created during VxVM installation and always exists on a system running VxVM. You can create additional dynamic disk groups to organize your disks into logical sets of disks.
Cluster Tasks Creating a Shared Dynamic Disk Group NOTE Chapter 6 • The Add Disk to Dynamic Disk Group task requires a dynamic disk group name and the name of at least one disk. • The dynamic disk group name must be unique. • The new dynamic disk group must contain at least one disk. • Only disks that are online and do not belong to a dynamic disk group can be used to create a dynamic disk group. • The Volume Manager disk name must be unique within the dynamic disk group.
Cluster Tasks Importing a Shared Dynamic Disk Group Importing a Shared Dynamic Disk Group The Import Dynamic Disk Group procedure makes a deported (inaccessible) shared dynamic disk group and its volumes accessible again. To import a deported dynamic disk group, you must know the former name of the dynamic disk group, and this name must not be in use. In addition, at least one disk name formerly assigned to the deported dynamic disk group must not be in use. To import a shared dynamic disk group Step 1.
Cluster Tasks Importing a Shared Dynamic Disk Group Chapter 6 • Only deported dynamic disk groups can be imported. • A deported dynamic disk group cannot be imported if another dynamic disk group with the same name has been created since the dynamic disk group was deported. • When a dynamic disk group is imported, the system stamps its host ID on all disks in the dynamic disk group. A dynamic disk group import fails if one of the disks is stamped with a host ID that does not match the others.
Cluster Tasks Importing a Shared Dynamic Disk Group 188 Chapter 6
7 Troubleshooting Select one of the following options for information on alerts, object states, and other troubleshooting topics. If you are unable to resolve a problem by following the instructions provided, please contact Customer Support for additional information.
Troubleshooting Alerts Alerts When an object fails or experiences an error, an alert icon appears on the object and the object state usually changes to an unhealthy state. The unhealthy object also appears in the Alert Monitor window, which summarizes the problem and indicates whether any associated objects have problems. When an object enters an unhealthy state and has an alert, you should review the contents of the Alert Monitor window and then try to correct the problem.
Troubleshooting Client Java Exceptions and Errors Client Java Exceptions and Errors When a client Java exception or error occurs, an error alert icon is displayed on the bottom of the main window. Figure 7-1 VERITAS Enterprise Administrator Console Window Click on this icon to display the Java console containing the text of the errors or exceptions.
Troubleshooting Client Java Exceptions and Errors Figure 7-2 192 Example Console Error Messages Chapter 7
Troubleshooting Disk Troubleshooting Disk Troubleshooting The disk state indicates the current condition of a disk. The disk state appears in the state column of the grid and in the Disk Properties window. When a disk is unhealthy, an alert icon appears on the disk and the disk is listed in the Alert Monitor window.
Troubleshooting Disk Troubleshooting Disk State: Not Setup The disk is not under VxVM control. • To make the disk available for VxVM use, place the disk under VxVM control and add the disk to a dynamic disk group. Disk State: Import Failed The disk was previously under VxVM control, but VxVM cannot access the disk and/or configuration information for the disk. The disk is not available for use. This can happen after you upgrade VxVM. This can also happen if some disks are inaccessible at system startup.
Troubleshooting Disk Troubleshooting Disk State: Deported The disk belongs to a dynamic disk group that is currently deported. The disk is not available for use in the deported dynamic disk group and cannot be added to a new dynamic disk group. • To return the disk to a usable state, import the dynamic disk group for the disk. • To move the disk to another dynamic disk group, import the current disk group, remove the disk, and add the disk to a new dynamic disk group.
Troubleshooting Disk Troubleshooting Disk State: Locked The disk belongs to a dynamic disk group that is currently imported by another machine or was last imported by another machine and was not deported cleanly. The disk is not currently usable on the local machine. • To make all of the disks in the dynamic disk group available for use on the local machine, deport the disk group on the remote machine and then import the dynamic disk group on the local machine.
Troubleshooting Disk Troubleshooting CAUTION This command overwrites the disk header and configuration information on the disk. Any volume copies or regions located on the disk is not accessible after you reinitialize the disk. Disk State: Foreign Owned The disk is under the control of another disk management product. The disk is not available for use with VxVM.
Troubleshooting Volume Troubleshooting Volume Troubleshooting The volume state indicates the current condition of a volume. The volume state appears in the state column of the grid and in the Volume Properties window. When a volume is unhealthy, an alert icon appears on the volume and the volume is listed in the Alert Monitor window.
Troubleshooting Volume Troubleshooting • Make sure that the physical disks are turned on, plugged in, and attached to the computer. Repair any disk, controller, or cable problems. Scan the disks on the system (Rescan) to make sure that VxVM recognizes any newly attached hardware. To return the RAID-5 volume to a healthy state, recover the volume. • If there has been a partial or complete disk failure, either replace the disk or move the affected subdisks to another disk.
Troubleshooting General Troubleshooting General Troubleshooting General troubleshooting includes: • “Client/Server Problems” on page 200 • “Configuration Changes” on page 201 Client/Server Problems User is not authorized to connect to the server. This error can occur for the following reasons: • The user name is incorrect. • The password is incorrect. • The user does not have an account on the machine. • The password and group files or NIS tables do not contain entries for the user.
Troubleshooting General Troubleshooting Possible client/server versions mismatch. The VEA client and server versions may be incompatible. • Check the client and server versions using the following commands: # vea -V # vxscv -V If necessary, upgrade the client or server. Server connection lost. The VEA service has been stopped. • Restart the server. The server seems to have multiple addresses. The server (host) may be known by multiple addresses.
Troubleshooting General Troubleshooting 202 Chapter 7
8 Icons The following tables show icons that appear in VxVM VEA: Chapter 8 • Object Icons • Toolbar Icons • Task Status Icons • Performance Monitoring Icons • Miscellaneous Icons 203
Icons Object Icons Object Icons Icon Description host connect/disconnect host mirror log disk subdisk disk group volume new volume Stopped volume Quicklog volume task log 204 Chapter 8
Icons Object Icons Icon Description controller enclosure (disk array) file system - not mounted file system - mounted cluster node Chapter 8 205
Icons Toolbar Icons Toolbar Icons Icon Description Alert Monitor window Search Properties Search window New Volume dialog box Print dialog box collapse/expand disks collapse/expand volumes projection 206 Chapter 8
Icons Task Status Icons Task Status Icons Icon Description exited task Chapter 8 207
Icons Performance Monitoring Icons Performance Monitoring Icons Icon Description Low I/O Activity Normal I/O Activity High I/O Activity Critical I/O Activity 208 Chapter 8
Icons Miscellaneous Icons Miscellaneous Icons Icon Description alert error message information question warning Chapter 8 209
Icons Miscellaneous Icons 210 Chapter 8
Index A activating dynamic disk groups, 94 adding disks, 52, 53 file systems, 158 alert interval, 170 alerts icons, 7 on disks, 193 on volumes, 198 associating plexes, 147 B backing up file systems, 167 boot disk mirroring, 59 C changing volume layouts, 125 checking file systems, 169 client, 16 cluster file system unmounting, 176 cluster nodes cluster mounting file system on, 162 clusters creating shared disk groups, 184 importing disk groups, 186 command log, 34 commands, viewing, 33 concatenated volumes,
Index disk properties, 70 dissociated objects, 23 dynamic disk group properties, 97 file system properties, 171 object properties, 18 Object Properties window, 30 objects, 18 volume properties, 154 dissociated objects, displaying, 23 drag and drop subdisks, 46 dynamic disk group name, changing, 76 dynamic disk group versions, 75 dynamic disk groups activating, 94 adding disks, 52, 53 clearing hot relocation information, 84 creating, 73 deporting, 77 destroying, 86 importing, 78 joining, 93 moving objects be
Index J joining dynamic disk groups, 93 L layered volumes, 106 Load balancing subdisk move, 43 logs adding to volumes, 130 command log, 34 disabling, 143 QuickLog, 172, 173 removing, 143 M main window description of, 4 status area, 7 maintenance tasks, 10 making multiple selections, 32 menus Help, 6 Options, 5 preferences, 5 types of, 5 window, 5 mirrored, 120 mirrored volumes, 106 mirroring disks, 59 volumes, 128 mirrors adding to volumes, 128 removing, 141 mixed layout volumes, 106 monitoring alerts, 7 pe
Index remote administration, 2 removing disks, 66 dynamic disk groups, 86 logs, 143 volumes, 146 renaming disk arrays, 72 disks, 57 dynamic disk groups, 76 enclosures, 72 volumes, 124 resizing file systems, 166 restarting and recovering volumes, 132 roadmap, disk task, 50 root disk mirroring, 59 S Search/Report, 35 security, 16 selecting objects, 32 selections multiple, 32 server, 16 setting up your system, 16 setting usage threshold, 170 setup tasks, 8 shared disk groups, 184, 186 snapshot copies of file s
Index V VEA starting, 17 view preferences, 45 viewing commands, 33 viewing objects and object properties, 18 graphical view, 25, 26 properties, 70, 154, 171 tree and grid, 18 viewing tasks, 33 Volume Layout Details window described, 18, 25, 26 volume layouts, 105, 125 volume name, changing, 124 volume states, 198 volume task roadmap, 102 volume to disk mapping window, 18, 28 volumes adding file systems, 158 adding logs, 130 adding mirrors, 128 and file systems, 158, 162 associating plexes, 147 backup and re