cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β 

File system resizing in vxvm

allaboutunix
Level 6

Hi,

We have to increase size of below filesystem. by 100GB however, I am confused which disk and diskgroup I have to check.

When I checeked vaultdg41 I found 6 GB of space free. But, when I checked vxprint o/p it shows volume v41 with subdisk emcpower38 and got confused, in b/w emcpower75 and emcpower38.

For temporary, use we can increase 5 GB, but i don't know, How should I proceed, please assist what diskgroup and disk do I have to check and what command should I use?

This is an urgent requirement, request to help as soon as possible.

 

root@lyle# df -h /vaults/v41/
Filesystem             size   used  avail capacity  Mounted on
/dev/vx/dsk/vaultdg/v41vol
                       5.0G    18M   4.7G     1%    /vaults/v41
root@lyle#

WHen checked we found the 

vxdisk list

emcpower68s2 auto:simple     vaultdg19    vaultdg      online thin
emcpower69s2 auto:simple     vaultdg24    vaultdg      online thin
emcpower70s2 auto:simple     vaultdg28    vaultdg      online thin
emcpower71s2 auto:simple     vaultdg21    vaultdg      online thin
emcpower72s2 auto:simple     vaultdg31    vaultdg      online thin
emcpower73s2 auto:simple     vaultdg35    vaultdg      online thin
emcpower74s2 auto:simple     vaultdg38    vaultdg      online thin
emcpower75s2 auto:simple     vaultdg41    vaultdg      online thin
emcpower76s2 auto:simple     vaultdg44    vaultdg      online thin
emcpower77s2 auto:simple     vaultdg47    vaultdg      online thin
emcpower78s2 auto:simple     vaultdg50    vaultdg      online thin

and on vxprint,

root@lyle# vxprint -hvt |grep v41
v  v41vol       -            ENABLED  ACTIVE   10485760 SELECT    -        fsgen
pl v41vol-01    v41vol       ENABLED  ACTIVE   10485760 CONCAT    -        RW
sd vaultdg22-02 v41vol-01    vaultdg22 10485760 10485760 0        emcpower38 ENA

=====================================================================

root@lyle# vxdg -g vaultdg free |grep -i vaultdg41
vaultdg41    emcpower75s2 emcpower75   209715200 14156272  -

==============================================================

root@lyle# vxdisk list emcpower75
Device:    emcpower75s2
devicetag: emcpower75
type:      auto
hostid:    lupien
disk:      name=vaultdg41 id=1380734345.182.lupien
group:     name=vaultdg id=1135801061.265.lupien
info:      format=simple,privoffset=1,pubslice=3,privslice=3
flags:     online ready private autoconfig noautoimport imported thin
pubpaths:  block=/dev/vx/dmp/emcpower75s3 char=/dev/vx/rdmp/emcpower75s3
guid:      -
udid:      EMC%5FSYMMETRIX%5F000192606027%5F60000970000192606027533030323837
site:      -
version:   2.1
iosize:    min=512 (bytes) max=2048 (blocks)
public:    slice=3 offset=65793 len=223871487 disk_offset=3840
private:   slice=3 offset=1 len=65536 disk_offset=3840
update:    time=1422066489 seqno=0.285
ssb:       actual_seqno=0.2
headers:   0 248
configs:   count=1 len=48346
logs:      count=1 len=7325
Defined regions:
 config   priv 000017-000247[000231]: copy=01 offset=000000 enabled
 config   priv 000249-048363[048115]: copy=01 offset=000231 enabled
 log      priv 048364-055688[007325]: copy=01 offset=000000 disabled
Multipathing information:
numpaths:   1
emcpower75c     state=enabled

=================================================

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

How many disks do you have in vaultdg and what size?

Check with 'vxprint -g vaultdg -ht'.

As per your previous post, you can specify which disk to use in vxresize command.
Or see Mike's example over here: 

https://www-secure.symantec.com/connect/forums/vxresize-queries#comment-7805651

View solution in original post

7 REPLIES 7

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Have another look at df -h output:

/dev/vx/dsk/vaultdg/v41vol

This volume is in vaultdg diskgroup. 

So, you need to look for disks in vaultdg diskgroup. Not vaultdg41.

PS:
I have moved this post to Storage Foundation forum.

mikebounds
Level 6
Partner Accredited

Use:

vxassist -g vaultdg maxgrow v41vol

 

To see if you have space to grow filesystem and if there is not enough space, then you will need to add a disk to the diskgroup - see https://www-secure.symantec.com/connect/forums/issue-while-extending-file-system-vxvm#comment-108884...

Mike

allaboutunix
Level 6

Do,

vxassist -g vaultdg maxsize

AND

vxassist -g vaultdg maxgrow v41vol

will provide same information of  maximum size to grow?

 

Thanks.

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
You are in the perfect situation where you can issue both commands and see the difference in output for yourself. The maxgrow command will take the current volume layout into account. Remember your previous attempt to grow a striped volume?

mikebounds
Level 6
Partner Accredited

As your volume is not striped or mirroed, then both should give the same, but as Marianne says, if the volume you are growing is mirrored or striped, then maxgrow and maxsize may give different results.

Mike

allaboutunix
Level 6

Mike Can you suggest, if I have to increase the size of the volume through a particular disk, then which command should I have to use?

For instance, through vxdg -g dgname free, I got the info that emcpower75 disk has some space in vaultdg diskgroup may be 6 GB to extend, then which command do I have to use?

I believe if i go with with vxassist -g vaultdg maxsize command and then resize the volume, it would take space from any of the disk which there also chance of data corruption, right?

Please suggest?

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

How many disks do you have in vaultdg and what size?

Check with 'vxprint -g vaultdg -ht'.

As per your previous post, you can specify which disk to use in vxresize command.
Or see Mike's example over here: 

https://www-secure.symantec.com/connect/forums/vxresize-queries#comment-7805651