[Info-vax] Disk size in the virtual world
Arne Vajhøj
arne at vajhoej.dk
Sat Feb 24 07:57:15 EST 2024
On 2/24/2024 1:06 AM, Volker Halle wrote:
> Am 24.02.2024 um 04:19 schrieb Arne Vajhøj:
>> So I tried to increase the size of a virtual disk
>> from 20 GB to 30 GB.
>>
>> And I ended up with:
>>
>> Total blocks 62914560
>> Logical Volume Size 41943040
>>
>> Which is really rather logical. The file system
>> was created for 20 GB. But obviously not what I want.
>>
>> I assume that backup + init + restore will fix it,
>> but are there any easier way of doing it?
>>
>> ODS-5 on VMS 9.2-2 on VMWare Player if it matters.
> after the appropriate preparation, an OpenVMS volume can be extended
> dynamically (it's called DVE = Dynamic Volume Expansion).
>
> First check the volume expansion limit with
>
> $ SHOW DEV/FUL DKAx:
> ...
> Logical Volume Size nnn Expansion Size Limit nnn
>
> If your desired new volume size is less than the Expansion Size Limit,
> you can simply extend the disk online with:
>
> $ SET VOLUME/SIZE DKAx:
>
> If the current Expansion Size Limit is too small, you need to increase
> it. This can ONLY be done while the disk is mounted privately:
>
> $ SET VOLUME/LIMIT DKAx:
>
> You can then re-mount the disk system-wide and actually extend it with
> SET VOLUME/SIZE DKAx:
> PS: copied from my answer in ITRC back from 2006 ;-)
> https://community.hpe.com/t5/operating-system-openvms/expanding-extending-eva-volume-on-openvms/td-p/3823829
Worked perfectly. Thanks.
I wonder when this was added to VMS.
It is not relevant for physical disks. But it must have
turned relevant when SAN's were introduced.
Arne
More information about the Info-vax
mailing list