Disk space VMWare

General support questions
Post Reply
Art11
Posts: 26
Joined: 2011/09/03 21:31:35

Disk space VMWare

Post by Art11 » 2011/09/03 21:41:52

Hi,
I'm new to Linux. I installed CenOS 6 in VMWare Workstation. I allocated 50 GB hd for this installation. But when I tried copying 2 GB file to CenOS Downloads folder it says I have no free space left. The free space available in any folder is 1.7 GB out of 50 GB... What is the problem please? And how to access available free space please? The disk tools in CentOS show that I have 45 GB free space. Why I'm not able to copy 2 GB file to CentOS Downloads or any other folder? I was logged in as root.
Please use plain English or I will not be able to understand...
Thank you very much.
Art.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Disk space VMWare

Post by TrevorH » 2011/09/03 22:23:03

Post the output from the following commands, run as root

[code]
df -m
fdisk -l
pvs
vgs
lvs
[/code]

(Strictly speaking, the first one doesn't need to be run as root)

Art11
Posts: 26
Joined: 2011/09/03 21:31:35

Re: Disk space VMWare

Post by Art11 » 2011/09/03 23:28:46

Hi,
Logging in as non root user fixes the problem. I see those "missing" 40 GB of free space. But I still would like to know why I had problems logged in as root please.

Here's the output:
[code]
[root@localhost ~]# df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/sda2 3938 1967 1771 53% /
tmpfs 1012 1 1012 1% /dev/shm
/dev/sda1 49 23 24 50% /boot
/dev/sda5 42408 177 40077 1% /home


[root@localhost ~]# fdisk -l

Disk /dev/sda: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 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: 0x0008c69f

Device Boot Start End Blocks Id System
/dev/sda1 * 1 7 51200 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 7 517 4096000 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 517 1035 4161536 82 Linux swap / Solaris
/dev/sda4 1035 6528 44119040 5 Extended
/dev/sda5 1035 6528 44118016 83 Linux

[root@localhost ~]# pvs
[root@localhost ~]# vgs
No volume groups found
[root@localhost ~]# pvs
[root@localhost ~]# vgs
No volume groups found
[/code]
I had no problem with disk space and copying files in CentOS 5.6...
Thank you very much.
Art.

usao
Posts: 28
Joined: 2011/09/02 10:53:40
Location: Chandler, AZ

Re: Disk space VMWare

Post by usao » 2011/09/04 01:29:39

When you login as "root" user, you are most likely landing in "/root" directory which is under the "/" filesystem and according to your "df" output that has 1.7Gb free. If you login as any other user, you are likely landing under the "/home" filesystem which has 40Gb free according to your "df" output.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Disk space VMWare

Post by toracat » 2011/09/04 01:53:08

Art11,

I see that you used the autoinstall feature of VMware Workstation. I strongly recommend you reinstall CentOS manually. The autoinstall does not do the partitioning correctly. The most serious issue is that it makes the /boot partition too small. Please see this [url=http://communities.vmware.com/thread/309617]VMware forum entry[/url] I filed. Also, there is no support for RHEL 6.1 (therefore CentOS 6.1 when it's released) at this moment. You may want to check [url=http://blog.toracat.org/2011/05/vmware-workstation-and-rhel6-1/]this[/url] out for a known issue [and a workaround].

Art11
Posts: 26
Joined: 2011/09/03 21:31:35

Re: Disk space VMWare

Post by Art11 » 2011/09/04 03:22:51

Thank you very much to all who replied.
Toracat, i do not know how to install CentOS 6 manually. After inserting CentOS DVD it starts installing automatically not giving any choices... Any help/links/instructions etc... please?
Thank you very much again.

alm2k
Posts: 20
Joined: 2011/07/11 20:01:31

Re: Disk space VMWare

Post by alm2k » 2011/09/04 09:07:04

To install CentOS manually in VMware, you must make this choice from VMware, where you choose the manual way instead of easy install. Then you just install CentOS as you would normally do on a real pc (or server).

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Disk space VMWare

Post by toracat » 2011/09/04 13:25:57

Early on during the installation of a guest, you should select "install the OS later". This will create a guest without the OS. You then boot this guest like you would normally do with real iron as alm2k said.

Art11
Posts: 26
Joined: 2011/09/03 21:31:35

Re: Disk space VMWare

Post by Art11 » 2011/09/04 14:20:59

Got it. Thank you very much to all! :-D

Post Reply