Discussion:
issue with /tmp
(too old to reply)
David Mehler
2018-04-16 15:30:49 UTC
Permalink
Hello,

Running FreeBSD 11.1 and imapsync it failed while writing to /tmp. I
then tried to use vi to open a file, got the below error:

#vi 10-mail.conf

/tmp: create/symlink failed, no inodes free
ex/vi: Error: /var/tmp/vi.recover/: No space left on device
ex/vi: Modifications not recoverable if the session fails
ex/vi: Error: 10-mail.conf: No space left on device
ex/vi: Error: Unable to create temporary file: No space left on device


df (excerpt):
Filesystem Size Used Avail Capacity Mounted on
/dev/da0p2 44G 30G 10G 75% /
devfs 1.0K 1.0K 0B 100% /dev
fdescfs 1.0K 1.0K 0B 100% /dev/fd
/dev/md0 496M 1.8M 454M 0% /tmp

fstab (excerpt):
# Device Mountpoint FStype Options Dump Pass#
#
/dev/da0p2 / ufs rw,acls,userquota 1 1
/dev/da0p3.eli none swap sw 0 0
devfs /dev devfs rw 0 0
fdesc /dev/fd fdescfs rw 0 0

rc.conf (excerpt):
tmpmfs="YES"
tmpsize="512m"
tmpmfs_flags="-S"


Any suggestions welcome.

Thanks.
Dave.
zep
2018-04-16 15:59:50 UTC
Permalink
Post by David Mehler
Hello,
Running FreeBSD 11.1 and imapsync it failed while writing to /tmp. I
#vi 10-mail.conf
/tmp: create/symlink failed, >>no inodes free<<
ex/vi: Error: /var/tmp/vi.recover/: No space left on device
ex/vi: Modifications not recoverable if the session fails
ex/vi: Error: 10-mail.conf: No space left on device
ex/vi: Error: Unable to create temporary file: No space left on device
I believe the >> lines above are your (primary) issue.
Post by David Mehler
Any suggestions welcome.
Thanks.
Dave.
_______________________________________________
file systems have 2 components, the size of the device they're attached
to and the number of inodes.  normally people run out of the space on
the device first, but sometimes if you have a very large number of very
small files or directories, you can run out of inodes and still have
free space. (every file or directory consumes an inode).  there are
often options for your various filesystems to adjust up or down the
number/percentages of inodes.
as a quick fix, I'd go into the /tmp filesystem and remove unused, old,
unneeded files and that should get you going in the short term.  a
longer term fix would likely be a good plan.
--
public gpg key id: 0x5B8147CB
Continue reading on narkive:
Loading...