460 likes | 616 Views
Volume Operations. Module 8. HP Restricted. Objectives. Explain Custom Volume Size (CVS) concepts and perform CVS operations (create and delete CVS volumes) using Command View (CV) XP graphical user interface (GUI).
E N D
Volume Operations Module 8 HP Restricted
Objectives • Explain Custom Volume Size (CVS) concepts and perform CVS operations (create and delete CVS volumes) using Command View (CV) XP graphical user interface (GUI). • Explain Logical Unit Size Expansion (LUSE) concepts and perform LUSE operations (create and delete LUSE volumes) using CV XP GUI. • Create OPEN-V volumes on the XP12000 using CV XP GUI HP Restricted
XP12000 Volume Manager XP • Consists of the CVS and LUSE functions • CVS • An LDEV can be divided into smaller LDEVs • One or more LDEVs are converted into Free Space used to create one or more CVs • CVS appears on the CV screens as the Customized Volume tab • LUSE • Multiple LDEVs can be combined into a single larger LDEV • LUSE appears on the CV screens as the Volume Management tab HP Restricted
Custom volumes • Variable-sized custom volumes • Minimum size is 36MB • Maximum size varies, up to the size of the OPEN emulation type defined for the Parity Group • Created from array Free Space • Created with CV Volume Size Configuration (VSC) functionality HP Restricted
OPEN-E 00:00 00:01 00:02 Free Space available for CVS operations 00:03 00:04 Free Space XP12000 Free Space • For the XP12000, all Free Space is available for CVS use • Additional Free Space can be created from unused volumes HP Restricted
Volume to space Volume to space Install CV Install CV operation operation operation operation Free space Free Space CV CV FV FV Free Free FV FV space Space CV CV FV FV FV FV FV FV FV FV FV FV FV FV FV FV VDEV in initial VDEV in initial condition condition Volume initialize Volume initialize operation operation CVS functional description • CVS divides an LDEV to function as multiple smaller LDEVs • FV is a fixed volume, CV is a custom volume HP Restricted
Volume to Space — Converts one or more LDEVs into Free Space.This function is destructive. Back up the data on the volumes to be converted. Install CV — Defines and installs one or move VSC volumes in existing Volume Initialize — Converts a CVS volume back to a normal volume.This function is destructive. Back up the data on all customized volumes. XP1024/128 CVS operations HP Restricted
Starting Custom Volume Operations 2. Select “Modify” mode 3. Click on “Customized Volume” 1. Click on “Volume Management” HP Restricted
Creating Custom Volumes(1-3) 2. Select Emulation type, Capacity 3. Click “Set” 1. Select Install CV 4. Click “Next” HP Restricted
Creating Custom Volumes(2-3) 5. Select LU 6. Select CU # 7. Select Ldev # 8. Click “Next” HP Restricted
Creating Custom Volumes(3-3) 10. Click “Apply” HP Restricted
1. Right-click a volume and select Volume to Space. 2. Click OK to convert the volume to Free Space. 3. Click Apply to implement configuration changes. Converting volumes into Free Space HP Restricted
1. Select a RAID group. 2. Right-click a VDEV. 3. Select Volume Initialize. Turning a CV into a normal volume (1 of 3) HP Restricted
Click Next. • Select a CU. • Assign an LDEV. • Confirm the CVS volume initialize and click OK. Turning a CV into a normal volume (2 of 3) HP Restricted
8. Click Apply to confirm. Volume Initialize function — Turning a CV into a normal volume (3 of 3) HP Restricted
OPEN-9 * 1 OPEN-9 * 1 Volume 0:01 OPEN-9 * 1 Volume 0:02 OPEN-9 * 3 OPEN-9 * 1 Volume 0:03 OPEN-9 * 1 Volume 0:04 LUSE functional description (1 of 2) LUSE is XP array software for creating expanded volumes that are larger than the defined emulation types (for example, OPEN-3, OPEN-9, and so on.) HP Restricted
(01:00) LUSE (01:00) (01:01) (01:03) (01:04) (01:05) LUSE functional description (2 of 2) • LUSE combinestwo or more LDEVs to function as one large LDEV • This diagram showsfive LDEVscombined intoone large LDEV HP Restricted
LUSE rules • Supported open volume emulation types OPEN-3, OPEN-8, OPEN-9, OPEN-E, OPEN-L, or OPEN-V are supported. • The maximum number of LDEVs that can be used to create a LUSE is 36. • LDEVs must be at the same RAID level. Combining RAID 1 and RAID 5 volumes into the same LUSE volume is supported, but not recommended. • When you combine a LUSE volume with another LUSE volume, the range of LDEVs should not be overlapped. • The maximum capacity of a LUSE volume is 60 TB. HP Restricted
LUSE rules • The access attribute must be set to read/write when creating or releasing a LUSE volume. • Combining internal and external volumes is not supported. • The IO suppression mode and cache mode settings of the LDEVs combined into a LUSE volume must be the same. • All the LDEVs combined into a LUSE volume must be of the same drive type (either the SATA drive or non-SATA drive). HP Restricted
LUSE rules • If a path is defined from a Windows 2000 host, a Windows Server 2003 host, or an AIX 5.2 host to an LDEV, the LDEV can be used for LUSE operations that handle a path-defined LDEV. However, if a path is defined from a host running another operating system to an LDEV, the LDEV cannot be used for LUSE operations that handle a path-defined LDEV. • If a path is defined from a Windows 2000 host or a Windows Server 2003 host to an LDEV and you want to perform a LUSE operation that handles this path-defined LDEV, verify that the host mode of the Windows host is 2C (Windows Extension). If the host mode is not 2C, change the host mode to 2C before performing the LUSE operation. • If the host mode is 0C (Windows Extension) and an LU path is defined for a volume, you cannot execute LUSE operations on the volume without unmapping the volume first. HP Restricted
Creating LUSE volume (1-3) 2. Select Modify mode 1. Select Volume Management tab HP Restricted
Creating LUSE volume (2-3) 3. Select LDEV 4. Add free Ldevs to LUSE 5. Click Set HP Restricted
Creating LUSE volume (3-3) Click “apply” HP Restricted
Deleting (releasing) LUSE volumes (1 of 2) 2. Select LUSE Volume and right-click to select Release LUSE Volume option. 1. Select CU. 3. Click OK to confirm. HP Restricted
4. Click Apply to confirm. Deleting (releasing) LUSE volumes (2 of 2) HP Restricted
Changing LUSE capacities • Increasing • Select the LUSE volume to be expanded, then add LDEVs or LUSE volumes. Select the LDEV or LUSE volumes to be added, then select a LUSE volume to be expanded • Each LDEV or LUSE volume being added must have the same capacity as each LDEV in a LUSE volume to be expanded • Reducing • You may not reduce the capacity of an existing LUSE volume. If you want a LUSE volume to have a smaller capacity, you must first release the LUSE volume and then redefine the LUSE volume. HP Restricted
Online LUSE Extension on Windows • Prerequisites • XP1024/128 FW: 21.07.xx – support for XP12000 in ~3/05 • CommandView 1.7b or higher • Hostmode: 2C (Emulex/QLogic only, D8602B not possible) • All new LDEVs to be added to an existing LUN must have a bigger number than the already contained LDEVsExample: • LUSE exists with 0:29, 0:30, 0:31, 0:32 • It is allowed to add LDEVs with a higer number, i.e. 0:40, 0:41 and 0:42 • IT IS NOT ALLOWED TO ADD LDEVs with a lower number, i.e. Neither 0:10 nor 0:20 nor 0:28 are allowed HP Restricted
Verify or set Hostmode to 2C HP Restricted
Existing LUN – Disk17, V:, 1:29 (1xOpen3) HP Restricted
Add LUSE 0:2A (2xOpen3) to 0:29 HP Restricted
Free Space added to Disk 17 HP Restricted
Using Diskpart.exe to increase filesystem HP Restricted
Result in Diskadministrator HP Restricted
Make Volume • OPEN-V volumes always consist of custom volumes, instead of fixed-size volumes • Make Volume is used to create OPEN-V volumes only • Make Volume converts a custom volume back to a normal volume (VDEV) HP Restricted
From the CV screen, click an LDEV folder. • Select a VDEV. • Click Make Volume from the pop-up menu. • In the Make Volume window, indicate the capacity unit, select one of the four OPEN-V creation methods, specify the capacity or number of volumes, and click Set. Creating initial custom volumes for OPEN-V (1 of 5) HP Restricted
Creating initial custom volumes for OPEN-V (2 of 5) • The new settings display in the table on the left of the screenRepeat for additional OPEN-V volumes and click Next HP Restricted
Creating initial custom volumes for OPEN-V (3 of 5) • Make Volume (2) screen, assign CU numbers by clicking a custom volume number in top screen pane • Select a CU number in the drop-down list HP Restricted
Creating initial custom volumes for OPEN-V (4 of 5) • Assign LDEV numbers in bottom screen paneby clicking the appropriate white box HP Restricted
Creating initial custom volumes for OPEN-V (5 of 5) • Repeat assigning CU and LDEV numbers for all OPEN-V volumes • Click Next after setting all CU and LDEV numbers • Set a SSID for an OPEN-V volume by clicking its CU number, entering a new SSID in the Input SSID field, then clicking Set • After setting all SSIDs, click Next • Verify that all information is correct, then click OK. • Click Apply • Click OK HP Restricted
OPEN OPEN OPEN - - - V V V OPEN OPEN - - V V (40 GB) (40 GB) (40GB) (80 GB) (80GB) OPEN OPEN OPEN - - - V V V (40 GB) (40 GB) (40GB) OPEN OPEN OPEN - - - V V V OPEN OPEN - - V V Parity group Parity group (VDEV) (VDEV) OPEN-V volume recovery (1 of 2) • The capacity of an OPEN-V volume can be recovered HP Restricted
OPEN-V volume recovery (2 of 2) • Free Space that is contiguous can be recovered HP Restricted
OPEN OPEN OPEN - - - V V V OPEN OPEN - - V V OPEN OPEN OPEN - - - V V V 20 GB 20GB OPEN OPEN OPEN - - - V V V Example OPEN OPEN - - V V OPEN OPEN OPEN - - - V V V OPEN OPEN - - V V Size = 10GB OPEN OPEN OPEN - - - V V V OPEN OPEN - - V V OPEN OPEN OPEN - - - V V V OPEN OPEN - - V V Free Space Free Space Free Space Free Space Free Space Parity group Parity group (VDEV) (VDEV) OPEN-V volume recovery example • Two contiguous 10GB OPEN-V volumes recovered to created Free Space HP Restricted
CV Volume Management commands create custom_ldevs create luse delete ldevs delete luse Initialize vdev list ldev list luse list parity_group list usable_cus list vsc HP Restricted
Learning check HP Restricted
Lab activity HP Restricted