挂载ESXi服务器VMFS存储卷

1. ssh 到 esxi主机

[root@localhost:~] partedUtil getptbl /vmfs/devices/disks/naa.600508b1001c5554a078ae4ac28b90ee
gpt
291837 255 63 4688365232
1 64 8191 C12A7328F81F11D2BA4B00A0C93EC93B systemPartition 128
5 8224 520191 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
6 520224 1032191 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
7 1032224 1257471 9D27538040AD11DBBF97000C2911D1B8 vmkDiagnostic 0
8 1257504 1843199 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
9 1843200 7086079 9D27538040AD11DBBF97000C2911D1B8 vmkDiagnostic 0
2 7086080 15472639 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 0
3 15472640 4688365198 AA31E02A400F11DB9590000C2911D1B8 vmfs 0

[root@localhost:~] vmkfstools -V

[root@localhost:~] esxcfg-volume -l
Scanning for VMFS-6 host activity (4096 bytes/HB, 1024 HBs).
VMFS UUID/label: 5dee105a-f101f5ba-5e6a-08f1eaf7169e/datastore1
Can mount: Yes
Can resignature: Yes
Extent name: naa.600508b1001c5554a078ae4ac28b90ee:3 range: 0 - 2281471 (MB)

2. 复制上面的UUID

[root@localhost:~] esxcfg-volume -m 5dee105a-f101f5ba-5e6a-08f1eaf7169e
Mounting volume 5dee105a-f101f5ba-5e6a-08f1eaf7169e

3. 查看vmfs volume

[root@localhost:~] ls /vmfs/volumes/
0d0fe876-924f8763-54e1-a687ebd0da6e  5dee105a-f101f5ba-5e6a-08f1eaf7169e
1b75b47b-9e0318d1-4c16-2cbda2aec562  5dee105b-14d9fe02-5a78-08f1eaf7169e
5dee1054-c3744952-81ad-08f1eaf7169e  datastore1
点赞

发表评论

电子邮件地址不会被公开。必填项已用 * 标注