[Bug 710930] New: Include information about disk space distribution
https://bugzilla.novell.com/show_bug.cgi?id=710930 https://bugzilla.novell.com/show_bug.cgi?id=710930#c0 Summary: Include information about disk space distribution Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Live Medium AssignedTo: coolo@novell.com ReportedBy: jsrain@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- The live installer has very limited means to find out whether the disk partitioning fits the media, because the media does not contain information about the distribution of the disk usage (e.g. knowing the size of /usr is needed to calculate whether the partition is big enough). YaST can calculate the distribution - but this, especially on a CD, takes quite some time (and due to related complains, it now uses 'df' instead of 'du' for calculation of the progress; it would be much more convenient to have this information on the disk (similarly as packages have it in the metadata). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710930 https://bugzilla.novell.com/show_bug.cgi?id=710930#c1 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |ms@suse.com InfoProvider| |jsrain@suse.com --- Comment #1 from Stephan Kulow <coolo@suse.com> 2011-09-02 14:02:36 CEST --- what exactly do you need? It would make more sense to provide this as mean of a function in kiwi. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710930 https://bugzilla.novell.com/show_bug.cgi?id=710930#c2 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jsrain@suse.com | --- Comment #2 from Jiri Srain <jsrain@suse.com> 2011-09-12 13:44:30 UTC --- Kiwi (as it is the tool being used for creating the images) sounds like a natural fit. The installation media contains in the metadata information for each package about where (in which directories) it consumes how much space (in packages.DU file); I'd need the same information for the whole image (as running 'du -s /usr' to evaluate whether the partitioning fits the live image does not seem feasible performance-wise). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710930 https://bugzilla.novell.com/show_bug.cgi?id=710930#c3 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |ro@suse.com InfoProvider| |jsrain@suse.com --- Comment #3 from Stephan Kulow <coolo@suse.com> 2011-09-13 13:52:47 CEST --- packages.DU seems to be very cryptic. Is there any documentation? =Pkg: CodeAnalyst 2.12.3 4.5 i586 +Dir: / 0 3625 0 184 usr/ 0 3625 0 184 usr/bin/ 2375 0 4 0 usr/lib/ 602 0 4 0 usr/sbin/ 50 0 2 0 usr/share/ 0 598 0 174 usr/share/applications/ 2 0 2 0 usr/share/codeanalyst/ 202 354 2 167 usr/share/doc/ 0 40 0 3 -Dir: du -s only returns one number, what are the other 3? And this looks like it's listing every directory - is there a limit? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710930 https://bugzilla.novell.com/show_bug.cgi?id=710930#c4 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|jsrain@suse.com |ma@suse.com --- Comment #4 from Jiri Srain <jsrain@suse.com> 2011-09-13 12:25:46 UTC --- I'm not aware of the documentation, but I guess that Michael will have a link. You are right that only the total size is interesting for me, maybe the number of files (to guess the filesystem overhead), but I'd say that this is not necessary for this purpose. Regarding the limit: Whichever directory can act as a mount point should be included. I suggest limiting it to three levels or similarly - you typically don't have mount points on higher level. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710930 https://bugzilla.novell.com/show_bug.cgi?id=710930#c5 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ma@suse.com | --- Comment #5 from Michael Andres <ma@suse.com> 2011-10-18 10:43:44 CEST --- (In reply to comment #3)
packages.DU seems to be very cryptic. Is there any documentation?
=Pkg: CodeAnalyst 2.12.3 4.5 i586 +Dir: / 0 3625 0 184 usr/ 0 3625 0 184 usr/bin/ 2375 0 4 0
du -s only returns one number, what are the other 3?
- directory - size in K of files located in this dir - size in K of files located in subdirs - number of files located in this dir - number of files located subdirs
And this looks like it's listing every directory - is there a limit?
AFAIK Rudi creates the data till depth 3 or 4 only. So if some mountpoint is deeper in the hierarchy, we won't be able to compute correct sizes. OTOH as rpmmd does not contain any DU info at all, the data are of limited use for zypp once rpmmd repos are involved. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=710930 https://bugzilla.novell.com/show_bug.cgi?id=710930#c6 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@suse.com AssignedTo|coolo@suse.com |idonmez@suse.com --- Comment #6 from Stephan Kulow <coolo@suse.com> 2012-07-10 15:00:15 CEST --- Ismail, please write a tool (perl or shell) to be called in config.sh (and later be moved to kiwi) to create a file system summary. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com