Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Adding new LUN to existing mount Point (Veritas Volume Manager)

Updated: 22 May 2010 | 6 comments
Satish M's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Please can I know the procedure to add new LUN to exisiting mount point.
OS: Solaris 9
Veritas: Veritas Volume Manager 4

type: layout=

CONCAT
The Servers are already in VCS (active/passive).

Comments

Dev Roy's picture
15
Dec
2009
1 Vote +1
Login to vote

First of all you need to add

First of all you need to add the LUN to the disk group

# vxdisksetup -if <disk name>   --> This will initialize the disk. Basically it will put private and public region on the disk header so that volume manager can work with the disk.
# vxdg -g <disk group name> adddisk <disk access name, as you prefer>=<disk media name, as displayed in "vxdisk list" command>

This command would increase the volume size as well as file system size
# vxresize -g <disk group name> -F vxfs <volume name> <specify new volume size>

FYI. VM4.0 is no longer supported, unless you have support exception, so I suggest you to go for an upgrade if it is an important server.

Consulting Storage Foundation, VCS, VVR and CVM/CFS on Unix. If this post has helped you, please "Vote" or "Mark as Solution" as appropriate.

Satish M's picture
15
Dec
2009
0 Votes 0
Login to vote

Hi Dev, Thank you for giving

Hi Dev,

Thank you for giving reply.

1)  My exisiting volume group is currently mounted, can i increase the size while disk group is mounted? this is in production
2)  Is there any exstra steps to be involved for existing 2 node cluster and make the LUN cluster aware?

Pl. guide me

Dev Roy's picture
15
Dec
2009
1 Vote +1
Login to vote

In fact disk group has to be

In fact disk group has to be imported and vxfs file system has to be mounted in order to increase or decrease the vxfs file system size.
If I were to assume that volume manager can see the LUN that you are going to add then there is no issue but in case it is not then you may have to restart volume manager daemon in order to make it visible to the volume manager and if you do so then I would suggest you to freeze the service group before you restart your volume manager daemon.

Regards,
Dev

Consulting Storage Foundation, VCS, VVR and CVM/CFS on Unix. If this post has helped you, please "Vote" or "Mark as Solution" as appropriate.

jayess's picture
15
Dec
2009
2 Votes +2
Login to vote

add new lun to existing mountpoint

 In a cluster setup,  first you need to make sure the LUNs are available/ visible  on both the nodes. 

Then perform vxdisksetup to match the format (sliced / simple / or cds) 
add luns to the shared diskgroup. Once the luns are successfully added to the diskgroup, simple vxresize command will magically expand the filesystem for you.

You can increase the mounted shared veritas  filesystem, provided you see the LUNs from both the nodes without any hitch. 

good luck.

Satish M's picture
16
Dec
2009
0 Votes 0
Login to vote

Thank you for your

Thank you for your suggession

While resize i am getting following error msg.

# /usr/lib/vxvm/bin/vxresize -g databkp_dg -F vxfs databkp_dg02 +300g
VxVM vxprint ERROR V-5-1-2716 Record databkp_dg02 found but object type not selected
VxVM vxresize ERROR V-5-1-4705 Problem running vxprint command for volume databkp_dg02, in diskgroup databkp_dg

Please suggest

Satish M's picture
16
Dec
2009
0 Votes 0
Login to vote

Pl. ignore my previous error

Pl. ignore my previous error msg.

Solved the problem, thank u very much for your support Mr. Dev and Mr. Jayess