Common Errors of adding a new hard disk to a VM

Source: Internet
Author: User

Add a new hard disk as an extended partition. This error is often encountered during formatting,

Mkfs. ext4: inode_size (128) * inodes_count (0) too big for afilesystem with 0 blocks, specify higher inode_ratio (-I) or lower inode count (-N)

The reason is that the extended partition cannot be formatted directly. You can intelligently format the primary partition and the extended partition. Therefore, you need to add a logical partition on the extended partition and then format it.

Fdisk/dev/SDB


When you execute this command for the first time, you are prompted to add extended partitions. When you execute this command for the first time, you will be prompted to add logical partitions and primary partitions, select logical partitions, and then format the required file system.

Http://www.chinaunix.net/jh/4/334800.html

Here is a tutorial, but it is the primary partition added. The difference between extended partitions is that when sudo fdisk/dev/SDB is executed for the first time, select e, then execute fdisk/dev/SDB one more time and then select L. It should be clear now

Blog has moved to http://marspring.mobi

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.