Linux Format disk error __linux

Source: Internet
Author: User

The following error occurred while formatting a disk partition on Linux

root@debian:~# mkfs.ext4/dev/sdb1
mke2fs 1.41.12 (17-may-2010)
mkfs.ext4:inode_size (128) * Inodes_count (0) Too a
	filesystem with 0 blocks, specify higher inode_ratio (-i)
	or lower inode count (-N).

Use Fdisk to view the partition type as extended

   Device Boot      Start         end      Blocks   Id  System
/dev/sdb1               1      121534   976221823+   5  Extended

Delete this section first, then add a logical or primary partition.

Method FDISK/DEV/SDB1-> D-> n-> P (or L)->1 (or other number) ...-> W (write)

   Device Boot      Start         end      Blocks   Id  System
/dev/sdb1               1      121534   976221823+  Linux

And then format it and it's okay.

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.