Got it

Why Is the Displayed Capacity of a LUN Inconsistent with the Value Specified When It Is Created?

Latest reply: Jan 21, 2021 13:32:53 248 1 22 0 14

The capacity of a service module is measured in blocks. If a LUN is created in DeviceManager with a capacity measured in MBs, GBs, or TBs (accurate to a maximum of three digits after the decimal), the value is rounded down. After the LUN has been created, the LUN capacity obtained from the service module is also measured in blocks and then converted to a value in the requested unit of measurement, accurate to a maximum of three digits after the decimal point. For example, 68.078 GB is converted into 73098195894.272 bytes and then 142769913.856 (73098195894.272/512) blocks. The value that is actually sent to the service module is 142769913.

After a LUN query, the returned number of blocks is also 142769913, which can be converted into 73098195456 (142769913 x 512) bytes.

To ensure that the capacity is displayed normally, the capacity measured in bytes is further converted into 68.077999591827392578125 GB. This becomes 68.077 GB because the value only needs to be accurate to three digits after the decimal point. Therefore, if the capacity entered during LUN creation is not an integral multiple of a block, the displayed capacity of the LUN will be inconsistent with that specified during creation.

Applicable Versions

OceanStor V3 V300R001

OceanStor V3 V300R002

OceanStor V3 V300R003


Thanks for sharing
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.