File System - Increase

Hi

I have a server where I would like to increase my “/software” file system

There is free space on device “/dev/sdb”, but when I try to resize the file system in yast, I don’t have the option to extend it.

Please advise.

Image links (not sure if they are displaying):
https://ibb.co/5kX0Kcr
https://ibb.co/mR1njRr

[QUOTE=wlourens;56562]Hi

I have a server where I would like to increase my “/software” file system

There is free space on device “/dev/sdb”, but when I try to resize the file system in yast, I don’t have the option to extend it.

Please advise.

Image links (not sure if they are displaying):
https://ibb.co/5kX0Kcr
https://ibb.co/mR1njRr[/QUOTE]
Hi
Not sure if xfs_grow will get past /dev/sdb9…

You might need to use the command line tools rather than YaST, suggest you get the info about the mount first;

xfs_growfs -n /software
xfs_growfs -D <your_size> /software

You can not grow a partition, if there already is another partition right after it’s last cylinder. Partitions must not contain holes, so you can’t grow “around” a following partition…
In your case you’d have to backup the content of sdb9, delete it, grow sdb8 and create sdb9 again, format it and restore the content.
Then re-install bootloader

Hi *,

You can not grow a partition, if there already is another partition right after it’s last cylinder.

the beauty of LVM… you can grow logical volumes (the equivalent to “partitions”) as long as you have free extends in the volume group. And if not, you just add another physical volume (i. e. a disk partition). If you need to move to a new disk - just add it and tell LVM to move the extends from old to new physical volume(s) - live, no service interruption.

Regards,
J

Hi

Thanks for the explanation.

The server was updated from SLES 12 to SLES 15. I see the issue is now explained better in yast.
If I now go to “Resize Partition” screen option, a message comes up that the device cannot be resized. (attached).

https://ibb.co/qNsDD6J

I will investigate using LV’s from now on :slight_smile:

Thanks