Page 1 of 1

Partition Size

Posted: Wed Apr 02, 2014 9:58 am
by tbarnett
I need to increase the space on the boot partition.

It butts right up against the main partition.

What is the recommended method for this?

Code: Select all

[root@nagios ~]# fdisk /dev/sda

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): p

Disk /dev/sda: 75.2 GB, 75161927680 bytes
255 heads, 63 sectors/track, 9137 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00024a62

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              13        9137    73289528+  8e  Linux LVM

Re: Partition Size

Posted: Wed Apr 02, 2014 4:09 pm
by scottwilkerson
Is there a particular reason you need to do this? Maybe you can just remove unused items in /boot (e.g. old unused kernels)
what is the output of

Code: Select all

ll /boot

Re: Partition Size

Posted: Tue Apr 08, 2014 3:42 pm
by tbarnett
Thanks, There are some things I can remove. It's just gotten to the point that I need to do this frequently so I thought I might just increase the space a little.

Re: Partition Size

Posted: Tue Apr 08, 2014 3:49 pm
by slansing
Can you show us the output of:

Code: Select all

ll /boot
We might be able to help find something, however this is really more of a Sysadmin based question rather than support of a Nagios Product.

Re: Partition Size

Posted: Tue Apr 08, 2014 3:59 pm
by tbarnett
Thanks. I went ahead and cleaned up the /boot directory. That should continue to work in the future unless the kernel gets huge.
I appreciate the help. Tom