The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 08-14-2008
b1f30's Avatar
b1f30 b1f30 is offline
Registered User
  
 

Join Date: Aug 2008
Location: New England, U.S.A.
Posts: 18
Quote:
Originally Posted by jlliagre View Post
I don't think there is anything to change with swap which should be located elsewhere assuming you used the default layout.

To be sure, post the output of this command:

Code:
# prtvtoc /dev/dsk/c1t1d0s2

However, there is an issue with these steps. The growfs command cannot be used with the root partition according to its documentation. That means this won't work even in single user mode.

One possible workaround would be to boot on an installation media and run all of that from a shell there.

In any case, you should really make a reliable backup of your system before attempting this.

Code:
# prtvtoc /dev/dsk/c1t1d0s2
* /dev/dsk/c1t1d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      63 sectors/track
*     255 tracks/cylinder
*   16065 sectors/cylinder
*    2211 cylinders
*    2209 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector 
*    35471520     16065  35487584
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00    1092420   8964270  10056689   /
       1      3    01      16065   1076355   1092419
       2      5    00          0  35487585  35487584
       7      8    00   10056690  25414830  35471519   /export/home
       8      1    01          0     16065     16064

I found a huge vmcore file that was 600+MB. None of my lab people needed it, so I backed it up to another server, then rm -rf'ed it locally. Now I've got some space to work with, and the patching seems to be coming along just fine.

I'm keeping my eye on this thread anyhow, since you make some valid points.

Thanks again for sharing your knowledge.

P.S. The command I used to find the vmcore file:


Code:
find / -size +100000