cancel
Showing results for 
Search instead for 
Did you mean: 

grow fs ufs

tgenova
Level 4

Hi guru.

I would like to grow a file system UFS managed by VxVM by 5GB

# df -h /opt/sybase/data
    Filesystem             size   used  avail capacity  Mounted on
    /dev/vx/dsk/datadg/lv_nms_data
                            89G    74G    14G    85%    /opt/sybase/data 

I want to be sure that the below commands are not dangerous:

for verify the maximum size for my volume:

# vxassist -g datadg maxgrow lv_nms_data

and, after that I can use this commands, probably:

# fsdb -F ufs /dev/vx/dsk/datadg/lv_nms_data 

# vxassist -g datadg growby lv_nms_data 5g   

# vxprint  lv_nms_data

# /usr/lib/fs/ufs/mkfs -M  /opt/sybase/data  /dev/vx/rdsk/datadg/lv_nms_data <value in block>

or

# growfs -M /opt/sybase/data /dev/vx/rdsk/datadg/lv_nms_data

 

is this procedure correct ?

BR and thank you very much

Tiziano

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
You can use vxresize to grow the volume and filesystem in one command. See this TN for VxFS and UFS examples : http://www.veritas.com/docs/000070837

View solution in original post

1 REPLY 1

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
You can use vxresize to grow the volume and filesystem in one command. See this TN for VxFS and UFS examples : http://www.veritas.com/docs/000070837

View solution in original post