In a partition of 7.7G - 641M free.

Booting, installing, newbie
Message
Author
User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#21 Post by Semme »

And you said this doesn't return much?

Code: Select all

du -h --max-depth=1 /
If yes, not much, then there's something wrong here..

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#22 Post by MrAccident »

Code: Select all

# du -h --max-depth=1 /
3.7M	/sbin
100K	/audit
1.8M	/var
there's something wrong here
I suspected that from the beginning. :-P

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#23 Post by jamesbond »

Intermezzo:

Semme, you have been a wonderful help for newbies. Thank you for your warm support and making them feel welcome here. Please allow me add one more tool to your arsenal: NCDU http://dev.yorhel.nl/download/ncdu-linu ... .10.tar.gz.

MrAccident - the easiest way to solve this problem is to wipe the disk clean and do a frugal install. But you want to know, right? Then read on and follow these steps carefully.
1. Boot with your LiveCD with "pfix=ram". This ensures you're running pristine install and also allows enables you to work on your sda1 disk unhindered.
2. On your desktop, click on your "sda1" drive. A rox window will open, leave it aside.
3. Download the above package.
4. Double-click and extract it.
5. Open terminal, "cd" to the directory where you extract the 'ncdu', and launch ncdu by typing "./ncdu /mnt/sda1"
6. Leave it to work for a while - it takes time to scan your disk.
7. You will then be presented with a screen that shows all the files and directories that exists at /mnt/sda1, along with their sizes.
8. You can differentiate between files and directories as directories are always preceded by "/".
9. Use cursor to navigate up and down, Enter or right-arrow to dig down inside a directory, left-arrow to go up, "q" to quit, and "?" to see help. In the help screen, scroll the window with cursor, press "q" to close it.
10. Explore a little, perhaps explore the topmost (the largest) directory by pressing Enter to go inside it, and see the next level where all that bloat comes from.
11. Please don't forget to post screenshot so Semme can continue to help you - as this tool only shows which directory takes the most space; but it won't tell you why it has collected that much content.

Note1: the link above is a static binary, it will work in *all* puppies. I'm running it on my Fatdog64 although obviously it is compiled for 32-bit puppy.
Note2: "/.." is "parent directory" so if you go inside ".." it is the same as returning to parent directory (ie - the same as presssing left arrow).

Good luck, now over to you Semme ... :D
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#24 Post by MrAccident »

(the images order became from the last to the first)
Thank you jamesbond.
Everything in mnt is files I've deleted. How did they get there? And most importantly - how to prevent deleted files from getting there in the future?
In opt - LibreOffice and OOOLight - I uninstalled; so I guess I can just delete those folders? But why weren't they deleted?
The only thing left is OpenOffice, which I do use. Can I make it smaller? Maybe get rid of "share" folder?
Other than that - everything seems like it suppose to be there.
Attachments
Screenshot_2014-05-27_211521.png
(21.63 KiB) Downloaded 155 times
Screenshot_2014-05-27_205932.png
(34.44 KiB) Downloaded 127 times
Screenshot_2014-05-27_205846.png
(29.27 KiB) Downloaded 153 times
Screenshot_2014-05-27_205700.png
(48.13 KiB) Downloaded 153 times

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#25 Post by Galbi »

Well, looking at the 3rd image, you have 2.5 Giga Bytes occupied by openoffice,libre, and ooo....
:)
Remember: [b][i]"pecunia pecuniam parere non potest"[/i][/b]

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#26 Post by MrAccident »

Yes; and I addressed that in the comment.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#27 Post by Semme »

Thanks for the nod JB :wink: >> I <sometimes> try. :D

==

OK now, accident guy.. This Slacko 5.7, or which? How about the browser.. Firefox?

Let's see one of these if you're still game:

Code: Select all

du -h --max-depth=1 /root
You wanna gain control of *how* your home, or user (~/) directory, uses space.

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#28 Post by MrAccident »

Slacko 5.7 and Firefox.

Code: Select all

# du -h --max-depth=1 /root
4.0K	/root/.sfs_mgr
192K	/root/Web-Server
8.0K	/root/.inkscapelite
8.0K	/root/.mplayer
55M	/root/.config
8.0K	/root/.dillo
20K	/root/my-applications
16K	/root/.xarchive
8.0K	/root/.gdmap
4.0K	/root/.icons
12K	/root/Startup
80K	/root/.pequalizer
12K	/root/.fltk
2.2M	/root/.macromedia
4.0K	/root/.compose-cache
504K	/root/Choices
584K	/root/.gimp-2.8
4.0K	/root/puppy-reference
48K	/root/.pfilesearch
3.4M	/root/.adobe
48K	/root/spot
28K	/root/my-documents
4.9M	/root/.packages
12K	/root/.notecase
132M	/root/.mozilla
12K	/root/.dbus
4.0K	/root/.Trash
16K	/root/.pavrecord
16K	/root/programs
84K	/root/File-Sharing
108K	/root/.sylpheed-2.0
60K	/root/.beaver
80K	/root/network
208K	/root/Desktop
4.0K	/root/.thumbnails
8.0K	/root/.pfind
172K	/root/.pup_event
377M	/root/.wine
4.0K	/root/Downloads
1.5M	/root/.Skype
8.0K	/root/.desksetup
66M	/root/.opera
32K	/root/.xchat2
28K	/root/.snap2
16K	/root/.netsurf
16K	/root/.precord
4.0K	/root/ftpd
120K	/root/.jwm
31M	/root/.pmusic
144K	/root/.pburn
4.0K	/root/.hardinfo
1.3M	/root/.local
120M	/root/.cache
36K	/root/.osmo
12K	/root/.gwhere
800M	/root

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#29 Post by Semme »

You say you removed Wine? If yes, you can delete /root/.wine.

Click the *eye* up top on your ROX toolbar to see it.

Mozilla and Opera can both be slimmed down with cache adjustments.

These are handled via each apps preferences menu.

You might just as well unload any of those big office suites when not in use.

All these will get'choo outta the red.

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#30 Post by MrAccident »

There are a few other programs I deleted: dillo, beaver, netsurf, FireFox 17 (downloaded the new version; and it's separate).


FireFox or Opera don't pose a problem.
If I'll get rid of the files I supposadly deleted, from mnt, and LibreOffice (there's also an sfs in "home") and OOOLight from opt - there should be plenty of room. So should I delete them?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#31 Post by Semme »

Installed apps, ones you've installed, are usually removed by selecting them in PPM. Sure this leaves folders behind, but their size is negligible. The leftovers worth removing are in the users directory, or ~/. If not hidden, they're likely in your .cache and .config folder.

SFS files you can simply delete, though I'd choose to have them unloaded prior to doing so.

Does everything else seem to run OK?

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#32 Post by MrAccident »

Now 4.2G free. I still don't understand why deleted files end in sda5, the same place where they were; but I can only see them when in Live-CD and I think that sda5 is not even mounted.
Thank you for all the help so far.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#33 Post by CatDude »

Hi
MrAccident wrote:....but I can only see them when in Live-CD and I think that sda5 is not even mounted.
I suspect that you downloaded/placed the files into the mountpoint /mnt/sda5
when the actual device (partition) was unmounted.

When you do mount sda5, you would no longer see those files,
but instead see the contents of the actual partition.

I suspect quite a few of us have fallen victim to that before today.

CatDude
.
Attachments
unmounted.png
(109.42 KiB) Downloaded 134 times
mounted.png
(112.51 KiB) Downloaded 133 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#34 Post by MrAccident »

Yep; that must be it. Thanks.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#35 Post by Sylvander »

CatDude wrote:I suspect that you downloaded/placed the files into the mountpoint /mnt/sda5
when the actual device (partition) was unmounted.

When you do mount sda5, you would no longer see those files,
but instead see the contents of the actual partition.
Duh! :(
Any chance you could explain that so that dumb old me might understand?
Like...what is a mountpoint etc.

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#36 Post by MrAccident »

In my case - probably all those files were downloaded from FireFox. What I saw was that the file was downloading in FireFox; and then when I went to the folder, and noticing along the way that I haven't mounted the partition - the file wasn't there.
So my guess is that the file is downloaded instead to Puppy's partition; where it creates folders with the same names. I have that folder's link on the desktop; and when I opened it, before I mounted the partition - I saw a few files there. I guess after you mount the partition\drive - it switches from that partition created in Puppy's drive - to the actual partition. Where the "imaginary" one goes - I don't know.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#37 Post by Sylvander »

In the past I noticed that if/when I attempted to download/copy/write to a PFS [partition filesystem] that wasn't mounted...
The item[s] would be saved in the /tmp folder.
Which would then be lost at shutdown/reboot.
[All items in the /tmp folder are always lost at shutdown/reboot]

I don't know if all Puppies work that way, or whether new Puppies don't anymore.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#38 Post by nooby »

Thanks CatDude, cool that so many of you want to be
of needed help on this subject. It has bewildered me too
for so many years.

To the OP you are lucky getting that much attention. :)
So be nice now to all active. Be prepared that at some topics
you barely get a response at all. I guess that to give as much
info on the computer the set up and exactly what did happen
and when in the sequence and any warning or error message
is vital to solving an issue. No criticism at all. Just friendly thoughts,

Nope I am not active on the thread. Just wanted to say a friendly Hello
and big hug to CatDude and Sylvander et all.
I use Google Search on Puppy Forum
not an ideal solution though

Post Reply