How to free up disk space on root?

How to free up disk space on root?

We want to move /var to a new disk and free up the space on root so the system will function properly. 1. Add a disk to the server 2. Boot into rescue mode. 3. Partition the new disk and format a filesystem on the partition. For example, mke2fs -j /dev/sdb1

Which is the full root filesystem in SuSE?

/dev/sda2 / (root) – This is the filesystem that is full. In this case the /var directory is taking up too much space. We want to move /var to a new disk and free up the space on root so the system will function properly. 1.

Do you need to add space to the root partition?

This document (7009620) is provided subject to the disclaimer at the end of this document. The root disk or partition is full. You need to add space to the root filesystem. After installation, the space on the root filesystem was not sufficient. How do you extend the size of the root partition when Logical Volume Management (LVM) was not in use?

What to do if your hard drive has the wrong capacity?

Check the number of the hard drive showing the wrong capacity. Type select disk + disk number, and press enter. For example, select disk 1. You’re telling diskpart to format disk 1.

Is it possible to increase the size of the root partition?

The basic requirement to increase or decrease partition size is that the respective partition must not be mounted. Now you cannot unmount root partition so online resize is not possible. You must boot into rescue mode to resize root LVM partition.

Why did my root partition run out of space?

My root partition ran out of space and caused a system crash. I first rebooted to Rescue mode, connected across ssh, backed up everything (3 partitions, /, swap and /home) from /dev/sda to /backup (?dev/sdb).

Is there a way to resize a partition in fdisk?

Running parted -l will show the new end of the partition: Reboot the system back into operation. fdisk does not support resizing a partition. In this case the existing root partition needs to be deleted and recreated using the same start block but selecting the new end block to assign all available disk space to the partition.