On 10/03/17 10:10, Niels Kobschaetzki wrote:
> On 17/10/03 13:48, Niels Kobschaetzki wrote:
>> Hi,
>> 
>> I am running currently constantly into the problem that I do not
>> have enough space left for installing packages and today even
>> upgrading a snapshot failed because I had not enough space left. Is
>> there a way to resize partitions? I guess probably not because
>> there is no volume manager, right? I used originally the suggested
>> layout by the installer. Any idea what could fill up the space on
>> /? The partition is only 1GB in size and if I see it correctly only
>> the base-system is installed there. Did base grew with the latest
>> snapshots?
> 
> I found the problem. It sat in front of the keyboard m) At some point
> I created apparently by accident a huge file in /dev and that ate up
> all the space in / One problem solved. Now to my other space-problems
> where resizing would be a solution but maybe I just need to tidy up
> more.

and that's one reason we tell you to partition the heck out of your system.

Best/worst story I heard along those lines was someone who typoed their
backup script, and instead of writing to tape, wrote to a FILE in /dev.
Unfortunately, they used one big partition, so there was plenty of space
for this file...but of course, if the bad thing happened, the tape was
blank.

If you fill a 100M root partition, you clean up junk you left laying
around.  If you fill a 1G root partition, something went horribly wrong,
and you find and fix the problem.  Enlarging is NOT the answer there.

Disks are stupid big these days.  You can't get too small a disk for
many applications.  Leave most of your disk unpartitioned, and you can
go back and "enlarge" anything you want at a later time (well...'cept
for root.  and 1G is a HUGE root partition).  Just create a new
partition, copy everything from the old to the new, change fstab, reboot.

Nick.

Reply via email to