AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 794763
Accepted
Csaba Toth
Csaba Toth
Asked: 2016-07-05 08:44:46 +0800 CST2016-07-05 08:44:46 +0800 CST 2016-07-05 08:44:46 +0800 CST

如何在安装期间确定 NMVe SSD 的设备名称

  • 772

我正在开始安装 16.04 Ubuntu 风格的装备。我将在 RAID0 配置中使用两个 NMVe SSD。我已将所有命令排成一列,但我只是错过了一个关键点:SSD 的实际设备名称。安装 DVD 挂载为 /dev/sda1,但除了 /dev 中的 a 之外,我没有看到任何其他 /dev/sd* 设备。

我是一个老派的 Linux 人,我知道 /dev 文件系统多年来已经改变了多次。如何找出设备名称?

关于我的机器的一个额外信息是它有一个 SLI GPU 配置,它占用了船组 AFAIK 的 PCIe 线路(这就是为什么普通 GT80 没有 NMVe M.2s AFAIK),所以很可能 MSI 可能在 GT80S Titan 系列中使用了额外的芯片组来提供 PCIe 线路(?)。我不确定这是否会影响设备名称,NMVe 驱动器肯定不在 SATAIII 控制器上。

RAID 卷在 BIOS 中配置和组装。我可以在 20 分钟内成功安装 Win10,因此它们运行良好。在 Ubuntu 安装期间,我关闭了安全模式并使用 CSM 设置 UEFI。


sda 这里是一个拇指驱动器:

root@ubuntu-studio:~# lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    1  1.9G  0 disk 
└─sda1   8:1    1  1.9G  0 part /media/ubuntu-studio/D43E-C473
sr0     11:0    1  2.6G  0 rom  /cdrom
loop0    7:0    0  2.5G  1 loop /rofs

RAID 控制器在那里。它被列为 有问题AHCI吗?

root@ubuntu-studio:~# lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Sky Lake Host Bridge/DRAM Registers [8086:1910] (rev 07)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Skylake Host Bridge/DRAM Registers [1462:1171]
00:01.0 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x16) [8086:1901] (rev 07)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:01.1 PCI bridge [0604]: Intel Corporation Sky Lake PCIe Controller (x8) [8086:1905] (rev 07)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:08.0 System peripheral [0880]: Intel Corporation Sky Lake Gaussian Mixture Model [8086:1911]
    Subsystem: Micro-Star International Co., Ltd. [MSI] Skylake Gaussian Mixture Model [1462:1171]
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Sunrise Point-H USB 3.0 xHCI Controller [1462:1171]
    Kernel driver in use: xhci_hcd
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-H Thermal subsystem [8086:a131] (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Sunrise Point-H Thermal subsystem [1462:1171]
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Sunrise Point-H CSME HECI [1462:1171]
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:17.0 RAID bus controller [0104]: Intel Corporation SATA Controller [RAID mode] [8086:2822] (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] SATA Controller [RAID mode] [1462:1171]
    Kernel driver in use: ahci
    Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #2 [8086:a111] (rev f1)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #3 [8086:a112] (rev f1)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #4 [8086:a113] (rev f1)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a150] (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Sunrise Point-H LPC Controller [1462:1171]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Sunrise Point-H PMC [1462:1171]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Sunrise Point-H HD Audio [1462:1171]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Sunrise Point-H SMBus [1462:1171]
    Kernel modules: i2c_i801
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204M [GeForce GTX 970M] [10de:13d8] (rev a1)
    Subsystem: Micro-Star International Co., Ltd. [MSI] GM204M [GeForce GTX 970M] [1462:1171]
    Kernel modules: nvidiafb, nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GM204 High Definition Audio Controller [10de:0fbb] (rev a1)
    Subsystem: Micro-Star International Co., Ltd. [MSI] GM204 High Definition Audio Controller [1462:1171]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
02:00.0 3D controller [0302]: NVIDIA Corporation GM204M [GeForce GTX 970M] [10de:13d8] (rev a1)
    Subsystem: Micro-Star International Co., Ltd. [MSI] GM204M [GeForce GTX 970M] [1462:1171]
    Kernel modules: nvidiafb, nouveau
04:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
    Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter [1a56:1535]
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader [10ec:5249] (rev 01)
    Subsystem: Micro-Star International Co., Ltd. [MSI] RTS5249 PCI Express Card Reader [1462:1171]
    Kernel driver in use: rtsx_pci
    Kernel modules: rtsx_pci
06:00.0 Ethernet controller [0200]: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller [1969:e0a1] (rev 10)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Killer E2400 Gigabit Ethernet Controller [1462:1171]
    Kernel driver in use: alx
    Kernel modules: alx

我也试过 dmraid:

~# dmraid -r *
no block devices found
16.04
  • 1 1 个回答
  • 11082 Views

1 个回答

  • Voted
  1. Best Answer
    Csaba Toth
    2016-07-05T22:11:10+08:002016-07-05T22:11:10+08:00

    解决方案的关键是将 BIOS 中的控制器从 RAID 模式切换到 AHCI。之后,Linux 看到了设备(/dev/nvme0p0, /dev/nvme1p0)。

    NVMe 驱动器可以通过多种不同方式驱动:参见https://en.wikipedia.org/wiki/M.2中的第一个图。我仍然需要尝试nvme_load=YES引导选项如何影响这种情况,因为AHCI据称参与不会提供最佳性能。

    我得到的最大帮助:

    1. https://superuser.com/questions/1022849/m-2-samsung-sm951-nvme-ssd-not-recognized-on-linux
    2. http://www.dell.com/support/article/us/en/19/SLN299303/pt
    3. https://docs.google.com/document/d/16d0zsdNJ48A7HVA1VfGlMORxA6BudN0d-lLQN1vA1E4/edit

    我最终使用了 Ubuntu Studio 16.04,并使用btrfs. 事实证明,这可以通过安装的最后一部分。Intel RST 也将是一个软 RAID,btrfs 的性能应该不错。fstrim1 TB 可以持续 24 小时是另一种体验


    每周的 fstrim 仍然需要很长时间(通常是 30-60 分钟或更长时间)周一早上......

    • 3

相关问题

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve