hi,
Increasing the volume size is simple, but increasing the lun size is a bit more complicated
If the aggregate space is sufficient, use the following command to increase the volume size,
for example, increase the volume size vol4 to 500g
volume modify -vserver vs0 -volume vol4 -size 500g
If the lun size is close to the volume l size, increasing the lun size requires first increasing the volume size and then increasing the lun size.
If the volume size is much larger than the lun size, you can directly increase the lun size.
Generally, the lun size is close to the volume size
For details on how to increase the lun size, see the following
https://docs.netapp.com/us-en/ontap/san-admin/resize-lun-task.html