resize2fs is a command used to expand or shrink the size of an unmounted "ext2/ext3/ext4" file system. We don't use it very often. Generally, VPS hosts either need to mount more files themselves or need to enlarge or shrink unmounted files themselves. If you happen to encounter one, record it. It is suitable for novices, but veterans should avoid it. As shown in the figure above, the disk root directory has only 1.8GB of space, but the capacity of /dev/vda is correct and does not need to be mounted separately. At this time, we can use the resize2fs command to increase the size of the file system. After the command is executed, we can see that the space capacity is normal. Here is how to use the command. Syntax resize2fs [parameters] [options] Common parameters -d turns on debugging features -p Print a progress bar showing the percentage completed -f Force resize operation, overriding safety check operation -F Flush the file system device buffer before starting the resize |
<<: Maxthon Host Los Angeles Unicom AS9929 Line VPS Simple Test
>>: RackNerd: $9.49/year KVM-768MB/12GB/2TB/San Jose and other data centers
[[437208]] This article is reprinted from the WeC...
According to data from the China Academy of Infor...
Previous article: "The Internet of Things in...
As security practitioners, whether we are doing p...
As the largest communications exhibition in Asia ...
Today, RackNerd offers three hot-selling packages...
Last month, the tribe shared information about 80...
CUBECLOUD has launched a promotion for Christmas ...
Both IP addresses and MAC addresses identify devi...
Today, more and more applications are causing the...
On June 22, DigiX2018 Huawei Terminal Global Part...
[Original article from 51CTO.com] Cisco recently ...
[51CTO.com original article] On November 14, 2020...
[51CTO.com original article] Let me start with a ...
On June 10, 2021, the "Data Security Law of ...