how to improve home disk space
Sid Boyce
sboyce at blueyonder.co.uk
Sun Apr 15 18:29:26 UTC 2012
On 15/04/12 14:23, Isak Enström wrote:
> Den 15 april 2012 15:08 skrev Sid Boyce <sboyce at blueyonder.co.uk
> <mailto:sboyce at blueyonder.co.uk>>:
>
> On 15/04/12 13:00, kubuntu-users-request at lists.ubuntu.com
> <mailto:kubuntu-users-request at lists.ubuntu.com> wrote:
>
> Â Today's Topics: 1. Re: how to improve home disk space (Waleed
> Hamra)
> ----------------------------------------------------------------------
> Message: 1 Date: Sun, 15 Apr 2012 03:20:26 +0300 From: Waleed
> Hamra <kubuntu-users at whamra.com <mailto:kubuntu-users at whamra.com>>
> To: kubuntu-users at lists.ubuntu.com
> <mailto:kubuntu-users at lists.ubuntu.com> Subject: Re: how to
> improve home disk space Message-ID: <4F8A144A.7020404 at whamra.com
> <mailto:4F8A144A.7020404 at whamra.com>> Content-Type: text/plain;
> charset="iso-8859-1" On 04/15/2012 02:25 AM, Steve Morris wrote:
>
>
> On 08/04/12 21:56, Rajubhai Ramvani wrote:
>
> dear sir,
> Â Â Â when i upgrade any programme the massage is
> desplaying (disk
> space full) or (low disk space). so how can we improve
> disk space so
> in future we not want this type massage. i know the we
> can do this by
> home folder empty.but what is proper solution.anybody
> can help me.
> rajuramvani.
>
>
> Hi,
> Â Â If we assume you only have one partition for
> Kubuntu, you could
> check the /tmp and /home/%userid%/tmp directories to see
> how much space
> is used in those and delete the contents, which may or may
> not release a
> fair amount of disk space. Linux is like windows, by
> default it doesn't
> clear temp directories, although having said this some
> distributions
> allocate /temp to a ram disk to simulate emptying at
> shutdown. If your
> Kubuntu is doing this there should be an entry in
> /etc/fstab assigning
> /tmp to tempfs.
>
> regards,
> Steve
>
> on the contrary, /etc/init/mounted-tmp.conf would tell you
> otherwise,
> the /tmp directory is deleted on every boot, regardless of
> mount type :)
>
> as for OP, it would be greatly helpful if you would type the
> following
> command in a terminal, and tell us the output:
>
> df -h
>
> that is assuming you do read this list, which i'm starting to
> doubt :\
>
> In the days of small disks I could see the need for separate hard
> drives and partitions for the likes of /home, /usr etc.
>
> With the availability of large hard drives it seemed pointless and
> even Solaris went away from the practice and assigned just / and swap.
>
> I have a small /boot partition on some systems dating back to when
> you needed to boot from sectors below 1024 and on some just / and
> swap.
> If I do a fresh install and I need to reformat / I'll tar up /home
> and save it for restoration later. Sometimes doing a fresh install
> without reformatting on systems that are way too downlevel to
> successfully upgrade also leaves /home unaffected.
>
> My setups are normally just / and swap.
>
> If I do an upgrade /home remains untouched.
>
> Some have said that there could be a problem if something bad
> happens to / but over many years the only time that has happened
> was when bad on-board IDE controllers wrote garbage all over the
> HD which meant that /home was also affected. This happened with at
> least 3 motherboards going back more than 12 years.
>
> I once questioned some friends why they did separate /home, /usr,
> etc. partitions effectively implementing small disks out a large
> disk and they couldn't answer. On their systems when they ran out
> of space on /home meant they had to create symlinks like crazy with
> "mkdir /xxx", "ln -s /xxx /home/user/xxx" to overcome the problem
> caused by slicing and dicing.
> Regards
> Sid.
>
> --
> Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
> Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
> Senior Staff Specialist, Cricket Coach
> Microsoft Windows Free Zone - Linux used for all Computing Tasks
>
>
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com <mailto:kubuntu-users at lists.ubuntu.com>
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>
>
>
> Having /home on a separate partition is good in case you need to
> reinstall or upgrade. / doesn't have to be more than 15 GB in most
> cases, so it's not like the /home partition will run out of space
> unless the HDD is really small.
>
> ~~
> Isak
> __
> Powered by Ubuntu -Â www.ubuntu.com <http://www.ubuntu.com/>
>
Or unless you don't do much or keep much.
On this box 1TB drive for / and a 500GB drive for backups.
> du -sh /home
42G /home
> du -sh .thunderbird
18G .thunderbird
On another box with two 2TB HD's.
# du -sh /home
277G /home
You can see how difficult it would be to guage the length of the piece
of string for /home. Who know what they will require in a year's time.
As you can see using even 30GB for /home would be useless on my boxes.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20120415/82090868/attachment.html>
More information about the kubuntu-users
mailing list