temp file cleanup

Status
Not open for further replies.

lauris

Cadet
Joined
Jan 4, 2014
Messages
2
Hi,

I'm running 9.1 at the moment and struggle with free space on /.

Filesystem Size Used Avail Capacity Mounted on​
/dev/ufs/FreeNASs2a 926M 922M -69M 108% /​
I was using gpg to manage keys, but it complained that pinentry was not found.

gpg-agent[33553]: command get_passphrase failed: No pinentry​
gpg: problem with the agent: No pinentry​

So I tried to install it by running

pkg_add -r pinentry​

I thought it's a command line stuff, but it looks like it has a billion dependencies like perl, qt(???), and so on. So in the end, installation of pinentry and its dependencies failed with "Write failed" errors.

So how do I cleanup downloaded/temp files and free up / ?

Thanks,
Lauris
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Honestly, the best way I can think of is to backup your config file and reinstall FreeNAS followed by a config restore.

You shouldn't be installing anything to the FreeNAS install(that's why we created the jails!) and the consequences can be disastrous as there isn't much free space on the FreeNAS slices and they need all the space available.
 

lauris

Cadet
Joined
Jan 4, 2014
Messages
2
Thanks cyberjock. Couple of questions. Can I restore 9.1 config into a fresh 9.2 install ?

Also, is it safe to delete "/usr/local/share/warden/distfiles/9.1-RELEASE" ? I guess I would loose possibility to have jails, right ?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
you can restore a config file from any older version to any newer version of FreeNAS. You can't restore a newer config to an older FreeNAS version(duh!).

You shouldn't be deleting anything from /usr.. that's your USB stick and you shouldn't be doing anything on your USB stick.
 
Status
Not open for further replies.
Top