Operating System - HP-UX
1752579 Members
4707 Online
108788 Solutions
New Discussion юеВ

Re: filesystem extending issue.

 
Sunil Rahate_1
Advisor

filesystem extending issue.

i have extended the lv but getting error while extending file system.
==================================
/dev/vg_BUSI/lvol1 58212352 58207030 5322 100% /pkg/BUSI/dbs
=====================================
XXXXXXXX:root:/> fsadm -F vxfs -b 57348m /pkg/BUSI/dbs
fsadm: /dev/vg_BUSI/rlvol1 is currently 58212352 sectors - size will be increased
=========================================
9 REPLIES 9
Jeeshan
Honored Contributor

Re: filesystem extending issue.

this is not an error.

check this

#vgdisplay -v /dev/vg_BUSI|more

and check the file system you want to increase is happen or not?
a warrior never quits
Sunil Rahate_1
Advisor

Re: filesystem extending issue.

output of vgdisplay -v /dev/vg_BUSI | more
Max PE per PV 2877
VGDA 14
PE Size (Mbytes) 4
Total PE 18125
Alloc PE 14337
Free PE 3788
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Jeeshan
Honored Contributor

Re: filesystem extending issue.

also post the output of
#lvdisplay /dev/vg_BUSI/rlvol1
a warrior never quits
Sunil Rahate_1
Advisor

Re: filesystem extending issue.

lvdisplay /dev/vg_BUSI/lvol1

LV Name /dev/vg_BUSI/lvol1
VG Name /dev/vg_BUSI
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 57348
Current LE 14337
Allocated PE 14337
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation strict
IO Timeout (Seconds) default
Jeeshan
Honored Contributor

Re: filesystem extending issue.

its clearly obvious that you have successfully extend your file system

*LV Size (Mbytes) 57348*

the message you have seen is the informative not error.
a warrior never quits
Aneesh Mohan
Honored Contributor

Re: filesystem extending issue.

Hi Sunil,

Your command
fsadm -F vxfs -b 57348m /pkg/BUSI/dbs

From Lvdisplay (The command worked)
LV Size (Mbytes) 57348

See the Utilization of the filesystem ,
/dev/vg_BUSI/lvol1 58212352 58207030 5322 100% /pkg/BUSI/dbs

You have 15 GB free PE availabe on vg_BUS,do extend the size of the lvol1 by another 5 or 10 GB (depends on your requirement ) and extend your filesystem online since you have online JFS
# lvextend -L new_size_mb /dev/vg_BUSI/lvol1
# fsadm -F vxfs -b "new_size"M /dev/vg_BUSI/lvol1


Regds,
Aneesh
Jeeshan
Honored Contributor

Re: filesystem extending issue.

please assign points
a warrior never quits
Aneesh Mohan
Honored Contributor

Re: filesystem extending issue.

Hi Sunil

> I have assigned points to 0 of 22 responses to my questions.

If our answers helped you to solve the issues then please pay attention to assign points for the helpfull replies.


regds,
Aneesh
Asif Sharif
Honored Contributor

Re: filesystem extending issue.

Hi Sunial,

--> fsadm: /dev/vg_BUSI/rlvol1 is currently 58212352 sectors - size will be increased

You have done absolutely fine, no error message which using the fsadm, its normal behavior of fsadm.

As per the vgdisplay output you have 3788 free PE's and you PE size is 4MB so that means you have 4x3788=15152MB space free and you can extend it on your desired level.

http://docs.hp.com/en/B2355-90129/fsadm_vxfs.1M.html

Regards,
Asif Sharif
Regards,
Asif Sharif