Got it

The VIMS capacity exceeds 16 TB after capacity expansion

Latest reply: Jun 30, 2019 08:18:17 305 1 11 0 2

This post is is related to the issue that the VIMS capacity exceeds 16 TB after capacity expansion. Please read further down in order to find the solution to it.


Diagnostic


The total capacity of a virtual SAN device exceeds 16 TB after capacity expansion, and the capacity expansion fails. The number of storage devices in the data store is displayed as 2, but the capacity of the data store does not increase.


Troubleshooting


Upgrade the system to V100R006C00SPC003 or later. After the upgrade is complete, the platform automatically performs capacity expansion, and the capacity expansion is successful.


l   Recovery method 1: Upgrade the system to V100R006C00SPC003 or later. After the upgrade is complete, the platform automatically performs capacity expansion, and the capacity expansion is successful.


l   Recovery method 2: Perform the following steps:


a) If alarm Faulty Data Store on the Host is displayed, clear the alarm based on the FusionSphere product documentation and then perform the subsequent steps.


b) Obtain the SCSI ID of the data store that fails to be expanded, log in to one of the hosts associated with the data store, and export the first 2 MB data of the SCSI device.


dd if=/dev/disk/by-id/scsi-id of=/home/2M.data bs=1M count=2 iflag=direct


scsi-id indicates the SCSI ID of the first storage device in the data store.


c) Edit the exported 2M.data file and modify the VIMS maptable table.


I. Run the vim -b /home/2M.data command to open the 2M.data file in binary mode.


II. Run the :%!xxd command to view the file in hexadecimal mode.


III. Enter i to enter the editing mode, locate the rows containing 3000 and 7b10 and change the values at the corresponding positions to 01 and 00, as shown in the following figure. Press Esc to exit the editing mode.


IV. Run the :%!xxd -r command to switch to the binary mode.


V. Run the :wq command to save the modification and exit.


d) Roll back the modified data to the SCSI device.


dd if=/home/2M.data of=dev/disk/by-id/scsi-id bs=1M count=2 oflag=direct


scsi-id indicates the SCSI ID of the first storage device in the data store.


e) Log in to the VRM database and query the data store. Two storage devices are displayed in the su_list column and separated by commas (,).


Select * from tbl_vs_datastore where ds_index=ds_id;


f) Update tbl_vs_datastore and delete the second storage device displayed for su_list.


update tbl_vs_datastore set su_1ist='CBABOO5F1A23475BBF17CD56D43O3565' where ds_index=ds_id;" before reading stdin" before reading stdin


g) Update the tbl_vs_storage_unit table and set the ds_index parameter of the newly expanded LUN to null.


update tb1_vs_storage_unit set ds_index=null where su_id='6BFBF63CCK224BDD9962O841OB678EF1';


Run the service vrmd restart command to restart the VRMD service.


up
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.