LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS 6.3 on Virualbox - shows Disk full (https://www.linuxquestions.org/questions/linux-newbie-8/centos-6-3-on-virualbox-shows-disk-full-4175428432/)

linux007 09-21-2012 03:09 PM

CentOS 6.3 on Virualbox - shows Disk full
 
I have successfully installed COS 6.3 on Virtualbox. I allocated 8 GB for VBox. It boots up fine, and I could install JAVA JDK. I tried to install JRE for Firefox, and it said not enough disk space. So, I ran du -h command:


df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_centos-lv_root 5.5G 5.4G 45M 100% /
tmpfs 499M 216K 499M 1% /dev/shm
/dev/sda1 485M 56M 405M 12% /boot

I also ran (as 'root') fdisk command, and here is the output.

[root@localhost mstr]# fdisk -l

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009b0af

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 1045 7875584 8e Linux LVM

Disk /dev/mapper/vg_centos-lv_root: 5947 MB, 5947523072 bytes
255 heads, 63 sectors/track, 723 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_centos-lv_swap: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


My questions are:

1) I have not installed anything bigger yet, and how come almost 5 GB is used up in mapper?
2) Where is my 3 GB (out of 8 on Vbox), and how can I use that?
3) (it is not a COS question, so ignore if does not apply) Do I need to, and if yes, how to increase Vbox disk size?

Thanks in advance,

John VV 09-21-2012 05:10 PM

seeing as the normal recommended Minimal ( the smallest size) is 9 gig and about 15 to 20 gig is used normally for / and 5 to 20 gig for /home

resize the VM

jefro 09-21-2012 05:19 PM

In some installers you get kind of a dual size plus. The download has to finish and then the installer has some temp files while making the install.

I tend to make virtual hard drives more like 20G and use the grow feature. The space on host will only be around what you need.


All times are GMT -5. The time now is 09:25 PM.