• Disk size in the virtual world

    From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to All on Fri Feb 23 22:19:37 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Volker Halle@21:1/5 to All on Sat Feb 24 07:06:59 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Volker Halle on Sat Feb 24 07:57:15 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Scott Dorsey on Sat Feb 24 08:30:22 2024
    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?

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Scott Dorsey@21:1/5 to arne@vajhoej.dk on Sat Feb 24 13:24:23 2024
    =?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.
    --scott
    --
    "C'est un Nagra. C'est suisse, et tres, tres precis."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Volker Halle@21:1/5 to All on Sat Feb 24 15:27:33 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Scott Dorsey@21:1/5 to arne@vajhoej.dk on Sat Feb 24 16:17:53 2024
    =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> wrote:
    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?

    Yes, or a DD equivalent. Or using Clonezilla (which doesn't know anything about the VMS filesystem so will just do a dd).
    --scott
    --
    "C'est un Nagra. C'est suisse, et tres, tres precis."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Chris Townley on Sun Feb 25 10:00:06 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Townley@21:1/5 to Volker Halle on Sun Feb 25 14:20:58 2024
    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

    Volker.


    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


    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Townley@21:1/5 to All on Sun Feb 25 19:28:59 2024
    On 25/02/2024 15:00, Arne Vajhøj wrote:
    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


    That all worked nicely - thanks

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)