Home >Operation and Maintenance >Linux Operation and Maintenance >Follow the ECS Linux expansion and format disk prompts to expand the capacity and then mount the disk for use.

Follow the ECS Linux expansion and format disk prompts to expand the capacity and then mount the disk for use.

坏嘻嘻
坏嘻嘻Original
2018-09-29 13:51:552533browse

This article introduces how to expand the disk according to the ECS Linux expansion format disk prompts and then mount the disk for use. It focuses on the specific steps. The content of this article is compact, and I hope you can gain something from it.

ECS Linux expands and formats the disk prompts magic number in super-block while trying to open /dev/xvdb1

e2fsck -f /dev/xvdb expands and formats the disk prompts: e2fsck -f / dev/xvdb prompts an error magic number in super-block while trying to open /dev/xvdb1. The error

Follow the ECS Linux expansion and format disk prompts to expand the capacity and then mount the disk for use.

is caused by the fact that there is no disk partition. You can execute:

e2fsck -f /dev/xvdb
resize2fs /dev/xvdb

Follow the ECS Linux expansion and format disk prompts to expand the capacity and then mount the disk for use.

to achieve expansion. The disk can then be mounted for use.

The above is the detailed content of Follow the ECS Linux expansion and format disk prompts to expand the capacity and then mount the disk for use.. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn