1829598 Members
1668 Online
109992 Solutions
New Discussion

vxvm

 
Indrajit Bhagat
Regular Advisor

vxvm

Hi all exprets in VXvM

can you please tell me which type of layout is there in this vxprint display.
roo # vxprint -g esintprd-stell-dg -htv
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
SV NAME PLEX VOLNAME NVOLLAYR LENGTH [COL/]OFF AM/NM MODE
SC NAME PLEX CACHE DISKOFFS LENGTH [COL/]OFF DEVICE MODE
DC NAME PARENTVOL LOGVOL
SP NAME SNAPVOL DCO

v stellvol - ENABLED ACTIVE 81788928 SELECT - fsgen
pl stellvol-02 stellvol ENABLED ACTIVE 81788928 CONCAT - RW
sd Cstellvol-02-01 stellvol-02 Cstellvol-02 0 40939776 0 c3t5d2 ENA
sd Cstellvol-03-01 stellvol-02 Cstellvol-03 0 40849152 40939776 c3t5d3 ENA
pl stellvol-03 stellvol ENABLED ACTIVE 81788928 CONCAT - RW
sd Pstellvol-02-01 stellvol-03 Pstellvol-02 0 40939776 0 c3t4d2 ENA
sd Pstellvol-03-01 stellvol-03 Pstellvol-03 0 40849152 40939776 c3t4d3 ENA

This is the file system :/opt/stellent/server Current size of this file system is 39GB, and i have to increase the file system size by 50G to this file system.


what would be the command i use to resize the file system. I am sending attaching one doc, that i have prepared, can you cross check it.

5 REPLIES 5
Richard Hepworth
Esteemed Contributor

Re: vxvm

Hi Indrajit,

This volume is a mirror-concat volume (2 data plexes).
To extend I would use /etc/vx/bin/vxresize -F vxfs? -g esintprd-stell-dg +50g alloc=Cstellvol??,Pstellvol??

This will extend both the volume and filesystem by 50Gb.

From the output above though it looks like the volume is already 80Gb in size not 39Gb as you stated?
Richard Hepworth
Esteemed Contributor

Re: vxvm

oops forgot to add volume name after diskgroup:

/etc/vx/bin/vxresize -F vxfs -g esintprd-stell-dg stellvol +50g alloc=Cstellvol-??,Pstellvol-??

The question marks should be replaced with a disk that has the required space to fulfill the request.

cheers

Richard
Hasan  Atasoy
Honored Contributor

Re: vxvm

hi ;

as richard said , this voluem has ~80gb. perhaps it is extended but filesistem is not extended by extendfs.


I would extend fs first by extendfs .

umount it.
extendfs /dev/vx/rdsk/esintprd-stell-dgstellvol
mount it

look at size

hasan
Ralph Grothe
Honored Contributor

Re: vxvm

You can use the vxresize command as shown by Richard to avoid the extra step of filesystem resizing by fsadm command after volume growth.

You also can use the "vxassist growby" stanza,
where you can specifically exclude disks by prepending a shell quoted exclamation mark.

But before you need to find out if the free pool for this particular disk group has sufficient free blocks for allocation.
You can find out by

# vxdg -g sintprd-stell-dg free
Madness, thy name is system administration
chris huys_4
Honored Contributor

Re: vxvm

Hi,

The vxvm volume stellvol is correctly extended to 81Gigabyte.

To extend the filesystem, online, use the following command.

#fsadm -b 81788928

Greetz,
Chris