One of our vSphere nodes that connects to a SAN via FC has run out of disk space on root. It was set up with all the default partition sizes when it was built.
The reason that the partition is full is that our backup software agent (installed in /opt) that backs up all our VM's and only resides on this node has used all the available space creating backup catalogs etc.
My question is -
Is it possible to increase the size of the root partition and if so, what would the best method be?
I use linux a bit but have never had to really dabble with changing partitions before and haven't found a definitive answer from searching.
These are the file system details- VMFS_1, 2 and 3 are volumes on our SAN and vsphere-local is the local hd:
# vdf -h
Filesystem Size Used Avail Use% Mounted on
/dev/sde5 4.9G 4.9G 0 100% /
/dev/sdd1 1.1G 93M 934M 10% /boot
/dev/sde2 2.0G 80M 1.8G 5% /var/log
/vmfs/devices 68G 0 68G 0% /vmfs/devices
/vmfs/volumes/4bc316f4-60f7ceda-dd8e-18a905636a92
67G 8.1G 58G 12% /vmfs/volumes/vsphere-Local
/vmfs/volumes/4bc32f57-d986f429-5408-18a90566f334
1.6T 648G 1.0T 38% /vmfs/volumes/VMFS_1
/vmfs/volumes/4bc32f91-fcb43a6b-62be-18a90566f334
1.6T 307G 1.3T 18% /vmfs/volumes/VMFS_2
/vmfs/volumes/4c8f535f-938270cf-09fa-18a90566f33a
1.6T 703G 970G 42% /vmfs/volumes/VMFS_3
# fdisk -l
Disk /dev/sda: 1798.5 GB, 1798524895232 bytes
255 heads, 63 sectors/track, 218658 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 218658 1756370321 fb VMware VMFS
Disk /dev/sdb: 1799.0 GB, 1799049805824 bytes
255 heads, 63 sectors/track, 218722 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 218722 1756884401 fb VMware VMFS
Disk /dev/sdc: 1797.9 GB, 1797999984640 bytes
255 heads, 63 sectors/track, 218594 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 218594 1755856241 fb VMware VMFS
Disk /dev/sdd: 73.3 GB, 73372631040 bytes
255 heads, 63 sectors/track, 8920 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 140 1124518+ 83 Linux
/dev/sdd2 141 154 112455 fc VMware VMKCORE
/dev/sdd3 155 8920 70412895 5 Extended
/dev/sdd5 155 8920 70412863+ fb VMware VMFS
Disk /dev/sde: 8095 MB, 8095006720 bytes
255 heads, 63 sectors/track, 984 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 91 730926 82 Linux swap / Solaris
/dev/sde2 92 346 2048287+ 83 Linux
/dev/sde3 347 984 5124735 5 Extended
/dev/sde5 347 984 5124703+ 83 Linux