1
0
Files
Command_Line_Cheat_Sheet/DPX.md
2024-01-16 12:39:35 +01:00

811 B

DPX / vStor Tips

Expand vStor Pool

When the disk for the vStor pool is expanded on VMWARE or storage backend, the ZFS pool still needs to be informed of that change.

First get the device name in your pool

zpool status <pool name>

[root@vstor-4-9-2_rep admin]# zpool status vpool1
  pool: vpool1
 state: ONLINE
config:

        NAME                                      STATE     READ WRITE CKSUM
        vpool1                                    ONLINE       0     0     0
          scsi-36000c2958c1c3aa7c2b11d461c47ee37  ONLINE       0     0     0

errors: No known data errors

Expand the pool to use all available space

zpool online -e vpool1 scsi-36000c2958c1c3aa7c2b11d461c47ee37

where scsi-36000c2958c1c3aa7c2b11d461c47ee37 is the name of the device which expands the pool