No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Administrator Guide

OceanStor V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, 6800 V3, 18500 V3, and 18800 V3. Routine maintenance activities are the most common activities for the storage device, including powering on or off the storage device, managing users, modifying basic parameters of the storage device, and managing hardware components. This document is intended for the system administrators who are responsible for carrying out routine maintenance activities, monitoring the storage device, and rectifying common device faults.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Reclaiming Space of a Storage System (Windows)

Reclaiming Space of a Storage System (Windows)

This section describes how to reclaim space and then use it for new services if all or some services of a storage system are not required anymore, or some expanded space is unnecessary in a Windows operating system, thereby enhancing storage space utilization.

Preparing for Space Reclamation (Windows)

Before reclaiming space, you must finish preparatory work such as backing up disk information and checking the host's and storage device's running status to ensure that the space reclamation can be successfully implemented.

Procedure
  1. Confirm the range of to-be-reclaimed storage space and back up disk information.

    1. Confirm whether it is full reclamation or partial reclamation.
    2. Back up disk information.
      1. Log in to the Windows Server 2008 application server as an administrator.
      2. Press Windows+R (if the operation is performed remotely, perform it in full screen mode) to open the Run dialog box.
      3. Type diskmgmt.msc and press Enter.
      4. On the Disk Management page that is displayed, view the host disk information.
    3. Make sure that the to-be-reclaimed disk will not be used anymore.

  2. Check the host running status.

    1. Check whether any error exists on the host.
      1. Press Windows+R (if the operation is performed remotely, perform it in full screen mode) to open the Run dialog box.
      2. Run eventvwr.msc and devmgmt.msc and press Enter.
      3. In the Event Viewer and Device Manager windows, check whether any error exists on the host. If there are, remove the errors and proceed to the next step.
    2. Check the disk path status.
      1. Press Windows+R (if the operation is performed remotely, perform it in full screen mode) to open the Run dialog box and run upadm to log in to the CLI of UltraPath.
      2. Run upadm show vlun to query the status of all vLUNs. Confirm that the status of all vLUNs is Normal.
      3. Run upadm show path and make sure that the system path status is Normal. If a path whose status is Degrade exists, run upadm set phypathnormal. Specify the path whose status is Degrade using the path_id parameter.

  3. Check the storage system status. If there are alarms, clear them and then proceed to the next step.
  4. On the storage system, export the storage system configuration data.

    1. Log in to the CLI of the storage system using PuTTY.
      NOTE:

      The default user name and password are admin and Admin@storage respectively.

    2. Run export running_data to export and save the current configuration file.

  5. Check the status of the connection between the host HBA and the storage device.

    1. As planned, check whether the two devices (the HBA and the storage device) are connected and whether the zoning on the switch is correct by using the WWN of the host HBA and the front-end port of the storage device.
    2. Run show port general to check whether the planned front-end network is connected. Specify the front-end port using the port_id parameter.

      If the planned front-end network is connected, its Type is Host Port and its Running Status is Link up.

    3. Run show initiator initiator_type=FC isfree=yes to check whether the storage device can query the initiator on the host and filter out initiators that are not assigned to the host.

      In the command output, the planned HBA should exist and its running status should be Online.

        
      admin:/>show initiator initiator_type=FC isfree=yes 
      WWN                 Running Status        Free        
      -------------       --------------        -----       
      100000000000*       Online                Yes         
      Alias      Host ID         Multipath Type 
      -------    ----------      ------------------ 
      --         --              Default

Reclaiming Space (Windows)

This section describes how to reclaim storage space used by a Windows host in full reclamation or partial reclamation mode.

Full Reclamation
  1. Reclaim the World Wide Name (WWN).

    1. Run show mapping_view general to query the ID of a host group in a mapping view to be reclaimed. Specify which mapping view to reclaim using the mapping_view_id parameter.
    2. Obtain the information about hosts and initiators in the to-be-reclaimed host group.
      1. Run show host_group host to show the host that has been added to the to-be-reclaimed host group. Specify the ID of the to-be-reclaimed host group using the mapping_view_id parameter.
      2. Run show initiator to view the WWN about the host HBA that has been added to the to-be-reclaimed host group. Specify the ID of the host in the to-be-reclaimed host group using the host_id parameter.
    3. Run remove host initiator initiator_type=FC to remove the WWN. Specify which WWN to reclaim using the wwn parameter.
    4. Run show initiator isfree=yes initiator_type=FC to check whether the WWN is successfully deleted.

      If the deleted WWN exists in the command output, the deletion is successful.

       
      admin:/>show initiator isfree=yes initiator_type=FC 
      WWN                 Running Status        Free        
      ----------------- ------------------- -----       
      100000000000*       Online                Yes         
      Alias      Host ID         Multipath Type 
      -------    ----------      ---------------- 
      --         --              Default
    5. In DeviceManager, view the port information about the host.

  2. Run upadm show path to check the path status of the system. The reclaimed path should not exist in the command output.

    NOTE:

    Wait at least 15 minutes and confirm that no errors exist on disks of other hosts. Then proceed to the next step.

  3. Delete the mapping view.

    1. Run show mapping_view general to query and record the ID of a LUN group and host group in a mapping view to be reclaimed. Specify which mapping view to reclaim using the mapping_view_id parameter.
    2. Run remove mapping_view lun_group to delete the LUN group mapped to the mapping view. Specify which mapping view and LUN group to reclaim using the mapping_view_id and lun_group_id parameters.
    3. Run remove mapping_view port_group to delete the port group in the mapping view. Specify which mapping view and port group to reclaim using the mapping_view_id and port_group_id parameters.
    4. Run remove mapping_view host_group to delete the host group in the mapping view. Specify which mapping view and host group to reclaim using the mapping_view_id and host_group_id parameters.
    5. Run delete mapping_view to delete a mapping view. Specify which mapping view to reclaim using the mapping_view_id parameter.
    6. Run show mapping_view general to check whether that mapping view has been deleted.

      The deleted mapping view should not exist in the command output.

    7. In DeviceManager, view all mapping views. The deleted mapping view should not exist.

  4. Delete a LUN group.

    1. Run remove lun_group lun to remove all LUNs in the LUN group. Specify which LUN group and LUNs to reclaim using the lun_group_id and lun_id_list parameters.
    2. Run delete lun_group to delete a LUN group. Specify which LUN group to reclaim using the lun_group_id parameter.

  5. Delete a port group.

    1. Run remove port_group port to remove all ports in the port group. Specify which port group and ports to reclaim using the port_group_id and port_id_list parameters.
    2. Run delete port_group to delete a port group. Specify which port group to reclaim using the port_group_id parameter.

  6. Delete a host group.

    1. Run remove host_group host to remove all hosts in the host group. Specify which host group and hosts to reclaim using the host_group_id and host_id_list parameters.
    2. Run delete host_group to delete a host group. Specify which host group to reclaim using the host_group_id parameter.
    3. Run remove host initiator initiator_type=FC to remove all initiators of the to-be-reclaimed host. Specify which initiators to reclaim using the wwn parameter.
    4. Run delete host to delete a to-be-reclaimed host. Specify which host to reclaim using the host_id parameter.

  7. Scan for disks on the host.

    1. Press Windows+R (if the operation is performed remotely, perform it in full screen mode) to open the Run dialog box.
    2. Type devmgmt.msc and press Enter.
    3. In the Device Manager window that is displayed, click View and select Show hidden devices.
    4. Right-click Disk Drives and choose Scan for hardware changes to start scanning.
    5. Check whether the number of newly generated UltraPath_Disks is the same as that of mapped LUNs. If they are different, check the LUN mapping and path connection status on the storage device.
    6. Check whether the number of newly generated SCSI disks (SCSI Disk Devices on the Huawei storage device) doubles or quadruples that of UltraPath_Disks in 7.e. If no, check the LUN mapping and path connection status on the storage device.

  8. Uninstall UltraPath.

    1. Press Windows+R (if the operation is performed remotely, perform it in full screen mode) to open the Run dialog box.
    2. Type appwiz.cpl and press Enter.

      The Programs and Features page is displayed.

    3. Right-click UltraPath and choose Uninstall from the shortcut menu.
    4. Follow the wizard until UltraPath is uninstalled.

  9. Run shutdown -r -t 0 to restart the host.
  10. On the switch, delete zone or VLAN configurations.
Partial Reclamation
  1. Remove the to-be-reclaimed LUN from the owning LUN group.

    1. Run show mapping_view general to obtain the details about the to-be-reclaimed mapping view. Specify the mapping view using the mapping_view_id parameter.
    2. Run remove lun_group lun to remove the to-be-reclaimed LUN from the LUN group. Specify the LUN group and to-be-reclaimed LUN using the lun_group_id and lun_id_list parameters.
    3. Run show lun_group lun to check whether the to-be-reclaimed LUN has been deleted from the LUN group successfully. Specify the LUN group using the lun_group_id parameter.

      The deleted LUN should not exist in the command output.

      admin:/>show lun_group lun lun_group_id=LGID 
      ID     Name           Pool ID    Capacity       
      ---- -------------  ---------- ---------  
      1      LUN1           0          1.000TB        
      Helth Status      Running Status      Type       
      --------------- ------------------- -----    
      Normal            Online              Thick      
      WWN 
      ----------------------------- 
      60022a11000******************

  2. Scan for disks on the host.

    1. Press Windows+R (if the operation is performed remotely, perform it in full screen mode) to open the Run dialog box.
    2. Type devmgmt.msc and press Enter.
    3. In the Device Manager window that is displayed, click View and select Show hidden devices.
    4. Right-click Disk Drives and choose Scan for hardware changes to start scanning.
    5. Check whether the number of newly generated UltraPath_Disks is the same as that of mapped LUNs. If they are different, check the LUN mapping and path connection status on the storage device.
    6. Check whether the number of newly generated SCSI disks (SCSI Disk Devices on the Huawei storage device) doubles or quadruples that of UltraPath_Disks in 2.e. If no, check the LUN mapping and path connection status on the storage device.

Download
Updated: 2019-07-12

Document ID: EDOC1000138854

Views: 36328

Downloads: 2049

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next