检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Can the Disk Space Usage Be Reduced If I Delete Files on a Server? No. When you delete a file, the system adds a deletion label to the header of the file. This does not reduce the disk space usage.
Before you delete a shared disk, ensure that the disk has been detached from all its servers. Procedure Log in to the management console. Choose Dedicated Distributed Storage Service > Disks. The disk list page is displayed.
If it has been added to a replication pair, delete the replication pair and try again. The disk is not frozen. The disk is not locked by any service.
Table 1 Solutions for disk errors Error Status Handling Suggestion Error Delete the disk in the Error state and create another one. Deletion failed Contact customer service. Expansion failed Customer service personnel will contact you and help you handle this error.
Deleting Deletion failed An error occurs when you try to delete a disk. No operations can be performed. Expansion failed An error occurs when you try to expand the capacity of a disk.
DELETE Requests the server to delete specified resources, for example, an object. HEAD Same as GET except that the server must return only the response header. PATCH Requests the server to update partial content of a specified resource.
Delete the partition and select a 4-KB aligned start sector number for the new partition before continuing the test. If you delete the partition and select another start sector number for 4-KB alignment, you will lose all the data on that partition.
Before you delete a shared disk, ensure that the disk has been detached from all its servers.
To avoid unintended charges, you can delete or unsubscribe from the disk if it is no longer needed. A system disk can only be detached offline, which means that its server must be in the Stopped state before the system disk is detached.
For details about how to delete a shared disk, see Deleting a Disk. Expanding Shared Disks Shared disks must be expanded when they are in the Available state. For details, see Expanding an Available Disk. Parent topic: Disk Management
If a data disk is no longer required, you can detach it and then delete it. Data disks can be detached online or offline, meaning that the server using the to-be-detached data disk can either be in the Running or Stopped state. ECS Detach an EVS disk from a running server.
For example, some software developers in your enterprise need to use DSS resources but should not be allowed to delete them or perform any high-risk operations.
With this mode, you can increase or delete resources at any time. Fees are deducted from your account balance. (Optional) In the disk list, select the disks you want to back up. After disks are selected, they are added to the list of selected disks.
Re-creating an existing partition does not delete its data, but requires the partition to unmount. Therefore, services will be interrupted. If the MBR partition style is used and the disk capacity after expansion will exceed 2 TB, the space exceeding 2 TB cannot be used.
Re-creating an existing partition does not delete its data, but requires the partition to unmount. Therefore, services will be interrupted. If the MBR partition style is used and the disk capacity after expansion will exceed 2 TB, the space exceeding 2 TB cannot be used.
Therefore, enter rm 1 and press Enter to delete the partition. Enter p and press Enter to check whether the /dev/xvdc1 partition has been deleted.
Re-creating an existing partition does not delete its data, but requires the partition to unmount. Therefore, services will be interrupted. If the MBR partition style is used and the disk capacity after expansion will exceed 2 TB, the space exceeding 2 TB cannot be used.