Смонтируйте один vmdk на несколько физических компьютеров (НЕ ВМ)

721
Maylo

Можно ли как-нибудь подключить один .vmdkфайл к нескольким физическим компьютерам в качестве накопителя?

Я пытался, но кажется, что .vmdkблокирует после монтирования его на один компьютер, чтобы он не был подключен к другим. Есть ли способ обойти это?

Я пытаюсь установить игру, которая устанавливает службу Windows, чтобы иметь возможность работать. У меня есть 50 компьютеров, которые должны запускать эту игру одновременно. Я попытался установить игру в свое сетевое хранилище, но служба не запустилась, потому что она требует локальной установки.

У меня есть серверный компьютер с процессором Intel i5, 8 ГБ оперативной памяти и 4x1 ТБ дисков RAID 10.

0

3 ответа на вопрос

1
Tero Kilkanen

That is not possible. A .vmdk or any disk image cannot be shareable unless it is a read-only media. I don't know if there is a read-only mount mode for .vmdk available anyway.

The reason for this is that if it were shared and any computer would write on it, other computers would have no idea that a write had occurred, and the computers' view on hard disk contents would be different, causing the contents to be corrupt.

1
Daniel B

It is theoretically possible, there are filesystems that support concurrent access to the underlying block device. NTFS isn't one of them, naturally.

Your problem lies elsewhere, though: Even if you were to install this program to a (non-OS) hard drive and copy the contents to all PCs, they wouldn't have the service installed.

If you need a network drive that looks local, use iSCSI. It's vastly superior in performance than mounting a filesystem that is on a virtual disk that is on a network filesystem that is backed by a remote filesystem... ;)

0
jkovba

Just a creative suggestion here, but since you're using a "server PC" (I'm assuming it's Windows), you might want to try converting the VMDK into a VHD. VHD is a Microsoft virtual disk format. Here is a nice tutorial and free product that allows you to convert between VMDK and VHD. Once you have it in VHD format I'd be curious to see whether or not you're able to mount it to multiple physical computers. Sorry I don't know for sure, but I thought it might be worth suggesting. Good luck!

Похожие вопросы