I have been working on hard drive performance and ran across this command
fio --filename=/dev/sda1 --direct=1 --rw=randwrite --bs=1m --size=5G --numjobs=64 --runtime=300 --group_reporting --name=file1
So the first problem was that after running the command it maxed out the hard drive and wouldn't let me delete anything giving me a message 'Read-only file system'. I figured the file I was looking for would be called file1, but can't find it so not sure where all the data is that filled up the hard drive.
After trying to solve my problem, I ran across this page:
https://askubuntu.com/questions/197459/how-to-fix-sudo-unable-to-open-read-only-file-system
Which told me to run: mount -o remount /
After doing this, I got an error and couldn't run ANY commands. I decided to reboot, but now it can't boot. The filesystem was on /dev/mapper/ubuntu--vg-root, but when I boot off the installation cd and try to repair it, I get the message:
an error occurred while mounting the device you entered for your root
So to recap, I filled up the HD, broke something, maybe the mount point, and can't boot. This is on our dev server, while I have backups of most all the data, the database backup is a little old, so I would love to get it back up and running.
It has a hardware RAID and was getting an error when trying to mount the filesystem manually from recovery prompt.
Here was the results from df from a saved remote session:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/ubuntu--vg-root 52403200 52403180 20 100% /
devtmpfs 49407992 0 49407992 0% /dev
tmpfs 49414352 0 49414352 0% /dev/shm
tmpfs 49414352 271040 49143312 1% /run
tmpfs 49414352 0 49414352 0% /sys/fs/cgroup
/dev/sda1 508588 97840 410748 20% /boot
/dev/mapper/centos-home 204970204 32944 204937260 1% /home