Bug 115235 - during update: warning: disk space almost exhausted
Summary: during update: warning: disk space almost exhausted
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 4
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Jiri Srain
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-04 17:38 UTC by Harald Koenig
Modified: 2005-10-03 12:04 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screen shot (140.40 KB, image/png)
2005-09-04 17:39 UTC, Harald Koenig
Details
output of save_y2logs (30.13 KB, application/x-gtar)
2005-09-09 17:35 UTC, Harald Koenig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Koenig 2005-09-04 17:38:32 UTC
I was running an update from beta-3 to beta-4 from network inst-source for the
missing ~160 packages when yast stopped with 9 pkgs left for installation,
telling me that disk space would be "almost exhausted" (see attached screen
shot) while "df" shows that there are still 1.5GB left for the missing 9 pkgs: 

  Filesystem           1K-blocks      Used Available Use% Mounted on
  /dev/hda3             38038632  36534292   1504340  97% /

yast knows before starting an installation/update how much disk space is
available, it should not need nor do interrupt an installation just to ask such
nonsense:-(  in 9.3 beta test this request already costs me a whole day because
the "unattended" update during night stopped very short after starting, leaving
~12 hours of work for my slow notebook.

SUSE really should be able to handle that better!
Comment 1 Harald Koenig 2005-09-04 17:39:37 UTC
Created attachment 48732 [details]
screen shot
Comment 2 Michael Gross 2005-09-05 09:37:28 UTC
Probably this warning results from a percentile calculation. While it makes
sense warning a user that there is less than 5% disk space left on the device,
it does not make much sense if these 5% are more than let's say 2G. The `bug'
was assigned.
Comment 3 Harald Koenig 2005-09-05 15:56:13 UTC
and, under normal conditions (e.g. noone filling up the disk from a text console
while the installation is running), it should never be necessary to issue such a
disk space warning in the middle of an installation run.

or, create an "unaddented expert installation mode" in yast where I can select
"please don't bother me with warnings waiting for an ok-click in the mid of an
installation" ...
Comment 4 Jiri Srain 2005-09-09 15:27:00 UTC
Attach the logs of the update, please (see 
http://www.opensuse.org/index.php/Submit_a_bug for details) 
Comment 5 Harald Koenig 2005-09-09 17:35:03 UTC
Created attachment 49454 [details]
output of save_y2logs

if you need any other data, please let me know
Comment 6 Jiri Srain 2005-10-03 12:04:55 UTC
I modified the condition, now it displays the warning if 
 
used_size + 2 * package_size > disk_size 
 
I hope that doubling the package size doesn't cause problem (there is some 
overhead in the file system). 
 
Done in SVN for 10.1.