Le 20/04/2022 à 13:08, Andy Smith wrote:
On Wed, Apr 20, 2022 at 03:40:12AM -0500, Leslie Rhorer wrote:
The third partition on each drive is assigned as swap, and of
course it was easy to resize those partitions, leaving an
additional 512MB between the second and third partitions on each
drive. All I need to do is move the second partition on each
drive up by 512MB.
I'd be tempted to just make these two new 512M spaces into new
partitions for a RAID-1 and move your /boot to that, abandoning the
RAID-1 you have for the /boot that is using the partitions at the
start of the disk.
I agree, unless the BIOS cannot read sectors at that offset.
Or you could create a RAID10 array with the 4 partitions if they have
similar sizes.
Or you could move /boot back into the / filesystem.
In either case, the BIOS restriction applies and you may need to
reinstall the boot loader on both drives.
Or you could try to reduce the required space in /boot :
- remove old kernels
- reduce initramfs size with MODULES=dep instead of MODULES=most in
/etc/initramfs-tools/initramfs.conf
- remove plymouth if installed
You could do away with the swap partitions entirely and use swap
files instead.
Swap files are an ugly hack and not all filesystems support them.