1828630 Members
7585 Online
109983 Solutions
New Discussion

Re: FS question

 
kunjuttan
Super Advisor

FS question

Hi all,
One of my servers filesystem is showing 98%.
/dev/vgsappep01/sappeplv
20889600 20538271 329808 98% /usr/sap/PEP

And here it is showing 20GB total size.
But when I am giving vgdisplay command,it is showing size equivalent to 25GB.How it happens..Below the vgdisplay output

VG Name /dev/vgsappep01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 12800
VGDA 2
PE Size (Mbytes) 32
Total PE 799
Alloc PE 799
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
14 REPLIES 14
Torsten.
Acclaimed Contributor

Re: FS question

How about an lvdisplay -v ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
kunjuttan
Super Advisor

Re: FS question

LV Name /dev/vgsappep01/sappeplv
VG Name /dev/vgsappep01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 25568
Current LE 799
Allocated PE 799
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
Torsten.
Acclaimed Contributor

Re: FS question

It's a guess only, but maybe the LVOL was extended in the past without running extendfs?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
kunjuttan
Super Advisor

Re: FS question

no till date vg not extended..but vg is 25gb r88???
Torsten.
Acclaimed Contributor

Re: FS question

I would give extendfs a try.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
kunjuttan
Super Advisor

Re: FS question

you r right..am also thinking in the same way...but anyway am going to do a vgextend of some 10GB.at that time I need to go for a extendfs...
Bill Hassell
Honored Contributor

Re: FS question

lvextend simply makes the volume larger. It has nothing to do with files and directories. You have to inform the filesystem that there is more space available. The reverse is also true. lvreduce will make the volume smaller. The filesystem thinks that all the space is available so items like superblocks at the end of the lvol are gone and you'll get I/O errors as the filesystem code tries to read or write to the end of the filesystem.

While there is an extendfs, there is no reducefs. If you need to reduce a filesystem, you must backup the data, umount the filesystem, run lvreduce and then newfs. Finally, mount the empty filesystem and restore the data to the new lvol. If you have the Online JFS product, you would use fsadm to resize the filesystem both up and down without requiring a umount (lvextend and lvreduce are still required).


Bill Hassell, sysadmin
Deepankar Panda
Advisor

Re: FS question

Hi..,
yah.. you are thinking right. add some disk space about 10 GB as per your requirement then go for the file system extension, then with the one logic both of your problems will get resolved.
because File system bottle neck is never a good idea.. thanks
kunjuttan
Super Advisor

Re: FS question

Thts r88 Mr.Panda..But the thing is app team requires the fs to be extended 10GB more.In my scenario if I add more 10GB lun and if i go for an extendfs,the fs will get extend to 15GB r88????So first I need to confirm,is the 5GB space is available or not.Then i have to add 5GB more.
Deepankar Panda
Advisor

Re: FS question

Yah.. verymuch ryt.. you are thinking is a postive way.. Lets first get confirmed.. Bcoz Please remember one thing that,, We Admins... always a miser towards disk spaces.. We have to get a valid reason to increase the disk space.. so its not atall easy for us to give spaces like the application team thinks... so get it first done.. then you can proceed with ur stuffs...Be Cool man...

Thanks
kunjuttan
Super Advisor

Re: FS question


Hi,
I extended the VG,LV and FS.But while remounting,it is giving the following error.But the FS is getting mounted..What it means??

vxfs mount: Cannot open portal device: No such file or directory
singh sanjeev
Trusted Contributor

Re: FS question

IF onlinejfs is installed ;then do below step to make available the space to FS :

fsadm -b 25568M /usr/sap/PEP

after this you be able to see 25GB space to /usr/sap/PEP
Sanjeev Singh
Bill Hassell
Honored Contributor

Re: FS question

Since this is 11.31, was this system created from an Ignite image? You may be missing this special file: /dev/vxportal

To recreate it:

mknod /dev/vxportal c 97 0x000000

(thanks to Steven Protter from a posting last year: http://forums13.itrc.hp.com/service/forums/questionanswer.do?&threadId=1387410)


Bill Hassell, sysadmin
kunjuttan
Super Advisor

Re: FS question

thanx GURUS...Done...