[Info-vax] Disk size in the virtual world
Volker Halle
volker_halle at hotmail.com
Sat Feb 24 01:06:59 EST 2024
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.
>
> Arne
>
>
Arne,
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:
Volker.
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
More information about the Info-vax
mailing list