CentOS 5.1 Partition Information

Associate
Joined
20 Oct 2002
Posts
2,040
Location
Space, the final frontier
Currently installed CentOS 5.1 base install with only the packages needed to run vmware server.

Currently installing this and accessing it via SSH, now I need to display the partition information of my current layout as I have my 36gb raptor for the main drive and 160gb drive which will be used for the VMs.

Now I let the setup format and create the partitions on both drives, however as part of the vmware setup, I want to specify a location (which i may need to create) on the 2nd disk for where all the VMs will go.

Could anyone assist me or point me to somewhere that has this sort of thing documented?

Thanks

Andy
 
Thanks, ok this is what's displayed

Disk /dev/sda: 37.0 GB, 37019566080 bytes
64 heads, 32 sectors/track, 35304 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 100 102384 83 Linux
/dev/sda2 101 35304 36048896 8e Linux LVM

Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 19452 156248158+ 8e Linux LVM


So the 2nd disk is /dev/sdb1, how do i gain access to this and how do i create a folder on it and the final question is when asked for a path in vmware setup, would i put /dev/sdb1/vm for example if i created a folder called vm?

Thanks

Andy
 
you have to mount the disk to a folder e.g where the VM's will be stored

When installing VM you get the option to determine the VM folder, i usually set it as /var/vm once this is done you have to mount the drive, so do the following in terminal

mount /dev/sdb1 /var/vm (as root)

That should do the trick!

hopefully i aven't missed anything as i'm kinda new to this as well :)
 
Thanks Mr Dave, will try that when I get to that stage, another issue is this

[root@server src]# vmware-config.pl
-bash: /usr/bin/vmware-config.pl: /usr/bin/perl: bad interpreter: No such file or directory

So what am I missing here then?
 
Possibly not as I didnt install anything at the beginning, I will find out how to do it, i've also gone back to a single drive configuration as i think i need the raptor to put in my main pc.

So it's just the 160gb drive now.
 
Right, Perl installed and vmware server downloaded, however when coming to run vmware-config.pl this is the message i get

[root@VMSERVER src]# vmware-config.pl
The correct version of one or more libraries needed to run VMware Server may be
missing. This is the output of ldd /usr/bin/vmware:
linux-gate.so.1 => (0x00b18000)
libm.so.6 => /lib/libm.so.6 (0x007a6000)
libdl.so.2 => /lib/libdl.so.2 (0x00111000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00b5f000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00115000)
libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00e88000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00688000)
libXt.so.6 => not found
libICE.so.6 => not found
libSM.so.6 => not found
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00366000)
libz.so.1 => /usr/lib/libz.so.1 (0x00219000)
libc.so.6 => /lib/libc.so.6 (0x0036f000)
/lib/ld-linux.so.2 (0x00e23000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00db5000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x0022c000)

This program cannot tell for sure, but you may need to upgrade libc5 to glibc
before you can run VMware Server.


Anyone got any ideas as to the package name i need to yum install ?

Thanks
 
With those 'not found' libraries, try yum provides whatever.so

I checked on a handy CentOS 5.0 box and it looks like you'll need libXt, libICE and libSM as they're individually packaged.
 
Back
Top Bottom