problem in volume resizing in veritas


 
Thread Tools Search this Thread
Operating Systems Solaris problem in volume resizing in veritas
# 1  
Old 07-17-2010
problem in volume resizing in veritas

Hi all
i have a veritas volume with the size of 600MB and formatted with vxfs filesystem. I want to grow the filesystem to 700MB. I knew that three ways are there to resize. vxresize, vxvol and vxassit. vxresize works fine. I want to try the same thing with vxvol and vxassist. Can someone tell me the command to do that? I could not understand the growby,growto,shrinkby and shrinkto options available in the vxassist command.
kingston is the vg name. vol00 is the volume name.
I am using VXVM 5.1 on solaris 5.10 (sparc, sun blade 150 machine)
I gave the following command to resize it through vxresize command.
Code:
vxresize -g kingston -b vol00 700m

Thanks in advance.
# 2  
Old 07-17-2010
Try this command.
vxresize -g kingston -F vxfs vol00 700M
# 3  
Old 07-17-2010
Code:
vxresize -g kingston -b vol00 700m
vxresize -g kingston -F vxfs vol00 700m

Both the commands are working fine. This is not my problem. I want to do the same with vxvol and vxassist command.
# 4  
Old 07-17-2010
Try this using vxassit.

vxassist -g kingstong growto vol00 700m


for vxvol

vxvol set len=1400 vol01
# 5  
Old 07-17-2010
vxassist command finished without any error. But my df -h output says, still the filesystem's capacity is 600M. How to resolve this?
the second command gives the following error
Code:
bash-3.00# vxvol -g kingston set len=1400 vol00
VxVM vxvol ERROR V-5-1-13569 Volume vol00: New length must be a multiple
        of the disk group alignment.
VxVM vxvol INFO V-5-1-11896 Volume length is 1400 while disk group alignment is 16

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to extend a disk in veritas volume manager in veritas cluster?

Hi Experts, I wanted to extend a veritas file system which is running on veritas cluster and mounted on node2 system. #hastatus -sum -- System State Frozen A node1 running 0 A node2 running 0 -- Group State -- Group System Probed ... (1 Reply)
Discussion started by: Skmanojkum
1 Replies

2. Solaris

Veritas volume manager installation problem in Intel machine

i have downloaded veritas storage foundation 5.1 sp1 from veritas website. when i tried to install veritas through the installation script.. installation proceeds fine and then when it reaches Installing VRTSsfmh package - it doesnt proceed further it is stuck with this package. when i checked... (2 Replies)
Discussion started by: chidori
2 Replies

3. UNIX for Dummies Questions & Answers

VERITAS Volume Manager - mirror a disk/volume

I have a machine (5.10 Generic_142900-03 sun4u sparc SUNW,Sun-Fire-V210) that we are upgrading the storage and my task is to mirror what is already on the machine to the new disk. I have the disk, it is labeled and ready but I am not sure of the next steps to mirror the existing diskgroup and... (1 Reply)
Discussion started by: rookieuxixsa
1 Replies

4. Solaris

Veritas volume manager resize

Hiii, Can any one sugge me best practices for resizing a veritas voulume with vxfs file system? I tried doing this vxassist -g stg shrinkto stgvol 209715200 VxVM vxassist ERROR V-5-1-7236 Shrinking a FSGEN or RAID5 usage type volume can result in loss of data. It is recommended... (1 Reply)
Discussion started by: anwesh
1 Replies

5. Solaris

Veritas volume manager in solaris.

Can you please let me know the certification code for veritas volume manager in solaris ? Thanks in advance. (2 Replies)
Discussion started by: gowthamakanthan
2 Replies

6. UNIX for Advanced & Expert Users

Resizing veritas mirror-stripe volume

Hi, Is there are any special preocedure for extending veritas mirror-stripe volume? In my case , volume lay out looks as below v test - ENABLED ACTIVE 419430400 SELECT - fsgen pl test-01 test ENABLED ACTIVE 419454720 STRIPE 3/128 RW sd... (0 Replies)
Discussion started by: 2k7.vipin
0 Replies

7. UNIX for Advanced & Expert Users

Regarding Veritas Volume manager

hy guys I am new at this thread , i have installed sf 5.0 and wanted to encapsulate root disk but when i get to optionn to enter private region i get this error: Enter desired private region length (default: 65536) 512 VxVM ERROR V-5-2-338 The encapsulation operation failed with the... (2 Replies)
Discussion started by: charneet
2 Replies

8. Solaris

How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE

Hi all, I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume. Please find a sutable solutions. Thanks and Regards B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies

9. Filesystems, Disks and Memory

VEritas Volume Manager command

Hi, Somebody can help me to retrieve the command to use in Solaris 8 to display the space free on a Virtual disk created by VVM ? Thanks very much, Fabien Renaux (1 Reply)
Discussion started by: unclefab
1 Replies

10. UNIX for Dummies Questions & Answers

How to start Veritas volume manager

? (1 Reply)
Discussion started by: 98_1LE
1 Replies
Login or Register to Ask a Question