1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

OpenVMS virtualization: OpenVMS on VirtualBox, VMWare, Hyper-V, KVM, and more.

Topic author
mgdaniel
Valued Contributor
Posts: 62
Joined: Mon Feb 28, 2022 5:16 pm
Reputation: 0
Location: Adelaide, South Australia
Status: Offline
Contact:

1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by mgdaniel » Mon Jan 29, 2024 10:33 am

An interesting question on behalf...

https://docs.vmssoftware.com/vsi-openvm ... ase-notes/

> With regard to the release notes, do you understand this restriction?
>
> 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes on
> Any Architecture
>
> I understand "Thin provisoning" to be that when an OpenVMS tries to
> define a disk with a certain size, that the virtualizing platform does
> not initially reserve all the space defined, but only for the blocks
> that are occupied. When the space grows the virtualization SW will map
> more physical storage.
>
> With "thick provisioning" all the physical space is pre-allocated,
> whether an Operating System uses it or not.
>
> What does an Operating System have to do to be able to support "Thin
> provisioning"?
>
> Does a virtualizing environment VMware/KVM not act like an intelligent
> storage solution?
> ie. it is all transparent for the Operating System?

User avatar

imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

Re: 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by imiller » Mon Jan 29, 2024 12:12 pm

I've expecting that statement and was wondering when it would appear.

I've found that thin provisioned virtual volumes provided by 3PAR work with OpenVMS V8.4-2L1 i64 however the performance can be worse than with full provisioned. I've mostly converted the virtual volumes to full provisioning and this gives me a push to finish that. I've not seen any loss or corruption of data.

I've not tried thin provisioned volumes on OpenVMS x86 V9.x.
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].

User avatar

arne_v
Master
Posts: 347
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

Re: 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by arne_v » Mon Jan 29, 2024 3:57 pm

I am not a HW person, but I would expect a write where the VM software has to allocate new space before completing the write to be many times slower than a normal write, and maybe there could be a timeout issue.
Arne
arne@vajhoej.dk
VMS user since 1986

User avatar

imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

Re: 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by imiller » Tue Jan 30, 2024 5:15 am

I'm intrigued why VSI don't support thin provisioned volumes but HPE did.
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].


mjvms27
Contributor
Posts: 23
Joined: Wed May 17, 2023 2:11 pm
Reputation: 0
Status: Offline

Re: 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by mjvms27 » Tue Jan 30, 2024 12:55 pm

imiller wrote:
Tue Jan 30, 2024 5:15 am
I'm intrigued why VSI don't support thin provisioned volumes but HPE did.
Only VSI knows for sure, but the decision could simply be financially motivated:
Support costs associated with not supporting a feature/capability: near zero
Support costs associated with supporting a feature/capability: non-zero

You have to make the latter work, test it, listen to customer complaints, answer support questions, improve it, document it.
For the former, you just have to add a paragraph to the release notes.

Every company, VSI included, has to prioritize where they want to invest resources.


pjacobi
VSI Expert
Contributor
Posts: 21
Joined: Wed Jun 28, 2023 11:46 am
Reputation: 0
Status: Offline

Re: 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by pjacobi » Tue Jan 30, 2024 5:15 pm

To support Thin Provisioning, the device driver and the OS needs to support the TRIM (ATA) or UNMAP (SCSI) commands. Theses commands release unused LBNs back to the storage device when a file is deleted. It could be done but involves changes to the driver and the file system, etc.

Paul A. Jacobi
VMS Software.


Topic author
mgdaniel
Valued Contributor
Posts: 62
Joined: Mon Feb 28, 2022 5:16 pm
Reputation: 0
Location: Adelaide, South Australia
Status: Offline
Contact:

Re: 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by mgdaniel » Wed Jan 31, 2024 5:07 am

pjacobi wrote:
Tue Jan 30, 2024 5:15 pm
To support Thin Provisioning, the device driver and the OS needs to support the TRIM (ATA) or UNMAP (SCSI) commands. Theses commands release unused LBNs back to the storage device when a file is deleted. It could be done but involves changes to the driver and the file system, etc.

Paul A. Jacobi
VMS Software.
Thank you Paul. Authoritative is always preferable.


blackcat
Newbie
Posts: 4
Joined: Mon Aug 09, 2021 8:29 am
Reputation: 0
Status: Offline

Re: 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by blackcat » Wed Jan 31, 2024 5:27 am

Still not clear to me how that explains "loss or corruption of data on the device" in the release notes.

The lack of this support also affects "Thick provisioned" devices with the effect that possible freed blocks are not released(?).

Or am I missing something?

User avatar

imiller
Master
Posts: 147
Joined: Fri Jun 28, 2019 8:45 am
Reputation: 0
Location: South Tyneside, UK
Status: Offline
Contact:

Re: 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by imiller » Wed Jan 31, 2024 11:25 am

VSI OpenVMS does not support thin-provisioned volumes on any architecture.
That appears to include OpenVMS V8.4-2L1 on I64 but I don't recall a similar statement in the release notes for that version.
Ian Miller
[ personal opinion only. usual disclaimers apply. Do not taunt happy fun ball ].


roberbrooks
VSI Expert
Contributor
Posts: 20
Joined: Thu Jun 20, 2019 11:48 am
Reputation: 0
Status: Offline

Re: 1.1.1. VSI OpenVMS Does Not Support Thin-Provisioned Volumes

Post by roberbrooks » Wed Jan 31, 2024 11:17 pm

HPE implemented the trimming part of thin provisioning in response to a customer request; that support appeared in a patch to HPE VMS V8.4.

The implementation was not good; the performance was so bad the customer never actually used the feature.

I took a look at the work HPE did, and decided we (VSI) should not accept that change in the VSI sources.

It was a pretty large change, in that it touched not only the SCSI class driver DKDRIVER, but also the code that implements MOUNT, INIT, DELETE, several SHOW commands, $GETDVI, the STARLET and LIB libraries, and a few other places that I cannot remember off the top of my head.

-- Rob

Post Reply