β04-10-2015 03:49 AM
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
=================================================
Solved! Go to Solution.
β04-17-2015 03:05 AM
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
β04-10-2015 04:32 AM
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.
β04-10-2015 04:44 AM
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
β04-13-2015 01:46 PM
Do,
vxassist -g vaultdg maxsize
AND
vxassist -g vaultdg maxgrow v41vol
will provide same information of maximum size to grow?
Thanks.
β04-13-2015 08:40 PM
β04-14-2015 05:38 AM
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
β04-17-2015 02:12 AM
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?
β04-17-2015 03:05 AM
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