Bug 115235

Summary: during update: warning: disk space almost exhausted
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Harald Koenig <koenig>
Component: YaST2Assignee: Jiri Srain <jsrain>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screen shot
output of save_y2logs

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.