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
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
=?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> wrote:
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.
It is very relevant to physical disks. You install a new bigger disk, and you copy the fileystem over and expand it once it's copied over. This is much, much faster than doing a file-by-file copy.
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.
I wonder when this was added to VMS.
On 2/24/2024 8:24 AM, Scott Dorsey wrote:
=?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> wrote:
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.
It is very relevant to physical disks. You install a new bigger disk, and >> you copy the fileystem over and expand it once it's copied over. This is
much, much faster than doing a file-by-file copy.
"copy filesystem" is that BACKUP/PHYS or?
On 24/02/2024 14:27, Volker Halle wrote:
Am 24.02.2024 um 13:57 schrieb Arne Vajhøj:
I wonder when this was added to VMS.
Dynamic volume expansion (DVE) feature introduced in OpenVMS Alpha
Version 7.3–2
Can this be used on a system disc on KVM/QEMU?
Presumably after expanding the filesystem, I would need to from the
install image, go to DCL to then do the extension
Am 24.02.2024 um 13:57 schrieb Arne Vajhøj:
I wonder when this was added to VMS.
Dynamic volume expansion (DVE) feature introduced in OpenVMS Alpha
Version 7.3–2
Volker.
On 2/25/2024 9:20 AM, Chris Townley wrote:
On 24/02/2024 14:27, Volker Halle wrote:
Am 24.02.2024 um 13:57 schrieb Arne Vajhøj:
I wonder when this was added to VMS.
Dynamic volume expansion (DVE) feature introduced in OpenVMS Alpha
Version 7.3–2
Can this be used on a system disc on KVM/QEMU?
Presumably after expanding the filesystem, I would need to from the
install image, go to DCL to then do the extension
I did it on the system disk after booting from it.
The PC did not explode.
Arne
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 462 |
Nodes: | 16 (2 / 14) |
Uptime: | 96:29:23 |
Calls: | 9,375 |
Files: | 13,552 |
Messages: | 6,090,406 |