Hello,
If you a have a VMFS volume spreads accross several disks and want to mount this volume in your rescue-customer boot you will obtain a Segmentation faults because of a bug in the vmfs6-tools available in the Debian repository:
$ vmfs6-fuse /dev/sdd1 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sde1 /dev/sdf1 /root/mnt
VMFS version: 6
Segmentation fault
Thanks to this issue, you will be able to mount this volume: https://github.com/weafon/vmfs6-tool/issues/5
**HOW-TO:**
git clone https://github.com/weafon/vmfs6-tool.git
cd vmfs6-tool
git checkout vmfs6-64-init_pb_first
./configure && make
You will find the `vmfs-fuse` binary in `./vmfs-fuse/vmfs-fuse`.
Now, you need to find the "head" of your VMFS volume. To do that, use the `head /dev/sdX1 | strings` on each partition until you find the name of your datastore.
You just found the first disk to use in the `vmfs-fuse` command (let's say `/dev/sdd1`).
Now, you need to find the correct order of the other disks.
Let's say others partitions of your volume are `/dev/sda1` and `/dev/sdb1`.
First try `vmfs6-fuse/vmfs-fuse/vmfs-fuse /dev/sdd1 /dev/sd1 /dev/sdb1 /mnt`.
Try to perform a `tree`, a `du` or a `ls` on each folder of `/mnt`. If you can see all your files you are good!
If you obtain a `Transport endpoint is not connected` it means the order of your disks is not correct. Umount your `/mnt` and try another combination.
Hope it will work for you!
Thanks to weafon for the fix of vmfs-fuse!
[How to] Mount VMFS spreads accross several extents
Related questions
- BGP Announcements
3087
07.01.2018 04:37
- Upgrading my dedicated machine
2615
01.04.2022 04:10
- So You Start ARM Storage Servers
2602
19.07.2018 10:17
- Ubuntu 18.04 on VMWare ESXi 6.5
2295
06.03.2018 15:34
- Installing xcp-ng
2221
19.03.2020 11:57
- License Windows Server on Guest
2217
11.08.2020 10:31
- How i can get windows server 2012 R2
2210
27.06.2018 05:12
- Use Cloudflare or Google DNS on a dedicated server?
2088
08.06.2018 14:30
- Software Raid Failed Drive
1969
02.02.2018 19:45
- Can I overclock OVH's dedicated game servers?
1709
17.06.2020 20:44