Got it

How is Metadata of a File System Stored?

Created: Dec 25, 2019 02:48:16Latest reply: Dec 25, 2019 03:33:18 473 5 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello team!

I have a question, please help me.

My problem is: How is metadata of oceanstor 9000 file system stored?

Thanks!

Featured Answers
olive.zhao
Admin Created Dec 25, 2019 03:30:17

Posted by zj5000 at 2019-12-25 03:16 Thanks. I have another issue: How does the OceanStor 9000 manage metadata?

The OceanStor 9000 organizes metadata using dynamic subtrees. All metadata in a namespace are grouped based on name subtrees. Each name subtree is allocated to one MDS for processing. One MDS can manage multiple subtrees. The normal processing procedure is as follows: A CA sends a request to any MDS. The MDS queries the local dynamic subtree table. If the local name subtree is in charge of the request, the MDS processes the request. Otherwise, the MDS forwards the request to the MDS whose name subtree is in charge of the request. If such an MDS cannot be found, the MDS forwards the request to the MDS whose name subtree is most likely to be in charge of the request to find out the metadata. If one MDS fails, other MDSs will share the name subtrees managed by the failed MDS. If the number of MDS arrays increases or reduces or name subtrees managed by an MDS are frequently or seldom accessed, a load balancing policy is implemented to migrate some of the frequently accessed name subtrees to a seldom accessed node.


The latest version supports up to two levels of subtrees to lighten workloads. In this manner, metadata of a file is processed by two MDSs at most.


View more
  • x
  • convention:

Recommended answer

olive.zhao
Admin Created Dec 25, 2019 02:58:22

Hello zj5000!

Have a nice day!


The OceanStor 9000 stores metadata in the same way as data is stored. That is, metadata is distributed on multiple nodes. Metadata of the OceanStor 9000 distributed file system is stored by mirroring. The number of mirrors is automatically set to M+2 for the metadata of a file that is under N+M protection, making metadata more reliable than data.


The OceanStor 9000 stores multiple copies of each metadata strip. Metadata can be read and written as long as any one copy is intact. When data restoration is implemented, lost mirror data is copied from intact data.


Any further questions, let us know!


View more
  • x
  • convention:

All Answers

Hello zj5000!

Have a nice day!


The OceanStor 9000 stores metadata in the same way as data is stored. That is, metadata is distributed on multiple nodes. Metadata of the OceanStor 9000 distributed file system is stored by mirroring. The number of mirrors is automatically set to M+2 for the metadata of a file that is under N+M protection, making metadata more reliable than data.


The OceanStor 9000 stores multiple copies of each metadata strip. Metadata can be read and written as long as any one copy is intact. When data restoration is implemented, lost mirror data is copied from intact data.


Any further questions, let us know!


View more
  • x
  • convention:

Posted by olive.zhao at 2019-12-25 02:58 Hello zj5000!Have a nice day!The OceanStor 9000 stores metadata in the same way as data is stored. T ...
Thanks. I have another issue: How does the OceanStor 9000 manage metadata?
View more
  • x
  • convention:

Posted by zj5000 at 2019-12-25 03:16 Thanks. I have another issue: How does the OceanStor 9000 manage metadata?

The OceanStor 9000 organizes metadata using dynamic subtrees. All metadata in a namespace are grouped based on name subtrees. Each name subtree is allocated to one MDS for processing. One MDS can manage multiple subtrees. The normal processing procedure is as follows: A CA sends a request to any MDS. The MDS queries the local dynamic subtree table. If the local name subtree is in charge of the request, the MDS processes the request. Otherwise, the MDS forwards the request to the MDS whose name subtree is in charge of the request. If such an MDS cannot be found, the MDS forwards the request to the MDS whose name subtree is most likely to be in charge of the request to find out the metadata. If one MDS fails, other MDSs will share the name subtrees managed by the failed MDS. If the number of MDS arrays increases or reduces or name subtrees managed by an MDS are frequently or seldom accessed, a load balancing policy is implemented to migrate some of the frequently accessed name subtrees to a seldom accessed node.


The latest version supports up to two levels of subtrees to lighten workloads. In this manner, metadata of a file is processed by two MDSs at most.


View more
  • x
  • convention:

Posted by olive.zhao at 2019-12-25 03:30 The OceanStor 9000 organizes metadata using dynamic subtrees. All metadata in a namespace are grou ...
Thank you very much!
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Dec 25, 2019 03:34:48 (0) (0)
you are welcome!  

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.