摘要 |
Embodiments of the present invention provide a cloud system data management method and apparatus, where the method includes: creating a first virtual machine for a user and allocating a virtual data volume to the first virtual machine; setting an identifier of the virtual data volume as an identifier corresponding to a home identifier of the first virtual machine; when the virtual data volume needs to be mounted to a second virtual machine, determining whether a home identifier of the second virtual machine corresponds to the identifier of the virtual data volume; and if yes, allowing the virtual data volume to be mounted to the second virtual machine; or if not, forbidding the virtual data volume to be mounted to the second virtual machine. The cloud system data management method provided in the embodiments of the present invention can alleviate a data leakage problem that arises when an administrator mounts a virtual data volume of a user to a virtual machine of another user, and consequently data of the user can be accessed by the another user. |