首页 > 其他分享 >Esxi 使用 RDM (Raw Device Mapping) 功能直接将磁盘分配给虚拟机,直通

Esxi 使用 RDM (Raw Device Mapping) 功能直接将磁盘分配给虚拟机,直通

时间:2024-12-23 12:53:02浏览次数:3  
标签:false ATA Esxi 虚拟机 23 Mapping t10 root NVMe

如果你只想直通单个硬盘,而不是整个 SATA 控制器,也可以使用 RDM (Raw Device Mapping) 功能直接将磁盘分配给虚拟机。

或者是你的控制器不支持直通,也可以用这种方法将所有的硬盘直接分配给虚拟机使用。

 

1、创建一个专门用来存储 RDM 映射文件的目录

mkdir /vmfs/volumes/datastore1/passthru_disks

2、查看本机识别到的磁盘,t10 开头或者是 naa开头(这里把分区也列出来了,结尾是冒号加数字的就是分区,此处只看磁盘不看分区)

[root@localhost:/dev/disks] ls -l /vmfs/devices/disks/
total 7575766936
-rw-------    1 root     root     2000398934016 Dec 23 03:47 t10.ATA_____ST2000DM0012D1CH164__________________________________Z1E2PVS2
-rw-------    1 root     root     2000397795328 Dec 23 03:47 t10.ATA_____ST2000DM0012D1CH164__________________________________Z1E2PVS2:1
-rw-------    1 root     root     1000204886016 Dec 23 03:47 t10.ATA_____TOSHIBA_DT01ACA100_________________________________97BD6G2MS
-rw-------    1 root     root     1000204886016 Dec 23 03:47 t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68G9BHNS
-rw-------    1 root     root     1000204886016 Dec 23 03:47 t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68GBZXNS
-rw-------    1 root     root     500107862016 Dec 23 03:47 t10.ATA_____WDC_WD5000AAKX2D75U6AA0_______________________WD2DWCC2E5EKA3KR
-rw-------    1 root     root     128035676160 Dec 23 03:47 t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF
-rw-------    1 root     root     104857600 Dec 23 03:47 t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:1
-rw-------    1 root     root     4293918720 Dec 23 03:47 t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:5
-rw-------    1 root     root     4293918720 Dec 23 03:47 t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:6
-rw-------    1 root     root     4294967296 Dec 23 03:47 t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:7
-rw-------    1 root     root     115042754048 Dec 23 03:47 t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:8
lrwxrwxrwx    1 root     root            73 Dec 23 03:47 vml.01000000002020202020202020202020205a31453250565332535432303030 -> t10.ATA_____ST2000DM0012D1CH164__________________________________Z1E2PVS2
lrwxrwxrwx    1 root     root            75 Dec 23 03:47 vml.01000000002020202020202020202020205a31453250565332535432303030:1 -> t10.ATA_____ST2000DM0012D1CH164__________________________________Z1E2PVS2:1
lrwxrwxrwx    1 root     root            72 Dec 23 03:47 vml.01000000002020202020202020202020393742443647324d53544f53484942 -> t10.ATA_____TOSHIBA_DT01ACA100_________________________________97BD6G2MS
lrwxrwxrwx    1 root     root            72 Dec 23 03:47 vml.01000000002020202020202020202020593638473942484e53544f53484942 -> t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68G9BHNS
lrwxrwxrwx    1 root     root            72 Dec 23 03:47 vml.0100000000202020202020202020202059363847425a584e53544f53484942 -> t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68GBZXNS
lrwxrwxrwx    1 root     root            74 Dec 23 03:47 vml.0100000000202020202057442d574343324535454b41334b52574443205744 -> t10.ATA_____WDC_WD5000AAKX2D75U6AA0_______________________WD2DWCC2E5EKA3KR
lrwxrwxrwx    1 root     root            68 Dec 23 03:47 vml.0100000000464646465f464646465f464646465f4646464600424337313120 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.0100000000464646465f464646465f464646465f4646464600424337313120:1 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:1
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.0100000000464646465f464646465f464646465f4646464600424337313120:5 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:5
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.0100000000464646465f464646465f464646465f4646464600424337313120:6 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:6
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.0100000000464646465f464646465f464646465f4646464600424337313120:7 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:7
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.0100000000464646465f464646465f464646465f4646464600424337313120:8 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:8
lrwxrwxrwx    1 root     root            68 Dec 23 03:47 vml.050a4893a9a48fee95b6e22209f44af93d689b6e12d283b752116b126ff67d4717 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.050a4893a9a48fee95b6e22209f44af93d689b6e12d283b752116b126ff67d4717:1 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:1
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.050a4893a9a48fee95b6e22209f44af93d689b6e12d283b752116b126ff67d4717:5 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:5
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.050a4893a9a48fee95b6e22209f44af93d689b6e12d283b752116b126ff67d4717:6 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:6
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.050a4893a9a48fee95b6e22209f44af93d689b6e12d283b752116b126ff67d4717:7 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:7
lrwxrwxrwx    1 root     root            70 Dec 23 03:47 vml.050a4893a9a48fee95b6e22209f44af93d689b6e12d283b752116b126ff67d4717:8 -> t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF:8

3、创建 RDM 映射文件(因为做的盘比较多,特意在RDM映射文件的名字中标注了盘的品牌型号和SN,方便后面维护和使用)

vmkfstools -z /vmfs/devices/disks/t10.ATA_____ST2000DM0012D1CH164__________________________________Z1E2PVS2   /vmfs/volumes/datastore1/passthru_disks/ST2000DM_Z1E2PVS2.vmdk
vmkfstools -z /vmfs/devices/disks/t10.ATA_____TOSHIBA_DT01ACA100_________________________________97BD6G2MS    /vmfs/volumes/datastore1/passthru_disks/TOSHIBA_97BD6G2MS.vmdk
vmkfstools -z /vmfs/devices/disks/t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68G9BHNS    /vmfs/volumes/datastore1/passthru_disks/TOSHIBA_Y68G9BHNS.vmdk
vmkfstools -z /vmfs/devices/disks/t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68GBZXNS    /vmfs/volumes/datastore1/passthru_disks/TOSHIBA_Y68GBZXNS.vmdk
vmkfstools -z /vmfs/devices/disks/t10.ATA_____WDC_WD5000AAKX2D75U6AA0_______________________WD2DWCC2E5EKA3KR  /vmfs/volumes/datastore1/passthru_disks/WDC_WD5000_EKA3KR.vmdk

4、在命令行查看创建好的 RDM 映射文件,一长一短两个文件,在使用的时候我们只使用短的文件名,but长文件的也不要删除哦。

[root@localhost:~] ls -l /vmfs/volumes/datastore1/passthru_disks
total 0
-rw-------    1 root     root     2000398934016 Dec 23 03:48 ST2000DM_Z1E2PVS2-rdmp.vmdk
-rw-------    1 root     root               487 Dec 23 03:48 ST2000DM_Z1E2PVS2.vmdk
-rw-------    1 root     root     1000204886016 Dec 23 03:49 TOSHIBA_97BD6G2MS-rdmp.vmdk
-rw-------    1 root     root               487 Dec 23 03:49 TOSHIBA_97BD6G2MS.vmdk
-rw-------    1 root     root     1000204886016 Dec 23 03:49 TOSHIBA_Y68G9BHNS-rdmp.vmdk
-rw-------    1 root     root               487 Dec 23 03:49 TOSHIBA_Y68G9BHNS.vmdk
-rw-------    1 root     root     1000204886016 Dec 23 03:49 TOSHIBA_Y68GBZXNS-rdmp.vmdk
-rw-------    1 root     root               487 Dec 23 03:49 TOSHIBA_Y68GBZXNS.vmdk
-rw-------    1 root     root      500107862016 Dec 23 03:49 WDC_WD5000_EKA3KR-rdmp.vmdk
-rw-------    1 root     root               485 Dec 23 03:49 WDC_WD5000_EKA3KR.vmdk

补充:在查询磁盘信息的时候,还可以使用命令  esxcli storage core device list

[root@localhost:/dev/disks] esxcli storage core device list
t10.ATA_____ST2000DM0012D1CH164__________________________________Z1E2PVS2
   Display Name: Local ATA Disk (t10.ATA_____ST2000DM0012D1CH164__________________________________Z1E2PVS2)
   Has Settable Display Name: true
   Size: 1907729
   Device Type: Direct-Access
   Multipath Plugin: HPP
   Devfs Path: /vmfs/devices/disks/t10.ATA_____ST2000DM0012D1CH164__________________________________Z1E2PVS2
   Vendor: ATA
   Model: ST2000DM001-1CH1
   Revision: CC24
   SCSI Level: 5
   Is Pseudo: false
   Status: on
   Is RDM Capable: false
   Is Local: true
   Is Removable: false
   Is SSD: false
   Is VVOL PE: false
   Is Offline: false
   Is Perennially Reserved: false
   Queue Full Sample Size: 0
   Queue Full Threshold: 0
   Thin Provisioning Status: unknown
   Attached Filters:
   VAAI Status: unsupported
   Other UIDs: vml.01000000002020202020202020202020205a31453250565332535432303030
   Is Shared Clusterwide: false
   Is SAS: false
   Is USB: false
   Is Boot Device: false
   Device Max Queue Depth: 31
   No of outstanding IOs with competing worlds: 31
   Drive Type: unknown
   RAID Level: unknown
   Number of Physical Drives: unknown
   Protection Enabled: false
   PI Activated: false
   PI Type: 0
   PI Protection Mask: NO PROTECTION
   Supported Guard Types: NO GUARD SUPPORT
   DIX Enabled: false
   DIX Guard Type: NO GUARD SUPPORT
   Emulated DIX/DIF Enabled: false

t10.ATA_____TOSHIBA_DT01ACA100_________________________________97BD6G2MS
   Display Name: Local ATA Disk (t10.ATA_____TOSHIBA_DT01ACA100_________________________________97BD6G2MS)
   Has Settable Display Name: true
   Size: 953869
   Device Type: Direct-Access
   Multipath Plugin: HPP
   Devfs Path: /vmfs/devices/disks/t10.ATA_____TOSHIBA_DT01ACA100_________________________________97BD6G2MS
   Vendor: ATA
   Model: TOSHIBA DT01ACA1
   Revision: A810
   SCSI Level: 5
   Is Pseudo: false
   Status: on
   Is RDM Capable: false
   Is Local: true
   Is Removable: false
   Is SSD: false
   Is VVOL PE: false
   Is Offline: false
   Is Perennially Reserved: false
   Queue Full Sample Size: 0
   Queue Full Threshold: 0
   Thin Provisioning Status: unknown
   Attached Filters:
   VAAI Status: unsupported
   Other UIDs: vml.01000000002020202020202020202020393742443647324d53544f53484942
   Is Shared Clusterwide: false
   Is SAS: false
   Is USB: false
   Is Boot Device: false
   Device Max Queue Depth: 31
   No of outstanding IOs with competing worlds: 31
   Drive Type: unknown
   RAID Level: unknown
   Number of Physical Drives: unknown
   Protection Enabled: false
   PI Activated: false
   PI Type: 0
   PI Protection Mask: NO PROTECTION
   Supported Guard Types: NO GUARD SUPPORT
   DIX Enabled: false
   DIX Guard Type: NO GUARD SUPPORT
   Emulated DIX/DIF Enabled: false

t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68GBZXNS
   Display Name: Local ATA Disk (t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68GBZXNS)
   Has Settable Display Name: true
   Size: 953869
   Device Type: Direct-Access
   Multipath Plugin: HPP
   Devfs Path: /vmfs/devices/disks/t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68GBZXNS
   Vendor: ATA
   Model: TOSHIBA DT01ACA1
   Revision: A800
   SCSI Level: 5
   Is Pseudo: false
   Status: on
   Is RDM Capable: false
   Is Local: true
   Is Removable: false
   Is SSD: false
   Is VVOL PE: false
   Is Offline: false
   Is Perennially Reserved: false
   Queue Full Sample Size: 0
   Queue Full Threshold: 0
   Thin Provisioning Status: unknown
   Attached Filters:
   VAAI Status: unsupported
   Other UIDs: vml.0100000000202020202020202020202059363847425a584e53544f53484942
   Is Shared Clusterwide: false
   Is SAS: false
   Is USB: false
   Is Boot Device: false
   Device Max Queue Depth: 31
   No of outstanding IOs with competing worlds: 31
   Drive Type: unknown
   RAID Level: unknown
   Number of Physical Drives: unknown
   Protection Enabled: false
   PI Activated: false
   PI Type: 0
   PI Protection Mask: NO PROTECTION
   Supported Guard Types: NO GUARD SUPPORT
   DIX Enabled: false
   DIX Guard Type: NO GUARD SUPPORT
   Emulated DIX/DIF Enabled: false

t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68G9BHNS
   Display Name: Local ATA Disk (t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68G9BHNS)
   Has Settable Display Name: true
   Size: 953869
   Device Type: Direct-Access
   Multipath Plugin: HPP
   Devfs Path: /vmfs/devices/disks/t10.ATA_____TOSHIBA_DT01ACA100_________________________________Y68G9BHNS
   Vendor: ATA
   Model: TOSHIBA DT01ACA1
   Revision: A800
   SCSI Level: 5
   Is Pseudo: false
   Status: on
   Is RDM Capable: false
   Is Local: true
   Is Removable: false
   Is SSD: false
   Is VVOL PE: false
   Is Offline: false
   Is Perennially Reserved: false
   Queue Full Sample Size: 0
   Queue Full Threshold: 0
   Thin Provisioning Status: unknown
   Attached Filters:
   VAAI Status: unsupported
   Other UIDs: vml.01000000002020202020202020202020593638473942484e53544f53484942
   Is Shared Clusterwide: false
   Is SAS: false
   Is USB: false
   Is Boot Device: false
   Device Max Queue Depth: 31
   No of outstanding IOs with competing worlds: 31
   Drive Type: unknown
   RAID Level: unknown
   Number of Physical Drives: unknown
   Protection Enabled: false
   PI Activated: false
   PI Type: 0
   PI Protection Mask: NO PROTECTION
   Supported Guard Types: NO GUARD SUPPORT
   DIX Enabled: false
   DIX Guard Type: NO GUARD SUPPORT
   Emulated DIX/DIF Enabled: false

t10.ATA_____WDC_WD5000AAKX2D75U6AA0_______________________WD2DWCC2E5EKA3KR
   Display Name: Local ATA Disk (t10.ATA_____WDC_WD5000AAKX2D75U6AA0_______________________WD2DWCC2E5EKA3KR)
   Has Settable Display Name: true
   Size: 476940
   Device Type: Direct-Access
   Multipath Plugin: HPP
   Devfs Path: /vmfs/devices/disks/t10.ATA_____WDC_WD5000AAKX2D75U6AA0_______________________WD2DWCC2E5EKA3KR
   Vendor: ATA
   Model: WDC WD5000AAKX-7
   Revision: 1H20
   SCSI Level: 5
   Is Pseudo: false
   Status: on
   Is RDM Capable: false
   Is Local: true
   Is Removable: false
   Is SSD: false
   Is VVOL PE: false
   Is Offline: false
   Is Perennially Reserved: false
   Queue Full Sample Size: 0
   Queue Full Threshold: 0
   Thin Provisioning Status: unknown
   Attached Filters:
   VAAI Status: unsupported
   Other UIDs: vml.0100000000202020202057442d574343324535454b41334b52574443205744
   Is Shared Clusterwide: false
   Is SAS: false
   Is USB: false
   Is Boot Device: false
   Device Max Queue Depth: 31
   No of outstanding IOs with competing worlds: 31
   Drive Type: unknown
   RAID Level: unknown
   Number of Physical Drives: unknown
   Protection Enabled: false
   PI Activated: false
   PI Type: 0
   PI Protection Mask: NO PROTECTION
   Supported Guard Types: NO GUARD SUPPORT
   DIX Enabled: false
   DIX Guard Type: NO GUARD SUPPORT
   Emulated DIX/DIF Enabled: false

t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF
   Display Name: Local NVMe Disk (t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF)
   Has Settable Display Name: true
   Size: 122104
   Device Type: Direct-Access
   Multipath Plugin: HPP
   Devfs Path: /vmfs/devices/disks/t10.NVMe____BC711_NVMe_SK_hynix_128GB_______________FFFFFFFFFFFFFFFF
   Vendor: NVMe
   Model: BC711 NVMe SK hy
   Revision: 4100
   SCSI Level: 6
   Is Pseudo: false
   Status: on
   Is RDM Capable: false
   Is Local: true
   Is Removable: false
   Is SSD: true
   Is VVOL PE: false
   Is Offline: false
   Is Perennially Reserved: false
   Queue Full Sample Size: 0
   Queue Full Threshold: 0
   Thin Provisioning Status: yes
   Attached Filters:
   VAAI Status: unsupported
   Other UIDs: vml.050a4893a9a48fee95b6e22209f44af93d689b6e12d283b752116b126ff67d4717
   Is Shared Clusterwide: false
   Is SAS: false
   Is USB: false
   Is Boot Device: true
   Device Max Queue Depth: 1023
   No of outstanding IOs with competing worlds: 32
   Drive Type: unknown
   RAID Level: unknown
   Number of Physical Drives: unknown
   Protection Enabled: false
   PI Activated: false
   PI Type: 0
   PI Protection Mask: NO PROTECTION
   Supported Guard Types: NO GUARD SUPPORT
   DIX Enabled: false
   DIX Guard Type: NO GUARD SUPPORT
   Emulated DIX/DIF Enabled: false

 

标签:false,ATA,Esxi,虚拟机,23,Mapping,t10,root,NVMe
From: https://www.cnblogs.com/www1707/p/18623728

相关文章

  • VM虚拟机安装CentOS操作系统超详细教程(包含配置网卡、使用Xshell远程连接工具)
    1.创建新的虚拟机 2.选择典型配置3.稍后安装操作系统 4.选择Linux、版本为CentOS764位 5.自定义名称和路径 6.设置磁盘大小和选择拆分成多个文件。7.自定义硬件,设置内存大小8.设置处理器的数量9.使用iso镜像文件10.选择NAT模式11.开启建好的虚拟机12.回车......
  • dvwa靶场学习—1、VMware16虚拟机安装win10系统
    参考:https://blog.csdn.net/u013097500/article/details/130922242?ops_request_misc=%257B%2522request%255Fid%2522%253A%25229f57538a8985bd22b94ddc3c4206a75e%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=9f57538a8985bd22b94ddc3c4......
  • 在虚拟机里执行protoc报非法指令( Illegal instruction)
    问题在x86虚拟机里编译perfetto的时候遇到执行protoc报非法指令,但是在host上编译的时候并没有这样的问题原因虽然虚拟机和宿主机都是同一个指令集架构,但是CPU在一些特殊指令上的支持还是有区别的,如果Host可以,但是虚拟机上不行,可能就是虚拟机CPU不支持某些特性,导致当执行到这些......
  • 你有自己安装过虚拟机吗?主要是用来做什么?
    是的,我曾经安装过虚拟机,主要是用于前端开发。安装虚拟机的原因主要有以下几点:环境隔离:通过虚拟机,我可以创建一个与宿主机完全隔离的环境。这对于前端开发来说非常有用,因为我可以在这个隔离的环境中安装和配置特定的开发工具、库和框架,而不会影响到宿主机的系统环境。测试兼......
  • 虚拟机转换工具(VM转换工具)用于将虚拟机的格式从一种类型转换为另一种类型,或者将物理机
    下面是StarWindV2VConverter、QEMU、VMwarevCenterConverter、MicrosoftVirtualMachineConverter和CloudEndureMigration的对比表格,展示了它们在主要功能、支持的平台、转换类型等方面的区别。工具支持的转换类型支持的平台支持的虚拟化平台是否支持物理机到......
  • VMware.ESXi 8.0U3 Dell服务器镜像驱动注入
    最近在做esxi镜像时遇到的一些问题一、VMware.PowerCLI的安装问题在线安装速度实在太慢了,用了小蓝毛还是很慢,强烈建议使用离线安装模式1.下载离线安装包 VMwarePowerCLI12.7.02.将文件解压到ps模块目录下 C:\Windows\System32\WindowsPowerShell\v1.0\Modules3.打开Po......
  • 虚拟机下centos7系统实现修改ip地址为固定ip
    修改虚拟机配置目的如果不修改虚拟机配置,会出现设置了静态IP和相关参数之后,本地局域网可以互相访问,但是CentOS系统访问不了互联网。步骤一:以管理员身份打开虚拟机步骤二:打开虚拟网络编辑器左上角菜单栏找到“编辑”选项并单击,在下拉子菜单中单击选项“虚拟网络编辑器”。步......
  • 利用Oracle VM VirtualBox安装Centos7虚拟机,及后续设置
    #OracleVMVirtualBox网站下载地址:直接按照最新的安装即可https://www.oracle.com/virtualization/virtualbox/安装Centos7虚拟机镜像资源1,准备一个CentOS-7-x86_64-Minimal-2009.iso镜像文件,这是我们公司服务器用的一个版本,所以我从网上下载了一个一样的版本,就用这个为例......
  • 真·保姆级——在VMware的Ubuntukylin上进行Hadoop单机_伪分布式安装时安装VMware_Too
    目录一、前言二、版本信息三、hadoop用户创建1.创建hadoop用户2.在创建hadoop用户后对系统进行重启四、解决办法4.1更改默认登陆用户4.2安装VMwareTools4.3验证VMwareTools是否安装成功4.4KO!!!4.4.1卸载安装的VmwareTools4.4.2安装VMwareTools所需的组件五、可能遇见的问......
  • Ubuntu 使用 KVM 安装 windows11 虚拟机
    1、Ubuntu安装相关组件sudoapt-getupdatesudoapt-yinstalllibvirt-devsudoapt-yinstalllibvirt-daemon-systemsudoapt-yinstalllibvirt-clientssudoapt-yinstallvirtinstsudoapt-yinstallvirt-managersudoapt-yinstallqemu-kvmsudoapt-yi......