Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Does anyone know how to expand /var partition on VxVm encapsulated root drive

Updated: 12 Oct 2010 | 4 comments
Suki's picture
0 0 Votes
Login to vote

We are running Solaris O/S with an old version of Veritas Volume Manager and have run out of space in /var.  We are not able to use contiguous space as the entire disk is being utilized.   Is there a known procedure out there on how to expand the /var partition with manipulations of Veritas and minimal downtime?  thx

Comments

Gaurav Sangamnerkar's picture
06
Jul
2009
0 Votes 0
Login to vote

Hello, I don't believe there

Hello,

I don't believe there is anyway you can manipulate this since when encapsulation happens, physical slices are converted to volumes. So actually you can not run vxresize/vxassist commands because it is not capable to increase a physical slice. Moreover need would be to find contigous space. So no option but to create space somewhere else, move /var for timebeing, create new var with bigger space & mount var back at original.

5.0MP3 introduced some new ways to resize the root /var partitions but as you mentioned you are running old version of veritas, you are out of choice.

Gaurav

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

sunshine 2's picture
06
Jul
2009
0 Votes 0
Login to vote

Using Solaris Live upgrade you can do this..

Hi Suki,

we have run into this situation many a times and you can increase the size of the / and or /var or any file system residing on a encaplulated disk provided you have free space left (unused disk space) on the rootdisk and rootmirror disk

here is the high level plan and procedure:

scenario:

two boot disks ,  rootdisk and rootmirror

1. break boot disk mirroring

2. unencapsulate the rootmirror disk( assuming you are booted off the rootdisk )

3. increase the partitions size using format command

4. use lucreate to create ABE

5. luactivate ABE

6. shutdown the server using init 0

7. boot the server using ABE

8. encapsulate the rootmirror disk

9. remirror the boot disks. rootmirror -> rootdisk

wzis's picture
13
Jul
2009
1 Vote +1
Login to vote

VxVM can do this

Assume, root mirror disk is larger than root disk:
1. Add the root mirror disk into rootdg or remove all plexes on the disk.
2. vxassist -g rootdg mirror rootvol
3. vxassist -g rootdg mirror var
4. dis/remove the var plex on root disk.
5. vxresize var
6. continue to mirror other volumes.
7. vxbootsetup

Challenger's picture
12
Apr
2010
1 Vote +1
Login to vote

hi Guys, did anyone tried

hi Guys,
did anyone tried putting /, /var and /opt on two separate local disks? this is for solaris 9, sparc platform, veritas 5.0MP3.

Expert grows from newbie.