Jump to content

/ getting too full


réjean

Recommended Posts

Hi all!

A few months ago I installed Ubuntu 14.04 mostly to have a look at it and to learn how it work. I didn't think I would use it a lot so I used an unused partition for it which is only 9.8 GB or so but with a bigger /home partition. I have been using it almost all the time since and now I am told the / partition is getting too full. Beside reinstalling Ubuntu on a bigger partition is there anything I can do?

 

KPzHBWnZ.jpg

Edited by réjean
Link to comment
Share on other sites

Use GParted and resize those partitions. GParted is available as a bootable image, in the PartedMagic bootable distro, and several others.

  • Like 1
Link to comment
Share on other sites

In my haste to make sure I had the picture included I forgot a major detail. Here is what I have;

 

linux-047a:/home/rejean # fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00011388

  Device Boot	  Start		 End	  Blocks   Id  System
/dev/sda1   *	    2048    66061327    33029640   83  Linux
/dev/sda2	    66074624   170932223    52428800   83  Linux
/dev/sda3	   170947726  1953520064   891286169+   5  Extended
/dev/sda5	   170947728   215977859    22515066   83  Linux
/dev/sda6	   215977923   232348094	 8185086   82  Linux swap / Solaris
/dev/sda7	   232348158  1256347259   511999551    7  HPFS/NTFS/exFAT
/dev/sda8	  1256347648  1275576319	 9614336   83  Linux
/dev/sda9	  1275578368  1324382207    24401920   83  Linux
/dev/sda10	 1324382598  1396482254    36049828+  83  Linux
/dev/sda11	 1396482318  1433319299    18418491   83  Linux
/dev/sda12	 1433319363  1490655284    28667961   83  Linux
/dev/sda13	 1490659328  1543669784    26505228+  83  Linux
/dev/sda14	 1543669848  1593455219    24892686   83  Linux
/dev/sda15	 1593455283  1686455504    46500111   83  Linux
/dev/sda16	 1686458368  1733542019    23541826   83  Linux
/dev/sda17	 1733542083  1774234664    20346291   83  Linux
/dev/sda18	 1774234728  1834799714    30282493+  83  Linux
/dev/sda19	 1834799778  1875540554    20370388+  83  Linux
/dev/sda20	 1875540618  1953520064    38989723+  83  Linux

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xeb58eb58

  Device Boot	  Start		 End	  Blocks   Id  System
/dev/sdb1   *		  63   204796619   102398278+   7  HPFS/NTFS/exFAT
Partition 1 does not start on physical sector boundary.
/dev/sdb2	   204796620  1433592404   614397892+   5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sdb3	  1433593856  1475538943    20972544   83  Linux
/dev/sdb4	  1475538944  1953523711   238992384   83  Linux
/dev/sdb5	   204796683   409593239   102398278+   7  HPFS/NTFS/exFAT
Partition 5 does not start on physical sector boundary.
/dev/sdb6	   409593303  1433592404   511999551    7  HPFS/NTFS/exFAT
Partition 6 does not start on physical sector boundary.
linux-047a:/home/rejean #

 

I am replying from OpenSuSE btw. Ubuntu / is on /dev/sda8 with about 9.8 GB while Ubuntu /home is on /dev/sda9 with about 24 GB.

Link to comment
Share on other sites

I should probably get rid of Debian jessie/sid (dev/sda11) with 17 GB which I never use anyway and install Ubuntu there instead but keep /dev/sda9 (24 GB) for /home.

Link to comment
Share on other sites

securitybreach

Basically I was saying that you could reduce the /home partition that you use for Ubuntu and increase the / partition but looking at your paritiition list, that may be a little different in your case. Either way, I think you should have no problem with gparted via a livecd (since the partition cannot be mounted).

  • Like 1
Link to comment
Share on other sites

We are making some progress;

before

rejean@rejean-G41MT-S2PT:~$ sudo df -H /
[sudo] password for rejean:
Filesystem	  Size  Used Avail Use% Mounted on
/dev/sda8	   9.6G  8.3G  818M  91% /

 

and after your command;

rejean@rejean-G41MT-S2PT:~$ sudo df -H /
Filesystem	  Size  Used Avail Use% Mounted on
/dev/sda8	   9.6G  7.8G  1.4G  86% /

 

That's almost 600 MB right there and the suggestion I was looking for instead of resizing the partitions which would be fine if I had only one distro on one hd.

Thanks sunrat! I'll see if I can free up more space emptying the /temp folder.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...