As seen, I ran out of space on my root partition. I've taken the following steps, but df still shows it being filled. What have I done wrong? Thanks
EDIT 1. Rebooted the machine, and now I can not putty into it.
EDIT 2. Sorry, I don't know how to add an image to a LinuxQuestions post, however, included a picture of the physical machine monitor
https://s27.postimg.org/qkfjszusj/IMG_1077.jpg
Code:
[Michael@devserver datalogger]$ df -aTh
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
ext4 50G 47G 8.9M 100% /
proc proc 0 0 0 - /proc
sysfs sysfs 0 0 0 - /sys
devpts devpts 0 0 0 - /dev/pts
tmpfs tmpfs 5.8G 0 5.8G 0% /dev/shm
/dev/sda1 ext4 477M 177M 275M 40% /boot
/dev/mapper/VolGroup-lv_home
ext4 985G 55G 880G 6% /home
/dev/mapper/VolGroup-lv_mysql
ext3 99G 498M 93G 1% /var/lib/mysql
none usbfs 0 0 0 - /home/vbox/vbusbfs
none binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
[Michael@devserver datalogger]$ cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Sat Apr 19 05:57:56 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/VolGroup-lv_root / ext4 defaults 1 1
UUID=12a081eb-285e-4599-95ab-db23b70280df /boot ext4 defaults 1 2
/dev/mapper/VolGroup-lv_home /home ext4 defaults 1 2
/dev/mapper/VolGroup-lv_mysql /var/lib/mysql ext3 barrier=0 1 2
/dev/mapper/VolGroup-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
none /home/vbox/vbusbfs usbfs rw,devgid=496
504,devmode=664 0 0
[Michael@devserver datalogger]$ sudo cp -R /home /var/lib/mysql/home
[sudo] password for Michael:
[Michael@devserver datalogger]$ df -aTh
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
ext4 50G 47G 6.1M 100% /
proc proc 0 0 0 - /proc
sysfs sysfs 0 0 0 - /sys
devpts devpts 0 0 0 - /dev/pts
tmpfs tmpfs 5.8G 0 5.8G 0% /dev/shm
/dev/sda1 ext4 477M 177M 275M 40% /boot
/dev/mapper/VolGroup-lv_home
ext4 985G 55G 880G 6% /home
/dev/mapper/VolGroup-lv_mysql
ext3 99G 55G 39G 59% /var/lib/mysql
none usbfs 0 0 0 - /home/vbox/vbusbfs
none binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
[Michael@devserver datalogger]$ sudo lvreduce --size 200G /dev/mapper/VolGroup-lv_home
[sudo] password for Michael:
WARNING: Reducing active and open logical volume to 200.00 GiB.
THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce VolGroup/lv_home? [y/n]: y
Size of logical volume VolGroup/lv_home changed from 1000.00 GiB (256000 extents) to 200.00 GiB (51200 extents).
Logical volume lv_home successfully resized.
[Michael@devserver datalogger]$ df -aTh
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
ext4 50G 47G 5.9M 100% /
proc proc 0 0 0 - /proc
sysfs sysfs 0 0 0 - /sys
devpts devpts 0 0 0 - /dev/pts
tmpfs tmpfs 5.8G 0 5.8G 0% /dev/shm
/dev/sda1 ext4 477M 177M 275M 40% /boot
/dev/mapper/VolGroup-lv_home
ext4 985G 55G 880G 6% /home
/dev/mapper/VolGroup-lv_mysql
ext3 99G 55G 39G 59% /var/lib/mysql
none usbfs 0 0 0 - /home/vbox/vbusbfs
none binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
[Michael@devserver datalogger]$ sudo lvextend -L+500G /dev/mapper/VolGroup-lv_root
Size of logical volume VolGroup/lv_root changed from 50.00 GiB (12800 extents) to 550.00 GiB (140800 extents).
Logical volume lv_root successfully resized.
[Michael@devserver datalogger]$ df -aTh
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
ext4 50G 47G 4.8M 100% /
proc proc 0 0 0 - /proc
sysfs sysfs 0 0 0 - /sys
devpts devpts 0 0 0 - /dev/pts
tmpfs tmpfs 5.8G 0 5.8G 0% /dev/shm
/dev/sda1 ext4 477M 177M 275M 40% /boot
/dev/mapper/VolGroup-lv_home
ext4 985G 55G 880G 6% /home
/dev/mapper/VolGroup-lv_mysql
ext3 99G 55G 39G 59% /var/lib/mysql
none usbfs 0 0 0 - /home/vbox/vbusbfs
none binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
[Michael@devserver datalogger]$