Last update at :2024-01-10,Edit by888u
A few days ago, when I was creating partitions for the Banwagonhost VPS, I got an error message: no free sectors available. It probably means that there is insufficient disk space and there is no extra space to allocate. Why does it prompt no free sectors available? That’s because the Liunx partition also needs space. If you don’t even have extra disk space, of course you can’t partition it.
Official website
Click directly to the official website
Solution
1. Execute the fdisk command to obtain all information on the disk. The command is as follows:
Bash fdisk -l2. You can find that vdb already has a partition, which is /dev/vdb1. Its size is exactly the size of the entire disk. Because if we go to partition again, it will naturally not be partitioned, as shown below:
3. Then we need to delete the partition first, and then repartition it. If there are multiple partitions, you need to select the partition number. The following is a single partition without selecting it. Execute the following command:
Bash fdisk /dev/vdb d w4. Now you can mount the disk again. It goes without saying how to mount it. Since you know how to partition, you must mount it. If you don’t know how to mount a hard disk on Linux, search on Baidu.
Recommended plan for bricklayers
Warm reminder: If you have difficulty choosing, just choose the CN2 GIA-E plan in the middle. The quarterly payment is $49.99, and you can switch between up to 12 computer rooms at will.CN2 (cheapest) | 1GB | 1 core | 20GB | 1TB | 1Gbps | DC3 CN2 DC8 ZNET | $49.99/year | Buy |
CN2 | 2GB | 1 core | 40GB | 2TB | 1Gbps | $52.99/half year $99.99/year | Buy | |
CN2 GIA-E (Most recommended) | 1GB | 2 cores | 20GB | 1TB | 2.5Gbps | DC6 CN2 GIA-E DC9 CN2 GIA Japan SoftBank JPOS_1 Netherlands EUNL_9 | $49.99/quarter $169.99/year | Buy |
CN2 GIA-E | 2GB | 3 core | 40GB | 2TB | 2.5Gbps | $89.99/quarter $299.99/year | Buy | |
HK | 2GB | 2 cores | 40GB | 0.5TB | 1Gbps | Hong Kong, China CN2 GIA | $89.99/month $899.99/year | Buy |
HK | 4GB | 4 core | 80GB | 1TB | 1Gbps | $155.99/month $1559.99/year | Buy | |
TOKYO | 2GB | 2 cores | 40GB | 0.5TB | 1.2Gbps | Tokyo, Japan CN2 GIA | $89.99/month $899.99/year | Buy |
TOKYO | 4GB | 4 core | 80GB | 1TB | 1.2Gbps | $155.99/month $1559.99/year | Buy | |
Select a suggestion:
- Getting started: Los Angeles CN2 package, currently the cheapest, optional CN2 GT computer room, the entry-level choice.
- Recommendation: Los Angeles CN2 GIA-E package, super fast, with many optional computer rooms (DC6, DC9, Japan SoftBank, Netherlands Unicom, etc.), the most cost-effective.
- High-end: Hong Kong CN2 GIA package, the price is higher, but impeccable. The Tokyo CN2 GIA package is also a very good high-end option.
Recommended site searches: domain name expiration query, what does server hosting mean, Hong Kong host registration information query, Hong Kong server rental, host server rental, personal virtual host, Sichuan virtual host, European server, pw domain name,
发表评论