syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me

You are here: Linux101 > linux101_cclud_disk
Question:
In Linux101 how to CCLUD Disk space?

Disk space depends on a concept called 'File System'.

A file system is an upside down tree.

The tree contains directories.

A directory is the same as a folder in Windows-speak.

A directory contains files and other directories.

A directory might look like this:
/home/dan
A file might look like this:
/home/dan/hello.txt
At the very top of the file system is a single directory called:
/
This is different than Windows.

If I go to the very top of a Windows I will find a collection of folders with names like C: and D:.

This is a user friendly feature of Windows. It is giving me information about the physical storage devices and how they relate to the Windows file system.

Now I return to the original question:
Q: In Linux101 how to CCLUD Disk space?

That question is too large for a Linux101 class.

I will scope it down to this question:

Q: In Linux101 on Ubuntu running in VirtualBox, how to CCLUD Disk space?
A: I add space using the VirtualBox Gui then I use the disk wizard inside the guest.

When I start, the inside of the guest Linux looks like this:
dan@anaconda96 ~ $ 
dan@anaconda96 ~ $ 
dan@anaconda96 ~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       124G  7.9G  110G   7% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            991M  4.0K  991M   1% /dev
tmpfs           201M  904K  200M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none           1001M  152K 1001M   1% /run/shm
none            100M   36K  100M   1% /run/user
dan@anaconda96 ~ $ 
dan@anaconda96 ~ $ 

I shutdown the instance.
I captured images from the host:










I boot the guest and I notice the diskspace is not visible yet.

dan@anaconda96 ~ $ 
dan@anaconda96 ~ $ 
dan@anaconda96 ~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       124G  7.9G  110G   7% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            991M  4.0K  991M   1% /dev
tmpfs           201M  908K  200M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none           1001M  152K 1001M   1% /run/shm
none            100M   28K  100M   1% /run/user
dan@anaconda96 ~ $ 
dan@anaconda96 ~ $ 


I use a utility inside the guest named disks to finish the steps:







The inside of the guest Linux now looks like this:

I see it now:

dan@anaconda96 ~ $ 
dan@anaconda96 ~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       124G  7.9G  110G   7% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            991M  4.0K  991M   1% /dev
tmpfs           201M  912K  200M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none           1001M  152K 1001M   1% /run/shm
none            100M   28K  100M   1% /run/user
/dev/sdb1       7.8G   18M  7.4G   1% /media/dan/mydisk
dan@anaconda96 ~ $ 
dan@anaconda96 ~ $ 

CCLUD of Accounts is the next topic of Linux101:
linux101_cclud_account


You are here: Linux101 > linux101_cclud_disk
syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me