Visit Our UNIX and Linux User Community


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


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers How to extend a disk in veritas volume manager in veritas cluster?
# 1  
Old 04-08-2019
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.
Code:
#hastatus -sum

-- System State    Frozen
A node1  running 0
A node2 running 0
-- Group State
-- Group             System                    Probed                AutoDisabled              State
B    zone1            node1                          y                            N                                OFFLINE
B    zone1            node2                         y                            N                                 PARITIAL

-- Resources NOT PROBED
--GROUP                        TYPE                      Resource                        System

D Zone1                            NFS                       nfs                                   node1
D Zone1                            NFS                       nfs                                   node2
D Zone1                            Share                    ProdCI_share               node1
D Zone1                            Share                    ProdCI_share               node2
D Zone1                            Share                    Prodarchive_share     node1
D Zone1                              Share                    Prodarchive_share     node2

Node2:-
Code:
/dev/vx/dsk/zoneappdg/zoneappvol01 - /prod file system
Inside node2 there is zone1 running and using this /prod file system.

Node1:-
Code:
It doesn't mounted /prod file system.

Inside node1 there is zone1 is in configured state and /prod doesn't mounted

Now luns are added in servers and wanted to know if i grow and add disk in node2 will it expand?
Do i need to reboot the zone to get new values of /prod file system.
please someone suggest and give me the commands.
# 2  
Old 04-08-2019
Here is some old 2011 reference material which may or may not be helpful.

YMMV


How to increase the size of vxdisk,volume, and filesystem following lun expansion.

Solution
First increase the size of the disk in vxvm:


Code:
# vxdisk -f -g <dg> resize <disk>

Example:
Code:
# vxdisk -f -g Cnv1 resize c13t1d0

Check to ensure size has increased by checking the 'dm' in vxprint output:

Code:
# vxprint -htg <dg>

Example:
Code:
# vxprint -htg Cnv1

Now check for amount of increase:

Code:
# vxassist -g <dg> maxsize

Example:
Code:
# vxassist -g Cnv1 maxsize

Increase the volume and filesystem size using output from previous command:

Code:
# /etc/vx/bin/vxresize -F vxfs -g <dg> <vol> +<size>

Example:
Code:
# /etc/vx/bin/vxresize -F vxfs -g Cnv1 vol30 +104857600

'

Verify with df command.

Hope this helps, but maybe not. It's a dated reference.

Cheers.

Previous Thread | Next Thread
Test Your Knowledge in Computers #471
Difficulty: Medium
Google recommends that users configure Google Public NTP together with non-leap-smearing NTP servers.
True or False?

10 More Discussions You Might Find Interesting

1. 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

2. Solaris

Veritas Volume Manager: disk "failed was"

Hello there, I'm going to describe a situation I've got here... feel free to ask away questions and I'll provide what I can if it'll help me get this answered! When I do a vxdisk list, I see a disk that VxVM calls "disk4" that is listed as "failed was: c1t9d0s2". When I do a format, I can go... (3 Replies)
Discussion started by: kitykity
3 Replies

3. 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

4. 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

5. UNIX for Advanced & Expert Users

Veritas Volume Manager question (Disk layout with 4 plexes)

I am trying to build a veritas volume similar to an existing volume on another server. The output on source server is: usbtor12# vxprint -hrtg appdg v anvil_sqlVOL - ENABLED ACTIVE 629145600 SELECT - fsgen pl anvil_sqlVOL-01 anvil_sqlVOL ENABLED ACTIVE 629145600... (3 Replies)
Discussion started by: momin313
3 Replies

6. Solaris

veritas volume manager links

Hi all, Anybody know the URLs of veritas volume manager disk problems,volume problems,root disk problems ...etc. Please share the URL's. i really appreciate for cooperation. regards krishna (4 Replies)
Discussion started by: murthy76
4 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. UNIX for Dummies Questions & Answers

veritas filesystem and volume manager

WHat is the difference between Veritas filesystem and veritas volume manager? Regards (2 Replies)
Discussion started by: knarayan
2 Replies

10. UNIX for Dummies Questions & Answers

How to start Veritas volume manager

? (1 Reply)
Discussion started by: 98_1LE
1 Replies

Featured Tech Videos