Home Linux & Systems Cybersecurity Cloud & DevOps Networks & Infrastructure SIEM & Monitoring DFIR & Threat Intel Development & Other All categories Projects About Tools

Add a new disk to a group in VxVM (Veritas Volume Manager)

Leer en espanol
Add a new disk to a group in VxVM (Veritas Volume Manager)

Table of contents

A Veritas software product installed on storage clients that enables management of physical disks as logical devices. Volume M ===

What is VxVM?  (Definition of symantec)

A Veritas software product installed on storage clients that enables management of physical disks as logical devices. Volume Manager improves data storage management by controlling space allocation, performance, data availability, device installation, and monitoring of private and shared systems.

We list the discs:

text
/etc/vx/bin/vxlist disk

TY   DEVICE         DISK               DISKGROUP              SIZE       FREE      STATUS

disk aluadisk0_0    dgBINRP2Disk0      dgAPP1                20g         5g        imported

disk aluadisk0_1    dgBINRP2Disk1      dgAPP2                10g         2g        imported

disk aluadisk0_2    –                  –                         –        –        notsetup

As we can see we have a disk, with the name aluadisk0_2 which is not initialized. We initialize the disk:

text
/etc/vx/bin/vxdisksetup -i aluadisk0_2

We list the disks again and check that the disk is already online and has a cdsdisk format

text
/etc/vx/bin/vxlist disk | grep aluadisk0_2
aluadisk0_2 auto:cdsdisk   –            –           online               sddp             –

We add the initialized disk to the corresponding group

text
vxdg -g dgAPP2 adddisk dgBINRP2Disk2=aluadisk0_2

If we list the disks again we can see that it is already added

text
/etc/vx/bin/vxlist disk

TY   DEVICE         DISK               DISKGROUP              SIZE       FREE      STATUS

disk aluadisk0_0    dgBINRP2Disk0      dgAPP1                20g         5g        imported

disk aluadisk0_1    dgBINRP2Disk1      dgAPP2                10g         2g        imported

disk aluadisk0_2    dgBINRP2Disk2      dgAPP2                20g         20g       imported

Once the disk has been added to the corresponding group, all that remains is to expand the LVM volume.

All the best.

Comments