You are not logged in.
I had a mirror sync issue and a few days of holiday whilst away from the computer. Now I tried to do a full update, and ran out of hard drive space. Can the partition be enlarged "live" and not lose everything in the process?
The system still works ok because pacman is still working on it an I have not restarted. I'm currently frantically backing up data in case of a total loss, but if that can be avoided it'd be great.
Last edited by raavas (2014-04-22 18:43:48)
Offline
just remove some old packages from /var and that should give you enough space to atleast complete the update.
pacman -SccThen definitely take a backup and increase the space in the relevant partitions.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I tried pacman -Sc, but it says there is a lock on. Can I remove the lock safely during the update?
Offline
as long as you are not running another instance of pacman doing anything else, it should be ok. So kill any instance of pacman or let them complete, then remove the db lock if needed and try cleaning the cache again.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Ok, thanks. Pacman is currently running, and waiting for the space to be freed
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
140422 20:43:22 [ERROR] mysqld: Error writing file '/var/lib/mysql/aria_log_control' (Errcode: 28)
140422 20:43:22 [ERROR] mysqld: Got error 'Can't create file' when trying to use aria control file '/var/lib/mysql/aria_log_control'
140422 20:43:22 [ERROR] Plugin 'Aria' init function returned error.
140422 20:43:22 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
140422 20:43:22 [Warning] mysqld: Disk is full writing './mysql-bin.~rec~' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
140422 20:43:22 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secs
140422 20:53:22 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secs
140422 21:03:22 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secs
140422 21:13:22 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secs
140422 21:23:22 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secs
140422 21:33:22 [Warning] mysqld: Retry in 60 secs. Message reprinted in 600 secsIn the meantime I'll just keep removing old packages manually.
Offline
if your pacman is stuck because the disk is full -- as is the case in the log you provided, why don't you simply kill pacman, clean the cache and then try to update again ?
Or you could manually remove the packages from /var. Up to you.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
It seems to be ok now, I'll try to restart in a bit. Thanks for the advice, most appreciated! Next task will be to adjust the partition size if the restart goes well.
I did not dare to kill pacman, there has been too many horror stories about such things...
Offline