HDFS JAVA API

配置maven

1
2
3
4
5
6
7
8
9
10
11
12
13
<!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client -->
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-client</artifactId>
<version>3.3.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>

API Demo

配置测试的主入口

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
private static final String HDFS_PATH = "hdfs://localhost:9000";
private static final String HDFS_USER = "hadoop";
private static FileSystem fileSystem;
@BeforeAll
public static void prepare()
{
try {
Configuration configuration = new Configuration();
configuration.set("dfs.replication", "1");
fileSystem = FileSystem.get(new URI(HDFS_PATH), configuration, HDFS_USER);
} catch (IOException e) {
e.printStackTrace();
} catch(InterruptedException e){
e.printStackTrace();
} catch(URISyntaxException e){
e.printStackTrace();
}
}
@AfterAll
public static void destroy(){
fileSystem = null;
}

API的使用

  • 创建目录
    1
    2
    3
    4
    @Test
    public void mkDir() throws Exception{
    fileSystem.mkdirs(new Path("/hdfs-api/test/"));
    }
  • 创建指定权限的目录
    1
    2
    3
    4
    5
    @Test
    public void mkDirWithPermission() throws Exception{
    fileSystem.mkdirs(new Path("/hdfs-api/test1"),
    new FsPermission(FsAction.READ_WRITE, FsAction.READ, FsAction.READ));
    }
  • 创建文件,并写入内容
    1
    2
    3
    4
    5
    6
    7
    @Test
    public void createAndWrite() throws Exception{
    FSDataOutputStream out = fileSystem.create(new Path("/hdfs-api/test/a.txt"), true, 4096);
    out.write("hello hadoop!".getBytes());
    out.flush();
    out.close();
    }
  • 判断文件是否存在
    1
    2
    3
    4
    5
    @Test
    public void checkFileExist() throws Exception{
    boolean exists = fileSystem.exists(new Path("/hdfs-api/test/a.txt"));
    System.out.println(exists);
    }
  • 查看文件内容
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    @Test
    public void checkFileContent() throws Exception{
    FSDataInputStream input = fileSystem.open(new Path("/hdfs-api/test/a.txt"));
    String context = inputStreamToString(input, "utf-8");
    System.out.println(context);
    }
    private static String inputStreamToString(InputStream inputStream, String encode){
    try {
    if(encode == null || "".equals(encode)){
    encode = "utf-8";
    }
    BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream, encode));
    StringBuilder builder = new StringBuilder();
    String str = "";
    while ((str = reader.readLine())!= null) {
    builder.append(str).append("\n");

    }
    return builder.toString();
    } catch (IOException e) {
    e.printStackTrace();
    }
    return null;
    }
  • 文件重命名
    1
    2
    3
    4
    5
    6
    7
    @Test
    public void rename() throws Exception{
    Path oldPath = new Path("/hdfs-api/test/a.txt");
    Path newPath = new Path("/hdfs-api/test/c.txt");
    boolean result = fileSystem.rename(oldPath, newPath);
    System.out.println(result);
    }
  • 删除目录或文件
    1
    2
    3
    4
    5
    @Test
    public void delete() throws Exception{
    boolean result = fileSystem.delete(new Path("/hdfs-api/test/c.txt"),true);
    System.out.println(result);
    }
  • 上传文件到HDFS
    1
    2
    3
    4
    5
    6
    @Test
    public void CopyFileFromLocal() throws Exception{
    Path src = new Path("C:/Users/jzhout1/Downloads/CopyTest/a.txt");
    Path dst = new Path("/hdfs-api/test/");
    fileSystem.copyFromLocalFile(src, dst);
    }
  • 上传大文件并显示上传进度
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    @Test
    public void copyBigFileFromLocal() throws Exception{
    File file = new File("C:/Users/jzhout1/Downloads/Hadoop权威指南+中文版.pdf");
    final float fileSize = file.length();
    InputStream input = new BufferedInputStream(new FileInputStream(file));
    FSDataOutputStream output = fileSystem.create(new Path("/hdfs-api/test/" + file.getName()),
    new Progressable(){
    long fileCount = 0;
    public void progress(){
    fileCount++;
    System.out.println("上传速度: " + (fileCount*64*1024/fileSize)*100 + " %");
    }
    });
    IOUtils.copyBytes(input, output, 4096);

    }
  • 从HDFS上下载文件
    1
    2
    3
    4
    5
    6
    7
    @Test
    //从HDFS上下载文件
    public void copyFileFromHDFS() throws Exception{
    Path src = new Path("/hdfs-api/test/a.txt");
    Path dst = new Path("C:/Users/jzhout1/Downloads/");
    fileSystem.copyToLocalFile(false,src, dst);
    }
  • 查看指定路径下文件或文件夹的信息
    1
    2
    3
    4
    5
    6
    7
    8
    @Test
    //查看指定路径下文件或文件夹的信息
    public void listFiles() throws Exception{
    FileStatus[] status = fileSystem.listStatus(new Path("/hdfs-api"));
    for (FileStatus fileStatus : status) {
    System.out.println(fileStatus.toString());
    }
    }
  • 递归查看指定目录下所有文件的信息
    1
    2
    3
    4
    5
    6
    7
    8
    @Test
    //递推查看指定目录下所有文件信息
    public void listFilesRecursive() throws Exception{
    RemoteIterator<LocatedFileStatus> files = fileSystem.listFiles(new Path("/hdfs-api"), true);
    while (files.hasNext()) {
    System.out.println(files.next());
    }
    }
  • 查看文件的块信息
    1
    2
    3
    4
    5
    6
    7
    8
    9
    @Test
    //查看文件块的信息
    public void getFileBlockLocations() throws Exception{
    FileStatus fileStatus = fileSystem.getFileStatus(new Path("/hdfs-api/test/a.txt"));
    BlockLocation[] blocks = fileSystem.getFileBlockLocations(fileStatus, 0, fileStatus.getLen());
    for (BlockLocation blockLocation : blocks) {
    System.out.println(blockLocation);
    }
    }

引用

选购SSD

最近个人笔记本和公司笔记本的硬盘都严重告急,个人笔记本原装是256G,目前已经剩余不到10G,随着视频文件越来越多,更换SSD不得不赶紧提上日程,正巧碰上618,虽然目前的SSD价格已经上涨了一波,但还是不得不挑选个加入购物车了。

主要的选购策略如下:

  • 因为公司电脑500G也不够用,打算直接上1T
  • T470S支持的SSD是1x 2280 PCIe 3.0 x4 NVMe (M key),所以选择PCIE+Nvme的SSD
  • 选购从品牌SSD入手,选择西部数据、闪迪、三星
  • 比较价格相差不大的情况顺序读写速度,随机读写速度
  • 不确定西部数据和闪迪冷数据的影响,所以选择了三星
  • 因为预算和本身对速度要求不是特别高,选择了三星980 1T M.2 SSD,没有上Pro版本

SSD 品牌(可以前往常用的品牌选择品牌)

  • 西部数据
  • 闪迪
  • 三星
  • 东芝
  • 铠侠
  • 浦科特

PCIE-Nvme

选购型号

选购SSD,首先得确认好电脑适配的SSD, 毕竟SSD型号众多,大部分SSD的退换货都是由于型号不匹配的。
我的电脑是Thinkpad T470S, 适用的SSD型号是1x 2280 PCIe 3.0 x4 NVMe (M key).
如果不确定笔记本型号,可以查看下面的表格(建议购买前咨询是否适配以免造成损失):

Acer(宏碁) Laptop series M.2 slots
Acer(宏碁) Acer Aspire 3 (A315-21/31/32) 1x M.2 NVMe slot
Acer(宏碁) Acer Aspire 3 (A315-22) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer Aspire 3 (A315-34) 1x 2280 SATA M.2 slot
Acer(宏碁) Acer Aspire 3 (A315-55G) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer Aspire 3 (A317-33) 1x M.2 NVMe slot
Acer(宏碁) Acer Aspire 5 (A514-54 / A514-54G / A514-54S) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer Aspire 5 (A515-44 / A515-44G) 1x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Aspire 5 (A515-51 / A515-51G) 1x 2280 PCIe NVMe M.2 slot
Acer(宏碁) Acer Aspire 5 (A515-52 / A515-52G) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer Aspire 5 (A515-54 / A515-54G) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer Aspire 5 (A515-56 / A515-56G / A515-56S / A515-56T) 1x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Aspire 5 (A517-51) M.2 PCIe NVMe SSD slot (2280)
Acer(宏碁) Acer Aspire 7 (15.6”, A715-71G/72G) 1x 2280 PCIe NVMe M.2 slot
Acer(宏碁) Acer Aspire 7 (A715-42G) 1x M.2 NVMe slot
Acer(宏碁) Acer Aspire 7 (A715-74 / A715-74G / A715-75G) 2x 2280 M.2 NVMe slots
Acer(宏碁) Acer Aspire 7 (A717-71G) 1x PCIe NVMe M.2 slot (2280, M-key)
Acer(宏碁) Acer Aspire A615-51 1x 2280 PCIe NVMe M.2 slot
Acer(宏碁) Acer Aspire E (E5-553) 1x 2280 SATA III
Acer(宏碁) Acer Aspire E (E5-774) 1x (2280 or 2260 or 2240)
Acer(宏碁) Acer Aspire E 15 (E5-575G) 1x 2280 SATA M.2 slot (M key)
Acer(宏碁) Acer Aspire F (F5-573G) 1x 2280 SATA III (M key)
Acer(宏碁) Acer Aspire R 13 (R7-371) 2x M.2 SATA SSD slots, measuring at 80mm with 1x B & 1x M keys
Acer(宏碁) Acer Aspire R 14 (R5-471) 1x 2280 SATA III (M key)
Acer(宏碁) Acer Aspire S 13 (S5-371) 1x 2280 SATA III (M key)
Acer(宏碁) Acer Aspire S7 no M.2 slots
Acer(宏碁) Acer Aspire Switch 10V (SW5-014) no M.2 slots
Acer(宏碁) Acer Aspire Switch Alpha 12 no M.2 slots
Acer(宏碁) Acer Aspire V 15 (V3-575) no M.2 slots
Acer(宏碁) Acer Aspire V Nitro (VN7-591G) 1x 2280 SATA III (M key)
Acer(宏碁) Acer Aspire V Nitro (VN7-592G) 1x 2280 SATA III (M key)
Acer(宏碁) Acer Aspire V Nitro (VN7-593G) 1x 2280 SATA M.2 slot
Acer(宏碁) Acer Aspire V Nitro (VN7-791G) 1x 2280 SATA III (M key)
Acer(宏碁) Acer Aspire V Nitro (VN7-792G) 1x 2280 SATA III (M key)
Acer(宏碁) Acer Aspire V Nitro (VN7-793G) 1x 2280 PCIe NVMe (M key)
Acer(宏碁) Acer Aspire V15 (V3-574G) no M.2 slots
Acer(宏碁) Acer Aspire VX 15 (VX5-591G) 1x 2280 PCIe NVMe (M key)
Acer(宏碁) Acer ConceptD 5 (CN515-51) 2x 2280 M.2 NVMe slot
Acer(宏碁) Acer ConceptD 7 Pro (CN715-71 / CN715-71P) 2x 2280 M.2 PCIe x4 NVMe slots with RAID 0 support
Acer(宏碁) Acer ConceptD 9 (CN917-71 / CN917-71P) 2x 2280 M.2 PCIe x4 NVMe slots with RAID 0 support
Acer(宏碁) Acer Extensa 2520 no M.2 slots
Acer(宏碁) Acer Nitro 5 (AN515-42) no M.2 slots
Acer(宏碁) Acer Nitro 5 (AN515-44) 2x 2280 M.2 PCIe NVMe 3.0
Acer(宏碁) Acer Nitro 5 (AN515-53/52/51/41/31) 1x 2280 PCIe NVMe
Acer(宏碁) Acer Nitro 5 (AN515-54) 2x M.2 PCIe x4 NVMe slots with RAID 0 support
Acer(宏碁) Acer Nitro 5 (AN515-55) 2x 2280 PCIe NVMe 3.0 x4 RAID 0
Acer(宏碁) Acer Nitro 5 (AN517-51) 2x M.2 PCIe x4 NVMe slots with RAID 0 support
Acer(宏碁) Acer Nitro 5 (AN517-52) 2x 2280 M.2 NVMe slots
Acer(宏碁) Acer Nitro 5 Spin (NP515-51) 1x 2280 PCIe 3.0 x4 NVMe
Acer(宏碁) Acer Nitro 7 (AN715-51) 2x M.2 PCIe x4 NVMe slots with RAID 0 support
Acer(宏碁) Acer Predator 15 (G9-591) 1x 2280 SATA III (M key) + 1x 22110 SATA III (M key)
Acer(宏碁) Acer Predator 15 (G9-592) 2x M.2 slots (2280 + 22110, M keys)
Acer(宏碁) Acer Predator 15 (G9-593) 1x 2280 SATA III (M key) + 1x 22110 SATA III (M key)
Acer(宏碁) Acer Predator 17 (G5-793) 1x 2280 PCIe NVMe (M key) + 1x 22110 PCIe NVMe (B key)
Acer(宏碁) Acer Predator 17 (G9-791) 1x 2280 PCIe NVMe + 1x 22110 PCIe NVMe
Acer(宏碁) Acer Predator 17 (G9-792) 1x 2280 PCIe NVMe + 1x 22110 PCIe NVMe
Acer(宏碁) Acer Predator 17 (G9-793) 1x 2280 PCIe NVMe + 1x 22110 PCIe NVMe
Acer(宏碁) Acer Predator 17 X (GX-791) 1x 2280 NVMe (M) + 1x 2280 NVMe (B) + 1x 22110 NVMe (B)
Acer(宏碁) Acer Predator 17 X (GX-792) 1x 2280 PCIe NVMe (M key) + 1x 2280 PCIe NVMe (B key) + 1x 22110 PCIe NVMe (B key)
Acer(宏碁) Acer Predator 21 X (GX21-71) 4x 2280 PCIe NVMe (M key)
Acer(宏碁) Acer Predator Helios 300 (15”, G3-571/572, PH315-51) 1x 2280 M.2 PCIe NVMe
Acer(宏碁) Acer Predator Helios 300 (17”, PH317-51/52) 1x 2280 PCIe NVMe (M key)
Acer(宏碁) Acer Predator Helios 300 (PH315-52) 2x M.2 PCIe x4 NVMe slots with RAID 0 support
Acer(宏碁) Acer Predator Helios 300 (PH315-53) 2x 2280 M.2 NVMe slots
Acer(宏碁) Acer Predator Helios 300 (PH317-53) 2x 2280 M.2 NVMe slots
Acer(宏碁) Acer Predator Helios 500 (17”, PH517-51 / PH517-61) 2x 2280 PCIe NVMe M.2 slot (RAID 0 support)
Acer(宏碁) Acer Predator Helios 700 (PH717-71) 2x M.2 PCIe x4 NVMe slots, with RAID 0 support
Acer(宏碁) Acer Predator Triton 300 (PT315-51) 2x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Predator Triton 300 (PT315-52) 3x 2280 M.2 NVMe slot
Acer(宏碁) Acer Predator Triton 500 (PT515-51 / PT515-52) 2x 2280 NVMe M.2 slot (RAID 0)
Acer(宏碁) Acer Predator Triton 700 2x 2280 PCIe NVMe SSD slots
Acer(宏碁) Acer Predator Triton 900 (PT917) 2x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Spin 3 (SP314-54N) 2x 2280 M.2 NVMe slots
Acer(宏碁) Acer Spin 5 (SP513-52) 1x 2280 SATA M.2 slot
Acer(宏碁) Acer Spin 5 (SP513-54N) 1x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Swift 1 (SF114-31) no M.2 slots
Acer(宏碁) Acer Swift 1 (SF114-32) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer Swift 3 (SF313-52 / SF313-52G) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer Swift 3 (SF313-53) 1x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Swift 3 (SF314-42) 1x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Swift 3 (SF314-51) 1x 2280 SATA III M.2
Acer(宏碁) Acer Swift 3 (SF314-52) 1x 2280 SATA III
Acer(宏碁) Acer Swift 3 (SF314-53) no M.2 slots
Acer(宏碁) Acer Swift 3 (SF314-56 / SF314-56G) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer Swift 3x (SF314-510G) 2x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Swift 5 (SF514-51) 1x 2280 PCIe NVMe (M key)
Acer(宏碁) Acer Swift 5 (SF514-52 / SF514-52TP) 1x 2280 PCIe NVMe M.2 slot
Acer(宏碁) Acer Swift 5 (SF514-54T / Pro SF514-54GT) 1x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Swift 5 Pro (SF514-55 / SF514-55GT / SF514-55TA) 1x 2280 PCIe NVMe 3.0 x4
Acer(宏碁) Acer Swift 5 SF515-51T 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer Swift 7 (SF713-51) 1x 2242 SATA M.2 slot (B key)
Acer(宏碁) Acer Swift 7 (SF714-52T) no M.2 slots
Acer(宏碁) Acer TravelMate B117 1x 2280 (B key)
Acer(宏碁) Acer TravelMate P2 (P2410-M) 1x 2280 M.2 slot
Acer(宏碁) Acer TravelMate P2 (TMP215-52 / TPM215-52G) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer TravelMate P236 no M.2 slots
Acer(宏碁) Acer TravelMate P238-M 1x 2280 (M key)
Acer(宏碁) Acer TravelMate P249 1x (2280 or 2260 or 2240) (M key)
Acer(宏碁) Acer TravelMate P259 1x 2280 SATA III
Acer(宏碁) Acer TravelMate P278 1x 2280 SATA III
Acer(宏碁) Acer TravelMate P449 1x 2280 SATA III (M key)
Acer(宏碁) Acer TravelMate P6 (P645) M.2 SSD slot
Acer(宏碁) Acer TravelMate P6 (TMP614-51 / TMP614-51T) 1x 2280 M.2 NVMe slot
Acer(宏碁) Acer TravelMate P648-M 1x 2280 SATA M.2 (M key) slot
Acer(宏碁) Acer TravelMate P658 1x 2280 SATA III (M key) + 1x 2280 PCIe NVMe (M key)
Acer(宏碁) Acer TravelMate TMX349 1x 2280 PCIe 3.0 x4 NVMe (M key)
Acer(宏碁) Acer TravelMate X349-M 1x 2280 PCIe NVMe (M key)
Acer(宏碁) ASUS ROG GL502VT 1x 2280 PCIe 3.0 x4 NVMe (M key)
Alienware(外星人) Alienware 13 2 x M.2 SSD slots
Alienware(外星人) Alienware 13 R2 2x 2280 PCIe NVMe (B key)
Alienware(外星人) Alienware 13 R3 1x 2280 PCIe NVMe (M key)
Alienware(外星人) Alienware 15 2x 2280 SATA III (B key)
Alienware(外星人) Alienware 15 R2 2x 2280 PCIe 3.0 x4 NVMe (M key)
Alienware(外星人) Alienware 15 R3 2x 2280 PCIe 3.0 x4 + 1x 2242 PCIe 3.0 x2 NVMe
Alienware(外星人) Alienware 15 R4 2x 2280 PCIe 3.0 x4 + 1x 2242 PCIe 3.0 x2 NVMe
Alienware(外星人) Alienware 17 no M.2 slots
Alienware(外星人) Alienware 17 R2 4x 2280 SATA III (B key)
Alienware(外星人) Alienware 17 R3 4x 2280 PCIe 3.0 x4 NVMe (B key)
Alienware(外星人) Alienware 17 R4 2x 2280 PCIe NVMe (M key) + 1x 2242 PCIe NVMe (M key)
Alienware(外星人) Alienware 17 R5 2x 2280 PCIe 3.0 x4 + 1x 2242 SATA
Alienware(外星人) Alienware m17 2x 2280 SSD PCIe NVMe
AORUS(技嘉) AORUS 15 (15-W9, X9, XA, WA, SA) 2x M.2 SSD slots (2280, NVMe PCIe & SATA)
AORUS(技嘉) AORUS X3 Plus v5 2 x M.2 SSD slots
AORUS(技嘉) AORUS X3 Plus v6 2 x M.2 SSD slots
AORUS(技嘉) AORUS X5 MD 2 x M.2 SSD slots
AORUS(技嘉) AORUS X5 v6 2x 2280 PCIe 3.0 x4 NVMe (M key) + 1x 2280 PCIe 3.0 x2 NVMe (M key)
AORUS(技嘉) AORUS X5 v7 2 x M.2 SSD slots
AORUS(技嘉) AORUS X5 v8 2x 2280 PCIe 3.0 x4 NVMe M.2 slots
AORUS(技嘉) AORUS X5S v5 1x 2280 PCIe NVMe (M key) + 2x 2280 SATA III (M key)
AORUS(技嘉) AORUS X7 DT v6 3 x M.2 SSD slots
AORUS(技嘉) AORUS X7 DT v7 2 x M.2 SSD slots
AORUS(技嘉) AORUS X7 DT v8 2x 2280 PCIe 3.0 x4 NVMe M.2 slots
AORUS(技嘉) AORUS X7 Pro v5 3x 2280 PCIe NVMe (M key)
AORUS(技嘉) AORUS X7 v6 3x 2280 PCIe NVMe (M key)
AORUS(技嘉) AORUS X7 v7 2 x M.2 SSD slots
AORUS(技嘉) AORUS X9 2x 2280 PCIe 3.0 x4 NVMe M.2 slots
AORUS(技嘉) AORUS X9 DT 2x 2280 PCIe 3.0 x4 NVMe M.2 slots
ASUS(华硕) ASUS ASUSPRO B8430UA 1x 2280 (M key)
ASUS(华硕) ASUS ASUSPRO P4540UQ 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ASUSPRO P5440 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS Chromebook Flip C101 no M.2 slots
ASUS(华硕) ASUS Chromebook Flip C213 no M.2 slots
ASUS(华硕) ASUS F540SA no M.2 slots
ASUS(华硕) ASUS F555LN no M.2 slots
ASUS(华硕) Asus F555UB no M.2 slots
ASUS(华硕) ASUS FX502 M.2 PCIe NVMe SSD slot (2280)
ASUS(华硕) ASUS FX503 1x 2280 PCIe NVMe M.2 slot
ASUS(华硕) ASUS FX553 1x 2280 PCIe NVMe (M key)
ASUS(华硕) ASUS K550 (F550) no M.2 slots
ASUS(华硕) ASUS K751LX no M.2 slots
ASUS(华硕) ASUS N551 no M.2 slots
ASUS(华硕) ASUS N751 1x 2280 OR 2260 PCIe NVMe (M key)
ASUS(华硕) ASUS ROG Chimera (G703) 2x 2280 M.2 NVMe SSD (RAID 0 capability)
ASUS(华硕) ASUS ROG Flow X13 (GV301 / PV301) 1x 2230 M.2 PCIe x4
ASUS(华硕) ASUS ROG G501 1x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG G531 (SCAR III / Hero III) 1x 2280 M.2 NVMe slot
ASUS(华硕) ASUS ROG G551 no M.2 slots
ASUS(华硕) ASUS ROG G701VI 2x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG G701VO 2x 2280 PCIe NVMe (M key)
ASUS(华硕) ASUS ROG G731 1x 2280 M.2 NVMe slot
ASUS(华硕) ASUS ROG G751 1x 2280 PCIe NVMe (M key)
ASUS(华硕) ASUS ROG G752VL 2x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG G752VM 2x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG G752VS 2x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG G752VT 2x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG G752VY 2x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG G771 1x 2280 OR 2260 PCIe NVMe (M key)
ASUS(华硕) ASUS ROG G800VI 2x 2280 PCIe NVMe
ASUS(华硕) ASUS ROG GL502VM 1x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG GL502VS 1x 2280 PCIe NVMe (M key)
ASUS(华硕) ASUS ROG GL502VY 1x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG GL503GE 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG GL503VD 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG GL503VM 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG GL504 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS ROG GL552JX 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ROG GL552VL 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ROG GL552VW 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ROG GL552VX 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ROG GL552VX (7th Gen Intel Core) 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ROG GL553 1x 2280 PCIe NVMe (M key)
ASUS(华硕) ASUS ROG GL702VI M.2 PCIe NVMe SSD (2280)
ASUS(华硕) ASUS ROG GL702VM M.2 PCIe NVMe SSD (2280)
ASUS(华硕) ASUS ROG GL702VS 1x 2280 PCIe NVMe (M key)
ASUS(华硕) ASUS ROG GL702VT M.2 PCIe NVMe SSD (2280)
ASUS(华硕) ASUS ROG GL702ZC 1x 2280 M.2 PCIe NVMe SSD slot
ASUS(华硕) ASUS ROG GL703VD 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG GL703VM 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG GL752 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ROG GL753 1x 2280 PCIe NVMe (M key)
ASUS(华硕) ASUS ROG GX700 2x 2280 PCIe 3.0 x4 NVMe (M key)
ASUS(华硕) ASUS ROG GX800VH 3x 2280 PCIe NVMe
ASUS(华硕) ASUS ROG Hero Edition (GL503VD) 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG Hero Edition (GL503VM) 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG SCAR Edition (GL503VD) 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG SCAR Edition (GL503VM) 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG SCAR Edition (GL503VS) 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG SCAR Edition (GL703VD) 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG SCAR Edition (GL703VM) 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ROG STRIX G15 (G512) 3x 2280 M.2 NVMe slot
ASUS(华硕) ASUS ROG Strix G15 (G513) 2x 2280 M.2 NVMe slots
ASUS(华硕) ASUS ROG STRIX G17 (G712) 3x 2280 M.2 NVMe slot
ASUS(华硕) ASUS ROG Strix G17 (G713) 2x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ROG Strix GL704 1x 2280 M.2 NVMe slot
ASUS(华硕) ASUS ROG Strix SCAR 15 G533 2x M.2 PCIe x4 slots
ASUS(华硕) ASUS ROG STRIX SCAR 17 (G732) 3x 2280 M.2 NVMe slot
ASUS(华硕) ASUS ROG Strix SCAR 17 G733 2x M.2 PCIe x4 slots
ASUS(华硕) ASUS ROG Zephyrus (GX501V) 1x 2280 PCIe 3.0 x4
ASUS(华硕) ASUS ROG Zephyrus Duo 15 SE (GX551) 2x 2280 PCIe NVMe 3.0 x4 RAID 0
ASUS(华硕) ASUS ROG Zephyrus G GA502 (2019) 2x 2280 PCIe NVMe 3.0 x2 slots
ASUS(华硕) ASUS ROG Zephyrus G14 GA401 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ROG Zephyrus G15 GA503 2x M.2 PCIe x4 slots
ASUS(华硕) ASUS ROG Zephyrus M (GM501) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS ROG Zephyrus S GX531 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS Transformer 3 (T305) SATA3 M.2
ASUS(华硕) ASUS TUF Gaming A17 (FA706) 2x 2280 M.2 NVMe slots
ASUS(华硕) ASUS TUF Gaming A17 (FA706, RTX 30) 2x 2280 M.2 NVMe
ASUS(华硕) ASUS TUF Gaming Dash F15 (FX516) 2x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS TUF Gaming F15 (FX506) 2x M.2 NVMe slots
ASUS(华硕) ASUS TUF Gaming FX504 1x 2280 PCIe NVMe M.2 slot
ASUS(华硕) ASUS TUF Gaming FX505 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS TUF Gaming FX705 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS VivoBook 14 F413 (X413 / K413 / M413 / D413) 2x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS VivoBook 15 F513 (X513 / K513 / S513) 1x 2280 M.2 NVMe slot
ASUS(华硕) ASUS VivoBook 15 F515 (X515 / S515 / M515 / D515) 1x 2280 PCIe NVMe 3.0 x2
ASUS(华硕) ASUS VivoBook 17 X705UV M.2 SSD slot
ASUS(华硕) ASUS VivoBook F510 (X510) 1x 2280 PCIe NVMe slot
ASUS(华硕) ASUS VivoBook Flip 14 TM420 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS VivoBook Flip 15 (TP501 / R518) M.2 SSD slot
ASUS(华硕) ASUS VivoBook Pro 15 N580 (M580) M.2 PCIe NVMe 2280 (M key)
ASUS(华硕) ASUS VivoBook Pro 17 N705 (X705) 1x 2280 M.2 PCIe NVMe SSD
ASUS(华硕) ASUS VivoBook Pro N552 M.2 2280 slot
ASUS(华硕) ASUS VivoBook Pro N752 M.2 PCIe NVMe SSD (2280)
ASUS(华硕) ASUS VivoBook S13 S330 1x 2280 M.2 NVMe slot
ASUS(华硕) ASUS VivoBook S14 (S410) 1х 2280 M.2 PCIe NVMe slot
ASUS(华硕) ASUS Vivobook S14 S406 1x 2280 M.2 slot
ASUS(华硕) ASUS VivoBook S14 S430 1x 2280 PCIe NVMe 3.0 x2
ASUS(华硕) ASUS VivoBook S14 S433 (M433) 1x 2280 PCIe NVMe 3.0 x2
ASUS(华硕) ASUS VivoBook S15 (S510) 1x 2280 SATA M.2 (M key) slot
ASUS(华硕) ASUS VivoBook S15 S530 1x 2280 SATA M.2 slot
ASUS(华硕) ASUS VivoBook S15 S533 (M533) 2x 2280 M.2 NVMe slot
ASUS(华硕) ASUS VivoBook X556 (R556 / K556) no M.2 slots
ASUS(华硕) ASUS X507 1x 2280 M.2 SATA slot
ASUS(华硕) Asus X550IU no M.2 slots
ASUS(华硕) ASUS X550VX no M.2 slots
ASUS(华硕) ASUS X552EA-SX156D no M.2 slots
ASUS(华硕) ASUS X554LJ no M.2 slots
ASUS(华硕) ASUS X555 (F555) no M.2 slots
ASUS(华硕) ASUS ZenBook 13 (UX331) 1x 2280 PCIe NVMe
ASUS(华硕) ASUS ZenBook 13 OLED UM325 1x M.2 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook 13 UX325 (BX325) 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook 13 UX333 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS ZenBook 14 UM425 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook 14 UM431 1x 2280 M.2 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook 14 UM433 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook 14 UX425 (BX425) 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook 14 UX433 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS ZenBook 15 UX533 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS ZenBook 3 Deluxe UX490UA 1x PCIe NVMe M.2 slot (2280, M-key)
ASUS(华硕) ASUS ZenBook Duo UX481 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook Flip 13 UX362 1x 2280 M.2 NVMe slot
ASUS(华硕) ASUS ZenBook Flip 13 UX363 (BX363) 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook Flip 14 UM462 1x 2280 PCIe NVMe 3.0 x2
ASUS(华硕) ASUS ZenBook Flip 14 UX461 1x 2280 PCIe NVMe M.2 slot
ASUS(华硕) ASUS ZenBook Flip 14 UX463 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook Flip 15 UX561 1x 2280 PCIe NVMe M.2
ASUS(华硕) ASUS ZenBook Flip S UX371 (BX371) 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook Flip UX360CA 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ZenBook Flip UX360UA M.2 SSD slot
ASUS(华硕) ASUS ZenBook Pro 14 UX450 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS ZenBook Pro 14 UX480 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
ASUS(华硕) ASUS ZenBook Pro UX501 1x 2280 PCIe NVMe (M key)
ASUS(华硕) ASUS ZenBook S UX391 1x 2280 PCIe NVMe M.2 slot
ASUS(华硕) ASUS ZenBook S13 UX392 1x 2280 PCIe NVMe 3.0 x4
ASUS(华硕) ASUS ZenBook UX302 no M.2 slots
ASUS(华硕) ASUS ZenBook UX303LB 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ZenBook UX303LN 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ZenBook UX303UA no M.2 slots
ASUS(华硕) ASUS ZenBook UX303UB no M.2 slots
ASUS(华硕) ASUS ZenBook UX305CA 1x 2280 SATA III (B key)
ASUS(华硕) ASUS ZenBook UX305FA 1x 2280 SATA III (B key)
ASUS(华硕) ASUS ZenBook UX305LA 1x 2280 SATA III (B key)
ASUS(华硕) ASUS ZenBook UX305UA 1x 2280 SATA III (B key)
ASUS(华硕) ASUS Zenbook UX310 1x 2280 SATA III (M key)
ASUS(华硕) ASUS ZenBook UX330UA 1x 2280 (M key)
ASUS(华硕) Asus ZenBook UX3410UA 1x 2280 SATA III
ASUS(华硕) ASUS ZenBook UX430 M.2 SSD slot
ASUS(华硕) ASUS ZenBook UX510 1x 2280 (M key)
Dell(戴尔) Dell G3 15 (3500) 1x 2230/2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell G5 15 (5500) (DP/Th3) 2x 2280 M.2 NVMe slots
Dell(戴尔) Dell G5 15 5587 (G5587) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Dell(戴尔) Dell G7 15 7588 (G7588) 1x PCIe 3.0 x4 NVMe M.2 slot (2280, M-key)
Dell(戴尔) Dell G7 17 (7700) (DP/Th3) 2x 2280 M.2 NVMe slots
Dell(戴尔) Dell G7 17 (7790) 1x 2280 M.2 NVMe slot
Dell(戴尔) Dell Inspiron 11 3162 no M.2 slots
Dell(戴尔) Dell Inspiron 11 3179 no M.2 slots
Dell(戴尔) Dell Inspiron 13 5370 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Inspiron 13 5379 no M.2 slots
Dell(戴尔) Dell Inspiron 13 7306 (2-in-1) 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Inspiron 13 7359 no M.2 slots
Dell(戴尔) Dell Inspiron 13 7368 1x 2280 SATA III (M key)
Dell(戴尔) Dell Inspiron 13 7370 1x 2280 PCIe 3.0 x4 NVMe
Dell(戴尔) Dell Inspiron 13 7373 1x 2280 PCIe NVMe
Dell(戴尔) Dell Inspiron 13 7375 2-in-1 1x 2280 SATA M.2 slot
Dell(戴尔) Dell Inspiron 13 7386 2-in-1 1x 2280 M.2 NVMe slot and 1x 2230 M.2 NVMe slot
Dell(戴尔) Dell Inspiron 14 5401 2x 2280 PCIe 3.0 x4
Dell(戴尔) Dell Inspiron 14 5406 (2-in-1) 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Inspiron 14 5480 1x 2280 M.2 NVMe slot
Dell(戴尔) Dell Inspiron 14 5482 2-in-1 1x 2280 M.2 NVMe slot
Dell(戴尔) Dell Inspiron 14 5490 1x 2230/2242/2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Inspiron 14 5491 2-in-1 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Inspiron 14 7472 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Inspiron 15 3505 1x M.2 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Inspiron 15 3541 no M.2 slots
Dell(戴尔) Dell Inspiron 15 3552 no M.2 slots
Dell(戴尔) Dell Inspiron 15 3567 no M.2 slots
Dell(戴尔) Dell Inspiron 15 3580 1x 2280 M.2 NVMe slot
Dell(戴尔) Dell Inspiron 15 5501 2x 2280 PCIe 3.0 x4
Dell(戴尔) Dell Inspiron 15 5545 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5547 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5551 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5555 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5558 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5559 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5567 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5568 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5570 1x PCIe NVMe M.2 slot (2280, M-key)
Dell(戴尔) Dell Inspiron 15 5570 (OD) 1x PCIe NVMe M.2 slot (2280, M-key)
Dell(戴尔) Dell Inspiron 15 5575 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Inspiron 15 5575 (OD) 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Inspiron 15 5578 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5579 no M.2 slots
Dell(戴尔) Dell Inspiron 15 5584 1x 2280 PCIe NVMe 3.0 x2
Dell(戴尔) Dell Inspiron 15 5593 / 5594 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Inspiron 15 7548 no M.2 slots
Dell(戴尔) Dell Inspiron 15 7559 1x 2280 SATA III (M key)
Dell(戴尔) Dell Inspiron 15 7567 1x 2280 PCIe 3.0 x4 NVMe (M key)
Dell(戴尔) Dell Inspiron 15 7570 1x PCIe NVMe M.2 slot (2280, M-key)
Dell(戴尔) Dell Inspiron 15 7572 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Inspiron 15 7573 2-in-1 1x 2280 PCIe NVMe M.2 slot (M-key) + Intel Optane support (up to 32GB)
Dell(戴尔) Dell Inspiron 15 7577 1x 2280 PCIe NVMe
Dell(戴尔) Dell Inspiron 15 7580 1x 2280 M.2 NVMe slot
Dell(戴尔) Dell Inspiron 15 7590 2x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Inspiron 17 3780 1x 2280 M.2 NVMe slot
Dell(戴尔) Dell Inspiron 17 5749 no M.2 slots
Dell(戴尔) Dell Inspiron 17 5758 no M.2 slots
Dell(戴尔) Dell Inspiron 17 5759 no M.2 slots
Dell(戴尔) Dell Inspiron 17 5770 / 5775 1x PCIe NVMe M.2 slot (2280, M-key)
Dell(戴尔) Dell Inspiron 17 7773 M.2 PCIe NVMe SSD (2280) slot
Dell(戴尔) Dell Inspiron 17 7778 no M.2 slots
Dell(戴尔) Dell Inspiron 17 7779 1x 2280 PCIe 3.0 x4 NVMe (M key)
Dell(戴尔) Dell Inspiron 17 7786 2-in-1 1x 2280 M.2 NVMe slot
Dell(戴尔) Dell Latitude 11 3189 1x 2280 SATA III (B key)
Dell(戴尔) Dell Latitude 13 5300 1x 2230/2280 M.2 slot (M key)
Dell(戴尔) Dell Latitude 13 5310 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 13 5320 1x M.2 NVMe slot
Dell(戴尔) Dell Latitude 13 7310 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 13 7370 1x 2280 PCIe NVMe (M key)
Dell(戴尔) Dell Latitude 13 7380 1x 2280 PCIe 3.0
Dell(戴尔) Dell Latitude 13 7390 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Latitude 13 7390 (2-in-1) 1x 2280 SATA M.2 slot
Dell(戴尔) Dell Latitude 14 3400 1x 2280 M.2 NVMe slot
Dell(戴尔) Dell Latitude 14 3410 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 14 5401 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 14 5410 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 14 5411 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 14 5414 1x 2280 (B key)
Dell(戴尔) Dell Latitude 14 7400 (2-in-1) 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 14 7414 1x 2280 (M key)
Dell(戴尔) Dell Latitude 14 7420 1x M.2 NVMe slot
Dell(戴尔) Dell Latitude 14 7480 1x 2280 SATA III (M key)
Dell(戴尔) Dell Latitude 14 7490 1x 2280 PCIe M.2 slot
Dell(戴尔) Dell Latitude 14 9410 (2-in-1) 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 14 E7450 no M.2 slots
Dell(戴尔) Dell Latitude 15 3500 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 15 3510 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 15 3580 no M.2 slots
Dell(戴尔) Dell Latitude 15 3590 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Latitude 15 5500 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 15 5501 1x 2280 M.2 NVMe slot
Dell(戴尔) Dell Latitude 15 5510 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 15 5511 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 15 5520 1x M.2 PCIe 4.0 x4 + 1x M.2 PCIe 3.0 x4
Dell(戴尔) Dell Latitude 15 5580 no M.2 slots
Dell(戴尔) Dell Latitude 15 5590 1x 2280 PCIe M.2 slot
Dell(戴尔) Dell Latitude 15 5591 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Latitude 15 9510 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Latitude 15 E5570 1x 2280 PCIe NVMe (M key)
Dell(戴尔) Dell Latitude 3470 no M.2 slots
Dell(戴尔) Dell Latitude 3570 no M.2 slots
Dell(戴尔) Dell Latitude E5270 no M.2 slots
Dell(戴尔) Dell Latitude E5470 1x 2280 PCIe NVMe (M key)
Dell(戴尔) Dell Latitude E5540 no M.2 slots
Dell(戴尔) Dell Latitude E5550 no M.2 slots
Dell(戴尔) Dell Latitude E6440 no M.2 slots
Dell(戴尔) Dell Latitude E7270 1x 2280 SATA III (M key)
Dell(戴尔) Dell Latitude E7470 1x 2280 M.2 slot
Dell(戴尔) Dell Precision 15 3510 1x 2280 PCIe NVMe
Dell(戴尔) Dell Precision 15 3520 1x 2280 PCIe 3.0 x4 NVMe (M key)
Dell(戴尔) Dell Precision 15 3540 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Precision 15 3560 1x M.2 PCIe 4.0 x4 + 1x M.2 PCIe 3.0 x4
Dell(戴尔) Dell Precision 15 5520 M.2 PCIe NVMe SSD slot
Dell(戴尔) Dell Precision 15 5530 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Precision 15 5540 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Precision 15 7530 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Dell(戴尔) Dell Precision 17 7710 1x 2280 PCIe 3.0 x4 NVMe (M key)
Dell(戴尔) Dell Precision 17 7730 4x 2280 PCIe 3.0 x4 NVMe M.2 slot
Dell(戴尔) Dell Precision M2800 no M.2 slots
Dell(戴尔) Dell Precision M7510 1x 2280 PCIe 3.0 x4 NVMe (M key)
Dell(戴尔) Dell Vostro 13 5370 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Vostro 14 5402 2x M.2 PCIe 3.0 x4
Dell(戴尔) Dell Vostro 14 5459 no M.2 slots
Dell(戴尔) Dell Vostro 14 5471 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Vostro 14 5480 no M.2 slots
Dell(戴尔) Dell Vostro 14 5490 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Vostro 15 3501 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell Vostro 15 3559 no M.2 slots
Dell(戴尔) Dell Vostro 15 3568 no M.2 slots
Dell(戴尔) Dell Vostro 15 3590 1x 2280 M.2 slot
Dell(戴尔) Dell Vostro 15 5501 2x 2280 M.2 NVMe slots
Dell(戴尔) Dell Vostro 15 5502 2x M.2 PCIe x4 slots
Dell(戴尔) Dell Vostro 15 5568 1x 2280 SATA III (M key)
Dell(戴尔) Dell Vostro 15 7500 2x M.2 PCIe x4 slots
Dell(戴尔) Dell Vostro 15 7570 1x M.2 SSD slot (2280)
Dell(戴尔) Dell Vostro 15 7580 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell Vostro 3558 no M.2 slots
Dell(戴尔) Dell XPS 13 (9380) 1x M.2 SSD PCIe Gen 3x4 NVMe slot
Dell(戴尔) Dell XPS 13 9300 (2020) 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell XPS 13 9310 1x M.2 PCIe NVMe 3.0 x4
Dell(戴尔) Dell XPS 13 9343 1x 2280 SATA III (M key
Dell(戴尔) Dell XPS 13 9350 1x 2280 PCIe 3.0 x4 NVMe (M key)
Dell(戴尔) Dell XPS 13 9360 1x 2280 PCIe 3.0 x4 NVMe (M key)
Dell(戴尔) Dell XPS 13 9370 1x 2280 PCIe NVMe M.2 slot
Dell(戴尔) Dell XPS 15 (9550) 1x 2280 PCIe NVMe
Dell(戴尔) Dell XPS 15 (9560) M.2 PCIe NVMe SSD slot (2280)
Dell(戴尔) Dell XPS 15 (9570) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Dell(戴尔) Dell XPS 15 7590 1x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell XPS 15 9500 2x 2280 PCIe NVMe 3.0 x4
Dell(戴尔) Dell XPS 15 9575 2-in-1 1x 2280 PCIe NVMe M.2 slot
Fujitsu(富士通) Fujitsu LifeBook U7410 1x 2280 M.2 NVMe slot
Fujitsu(富士通) Fujitsu LifeBook U757 1x 2280 SATA III (M key)
Fujitsu(富士通) Fujitsu LifeBook U9310X 1x 2280 M.2 NVMe slot
Gigabyte(技嘉科技) Gigabyte AERO 14 (i7-8750H) 2x 2280 PCIe 3.0 x4 NVMe M.2 slots
Gigabyte(技嘉科技) Gigabyte AERO 14 (Late 2016) 1x 2280 PCIe 3.0 x4 NVMe (M key)
Gigabyte(技嘉科技) Gigabyte AERO 14 (Mid-2016) 2x 2280 SATA M.2 slot
Gigabyte(技嘉科技) GIGABYTE AERO 15 (i7-7700HQ) 2x 2280 PCIe NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE AERO 15 / 15X (X8, i7-8750H) 2x 2280 PCIe 3.0 x4 NVMe M.2 slots
Gigabyte(技嘉科技) GIGABYTE AERO 15 / Classic (RTX 20 / GTX 16) 2x 2280 PCIe 3.0 x4 NVMe M.2 slots
Gigabyte(技嘉科技) GIGABYTE P15 R5 M.2 SSD slot
Gigabyte(技嘉科技) GIGABYTE P15 R7 1 x M.2 SSD slot (Type 2280)
Gigabyte(技嘉科技) GIGABYTE P15 v5 1 x M.2 SSD slot
Gigabyte(技嘉科技) GIGABYTE P15F v7 1x 2280 SATA M.2 slot
Gigabyte(技嘉科技) GIGABYTE P16G 1 x M.2 SSD slot
Gigabyte(技嘉科技) GIGABYTE P17 R5 1 x M.2 SSD slot
Gigabyte(技嘉科技) GIGABYTE P17 v5 1 x M.2 SSD slot
Gigabyte(技嘉科技) GIGABYTE P17 v7 1x 2280 PCIe 3.0 x4 NVMe
Gigabyte(技嘉科技) GIGABYTE P34F v5 1x 2280 SATA M.2 slot
Gigabyte(技嘉科技) GIGABYTE P34G v5 1x 2280 SATA M.2 slot
Gigabyte(技嘉科技) GIGABYTE P34G v7 1x 2280 SATA M.2 slot
Gigabyte(技嘉科技) GIGABYTE P34K R7 1x 2280 SATA M.2 slot
Gigabyte(技嘉科技) GIGABYTE P34K v5 1x 2280 SATA M.2 slot
Gigabyte(技嘉科技) GIGABYTE P34K V7 M.2 SSD slot (2280)
Gigabyte(技嘉科技) GIGABYTE P34W v5 1x 2280 SATA M.2 slot
Gigabyte(技嘉科技) GIGABYTE P35 v5 2x 2280 PCIe 3.0 x4 NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE P35 v6 2x 2280 PCIe 3.0 x4 NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE P35 v7 2x 2280 PCIe 3.0 x4 NVMe
Gigabyte(技嘉科技) GIGABYTE P37 v5 2x 2280 PCIe 3.0 x4 NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE P37 v6 2 x M.2 SSD slots (2280)
Gigabyte(技嘉科技) GIGABYTE P55 R7 1x 2280 PCIe 3.0 x4 NVMe
Gigabyte(技嘉科技) GIGABYTE P55 v5 1x 2280 PCIe 3.0 x4 NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE P55 v6 M.2 SSD slots (2280)
Gigabyte(技嘉科技) GIGABYTE P55 v7 1x 2280 PCIe 3.0 x4 NVMe (M key)
Gigabyte(技嘉科技) Gigabyte P55W v6 1x 2280 PCIe NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE P55W V7 1x 2280 PCIe NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE P56XT 2 x M.2 SSD slots (2280)
Gigabyte(技嘉科技) GIGABYTE P57 1x 2280 PCIe NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE P57 v6 1x 2280 PCIe 3.0 x4 NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE P57 v7 1x 2280 PCIe 3.0 x4 NVMe (M key)
Gigabyte(技嘉科技) GIGABYTE Q2006 no M.2 slots
Gigabyte(技嘉科技) GIGABYTE Q21 no M.2 slots
Gigabyte(技嘉科技) GIGABYTE Q2440 no M.2 slots
Gigabyte(技嘉科技) GIGABYTE Q2452 no M.2 slots
Gigabyte(技嘉科技) GIGABYTE Q25N v5 1x 2280 PCIe 3.0 x4 NVMe
Gigabyte(技嘉科技) GIGABYTE Sabre 15 M.2 SSD slot (2280)
Gigabyte(技嘉科技) GIGABYTE Sabre 17 1x 2280 PCIe 3.0 x4 NVMe
Gigabyte(技嘉科技) GIGABYTE SabrePro 15 2 x M.2 SSD slots
Gigabyte(技嘉科技) GIGABYTE U24F no M.2 slots
Gigabyte(技嘉科技) GIGABYTE U24T no M.2 slots
HP(惠普) HP 15 (15-ba000) 1x 2280 SATA III (B key)
HP(惠普) HP 15 (15-dw0000, dw1000, dw2000, dw3000, gw0000) 1x 2280 PCIe NVMe 3.0 x2
HP(惠普) HP 15 (15-f200, f300) no M.2 slots
HP(惠普) HP 15z (ba000) 1x 2280 SATA III
HP(惠普) HP 240 G6 1x 2280 SATA M.2 slot (B key)
HP(惠普) HP 250 G2 no M.2 slots
HP(惠普) HP 250 G4 no M.2 slots
HP(惠普) HP 250 G5 1x 2280 SATA III
HP(惠普) HP 250 G6 1x 2280 SATA M.2 slot (B key)
HP(惠普) HP 250 G7 / 255 G7 1x 2280 PCIe NVMe 3.0
HP(惠普) HP 250 G8 / 255 G8 1x 2280 M.2 NVMe/SATA slot
HP(惠普) HP 255 G3 no M.2 slots
HP(惠普) HP 255 G4 no M.2 slots
HP(惠普) HP 340S G7 1x 2280 M.2 NVMe slot
HP(惠普) HP Elite Dragonfly G2 1x M.2 NVMe slot
HP(惠普) HP EliteBook 1030 G1 1x 2280 PCIe NVMe (M key)
HP(惠普) HP EliteBook 1040 G3 1x 2280 PCIe NVMe (M key)
HP(惠普) HP EliteBook 1040 G4 1x 2280 PCIe NVMe M.2 slot
HP(惠普) HP EliteBook 1050 G1 2x 2280 NVMe M.2 slot
HP(惠普) HP EliteBook 725 G3 1x 2280
HP(惠普) HP EliteBook 725 G4 1x 2280 PCIe 3.0 x4 NVMe (M key)
HP(惠普) HP EliteBook 745 G4 M.2 2280
HP(惠普) HP EliteBook 755 G4 1x 2280 PCIe NVMe (M key)
HP(惠普) HP EliteBook 820 G3 1x 2280 PCIe NVMe (M key)
HP(惠普) HP EliteBook 820 G4 1x 2280 PCIe 3.0 x4 NVMe (M key)
HP(惠普) HP EliteBook 830 G5 1x 2280 PCIe NVMe M.2 slot
HP(惠普) HP EliteBook 830 G7 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP EliteBook 840 G2 1x 2242/2260 PCIe 2.0 x2 slot
HP(惠普) HP EliteBook 840 G3 1x 2280 (M key)
HP(惠普) HP EliteBook 840 G4 1x 2280 PCIe 3.0 x4 NVMe (M key)
HP(惠普) HP EliteBook 840 G5 1x 2280 PCIe NVMe M.2 slot
HP(惠普) HP EliteBook 840 G6 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP EliteBook 840 G7 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP EliteBook 850 G2 1x 2242 SATA III (M key)
HP(惠普) HP EliteBook 850 G3 1x 2280 PCIe 3.0 x4 NVMe (M key)
HP(惠普) HP EliteBook 850 G4 1x 2280 PCIe 3.0 x4 NVMe (M key)
HP(惠普) HP EliteBook 850 G5 1x 2280 PCIe NVMe M.2 slot
HP(惠普) HP EliteBook 850 G6 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP EliteBook 850 G7 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP EliteBook Folio 1020 G1 1x 2280 PCIe NVMe (M key)
HP(惠普) HP EliteBook Folio G1 1x 2280 PCIe NVMe M.2 slot
HP(惠普) HP EliteBook x360 1020 G2 1x PCIe NVMe M.2 slot (2280, M-key)
HP(惠普) HP EliteBook x360 1030 G2 1x 2280 PCIe NVMe (M key)
HP(惠普) HP EliteBook x360 1030 G8 1x M.2 NVMe slot
HP(惠普) HP EliteBook x360 1040 G8 1x M.2 NVMe slot
HP(惠普) HP ENVY 13 (13-ah0000, ah1000) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
HP(惠普) HP ENVY 13 (13-aq0000, 13-aq1000) 1x 2280 M.2 NVMe slot
HP(惠普) HP ENVY 13 (13-ba0000, ba1000) 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP ENVY 15 (15-as000, 15-as100) 1x 2280 PCIe NVMe
HP(惠普) HP ENVY 15 (15-ep0000) 2x 2280 PCIe 3.0 x4
HP(惠普) HP ENVY 17 (17-ae000, 17-ae100) 1x PCIe NVMe M.2 slot (2280, M-key)
HP(惠普) HP ENVY 17 (17-n000) 1x 2280 SATA M.2 slot
HP(惠普) HP ENVY 17 (17-u100) 1x 2280 PCIe NVMe M.2 slot
HP(惠普) HP ENVY 17 (17-u200) 1x 2280 SATA M.2
HP(惠普) HP ENVY x360 13 (13-ag0000) 1x 2280 NVMe M.2 slot
HP(惠普) HP ENVY X360 13 (13-ay0000) 1x 2280 M.2 NVMe slot
HP(惠普) HP ENVY x360 15 (15-bq100) PCIe NVMe M.2 SSD slot
HP(惠普) HP ENVY x360 15 (15-ed0000, ed1000) 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP OMEN 15 (15-ax000, ax100, ax200) 1x 2280 SATA III (M key)
HP(惠普) HP Omen 15 (15-ce000, ce100) 1x 2280 PCIe 3.0 x4 NVMe
HP(惠普) HP OMEN 15 (15-ek0000, ek1000) 2x 2280 M.2 NVMe slots
HP(惠普) HP OMEN 15 2018 (15-dc0000) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
HP(惠普) HP OMEN 17 (17-an000, an100) 1x 2280 PCIe 3.0 x4 NVMe
HP(惠普) HP OMEN 17 (17-cb0000, cb1000) 2x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP OMEN 17 (17-w100) 1x 2280 PCIe NVMe (M key)
HP(惠普) HP OMEN X 2x 2280 PCIe NVMe (M key)
HP(惠普) HP Omen X 2S 2x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP Pavilion 14 (14-al000, 14-al100, 14-av000) 1x 2280 SATA III
HP(惠普) HP Pavilion 14 (14-dv0000) 1x M.2 NVMe slot
HP(惠普) HP Pavilion 15 (15-ak020nr) 1x 2280 SATA III (M key)
HP(惠普) HP Pavilion 15 (15-aw004ng) 1x 2280 (M key)
HP(惠普) HP Pavilion 15 (15-cd000) 1x 2280 M.2 slot
HP(惠普) HP Pavilion 15 (15-cs0000, cs1000, cs2000, cw0000, cw1000) 1x 2280 M.2 NVMe slot
HP(惠普) HP Pavilion 15 (15-eh0000, eh1000, eg0000) 1x M.2 NVMe slot
HP(惠普) HP Pavilion 17 (17-ab200) 1x 2280 SATA III (M key)
HP(惠普) HP Pavilion 17z no M.2 slots
HP(惠普) HP Pavilion Gaming 15 (15-ec0000, ec1000, ec2000) 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP Pavilion Gaming 16 (16-a0000) 1x 2280 M.2 NVMe slot
HP(惠普) HP Pavilion Gaming 17 (17-cd0000, cd1000) 1x 2280 M.2 NVMe slot
HP(惠普) HP Pavilion Power 15 (15-cb000) 1x PCIe NVMe M.2 slot
HP(惠普) HP Pavilion Power 15t (cb2000) 1x 2280 PCIe NVMe (M key)
HP(惠普) HP Pavilion Power 15t (X7P44AV) 1x 2280 PCIe NVMe
HP(惠普) HP Pavilion x2 12 1x 2280
HP(惠普) HP Pavilion X360 14 (14-dh0000, dh1000, dh2000) 1x 2280 M.2 NVMe slot
HP(惠普) HP Pavilion x360 15 (15-cr0000) 1x 2280 M.2 NVMe slot
HP(惠普) HP ProBook 430 G4 1x 2280 SATA III
HP(惠普) HP ProBook 430 G5 1x 2280 PCIe NVMe M.2 slot (not available for Celeron)
HP(惠普) HP ProBook 430 G6 1x 2280 M.2 NVMe slot
HP(惠普) HP ProBook 430 G7 1x 2280 M.2 NVMe slot
HP(惠普) HP ProBook 440 G3 1x 2280 SATA III (M key)
HP(惠普) HP ProBook 440 G4 1x 2280 SATA III (B key)
HP(惠普) HP ProBook 440 G5 1 x 2280 PCIe NVMe M.2 slot
HP(惠普) HP ProBook 440 G6 1x 2280 M.2 NVMe slot
HP(惠普) HP ProBook 440 G7 1x 2280 SATA/PCIe NVMe 3.0 x4
HP(惠普) HP ProBook 450 G3 1x 2280 OR 2240 SATA III (B key)
HP(惠普) HP ProBook 450 G4 1x 2280 SATA III (B key)
HP(惠普) HP ProBook 450 G5 1x 2280 PCIe NVMe M.2 slot (PCIe SSD not available for Celeron.)
HP(惠普) HP ProBook 450 G6 1x 2280 M.2 NVMe slot
HP(惠普) HP ProBook 450 G7 1x 2280 M.2 NVMe slot
HP(惠普) HP ProBook 450 G8 1x M.2 NVMe slots
HP(惠普) HP ProBook 455 G3 no M.2 slots
HP(惠普) HP ProBook 470 G2 no M.2 slots
HP(惠普) HP ProBook 470 G3 1x 2280 SATA III (B key)
HP(惠普) HP ProBook 470 G5 1x 2280 PCIe M.2 slot (M key)
HP(惠普) HP ProBook 640 G2 1x 2280 SATA III (M key)
HP(惠普) HP ProBook 640 G3 1x 2280 PCIe NVMe (M key)
HP(惠普) HP ProBook 650 G1 no M.2 slots
HP(惠普) HP ProBook 650 G2 1x 2280 PCIe NVMe (M key)
HP(惠普) HP ProBook 650 G3 1x 2280 PCIe 3.0 x4 NVMe
HP(惠普) HP ProBook 650 G8 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP ProBook 655 G2 1x 2280
HP(惠普) HP Spectre 13 (13-af000) PCIe NVMe M.2 SSD slot
HP(惠普) HP Spectre 13 (13-v100) 1x 2280 PCIe 3.0 x4 NVMe (M key)
HP(惠普) HP Spectre 13 x360 (13-ac000) 1x 2280 PCIe 3.0 x4 NVMe (M key)
HP(惠普) HP Spectre 13 x360 (13-ae000) PCIe NVMe M.2 SSD slot
HP(惠普) HP Spectre 15 x360 (15-bl000, 15-bl100) 1x 2280 PCIe NVMe (M key)
HP(惠普) HP Spectre X2 12 (12-a000, 12-ab000) 1x 2280 PCIe M.2 slot
HP(惠普) HP Spectre x360 13 (13-aw0000, aw1000) 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP Star Wars Special Edition 15 no M.2 slots
HP(惠普) HP ZBook 14 M.2 SSD slot
HP(惠普) HP ZBook 15 G3 2x 2280 PCIe NVMe (M key)
HP(惠普) HP ZBook 15u G5 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
HP(惠普) HP ZBook 15u G6 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP ZBook 17 G2 1x 2260 PCIe 2.0 M.2 slot
HP(惠普) HP ZBook 17 G3 2x 2280 PCIe NVMe (M key)
HP(惠普) HP ZBook 17 G6 2x 2280 PCIe NVMe
HP(惠普) HP ZBook Firefly 15 G7 1x 2280 PCIe NVMe 3.0 x4
HP(惠普) HP ZBook Fury 15 G7 Up to 4x M.2 NVMe
HP(惠普) HP ZBook Power G7 2x 2280 M.2 NVMe slots
HP(惠普) HP ZBook Studio G3 1x 2280 PCIe NVMe (M key)
HP(惠普) HP ZBook Studio x360 G5 2x 2280 PCIe 3.0 x4 NVMe M.2 slots
Huawei(华为) Huawei MateBook 13 (2020) 1x 2280 PCIe NVMe 3.0 x4
Huawei(华为) Huawei MateBook D 14 (2020) 1x 2280 PCIe NVMe 3.0 x4
Huawei(华为) Huawei MateBook D 15 (2020) 1x 2280 PCIe NVMe 3.0 x4
Huawei(华为) Huawei MateBook X Pro (2020) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo B50 no M.2 slots
Lenovo(联想) Lenovo E31-70 no M.2 slots
Lenovo(联想) Lenovo Flex 3 (11”) no M.2 slots
Lenovo(联想) Lenovo Flex 5 (14”) M.2 SSD / PCIe
Lenovo(联想) Lenovo Flex 5 (15”) M.2 SSD / PCIe
Lenovo(联想) Lenovo G51-35 no M.2 slots
Lenovo(联想) Lenovo ideapad 100 (15”) no M.2 slots
Lenovo(联想) Lenovo ideapad 100S (11”) no M.2 slots
Lenovo(联想) Lenovo ideapad 110 (14”) no M.2 slots
Lenovo(联想) Lenovo ideapad 110 (15”) no M.2 slots
Lenovo(联想) Lenovo ideapad 110 (17”) no M.2 slots
Lenovo(联想) Lenovo IdeaPad 130S / S130 (11”) 1x 2280 PCIe 2.0 x2 NVMe M.2 slot
Lenovo(联想) Lenovo IdeaPad 130S / S130 (14”) 1x 2280 PCIe 2.0 x2 NVMe M.2 slot
Lenovo(联想) Lenovo IdeaPad 3 (14”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo IdeaPad 3 (15”) 1x 2242/2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo IdeaPad 3 (15’’) Gaming 2x 2280 M.2 NVMe slots
Lenovo(联想) Lenovo ideapad 300 (15”) no M.2 slots
Lenovo(联想) Lenovo IdeaPad 300 (17”) no M.2 slots
Lenovo(联想) Lenovo ideapad 310 (15”) no M.2 slots
Lenovo(联想) Lenovo ideapad 320 (15”) no M.2 slots
Lenovo(联想) Lenovo ideapad 320S (14”) y
Lenovo(联想) Lenovo ideapad 330 (15”, 330-15ICH) 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo IdeaPad 330S (15″) 1x 2280 M.2 slot
Lenovo(联想) Lenovo IdeaPad 5 (14”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo IdeaPad 5 (15”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ideapad 500 (15”) no M.2 slots
Lenovo(联想) Lenovo IdeaPad 500S (13”) no M.2 slots
Lenovo(联想) Lenovo ideapad 500S (14”) no M.2 slots
Lenovo(联想) Lenovo ideapad 510 (15”) no M.2 slots
Lenovo(联想) Lenovo ideapad 510S (13″) no M.2 slots
Lenovo(联想) Lenovo ideapad 510S (14”) no M.2 slots
Lenovo(联想) Lenovo Ideapad 520S 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo ideapad 530S (14”) 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo ideapad 530S (15”) 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo ideapad 700 (15”) 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ideapad 700 (17”) M.2 SSD slot
Lenovo(联想) Lenovo ideapad 710S (13”) 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ideapad 720S (14”) 1x 2280 PCIe NVMe
Lenovo(联想) Lenovo ideapad 720S (15″) 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo ideapad 730S (13”) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo IdeaPad C340 (15”) 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo IdeaPad Creator 5 (15”) 2x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo IdeaPad Flex 3 (11”) none/ 1x 2242 M.2 slot
Lenovo(联想) Lenovo IdeaPad Flex 5 (14” , Intel) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo IdeaPad Flex 5 (15”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo Ideapad L340 (15”) 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo ideapad Miix 320 no M.2 slots
Lenovo(联想) Lenovo ideapad Miix 510 1x PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo ideapad Miix 520 (12”) 1x PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo IdeaPad S340 14” (14IWL, 14API, 14IML) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ideapad S340 15” 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo IdeaPad S540 (13”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo IdeaPad S540 (15”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo IdeaPad S940 (14”) 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo ideapad Y700 (15”) 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ideapad Y700 (17”) 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo IdeaPad Y900 2x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo IdeaPad Z50-70 no M.2 slots
Lenovo(联想) Lenovo Legion 5 / 5P (15”) 1(2)x 2280/2242 M.2 PCIe x4
Lenovo(联想) Lenovo Legion 5i (17”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo Legion 7 (15”) 2x 2280 PCIe NVMe 3.0 x4 with RAID 0 support
Lenovo(联想) Lenovo Legion C7 (15”) 2x 2280 M.2 NVMe slots
Lenovo(联想) Lenovo Legion Y520 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo Legion Y530 1x 2280 PCIe 3.0 x4 NVMe (32Gb/s)
Lenovo(联想) Lenovo Legion Y540 (15”) 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo Legion Y7000 (2019) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo Legion Y720 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo Legion Y730 (15”) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo Legion Y730 (17”) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo Legion Y740 (15”) 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo Legion Y920 2x M.2 2280 PCIe NVMe SSD slots
Lenovo(联想) Lenovo Miix 2 10” no M.2 slots
Lenovo(联想) Lenovo S21E no M.2 slots
Lenovo(联想) Lenovo ThinkBook 13s Gen 2 (Intel) 1x M.2 NVMe slot
Lenovo(联想) Lenovo ThinkBook 14 Gen 2 (Intel) 1x M.2 PCIe 4.0 x4 + 1x M.2 PCIe 3.0 x4
Lenovo(联想) Lenovo ThinkBook 14s Yoga 2x M.2 PCIe x4 slots
Lenovo(联想) Lenovo ThinkBook 15 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkBook 15 Gen 2 (Intel) 2x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo ThinkBook 15p 2x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkBook Plus 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad 11e (3rd Gen) M.2 Solid State Drive
Lenovo(联想) Lenovo ThinkPad 11e (4th Gen) M.2 Solid State Drive
Lenovo(联想) Lenovo ThinkPad 13 1x 2280 SATA III
Lenovo(联想) Lenovo ThinkPad 13 (2nd Gen) 1x 2280 PCIe 3.0 x4 NVMe (M key)
Lenovo(联想) Lenovo ThinkPad 25 1x PCIe NVMe M.2 slot (2280, M-key)
Lenovo(联想) Lenovo ThinkPad E14 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad E14 Gen 2 (Intel) 2x M.2 NVMe slots
Lenovo(联想) Lenovo ThinkPad E15 Gen 2 (Intel) 1x 2280 +1x 2242 M.2 PCIe x4 slot
Lenovo(联想) Lenovo ThinkPad E450 no M.2 slots
Lenovo(联想) Lenovo ThinkPad E460 no M.2 slots
Lenovo(联想) Lenovo ThinkPad E470 no M.2 slots
Lenovo(联想) Lenovo ThinkPad E480/E485 1x 2280 PCIe 3.0 x4 NVMe
Lenovo(联想) Lenovo ThinkPad E550 no M.2 slots
Lenovo(联想) Lenovo ThinkPad E560 no M.2 slots
Lenovo(联想) Lenovo ThinkPad E570 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ThinkPad E575 M.2 SSD slot
Lenovo(联想) Lenovo ThinkPad E580 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo ThinkPad E585 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo ThinkPad E590 / E595 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo ThinkPad L13 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad L13 Yoga 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad L14 Gen 1 (Intel) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad L15 Gen 1 (Intel) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad L460 1x 2240 PCIe NVMe (B key)
Lenovo(联想) Lenovo ThinkPad L470 M.2 SSD slot
Lenovo(联想) Lenovo ThinkPad L560 No M.2 SSD slot
Lenovo(联想) Lenovo ThinkPad L570 M.2 PCIe NVMe SSD slot
Lenovo(联想) Lenovo ThinkPad L590 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad P1 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo ThinkPad P15v Gen 1 2x M.2 NVMe slots
Lenovo(联想) Lenovo ThinkPad P40 Yoga no M.2 slots
Lenovo(联想) Lenovo ThinkPad P50 2x 2280 SATA III (M key)
Lenovo(联想) Lenovo ThinkPad P50s no M.2 slots
Lenovo(联想) Lenovo ThinkPad P51 M.2 SSD / PCIe NVMe
Lenovo(联想) Lenovo ThinkPad P51s M.2 SSD slot
Lenovo(联想) Lenovo ThinkPad P52 2x 2280 M.2 NVMe slots
Lenovo(联想) Lenovo ThinkPad P70 2x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ThinkPad P71 M.2 SSD / PCIe NVMe
Lenovo(联想) Lenovo ThinkPad P72 2x 2280 PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo ThinkPad S440 M.2 NGFF slot
Lenovo(联想) Lenovo ThinkPad S531 M.2 SSD slot
Lenovo(联想) Lenovo ThinkPad T14 Gen 1 (AMD) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad T14s Gen 1 (AMD) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad T15 Gen 1 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad T440p 1x 2242 SATA III (B key)
Lenovo(联想) Lenovo ThinkPad T460 no M.2 slots
Lenovo(联想) Lenovo ThinkPad T460p no M.2 slots
Lenovo(联想) Lenovo ThinkPad T460s 1x 2280 PCIe 3.0 x4 NVMe (M key)
Lenovo(联想) Lenovo ThinkPad T470 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ThinkPad T470p no M.2 slots
Lenovo(联想) Lenovo ThinkPad T470s 1x 2280 PCIe 3.0 x4 NVMe (M key)
Lenovo(联想) Lenovo ThinkPad T480s 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo ThinkPad T490 / T495 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo ThinkPad T560 no M.2 slots
Lenovo(联想) Lenovo ThinkPad T570 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ThinkPad T580 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo ThinkPad W540 no M.2 slots
Lenovo(联想) Lenovo ThinkPad X1 Carbon (4th Gen) 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ThinkPad X1 Carbon (5th Gen) 1x 2280 PCIe 3.0 x4 NVMe (M key)
Lenovo(联想) Lenovo ThinkPad X1 Carbon (6th Gen, 2018) 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo ThinkPad X1 Carbon (7th Gen, 2019) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad X1 Carbon (8th Gen, 2020) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad X1 Extreme 2x 2280 PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo ThinkPad X1 Fold Gen 1 1x 2242 M.2 PCIe x4
Lenovo(联想) Lenovo ThinkPad X1 Nano Gen 1 1x 2242 M.2 PCIe x4
Lenovo(联想) Lenovo ThinkPad X1 Tablet (2nd Gen) M.2 SSD slot
Lenovo(联想) Lenovo ThinkPad X1 Yoga (1st Gen) 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ThinkPad X1 Yoga (2nd Gen) M.2 SSD slot
Lenovo(联想) Lenovo ThinkPad X13 Gen 1 (Intel) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad X13 Yoga Gen 1 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo ThinkPad X260 no M.2 slots
Lenovo(联想) Lenovo ThinkPad X270 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo ThinkPad X280 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo ThinkPad X390 / X395 1x 2280 PCIe NVMe 3.0
Lenovo(联想) Lenovo ThinkPad X390 Yoga 1x 2280 M.2 NVMe slot
Lenovo(联想) Lenovo ThinkPad Yoga 11e (3rd Gen) M.2 SSD slot
Lenovo(联想) Lenovo ThinkPad Yoga 370 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo V110 (14”) no M.2 slots
Lenovo(联想) Lenovo V110 (15”) no M.2 slots
Lenovo(联想) Lenovo V110 (17”) no M.2 slots
Lenovo(联想) Lenovo V14 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo V15 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo V155 (15”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo V330 (14″) 1x 2280 M.2 slot
Lenovo(联想) Lenovo V330 (15”) 1x 2280 M.2 slot
Lenovo(联想) Lenovo V510 (15”) 1x 2280 SATA III (M key)
Lenovo(联想) Lenovo V730 (13”) 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo V730 (15”) 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo Y50 no M.2 slots
Lenovo(联想) Lenovo Y50 Touch no M.2 slots
Lenovo(联想) Lenovo Yoga 3 (11”) M.2 SSD slot
Lenovo(联想) Lenovo Yoga 3 (14”) no M.2 slots
Lenovo(联想) Lenovo Yoga 3 Pro no M.2 slots
Lenovo(联想) Lenovo Yoga 500 no M.2 slots
Lenovo(联想) Lenovo Yoga 510 M.2 PCIe NVMe SSD slot, M-edge key, 2280
Lenovo(联想) Lenovo Yoga 520 (14”) PCIe NVMe M.2 SSD slot
Lenovo(联想) Lenovo Yoga 6 (13”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo Yoga 700 (11”) 1x 2280 SATA III (B key)
Lenovo(联想) Lenovo YOGA 710 (11”) 1x 2280 SATA III (M key)
Lenovo(联想) Lenovo YOGA 710 (14”) 1x 2280 SATA III (M key)
Lenovo(联想) Lenovo YOGA 720 (13”) 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo YOGA 720 (15”) M.2 SSD slot
Lenovo(联想) Lenovo Yoga 730 (13”) 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo Yoga 730 (15”) 1x 2280 PCIe NVMe M.2 slot
Lenovo(联想) Lenovo Yoga 7i (14”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo YOGA 900 (13”) M.2 SSD slot
Lenovo(联想) Lenovo YOGA 900S (12”) 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo YOGA 910 (13”) 1x 2280 PCIe NVMe (M key)
Lenovo(联想) Lenovo YOGA 920 (14”) 1x 2280 PCIe 3.0 x4
Lenovo(联想) Lenovo Yoga 9i (14”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo Yoga C640 (13”) 1x 2242 M.2 PCIe x2
Lenovo(联想) Lenovo Yoga C740 (14”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo Yoga C930 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo Yoga C940 (14”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo Yoga S730 (13”) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Lenovo(联想) Lenovo Yoga S740 (14”) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo Yoga Slim 7 (14”, AMD) 1x 2280 M.2 NVMe slot/1x 2242 M.2 NVMe slot
Lenovo(联想) Lenovo Yoga Slim 7 (15” IMH) 1x 2280 PCIe NVMe 3.0 x4
Lenovo(联想) Lenovo Yoga Slim 7 Pro 14 (Intel) 1x M.2 NVMe slot
Lenovo(联想) Lenovo Z51 no M.2 slots
LG LG gram 13 (13Z970) 1x 2280 SATA III
LG LG gram 15 (15Z980) 2x 2280 M.2 slots
Microsoft(微软) Microsoft Surface 2 no M.2 slots
Microsoft(微软) Microsoft Surface 3 no M.2 slots
Microsoft(微软) Microsoft Surface Book 1x 2280 PCIe 3.0 x4 NVMe (M key)
Microsoft(微软) Microsoft Surface Book (+ Performance Base) 1x 2280 PCIe 3.0 x4 NVMe (M key)
Microsoft(微软) Microsoft Surface Pro 2 no M.2 slots
Microsoft(微软) Microsoft Surface Pro 3 no M.2 slots
Microsoft(微软) Microsoft Surface Pro 4 1x 2280 PCIe 3.0 x4 NVMe (M key)
MSI(微星) MSI Bravo 15 (A4DDx / A4DCx) 2x 2280 M.2 NVMe slots
MSI(微星) MSI CR43 6M 1 x M.2 SSD slot
MSI(微星) MSI CX62 (6th Gen) 1x 2280 PCIe NVMe M.2 slot
MSI(微星) MSI CX72 1x M.2 SSD slot
MSI(微星) MSI CX72 (7TH GEN) 1 x M.2 SSD slot
MSI(微星) MSI GE62 APACHE (6th Gen) 1x 2280 PCIe NVMe (M key)
MSI(微星) MSI GE62 APACHE (7th Gen) M.2 SSD slot
MSI(微星) MSI GE63 RAIDER 2x 2280 PCIe NVMe M.2 with RAID 0 support
MSI(微星) MSI GE63 Raider RGB 8Rx / 8Sx 1x M.2 SSD slot (NVMe PCIe Gen3), 1x M.2 SSD Combo (NVMe PCIe Gen3 / SATA)
MSI(微星) MSI GE72 APACHE (6th Gen) 1x 2280 PCIe NVMe (M key)
MSI(微星) MSI GE72 APACHE (7th Gen) 1x 2280 PCIe NVMe (M key)
MSI(微星) MSI GE73 RAIDER 2x 2280 PCIe NVMe M.2 with RAID 0 support
MSI(微星) MSI GE73 Raider RGB 8RX 1x M.2 SSD slot (NVMe PCIe Gen3), 1x M.2 SSD Combo (NVMe PCIe Gen3 / SATA)
MSI(微星) MSI GF63 8Rx / 9Sx 1x 2280 M.2 NVMe slot
MSI(微星) MSI GF65 Thin 10Sx 1x 2280 M.2 NVMe slot + 1x 2280 M.2 NVMe/SATA slot
MSI(微星) MSI GF72 1x 2280 PCIe NVMe M.2 slot
MSI(微星) MSI GF72VR 1x 2280 PCIe NVMe M.2 slot
MSI(微星) MSI GF75 Thin 10Sx 1x 2280 PCIe NVMe 3.0 x4/SATA
MSI(微星) MSI GL62 1x 2280 PCIe NVMe
MSI(微星) MSI GL62M 1x 2280 PCIe NVMe (M key)
MSI(微星) MSI GL65 Leopard 10Sx 1x 2280 PCIe NVMe 3.0 x4
MSI(微星) MSI GL72 1x 2280 PCIe 3.0 x4 NVMe (M key)
MSI(微星) MSI GL73 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
MSI(微星) MSI GP62 LEOPARD (7th Gen) 1 x 2280 PCIe NVMe M.2
MSI(微星) MSI GP63 Leopard 8RD 1x 2280 M.2 PCIe NVMe slot
MSI(微星) MSI GP65 Leopard 10Sx 1x 2280 PCIe 3.0 x4/SATA
MSI(微星) MSI GP66 Leopard (10UHx / 10UGx / 10UEx) 2x 2280 PCIe NVMe 3.0 x4
MSI(微星) MSI GP73 Leopard 2x 2280 PCIe 3.0 NVMe M.2 slots
MSI(微星) MSI GP76 Leopard (10UHx / 10UGx / 10UEx) 2x 2280 PCIe NVMe 3.0 x4
MSI(微星) MSI GS43VR 1x 2280 PCIe NVMe (M key)
MSI(微星) MSI GS60 (6th Gen) M.2 PCIe
MSI(微星) MSI GS63 STEALTH M.2 SSD slot
MSI(微星) MSI GS63 Stealth 8RX 1x M.2 SSD Combo (NVMe PCIe Gen3 / SATA)
MSI(微星) MSI GS63VR 1x 2280 PCIe 3.0 x4 NVMe
MSI(微星) MSI GS65 Stealth 2x M.2 SSD NVMe PCIe Gen3
MSI(微星) MSI GS65 Stealth Thin 8RX 1x M.2 SSD (NVMe PCIe Gen3), 1x M.2 SSD Combo (NVMe PCIe Gen3 / SATA )
MSI(微星) MSI GS66 Stealth (10Sx / 10Ux) 2x 2280 PCIe NVMe 3.0 x4
MSI(微星) MSI GS73 Stealth 8RX 1x M.2 SSD Combo (NVMe PCIe Gen3 / SATA)
MSI(微星) MSI GS73 STEALTH PRO 1x 2280 PCIe NVMe M.2 slot
MSI(微星) MSI GS75 Stealth 2x M.2 SSD NVMe PCIe Gen3; 1x M.2 SATA SSD
MSI(微星) MSI GT62VR DOMINATOR 1x 2280 PCIe NVMe (M key)
MSI(微星) MSI GT63 Titan 8Rx / 8Sx 1x M.2 SSD Combo (NVMe PCIe Gen3 x4 / SATA)
MSI(微星) MSI GT72 (6th Gen) 1x 2280 SATA III (M key)
MSI(微星) MSI GT73VR TITAN 3x 2280 PCIe NVMe (M key)
MSI(微星) MSI GT75 Titan 8Rx / 8Sx / 9Sx 1x PCIe 3.0 NVMe M.2 slot (2280, M-key)
MSI(微星) MSI GT76 Titan 9Sx / 10Sx 1x PCIe 3.0 NVMe M.2 slot (2280, M-key)
MSI(微星) MSI GT80S 2xM.2 RAID0
MSI(微星) MSI GT83 Titan 8RX 2x M.2 SSD Combo (NVMe PCIe Gen3 x4 / SATA), 1x M.2 SSD (SATA)
MSI(微星) MSI Modern 14 (A11Sx / A11Mx / B11Mx) 1x M.2 NVMe slot
MSI(微星) MSI Modern 14 (B10Mx / B4Mx) 1x 2280 PCIe NVMe 3.0 x4
MSI(微星) MSI Modern 15 (A11SBx / A11Mx) 1x M.2 PCIe 4.0 x4 + 1x M.2 PCIe 3.0 x4
MSI(微星) MSI PE60 (6th Gen) M.2 SSD slot
MSI(微星) MSI PE70 PRESTIGE (6th Gen) 1x 2280 (M key)
MSI(微星) MSI PE72 M.2 SSD slot
MSI(微星) MSI PL60 M.2 SSD slot
MSI(微星) MSI PL62 NVMe PCIe Gen3 x4 slot
MSI(微星) MSI Prestige 14 (A11Sx) 1x 2280 PCIe NVMe 3.0 x4
MSI(微星) MSI PS42 1x 2280 PCIe 3.0 NVMe M.2 slot
MSI(微星) MSI PS63 Modern 1x M.2 SSD NVMe PCIe Gen3 / SATA; 1x M.2 SSD (SATA)
MSI(微星) MSI PX60 (6th Gen) 1x 2280 PCIe NVMe
MSI(微星) MSI Stealth 15M (RTX 30) 1x M.2 NVMe slot
MSI(微星) MSI WE73 1x 2280 PCIe 3.0 NVMe M.2 slot
MSI(微星) MSI WS60 WORKSTATION 1x 2280 PCIe 3.0 x4 NVMe (M key)
MSI(微星) MSI WS65 8SK 2x 2280 PCIe 3.0 x4 NVMe M.2 slot
MSI(微星) MSI WT75 3x 2280 PCIe 3.0 NVMe M.2 slot
Razer(雷蛇) Razer Blade (2014) no M.2 slots
Razer(雷蛇) Razer Blade (2015) 1x 2280 SATA III (M key)
Razer(雷蛇) Razer Blade (Early 2016) 1x 2280 PCIe NVMe (M key)
Razer(雷蛇) Razer Blade (Early 2017) 1x 2280 PCIe 3.0 x4 NVMe (M key)
Razer(雷蛇) Razer Blade (Late 2016) 1x 2280 PCIe NVMe (M key)
Razer(雷蛇) Razer Blade 15 (2018) 1x 2280 PCIe 3.0 x4 NVMe M.2 slot
Razer(雷蛇) Razer Blade Pro (Early 2017) 2280 PCIe NVMe (M key)
Razer(雷蛇) Razer Blade Pro (Late 2016) 2x 2280 PCIe NVMe
Razer(雷蛇) Razer Blade Pro (Late 2017) 1x 2280 PCIe NVMe
Razer(雷蛇) Razer Blade Stealth (Early 2016) 1x 2280 PCIe NVMe (M key)
Razer(雷蛇) Razer Blade Stealth (Late 2016) 1x 2280 PCIe 3.0 x4 NVMe (M key)
Razer(雷蛇) Razer Blade Stealth (Mid-2017) 1x 2280 PCIe NVMe (M key) slot
Samsung(三星) Samsung Notebook 3 15.6” (NP300E5K) 1x 2280 SATA III
Samsung(三星) Samsung Notebook 5 15.6” (NP500R5L) 1x 2280 SATA III
Samsung(三星) Samsung Notebook 5 15.6” (NP530E5M) 1x 2280 SATA III
Samsung(三星) Samsung Notebook 7 spin 13.3” (NP740U3L) 1x 2280 SATA III
Samsung(三星) Samsung Notebook 7 spin 13.3” (NP740U3M) 1x 2280 SATA III
Samsung(三星) Samsung Notebook 7 spin 15.6” (NP740U5M) 1x 2280 SATA III
Samsung(三星) Samsung Notebook 9 13.3” (NP900X3N) 1x 2280 SATA III
Samsung(三星) Samsung Notebook 9 15” (NP900X5L) 1x 2280 SATA III
Samsung(三星) Samsung Notebook 9 15” (NP900X5N) 1x M.2 PCle NVM slot
Samsung(三星) Samsung Notebook 9 Pro 13” (NP940X3M) 1x M.2 SATA3 slot
Samsung(三星) Samsung Notebook 9 Pro 15” (NP940X5M, NP940X5N) 1x M.2 SATA III
Samsung(三星) Samsung Notebook M 11.6” (NP110S1K) 1 x M.2 SATA3 slot
Samsung(三星) Samsung Notebook Odyssey 15.6” (NP800G5M) 1x 2280 PCIe NVMe (M key)
Toshiba(东芝) Toshiba KIRA no M.2 slots
Toshiba(东芝) Toshiba Portege R30-A no M.2 slots
Toshiba(东芝) Toshiba Portege Z20t 1x 2280 SATA III
Toshiba(东芝) Toshiba Portege Z30 no M.2 slots
Toshiba(东芝) Toshiba Satellite C55 no M.2 slots
Toshiba(东芝) Toshiba Satellite Click Mini (L9W-B-102) no M.2 slots
Toshiba(东芝) Toshiba Satellite L50-B-16C no M.2 slots
Toshiba(东芝) Toshiba Satellite L50-C no M.2 slots
Toshiba(东芝) Toshiba Satellite P50-C no M.2 slots
Toshiba(东芝) Toshiba Satellite Pro A30T no M.2 slots
Toshiba(东芝) Toshiba Satellite Pro R50-B no M.2 slots
Toshiba(东芝) Toshiba Satellite Radius 12 1x 2280 PCIe NVMe
Toshiba(东芝) Toshiba Satellite Z30 (A-1D2) no M.2 slots
Toshiba(东芝) Toshiba Tecra Z40-C 1x 2280 SATA III
Toshiba(东芝) Toshiba Tecra Z50 1x 2280 SATA III
Xiaomi(小米) Xiaomi Mi Notebook Air 13.3 2018 2x 2280 M.2 NVMe slots
Xiaomi(小米) Xiaomi Mi Notebook Pro 1x PCIe NVMe 3.0 x4 + 1x M.2 2242

选购品牌

Hadoop之计算销售数据中城市出现的次数

Java Hadoop的Hello World项目,计算销售数据中,每个城市出现的次数

准备工作

代码实现

  • 配置maven
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    <!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-mapreduce-client-core -->
    <dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-mapreduce-client-core</artifactId>
    <version>3.3.0</version>
    </dependency>

    <!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client -->
    <dependency>
    <groupId>org.apache.hadoop</groupId>
    <artifactId>hadoop-client</artifactId>
    <version>3.3.0</version>
    </dependency>
  • 实现SalesMapper
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    package com.meekou;

    import java.io.IOException;

    import org.apache.hadoop.io.IntWritable;
    import org.apache.hadoop.io.LongWritable;
    import org.apache.hadoop.io.Text;
    import org.apache.hadoop.mapreduce.Mapper;

    public class SalesMapper extends Mapper<LongWritable, Text, Text, IntWritable> {
    private final static IntWritable one = new IntWritable(1);
    @Override
    protected void map(LongWritable key, Text value, Mapper<LongWritable, Text, Text, IntWritable>.Context context)
    throws IOException, InterruptedException {
    String valueString = value.toString();
    String[] SingleCountryData = valueString.split(",");
    context.write(new Text(SingleCountryData[7]), one);
    }
    }
  • 实现SalesCountryReducer
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    package com.meekou;

    import java.io.IOException;

    import org.apache.hadoop.io.IntWritable;
    import org.apache.hadoop.io.Text;
    import org.apache.hadoop.mapreduce.Reducer;

    public class SalesCountryReducer extends Reducer<Text, IntWritable, Text, IntWritable>{
    @Override
    protected void reduce(Text t_key, Iterable<IntWritable> values,
    Reducer<Text, IntWritable, Text, IntWritable>.Context context) throws IOException, InterruptedException {
    Text key = t_key;
    int frequencyForCountry = 0;
    for (IntWritable val : values) {
    frequencyForCountry += val.get();
    }
    context.write(key, new IntWritable(frequencyForCountry));
    }
    }
  • 实现主程序
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    package com.meekou;

    import java.io.IOException;

    import org.apache.hadoop.conf.Configuration;
    import org.apache.hadoop.fs.Path;
    import org.apache.hadoop.io.IntWritable;
    import org.apache.hadoop.io.Text;
    import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
    import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
    import org.apache.hadoop.mapreduce.Job;

    /**
    * Hello world!
    */
    public final class App {
    private App() {
    }

    /**
    * Says hello to the world.
    * @param args The arguments of the program.
    * @throws IOException
    * @throws IllegalArgumentException
    */
    public static void main(String[] args) throws Exception {
    System.out.println("Hello World!");
    System.setProperty("hadoop.home.dir", "C:/Users/xx/Meekou/Meekou.hadoop/hadoop-3.2.2.tar/hadoop-3.2.2");
    Configuration conf = new Configuration();
    Job job = Job.getInstance(conf, "SalePerCountry");
    job.setJarByClass(App.class);
    job.setMapperClass(SalesMapper.class);
    job.setReducerClass(SalesCountryReducer.class);
    job.setOutputKeyClass(Text.class);
    job.setOutputValueClass(IntWritable.class);
    FileInputFormat.addInputPath(job, new Path("./Java Hadoop Demo/SalesJan2009.csv"));
    FileOutputFormat.setOutputPath(job, new Path("./Java Hadoop Demo/result.txt"));
    job.waitForCompletion(true);
    }
    }
  • 运行结果part-r-00000
    1
    2
    3
    4
    5
    Argentina	1
    Australia 38
    Austria 7
    Bahrain 1
    ....

引用

源代码

Hadoop配置问题合集

Hadoop配置问题合集

修改WSL为root账号登陆并修改root密码

  • 以管理员身份打开本地电脑PowerShell
  • 输入密码配置root为wsl默认登陆
    1
    ubuntu config --default-user root
  • 打开ubuntu
  • 输入passwd
  • 输入root账号的新密码

WSL切换用户

  • 切换到hadoop用户
    1
    su another_username

ssh Permission Denied

  • 解决方案一 启用密码认证(Password Authentication)
    • 使用nano编辑器
      1
      sudo nano /etc/ssh/sshd_config
    • 在文件中,找到PasswordAuthentication行,并确保其以yes结尾
    • 找到ChallengeResponseAuthentication选项,然后通过添加no来禁用它
    • 如果注释掉了行,请删除井号#以取消注释。
      Password Authentication
    • 保存并退出
    • 重启SSH Service
      1
      sudo service ssh restart
  • 解决方案二 修改 文件系统权限
    • 因为hadoop默认操作的时候是用的是无密码登陆,同时也是为了更换的安全策略,我们使用密钥认证
    • 打开sshd_config
      1
      sudo nano /etc/ssh/sshd_config
    • 修改下面的选项
      1
      2
      PermitRootLogin no
      PubkeyAuthentication yes
    • 通过在行的开头添加井号来注释掉与GSSAPI相关的选项
      1
      2
      #GSSAPIAuthentication yes
      #GSSAPICleanupCredentials no
    • 请确保UsePAM行设置为yes
      1
      UsePAM yes
    • 重启SSH Service
      1
      sudo service ssh restart
  • 导航到文件夹根目录
  • 通过命令查看文件夹权限
    1
    ls -ld
  • 如果权限不是读写drwx------
  • 执行命令设置读写权限
    1
    chmod 0700 /home/[your-username]
  • 一般来说,执行好上面的命令基本就可以了,可以继续下面的步骤查看特定文件或文件夹的权限
  • 查看.ssh文件夹权限
    1
    2
    cd .ssh
    ls -ld
  • 查看authorized_keys文件权限
    1
    ls –ld authorized_keys

    Exception in thread “main” java.lang.RuntimeException: java.io.FileNotFoundException: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset

  • Hadoop的安装目录配置到Windows的系统环境变量
    1
    C:\Users\xx\Meekou\Meekou.hadoop\hadoop-3.2.2.tar\hadoop-3.2.2\bin
  • 在Java代码中配置hadoop路径
    1
    System.setProperty("hadoop.home.dir", "C:/Users/xx/Meekou/Meekou.hadoop/hadoop-3.2.2.tar/hadoop-3.2.2");
  • WindowsProblems

Exception in thread “main” java.lang.UnsatisfiedLinkError: ‘boolean org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(java.lang.String, int)’

  • 这是由于没有配置winutils.exe
  • winutils下载对应版本的winnutils
  • 解压winutils并将内容复制到hadoop的bin目录下
    1
    C:\Users\xx\Meekou\Meekou.hadoop\hadoop-3.2.2.tar\hadoop-3.2.2\bin
  • 如果到上一步还没有解决问题,将WinUntils.exehadoop.dll复制到C:\Windows\System32目录下

ERROR: Cannot set priority of datanode process 18018

  • Check the configuration in hdfs-site.xml, make sure the path correct and exist
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    <configuration>
    <property>
    <name>dfs.namenode.name.dir</name>
    <value>${HADOOP_HOME}data/nameNode</value>
    </property>

    <property>
    <name>dfs.datanode.data.dir</name>
    <value>${HADOOP_HOME}data/dataNode</value>
    </property>

    <property>
    <name>dfs.replication</name>
    <value>1</value>
    </property>
    </configuration>
  • 格式化namenode
    1
    hadoop namenode -format
  • Restart service by ${HADOOP_HOME}/hadoop/sbin/start-all.sh

将Excel文件转化为rds文件

.rds是R语言的数据文件,可以通过rio来实现将Excel或者其他格式的文件转化为.rds文件

支持转化的文件类型

Format Typical Extension Import Package Export Package Installed by Default
Comma-separated data .csv data.table data.table Yes
Pipe-separated data .psv data.table data.table Yes
Tab-separated data .tsv data.table data.table Yes
CSVY (CSV + YAML metadata header) .csvy data.table data.table Yes
SAS .sas7bdat haven haven Yes
SPSS .sav haven haven Yes
SPSS (compressed) .zsav haven haven Yes
Stata .dta haven haven Yes
SAS XPORT .xpt haven haven Yes
SPSS Portable .por haven Yes
Excel .xls readxl Yes
Excel .xlsx readxl openxlsx Yes
R syntax .R base base Yes
Saved R objects .RData, .rda base base Yes
Serialized R objects .rds base base Yes
Epiinfo .rec foreign Yes
Minitab .mtp foreign Yes
Systat .syd foreign Yes
“XBASE” database files .dbf foreign foreign Yes
Weka Attribute-Relation File Format .arff foreign foreign Yes
Data Interchange Format .dif utils Yes
Fortran data no recognized extension utils Yes
Fixed-width format data .fwf utils utils Yes
gzip comma-separated data .csv.gz utils utils Yes
Apache Arrow (Parquet) .parquet arrow arrow No
EViews .wf1 hexView No
Feather R/Python interchange format .feather feather feather No
Fast Storage .fst fst fst No
JSON .json jsonlite jsonlite No
Matlab .mat rmatio rmatio No
OpenDocument Spreadsheet .ods readODS readODS No
HTML Tables .html xml2 xml2 No
Shallow XML documents .xml xml2 xml2 No
YAML .yml yaml yaml No
Clipboard default is tsv clipr clipr No
Google Sheets as Comma-separated data

导入导出转化数据文件

  • 安装rio
    1
    install.packages("rio")
  • 将Excel文件转化为.
    • 安装支持的数据格式
      1
      install_formats()
    • 文件转化
      1
      convert("C:/Users/xx/Downloads/RData.xlsx","C:/Users/xx/Downloads/RData.rds")

引用

VSCode配置R语言开发环境

R是用于统计计算和图形的免费软件环境。它可以在各种UNIX平台,Windows和MacOS上编译并运行。R语言有自带的IDE,不过个人熟悉了VS Code的开发环境,这里提供一种通过VS Code为R语言配置环境。

安装R

VS Code 配置R的开发环境

  • 安装R Debugger
  • 安装R
    • 安装radian
      1
      2
      3
      4
      # install released version
      pip install -U radian
      # to run radian
      radian
  • 安装R LSP Client
  • 安装vscDebugger
    • 下载vscDebugger_0.4.6.zip
    • 通过R GUI安装vscDebugger
      1
      2
      3
      4
      5
      6
      > install.packages("C:/Users/xx/Downloads/vscDebugger_0.4.6.zip")
      Installing package into ‘C:/Users/jzhout1/Documents/R/win-library/4.1’
      (as ‘lib’ is unspecified)
      inferring 'repos = NULL' from 'pkgs'
      package ‘vscDebugger’ successfully unpacked and MD5 sums checked
      >
  • 安装languageserver
    1
    install.packages("languageserver")

示例

  • 创建文件夹,并用VS Code打开
  • 新建文件Test.r并输入以下内容
    1
    2
    3
    4
    5
    add <- function(x, y) {
    x + y
    }

    print(add(1, 2))
  • F5启动调试
    Debug View

引用

Windows 10 安装Hadoop

配置启动Windows 10 Linux子系统

  • 通过启用Windows 10 Linux子系统(WSL)安装配置WSL

    下载安装Hadoop二进制文件

  • 前往Hadoop发布页面找到需要下载版本的URL,这里下载最新的Hadoop 3.3.0
  • 运行下面的命令下载安装
    1
    wget http://mirror.intergrid.com.au/apache/hadoop/common/hadoop-3.3.0/hadoop-3.3.0.tar.gz
  • 创建hadoop文件夹保存解压后的hadoop 3.3.0
    1
    mkdir ~/hadoop
  • 解压下载的Hadoop二进制文件
    1
    tar -xvzf hadoop-3.3.0.tar.gz -C ~/hadoop
  • 进入hadoop文件夹
    1
    cd ~/hadoop/hadoop-3.3.0/

    配置passphraseless ssh

  • 检查是否可以通过sshlocalhost
    1
    ssh localhost
  • 如果遇到错误ssh: connect to host localhost port 22: Connection refused,尝试下面的命令
    1
    2
    sudo apt-get install ssh
    sudo service ssh restart
  • 如果无法无密码连接,运行下面的命令初始化私有和公有密钥
    1
    2
    3
    ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
    cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
    chmod 0600 ~/.ssh/authorized_keys

配置伪分布式模式(单节点模式)

  • 通过修改~/.bashrc配置系统环境变量
    1
    vi ~/.bashrc
  • 添加下面的环境变量
    1
    2
    3
    4
    export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64
    export HADOOP_HOME=~/hadoop/hadoop-3.3.0
    export PATH=$PATH:$HADOOP_HOME/bin
    export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop
  • 运行下面的命令更新变量
    1
    source ~/.bashrc
  • 修改etc/hadoop/hadoop-env.sh
    1
    vi etc/hadoop/hadoop-env.sh
  • 设置JAVA_HOME变量
    1
    export JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64
  • 修改etc/hadoop/core-site.xml
    1
    vi etc/hadoop/core-site.xml
  • 添加下面的配置
    1
    2
    3
    4
    5
    6
    <configuration>
    <property>
    <name>fs.defaultFS</name>
    <value>hdfs://localhost:9000</value>
    </property>
    </configuration>
  • 修改etc/hadoop/hdfs-site.xml
    1
    vi etc/hadoop/hdfs-site.xml
  • 添加配置
    1
    2
    3
    4
    5
    6
    <configuration>
    <property>
    <name>dfs.replication</name>
    <value>1</value>
    </property>
    </configuration>
  • 修改etc/hadoop/mapred-site.xml
    1
    vi etc/hadoop/mapred-site.xml
  • 添加配置
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    <configuration>
    <property>
    <name>mapreduce.framework.name</name>
    <value>yarn</value>
    </property>
    <property>
    <name>mapreduce.application.classpath</name>
    <value>$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/*:$HADOOP_MAPRED_HOME/share/hadoop/mapreduce/lib/*</value>
    </property>
    </configuration>
  • 修改etc/hadoop/yarn-site.xml
    1
    vi etc/hadoop/yarn-site.xml
  • 添加配置
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    <configuration>
    <property>
    <name>yarn.nodemanager.aux-services</name>
    <value>mapreduce_shuffle</value>
    </property>
    <property>
    <name>yarn.nodemanager.env-whitelist</name>
    <value>JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,CLASSPATH_PREPEND_DISTCACHE,HADOOP_YARN_HOME,HADOOP_MAPRED_HOME</value>
    </property>
    </configuration>

    格式化namenode

    1
    bin/hdfs namenode -format

运行DFS程序

  • 启动NameNodeDataNode
    1
    2
    3
    4
    5
    hadoop@xx:~/hadoop/hadoop-3.3.0
    $ sbin/start-dfs.sh
    Starting namenodes on [localhost]
    Starting datanodes
    Starting secondary namenodes [xx]
  • 检查状态
    1
    2
    3
    4
    5
    hadoop@xx:~/hadoop/hadoop-3.3.0$ jps
    4384 DataNode
    4198 NameNode
    4615 SecondaryNameNode
    4766 Jps
  • 查看name node
    访问地址http://localhost:9870/dfshealth.html#tab-overview
    name node

运行YARN

1
sbin/start-yarn.sh

– 检查状态

1
2
3
4
5
6
7
hadoop@xx:~/hadoop/hadoop-3.3.0$ jps
4384 DataNode
5424 Jps
4898 ResourceManager
5186 NodeManager
4198 NameNode
4615 SecondaryNameNode
  • 可以看到NodeManagerResourceManager
  • 访问YARN地址http://localhost:8088/cluster
    Yarn View

关闭服务

1
2
sbin/stop-yarn.sh
sbin/stop-dfs.sh
  • 检查状态
    1
    ~/hadoop/hadoop-3.3.0$ jps

FAQ

  • “etc/hadoop/hadoop-env.sh” E212: Can’t open file for writing
    确保导航到正确的Hadoop路径$HADOOP_HOME

启用Windows 10 Linux 子系统(WSL)

Windows Linux子系统(WSL)允许用户在Windows 10上运行Linux终端环境,安装Ubuntu归档文件中的软件包以及运行Linux应用程序和工作流。

启用Microsoft-Windows-Subsystem-Linux特性

  • 以管理员身份运行PowerShell
  • 运行Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  • 运行完成后按照提示重启电脑

从Microsoft Store安装Ubuntu

  • Microsoft Store搜索Ubuntu或者点击Ubuntu获取安装
  • 下载完成后,点击启动来运行Ubuntu
    Ubuntu Install
  • 安装过程中,设置Ubuntu的用户和密码

安装包(这里以JAVA SDK 为例)

  • 运行下面的命令更新包索引
    1
    sudo apt update
  • 安装JAVA
    1
    2
    sudo apt install default-jre
    sudo apt-get install default-jdk
  • 检查是否安装成功
    1
    java -version

文件系统

WSL对应于Windows系统文件夹的\\wsl$,可以直接从Windows 10 文件夹地址栏输入\\wsl$访问

引用

在Hexo Post中添加本地文件

在Markdown中,我们可以通过下面的代码来实现插入一个本地图片

1
![](image.jpg)

不过这种方式在预览markdown的时候可以正常显示,在将Hexo发布之后,这个路径是无效的,也就是说Hexo不支持直接使用Markdown的语法来实现展示本地链接。

这里介绍几种方式来实现Hexo Post中添加本地文件

Global Asset Folder

适用于全局的静态文件,一般指不是post相关的文件,例如image,css,javascript.

source文件夹下创建images,然后通过下面的代码来引用

1
![](/images/image.jpg)

这种方式不适用于markdown的语法,就是说,在预览markdown文件的时候,图片没有办法正常显示,这个只会在Hexo生成部署文件后,可以看到

Post Asset Folder

适用于特定Post的静态文件

  • _config.yml设置post_asset_foldertrue
    1
    2
    _config.yml
    post_asset_folder: true
  • 设置成功后,当我们通过hexo new [layout] <title>命令来创建post的时候,会自动创建一个与文件名相同的文件夹,将md所需要的静态文件都放在这个路径下即可
  • 引用文件
    1
    2
    3
    {% asset_path slug %}
    {% asset_img slug [title] %}
    {% asset_link slug [title] %}
  • 这种方式跟Global Asset Folder方式一样,有个问题就是不能在md预览模式下正常显示

预览模式下显示图片

为了让预览模式下也正常显示图片,可以使用hexo-renderer-marked

  • 安装hexo-renderer-marked
    1
    npm install hexo-renderer-marked --save
  • 修改_config.yml启用
    1
    2
    3
    4
    5
    _config.yml
    post_asset_folder: true
    marked:
    prependRoot: true
    postAsset: true
  • markdown语法
    1
    ![](./title/image.jpg)