DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th August 2022
leave0 leave0 is offline
Port Guard
 
Join Date: Sep 2020
Posts: 30
Default / is full

i am not sure why it happen ,just want to know how to fix this ,thanks
my df
Code:
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/sd0a      986M    963M  -27.0M   103%    /
/dev/sd0l      857G    116G    698G    14%    /home
/dev/sd0d      3.9G    178K    3.7G     0%    /tmp
/dev/sd0f      5.8G    1.4G    4.2G    25%    /usr
/dev/sd0g      986M    334M    603M    36%    /usr/X11R6
/dev/sd0h     19.4G   10.7G    7.7G    58%    /usr/local
/dev/sd0k      5.8G    2.0K    5.5G     0%    /usr/obj
/dev/sd0j      1.9G    2.0K    1.8G     0%    /usr/src
/dev/sd0e     19.2G    103M   18.1G     1%    /var
Reply With Quote
  #2   (View Single Post)  
Old 4th August 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

  • I will guess that this is OpenBSD, not FreeBSD. You posted this in the FreeBSD General sub-forum.
  • The most common reason for a full root partition is having a typo in the of= parameter of a dd(1) command.
If you accidentally make a mistake in the name of a device special file, the dd(1) command will create a new, normal file in /dev, and that will consume freespace. Depending on what you were copying, perhaps all available freespace.

The easiest way to find normal files in /dev is with find(1). The only normal files should be the MAKEDEV(8) script, which is about 12 KB, and you might also have several daemon lock files, which are 0 bytes. Here is an example:
Code:
$ find /dev -type f -ls
 77964   24 -r-xr-xr-x    1 root     wheel       12142 Jul 28 11:47 /dev/MAKEDEV
 79276    0 -rw-------    1 root     wheel           0 Mar 10 07:50 /dev/slaacd.lock
 79285    0 -rw-------    1 root     wheel           0 Mar 10 07:50 /dev/dhcpleased.lock
 79291    0 -rw-------    1 root     wheel           0 Mar 10 07:50 /dev/resolvd.lock
Any extra files that consume space will be from a mis-typed dd(1) command, and can be deleted. I should probably delete those .lock files, they've been there since March.

Last edited by jggimi; 4th August 2022 at 03:21 AM. Reason: clarity
Reply With Quote
  #3   (View Single Post)  
Old 4th August 2022
leave0 leave0 is offline
Port Guard
 
Join Date: Sep 2020
Posts: 30
Default

@jggimi i must say you are so sophisticated,and thank you very much
Reply With Quote
  #4   (View Single Post)  
Old 4th August 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

It's a common problem for new users. Been there, done that myself.


I deleted the .lock files and the daemons recreated them after reboot.
Reply With Quote
  #5   (View Single Post)  
Old 4th August 2022
leave0 leave0 is offline
Port Guard
 
Join Date: Sep 2020
Posts: 30
Default

it seems that there are so much to learm for me
Reply With Quote
  #6   (View Single Post)  
Old 4th August 2022
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default

There is a lot of people in that Canoe, i am also one of them , so don't feel unique!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade -> disk full! beavers OpenBSD Installation and Upgrading 25 2nd June 2018 12:11 AM
Full Disk Encryption jjstorm OpenBSD Installation and Upgrading 3 30th May 2016 08:19 PM
filesystem full? amandus FreeBSD General 11 11th June 2013 12:10 PM
/usr became full while updating via cvs IronForge OpenBSD Installation and Upgrading 3 6th January 2010 01:08 PM
/ is full, can't installkernel thevirtuesofxen FreeBSD General 4 18th August 2008 06:33 AM


All times are GMT. The time now is 08:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick