Common Linux device types and file systems

Source: Internet
Author: User

As can see in Table 14.3, all disk device names end with the letter A. That's because it is the first disk, that's found in your server. The second SCSI disk, for instance, would has the name/dev/sdb. If many disks is installed in a server, can has up to/dev/sdz and even beyond. After/dev/sdz, the kernel continues creating devices with names Like/dev/sdaa And/dev/sdab.

To format a partition with one of the supported file systems, you can use the mkfs command, using the Option-t to specify which specific the file system needs to be used. Alternatively, one of the file system specific tools can be used, such as MKFS.EXT4 to format an EXT4 file system. MKFS.EXT4/DEV/SDB1
NOTE If you is using MKFS without any further specification of which file system you want to format, an Ext2 file system would Be formatted. This is the probably not the want to use and so does not forget to specify which the file system you want the use.
To format a partition with the default XFS file system, the command mkfs-t XFS is used. mkfs-t Xfs/dev/vda5

Common Linux device types and file systems

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.