If it should become necessary to expand the storage space for /data, the following set of instructions should help you to perform that change with minimal NMIS downtime.
...
should show that /data is now larger than before.
Resizing from disk1
Add a x(g,m,k) new partition type 8E (Linux LVM)
Code Block |
---|
|
cfdisk /dev/sda
reboot
pvcreate /dev/sda3 |
Extend the vg_nmis64_data with the new partition
Code Block |
---|
|
vgextend vg_nmis64_data /dev/sda3 |
The Logical Volume needs to be extended.
Code Block |
---|
|
lvextend -L+x(g,m,k) /dev/vg_nmis64_data/lv_data
where
x(g,m,k) is the assigned size in the disk 1 -L+200G as example |
Now we extend the filesystem this can take a while depends of the size assigned.
Code Block |
---|
|
resize2fs /dev/vg_nmis64_data/lv_data |
Verify the new size.