PDA

View Full Version : SLES 12 SP3 File System - Increase



wlourens
11-Feb-2019, 10:55
Hi

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

https://ibb.co/5kX0Kcr

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.

https://ibb.co/mR1njRr

Please advise.

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

malcolmlewis
11-Feb-2019, 14:16
Hi

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

https://ibb.co/5kX0Kcr

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.

https://ibb.co/mR1njRr

Please advise.

Image links (not sure if they are displaying):
https://ibb.co/5kX0Kcr
https://ibb.co/mR1njRr
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

mkrapp
20-Feb-2019, 12:40
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

jmozdzen
20-Feb-2019, 15:34
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

wlourens
13-Mar-2019, 10:48
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).
303
https://ibb.co/qNsDD6J

I will investigate using LV's from now on :)

Thanks