|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
[SOLVED] 6.8 syspatch : No space left on sd0f, aborting
My df -h
Code:
PooBear# df -h Filesystem Size Used Avail Capacity Mounted on /dev/sd0a 986M 108M 829M 11% / /dev/sd0n 149G 29.9G 111G 21% /home /dev/sd0d 3.9G 942K 3.7G 0% /tmp /dev/sd0f 5.8G 5.8G -294M 105% /usr /dev/sd0g 986M 242M 695M 26% /usr/X11R6 /dev/sd0h 19.4G 5.7G 12.7G 31% /usr/local /dev/sd0m 5.8G 2.0K 5.5G 0% /usr/obj /dev/sd0l 1.9G 2.0K 1.8G 0% /usr/src /dev/sd0e 28.2G 83.2M 26.8G 0% /var Code:
rm -r /usr/share/compile Code:
PooBear# ls /usr/share calendar doc info man mk snmp terminfo zoneinfo dict games locale misc relink tabset texinfo Thanks in advance Last edited by shep; 11th March 2021 at 12:57 AM. |
|
|||
Code:
PooBear# du -shx /usr/* 242M /usr/X11R6 173M /usr/bin 2.0K /usr/games 48.4M /usr/include 325M /usr/lib 49.9M /usr/libdata 2.8M /usr/libexec 5.7G /usr/local 602K /usr/mdec 2.0K /usr/obj 17.6M /usr/sbin 5.2G /usr/share 2.0K /usr/src 2.0K /usr/xobj Edit: mariadb-client has had 3 updates Code:
mariadb-client-10.5.6v1.tgz 2021-03-09 12:06 11M mariadb-client-10.5.7v1.tgz 2021-03-09 12:06 11M mariadb-client-10.5.8v1.tgz 2021-03-09 12:06 11M My install is on spinning rust - a hard drive. Last edited by shep; 10th March 2021 at 01:16 PM. |
|
|||
There should be no reason for /usr/share to be that big. run du in there.
Mine is about 500M on my systems. |
|
|||
I'm getting the sense that something is out of sorts. I deleted firefox-esr, iridium, libreoffice and ran pkg_delete -a. The size of my /usr partition did not change. I also do not see anything in /usr/share that accounts for a 5.1G size:
Code:
PooBear# du -shx /usr/* 242M /usr/X11R6 173M /usr/bin 2.0K /usr/games 48.4M /usr/include 325M /usr/lib 49.9M /usr/libdata 2.8M /usr/libexec 4.7G /usr/local 602K /usr/mdec 2.0K /usr/obj 17.6M /usr/sbin 5.1G /usr/share 2.0K /usr/src 2.0K /usr/xobj PooBear# ls -al /usr/share total 68 drwxr-xr-x 17 root wheel 512 Oct 4 16:48 . drwxr-xr-x 16 root wheel 512 Oct 18 14:33 .. drwxr-xr-x 6 root wheel 1024 Oct 4 16:47 calendar drwxr-xr-x 4 root wheel 512 Oct 4 16:47 dict drwxr-xr-x 3 root wheel 512 Oct 4 16:47 doc drwxr-xr-x 7 root wheel 512 Oct 4 16:47 games drwxr-xr-x 2 root wheel 512 Oct 18 12:54 info drwxr-xr-x 3 root wheel 512 Oct 4 16:47 locale drwxr-xr-x 12 root wheel 512 Oct 4 16:48 man drwxr-xr-x 3 root wheel 512 Oct 18 12:54 misc drwxr-xr-x 2 root wheel 512 Oct 4 16:47 mk drwxr-xr-x 4 root wheel 512 Mar 10 06:54 relink drwxr-xr-x 3 root wheel 512 Oct 4 16:47 snmp drwxr-xr-x 2 root wheel 512 Oct 4 16:47 tabset drwxr-xr-x 44 root wheel 1024 Oct 4 16:47 terminfo drwxr-xr-x 2 root bin 512 Oct 4 16:48 texinfo drwxr-xr-x 18 root bin 1536 Oct 4 16:47 zoneinfo |
|
|||
It seems to all be in /usr/share/relink
Code:
PooBear# du -shx /usr/share/* 332K /usr/share/calendar 3.4M /usr/share/dict 20.0K /usr/share/doc 12.0K /usr/share/games 8.3M /usr/share/info 436K /usr/share/locale 41.5M /usr/share/man 2.2M /usr/share/misc 74.0K /usr/share/mk 5.0G /usr/share/relink 92.0K /usr/share/snmp 10.0K /usr/share/tabset 5.7M /usr/share/terminfo 28.0K /usr/share/texinfo 1.1M /usr/share/zoneinfo Code:
/usr/share/relink |
|
|||
Quote:
Packages go into /usr/local which is a separate partition. Run du in relink. Narrow down what exactly is taking the space. You need what's in there for kernel and library relinking. But something went amiss. |
|
|||
Code:
PooBear# du -shx /usr/share/relink 5.1G /usr/share/relink |
|
|||
Sorry, *in* relink. /usr/share/relink/*
It's a hierarchy, keep going into the largest directory until you find a big file. There shouldn't be many directories in relink. |
|
|||
Code:
PooBear# pwd /usr/share/relink/kernel/GENERIC.MP PooBear# du -shx 5.1G . |
|
|||
I found:
Code:
PooBear$ pwd /usr/share/relink/usr/lib PooBear$ ls -al total 48488 drwxr-xr-x 2 root bin 512 Feb 3 08:47 . drwxrwx--- 4 build wheel 512 Oct 4 16:47 .. -r--r--r-- 1 root bin 8293496 Oct 4 16:47 libc.so.96.0.a -r--r--r-- 1 root bin 16474520 Feb 2 07:53 libcrypto.so.46.1.a Code:
PooBear$ cd /usr/lib PooBear$ ls -al libcry* -r--r--r-- 1 root bin 16389548 Feb 2 07:53 libcrypto.a -r--r--r-- 1 root bin 7958512 Mar 10 08:46 libcrypto.so.46.1 -r--r--r-- 1 root bin 15285444 Feb 2 07:53 libcrypto_p.a |
|
|||
lib is normal. Your problem is something in GENERIC.MP
$ du -sh GENERIC.MP/ 472M GENERIC.MP/ What's in there? ls -lhSr /usr/share/relink/kernel/GENERIC.MP/ |
|
|||
@TronDD
I think you found it. There was an ld.core dump that was 4.7G. Deleted ld.core, syspatch 016 installed and after 2 reboots, the system is running/relinking without errors Thanks |
|
||||
Little bit late to the party (sorry) but for future reference I find sysutils/ncdu very useful for this sort of thing.
__________________
Are you infected with Wetiko? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to install - no space left on device | stanl | OpenBSD Installation and Upgrading | 17 | 21st October 2019 03:14 PM |
DVD burn error: No space left on device | guitarscn | OpenBSD General | 1 | 22nd December 2009 07:50 PM |
No ram left? | knasbas | OpenBSD General | 11 | 26th September 2009 11:31 PM |
no space left on drive while installing? | knasbas | OpenBSD Installation and Upgrading | 2 | 20th July 2009 09:50 PM |
erreur aborting boot | darken | FreeBSD General | 10 | 5th May 2008 06:48 PM |