3

I have four hdd in my pc. one of them is installed with windows7 and one of them is recently installed with ubuntu 16.06 and two of them are just for storage.

After ubuntu is installed, I clicked on files which brought me to home. Then I take a look to the left, I can't seem to understand why is there a 67GB column which can be unmounted.

There is

  1. 180GB volume - which is my windows7
  2. 1TB - WD - storage
  3. 2TB - WD - storage
  4. 67GB Volume - which I have no idea what this is
  5. Computer - which I suppose is the root structure for ubuntu

4 and 5 looks super similar though

This is what the 67GB Volume looks like which I have no idea what it is 67GB

This is what Computer looks like

enter image description here

Edit:

in df it looks like

Filesystem     1K-blocks    Used Available Use% Mounted on
udev             3999404       0   3999404   0% /dev
tmpfs             803744    9904    793840   2% /run
/dev/sdd1      472468752 4670968 443774644   2% /
tmpfs            4018712     232   4018480   1% /dev/shm
tmpfs               5120       4      5116   1% /run/lock
tmpfs            4018712       0   4018712   0% /sys/fs/cgroup
tmpfs             803744      44    803700   1% /run/user/1000

lsblk looks like

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 238.5G  0 disk 
├─sda1   8:1    0   100M  0 part 
├─sda2   8:2    0 168.1G  0 part 
├─sda3   8:3    0     1K  0 part 
├─sda5   8:5    0  62.4G  0 part 
└─sda6   8:6    0   7.9G  0 part 
sdb      8:16   0 931.5G  0 disk 
└─sdb1   8:17   0 931.5G  0 part 
sdc      8:32   0   1.8T  0 disk 
└─sdc1   8:33   0   1.8T  0 part 
sdd      8:48   0 465.8G  0 disk 
├─sdd1   8:49   0 457.9G  0 part /
├─sdd2   8:50   0     1K  0 part 
└─sdd5   8:53   0   7.9G  0 part [SWAP]
sr0     11:0    1  1024M  0 rom  

Adding image shown in GParted 465GB 238GB

Dora
  • 485

2 Answers2

2

What I see in the output of lsblk and df

The two key points are these two lines:

├─sdd1   8:49   0 457.9G  0 part /

└─sdd5   8:53   0   7.9G  0 part [SWAP]

/ tells us that 457.9 G disk partition contains your currently used Ubuntu - / designates root folder, much like C:\ on Windows. [SWAP] tells us it's the partition for your virtual memory ( which is usually serves to compensate for lack of RAM) and is typically allocated exactly the same amount of disk space as your RAM, and yes, any default installation of Ubuntu does this unless you choose manual approach .

Next, see the following two lines.

─sda5   8:5    0  62.4G  0 part 
└─sda6   8:6    0   7.9G  0 part 

There's your unknown 67 GB volume ( and yes, the size differs not by accident , Linux commands report size in Gibibytes , which is powers of 2 rather than convenient human-readable powers of 10 ). What's more important is the 7.9G , this is the same amount as above, indicating that's also a swap partition.

Solving the issue

We've mentioned in the comments GParted , which is a very very handy tool for resizing disk partitions. The full procedure is beyond the scope of this question, but I can point you to the canonical tutorial we have: How to resize partitions? . df output tells me that your mysterious 67 GB volume there isn't mounted ( i.e. not in use by the system , which is a good thing ) , so you could install gparted and proceed to resize that disk directly, deleting the two paritions first and then reallocating that space to be used by some other partition.

On a side note , you have 8 GB of swap. That much swap typically isn't needed for desktop with that much RAM. Consider deleting your /dev/sdd5 partition . Personally, I have SSD and plenty of RAM , so it would be a waste, and so I only have one root partition and that's it.

Finally, make sure to run sudo update-grub in terminal after everything is done. We want the bootloader to know that we've done changes to the system. Otherwise it will be a dum-dum and try to load everything as before which may brick the system.

If everything succeeds, have a beer and keep enjoying Ubuntu ( responsibly ) ; and if you have any other concerns - post another question and we will do our best to help

1

In ubuntu (and in linux in general) Computer or MyComputer is a Windows-like designation for /. / is the root of your Ubuntu filesystem. Just like MyComputer is the root of your Windows PC. In linux everything is interpreted as a file or folder, even the hardware parts. Hardware is located in /dev. Harddisks looks like /dev/sda , dev/sdb , etc.

67GB Volume is the partition where your Ubuntu is located/installed. Then why 67GB Volume is not exactly the same as Computer? Because Computer shows EVERYTHING connected to your Ubuntu, like a cdrom device, interpreted as a cdrom folder. 67GB Volume shows only elements strictly located within it. But a cdrom is a separate filesystem, not located on 67GB volume, but on a separate drive.

You File Manager will always display only those partitions that can be mounted - editable from Ubuntu. Windows has some special partitions (microsoft reserved partition, recovery partition), Ubuntu has special partition (swap partition), and both Win and Ubu need a special EFI partition for UEFI computers. Special partitions cannot be edited by using usual tools, because editing them might render your operating systems unusable.

ipse lute
  • 2,614