Advertisement

Centos7自动生成配置文件用于自动挂载新硬盘

阅读量:

1 检查存储设备状态

复制代码
 [root@localhost ~]# fdisk -l

    
  
    
 Disk /dev/sda: 34.4 GB, 34359738368 bytes, 67108864 sectors
    
 Units = sectors of 1 * 512 = 512 bytes
    
 Sector size (logical/physical): 512 bytes / 512 bytes
    
 I/O size (minimum/optimal): 512 bytes / 512 bytes
    
 Disk label type: dos
    
 Disk identifier: 0x0009f305
    
  
    
    Device Boot      Start         End      Blocks   Id  System
    
 /dev/sda1   *        2048     2099199     1048576   83  Linux
    
 /dev/sda2         2099200    67108863    32504832   8e  Linux LVM
    
  
    
 Disk /dev/sdb: 10.7 GB

全部评论 (0)

还没有任何评论哟~