HDA not working after root drive full/Greyhole not working
Posted: Fri Jul 27, 2018 8:49 am
I have been working to set up my Amahi server and was cleaning up partitions from my dual boot. I was attempting to remove the remaining NTFS partitions from my windows home server and free up the space for amahi. I deleted a partition that was /dev/sdc2 and after reboot the server to find that the web app would not work. I SSH into the server to find that the /dev/mapper/fedora-root was at 100%. I worked through creating a new partition and added it to the root drive to increase the available space. However, the web app will not let me log in and I have also noticed that I cannot do anything with greyhole.
https://paste.fedoraproject.org/paste/x ... UqqcP~ADg/
4.8.6-300.fc25.x86_64
samba-4.5.14-0.fc25.x86_64
amahi-greyhole-0.10.15-1.x86_64
https://paste.fedoraproject.org/paste/I ... fiL7yb12A/
https://paste.fedoraproject.org/paste/m ... GrciZKqcQ/
Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BC19429D-B03F-4FAD-A01A-BEA09E2E2093
Device Start End Sectors Size Type
/dev/sda1 2048 5860532223 5860530176 2.7T Linux filesystem
Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4C0479E8-7702-46DD-921C-3522CBC7C403
Device Start End Sectors Size Type
/dev/sdb1 2048 5860532223 5860530176 2.7T Linux filesystem
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8c90ef12
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdc2 206848 991246335 991039488 472.6G 83 Linux
/dev/sdc3 991246336 993343487 2097152 1G 83 Linux
/dev/sdc4 993343488 1953523711 960180224 457.9G 5 Extended
/dev/sdc5 993345536 1953523711 960178176 457.9G 8e Linux LVM
Disk /dev/mapper/fedora-root: 115 GiB, 123480309760 bytes, 241172480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/fedora-swap: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 860K 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/mapper/fedora-root 115G 15G 101G 13% /
/dev/sda1 2.7T 89M 2.6T 1% /var/hda/files/drives/Backup2
/dev/sdb1 2.7T 690G 1.9T 27% /var/hda/files/drives/Backup
tmpfs 1.9G 20K 1.9G 1% /tmp
/dev/sdc3 976M 83M 827M 10% /boot
none 4.0M 0 4.0M 0% /var/spool/greyhole/mem
tmpfs 382M 0 382M 0% /run/user/1000
[root@localhost steve]# greyhole --stats
ERROR: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
[root@localhost steve]# mysql -u root -p -e "select * from disk_pool_partitions" hda_production
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
https://paste.fedoraproject.org/paste/x ... UqqcP~ADg/
4.8.6-300.fc25.x86_64
samba-4.5.14-0.fc25.x86_64
amahi-greyhole-0.10.15-1.x86_64
https://paste.fedoraproject.org/paste/I ... fiL7yb12A/
https://paste.fedoraproject.org/paste/m ... GrciZKqcQ/
Disk /dev/sda: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BC19429D-B03F-4FAD-A01A-BEA09E2E2093
Device Start End Sectors Size Type
/dev/sda1 2048 5860532223 5860530176 2.7T Linux filesystem
Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4C0479E8-7702-46DD-921C-3522CBC7C403
Device Start End Sectors Size Type
/dev/sdb1 2048 5860532223 5860530176 2.7T Linux filesystem
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8c90ef12
Device Boot Start End Sectors Size Id Type
/dev/sdc1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdc2 206848 991246335 991039488 472.6G 83 Linux
/dev/sdc3 991246336 993343487 2097152 1G 83 Linux
/dev/sdc4 993343488 1953523711 960180224 457.9G 5 Extended
/dev/sdc5 993345536 1953523711 960178176 457.9G 8e Linux LVM
Disk /dev/mapper/fedora-root: 115 GiB, 123480309760 bytes, 241172480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/fedora-swap: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 860K 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/mapper/fedora-root 115G 15G 101G 13% /
/dev/sda1 2.7T 89M 2.6T 1% /var/hda/files/drives/Backup2
/dev/sdb1 2.7T 690G 1.9T 27% /var/hda/files/drives/Backup
tmpfs 1.9G 20K 1.9G 1% /tmp
/dev/sdc3 976M 83M 827M 10% /boot
none 4.0M 0 4.0M 0% /var/spool/greyhole/mem
tmpfs 382M 0 382M 0% /run/user/1000
[root@localhost steve]# greyhole --stats
ERROR: Can't connect to database: SQLSTATE[HY000] [2002] No such file or directory
[root@localhost steve]# mysql -u root -p -e "select * from disk_pool_partitions" hda_production
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")