Bug 557209 - wrong disk space calculation
Summary: wrong disk space calculation
Status: RESOLVED DUPLICATE of bug 551678
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Installation (show other bugs)
Version: Final
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 13:25 UTC by Harald Koenig
Modified: 2010-02-11 17:57 UTC (History)
1 user (show)

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


Attachments
y2logs (1.65 MB, application/x-compressed-tar)
2009-11-20 13:26 UTC, Harald Koenig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Koenig 2009-11-20 13:25:21 UTC
I tried to install 11.2 on an 8 GB SSD via boot from DVD into a 7761020K ext4 rootfs.

I selected *every* pattern/scheme and got a yast warning that I'm running into low disk space (but 421909K == 5% shall remain free!).  from y2log:

2009-11-18 21:27:32 <1> linux(6532) [Pkg] Target_DU.cc(TargetInitDU):282 Adding /
2009-11-18 21:27:32 <1> linux(6532) [YCP] SpaceCalculation.ycp:431 INIT done, SpaceCalculation - partitions: [$["free":99302, "name":"boot", "used":0], $["free":7879680, "name":"/", "used":0]]
2009-11-18 21:27:32 <1> linux(6532) [Pkg] SpaceCalculation.ycp:570 Pkg Builtin called: TargetGetDU
2009-11-18 21:27:32 <1> linux(6532) [YCP] SpaceCalculation.ycp:572 /: [7879680, 0, 7457771, 0]
2009-11-18 21:27:32 <1> linux(6532) [YCP] SpaceCalculation.ycp:572 boot: [99302, 0, 53502, 0]
2009-11-18 21:27:32 <1> linux(6532) [YCP] SpaceCalculation.ycp:585 Total used space (kB): 7511273, fits ?: true
2009-11-18 21:27:32 <1> linux(6532) [YCP] SpaceCalculation.ycp:602 min. free space: 25%, max. unsufficient free space: 768000
2009-11-18 21:27:32 <1> linux(6532) [Pkg] SpaceCalculation.ycp:609 Pkg Builtin called: TargetGetDU
2009-11-18 21:27:32 <1> linux(6532) [YCP] SpaceCalculation.ycp:611 Disk usage of directory /: [7879680, 0, 7457771, 0]
2009-11-18 21:27:32 <2> linux(6532) [YCP] SpaceCalculation.ycp:624 Partition /: less than 25% free space (5%, 421909)
2009-11-18 21:27:32 <1> linux(6532) [YCP] SpaceCalculation.ycp:611 Disk usage of directory boot: [99302, 0, 53502, 0]
2009-11-18 21:27:32 <1> linux(6532) [YCP] SpaceCalculation.ycp:633 Result: [$["dir":"/", "free_percent":5, "free_size":421909]]
2009-11-18 21:27:32 <1> linux(6532) [Pkg] Packages.ycp:142 Pkg Builtin called: ResolvableProperties


so I started installation... and did run out of disk space duing installation (with several 100s of RPMs still to be installed).

1st I've removed /usr/src/linux-2.6.27.37-0.1/ (~410 MB) and continued with installation -- and run out of disk space again.

so I removed /usr/share/texmf/ (~1.6 GB!) on VC2 and continied and finally finished installaion.

now root looks like this:

# df /
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/ssd--system-root
                       7761020   7192832    173948  98% /


so I did remove ~2000 MB and the final free space is ~250 MB too low (420M-170M), thus the disk space calculation seems to be off by ~2250 MB !!!
Comment 1 Harald Koenig 2009-11-20 13:26:08 UTC
Created attachment 328678 [details]
y2logs
Comment 2 Arvin Schnell 2009-11-27 09:11:53 UTC
Looks more like a libzypp problem than a partitioning problem.
Comment 3 Michael Andres 2010-02-11 17:57:59 UTC
.

*** This bug has been marked as a duplicate of bug 551678 ***