zoukankan      html  css  js  c++  java
  • linux常见设备类型及文件系统

    image

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

    image 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 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 are using mkfs without any further specification of which file system you want to format, an Ext2 file system will be formatted. This is probably not what you want to use, so do not forget to specify which file system you want to use.   
    To format a partition with the default XFS file system, the command  mkfs -t xfs  is used.  mkfs -t xfs /dev/vda5

  • 相关阅读:
    K
    A
    C
    E
    2020/9/14
    hdu5306 hdu3954 cf438D
    2020/9/10-9/11
    题解
    2020/8/31
    2020/8/30
  • 原文地址:https://www.cnblogs.com/rusking/p/5736144.html
Copyright © 2011-2022 走看看