[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Root fs overflow. Updater tools must warn?
From:       Anthony Pankov via freebsd-hackers <freebsd-hackers () freebsd ! org>
Date:       2016-08-09 8:32:48
Message-ID: 747363738.20160809113248 () mail ! ru
[Download RAW message or body]

Greetings.

Recently I've got a very bad experience with root filesystem (ufs) overflow.

I  was preparing to install some port and wanted to upgrade ports tree
(ports was on root fs).

I estimated free space that was 1Gb+.
Than I ran
portsnap fetch
portsnap extract

After some time server stoped responding.

On server reboot I see the fatal Error:
 "can't write, filesystem is full"
than kernel messages
 "can't allocate .. soft_.. dep ...
  system going to reboot"

  Rebooting in single user mode show the following:
-  fsck makes the Error;
-  make clean in ports  makes the Error;
-  removing snaphot makes the Error;
-  removing large file makes the Error;

The same was when booting from live cd.

It was very sad.

Of  course  I  think  this is my fault. But tools such as portsnap and
freebsd-update  always  running as root.  System can't preserve
fs  space as in case of unprivileged user. May be, tools that run from
root  and  do  the  fs  space consuming things must estimate available
space and stop in bad case?


-- 
Best regards,
 Anthony Pankov                          mailto:ap00@mail.ru

_______________________________________________
freebsd-hackers@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic