[Sol10/VMWare] Unable to see new disk space.

The master copy was set to 5 gigs. As the instance is cloned, additional space is provided. I was given a new instance along with 15 gigs of additional space. The problem is I can't see the additional space, either as additional space on the primary disk or as a second disk.

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <DEFAULT cyl 2044 alt 2 hd 128 sec 32>
          /pci@0,0/pci1000,30@10/sd@0,0
Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]
...
partition> p
Current partition table (original):
Total disk cylinders available: 2044 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm     507 - 2043        3.00GB    (1537/0/0) 6295552
  1       swap    wu       1 -  256      512.00MB    (256/0/0)  1048576
  2     backup    wm       0 - 2043        3.99GB    (2044/0/0) 8372224
  3        var    wm     382 -  506      250.00MB    (125/0/0)   512000
  4       home    wm     257 -  381      250.00MB    (125/0/0)   512000
  5 unassigned    wm       0               0         (0/0/0)          0
  6 unassigned    wm       0               0         (0/0/0)          0
  7 unassigned    wm       0               0         (0/0/0)          0
  8       boot    wu       0 -    0        2.00MB    (1/0/0)       4096
  9 unassigned    wm       0               0         (0/0/0)          0

I've used devfsadm with -c disk and -v and also touch /reconfigure, reboot but the new space isn't available. I checked with the vmware admin (a windows guy) and he's assured me he assigned the 15 gigs to my instance and that there's nothing else he needs to do.

Suggestions?

Thanks.

Carl

Please ask the VMWARE Admin the way he assigned the space. As once the disk space is allocated to VM, there is no reason you will not able to see it.

Please paste the Release of Solaris you are using along with the Version of VMWARE.

ur's disk space is only 3 gb. and u have used that space for some partition. then how can u get extra space from that. so make the disk something high ( 10g). dont give the auto partition. give the customize partition, while installation.

devfsadm --- command used to updated new inserted device.

devfsadm -c <diskname>

devfsadm -v <diskinfo>

touch/reconfigure is also used to for the same thing.

Appreciate the answers so far, thanks.

I'm not at work now so I can't get the release but I believe it's 5/08 as I built the main clone a month or so ago. I'll track down the VMWare release on Monday as well.

I'm aware that my disk space is currently at 4 gigs as that was how it was designed. The intention was to create a core clone already installed, patched and security scanned. As folks need an instance of Solaris, it'd be cloned and then additional space carved out as virtual disks to accommodate whatever application is to be used. A final security scan could be done and then the system brought up live.

In this case I'm creating an apache server with a mysql backend (internal wiki server). So I am being allocated 15 gigs of additional space. I expected it to show up as c1t1d0 or c1t0d1 to be newfs'd and mounted.

I used devfsadm to try and discover the new disk, same as touch /reconfigure which apparently didn't work which is why the question.

Normally I'd do it as a zone and use ZFS on a Sun box but they want me to use VMWare because it's already in place and on the internal production network.

But thanks for the advice on how to install Solaris :slight_smile:

Carl

if u want to install the solaris OS on Vmware.

  1. open the vmware

  2. click the file

  3. select new

  4. there select the new virtual machine

  5. give next

  6. give typical

  7. give next

  8. select OS, which u want to install

  9. give the location

  10. the harddisk space

once u created the all details. u will get the new virtual machine. then run the machine.

I'm guessing you're not understanding my post.

Solaris is installed already. It's patched and ready to use. When I want to create a _new_ server, I clone the minimally installed (4 gigabytes) and patched version and then am allocated whatever extra space I need for the application that will be installed on the server.

I _don't_ want to reinstall and repatch Solaris whenever I want a slice of the VMWare server (15Gig, 20Gig, or 100Gig).

So the problem is that I have an additional 15 Gigabytes available to me but Solaris is not seeing it for some reason.

Carl

Release:

                        Solaris 10 8/07 s10x_u4wos_12b X86
           Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 16 August 2007

VMWare: 3.5.0. The client is 2.5.0.

Carl

How much space do you see allocated to the vmdk through the VMware Infrastructure Client? Do you see the extra 15G there?

I actually don't see any space at all.

General
Guest OS: Sun Solaris 10 (32-bit)
CPU: 1vCPU
Memory: 768 MB
Memory Overhead: 108.09 MB

VMware Tools: not installed
IP Addresses:
DNS Name:

State: Powered On
Host:
Active Tasks:

Resources
CPU usage: 22 MHz
Host memory usage: 797.00 MB
Guest memory usage: 46.00 MB

Datastore Capacity Free

Network

I'm working on getting VMWare tools installed but the system doesn't apparently recognize the attached CD so it can't install.

Carl