The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Used Space on Logical Volumes aldowsary AIX 7 04-24-2007 03:13 AM
Setting up Logical Volumes in Solaris 10 jimthompson UNIX for Dummies Questions & Answers 3 09-25-2006 08:43 AM
filesystems and logical volumes uXion AIX 1 08-16-2006 12:39 AM
Did not know about logical volumes gezi News, Links, Events and Announcements 2 04-27-2005 11:10 AM
AIC logical volumes 98_1LE UNIX for Dummies Questions & Answers 1 09-14-2002 10:33 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-24-2008
Steelysteel Steelysteel is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 8
Move veritas filesystem space between Logical volumes

I have a veritas file system (fsA) that is nearing capacity. We have secondary file system (fsB). that is unused and would like to move some of it's disk space but I'm unsure as to how to do this with.

/dev/vx/dsk/vg05/lvol05
25288704 21887258 3188911 88% /fsA
/dev/vx/dsk/vg05/lvol04
256000000 152953 239856631 1% /fsB

I know how to grow the file system using the command:
vxresize -F vxfs -g vg05 lvol05 +2G

But how would I allocate 40GB from lvol04 to lvol05?
I'm a veritas/filesystem newb.
  #2 (permalink)  
Old 11-24-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,235
The easiest way is to use vxresize to shrink the second volume (eg use -2g to shrink by 2GB ), then vxresize the one you want to grow.
  #3 (permalink)  
Old 11-24-2008
Steelysteel Steelysteel is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 8
Thanks Reborg. Worked perfectly. As I read your post, I realized that the logical volumes were in the same volume group so a shrink/increase would be trivial. Brain fart for me.

I was thinking that the the LV's were in separate volume groups which, I presume, complicates the matter. Correct? if so, what would I have to do differently?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0