多块PCIe SSD插在同一个主板上时,Linux 对这几块SSD的命名

295 篇文章 0 订阅
[root@host1 ~]# fdisk -l

Disk /dev/nvme0n1: 800.2 GB, 800166076416 bytes, 1562824368 sectors  ---->>>注意名字:/dev/nvme0n1
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: 0x000b8fe5

        Device Boot      Start         End      Blocks   Id  System

Disk /dev/nvme1n1: 800.2 GB, 800166076416 bytes, 1562824368 sectors ---->>>注意名字:/dev/nvme1n1
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: 0xd9b47686

        Device Boot      Start         End      Blocks   Id  System
/dev/nvme1n1p1            2048    20973567    10485760   83  Linux
/dev/nvme1n1p2        20973568   997535743   488281088   83  Linux
/dev/nvme1n1p3       997535744  1416966143   209715200   83  Linux

Disk /dev/nvme2n1: 800.2 GB, 800166076416 bytes, 1562824368 sectors  ---->>>注意名字:/dev/nvme2n1
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: 0x000a74ee

        Device Boot      Start         End      Blocks   Id  System
/dev/nvme2n1p1            2048    20973567    10485760   83  Linux ---->>>注意分区的名字:带p1
/dev/nvme2n1p2        20973568  1069549567   524288000   83  Linux
/dev/nvme2n1p3      1069549568  1488979967   209715200   83  Linux

Disk /dev/sda: 1999.3 GB, 1999307276288 bytes, 3904897024 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: 0x000a8633

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     1026047      512000   83  Linux
/dev/sda2         1026048    68134911    33554432   82  Linux swap / Solaris
/dev/sda3        68134912   487565311   209715200   83  Linux
[root@host1 ~]# 
[root@host1 ~]# uname -r
3.10.0-327.el7.x86_64
[root@host1 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@host1 ~]# 



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值