Operating System - HP-UX
1832651 Members
2949 Online
110043 Solutions
New Discussion

missing free space after lvreduce

 
SOLVED
Go to solution
Michael Duthie
Trusted Contributor

Re: missing free space after lvreduce

Going by your initial post you are Adv JFS installed so you can run.

#fsadm -F vxfs -b $((3500*1024)) /tmp

If you not running Adv JFS, you will need to unmount /tmp and run

# extendfs /dev/vg00/rlvol4.

Hope that helps
Helen French
Honored Contributor

Re: missing free space after lvreduce

The lvdisplay shows /home has 3500MB allocated, but not in bdf. You might need to extendfs it to resolve the issue. You can also think about recreating the LV if found any problems. Also, do an fsck once you extend the file system.
Life is a promise, fulfill it!
Pete Randall
Outstanding Contributor

Re: missing free space after lvreduce

In hopes of avoiding any further confusion (we've had enough of that over the past two days), it's /tmp, not /home.

Pete

Pete
Babs_1
Frequent Advisor

Re: missing free space after lvreduce

Hi all,
Again a thousand thank you's!!! I had indeed extended /tmp without running extendfs. So I reduced the size of /tmp and created a new mount point for my new install. Phew!
What a hectic two days, I have learnt a lot so a big thanks :)
My next plan as soon as the dust settles is planning a complete rebuild of this system.
Thanks again to everyone, I couldnt have done it without you all :)
Babs
Pete Randall
Outstanding Contributor

Re: missing free space after lvreduce

When the dust does settle, just ask and we'll review your re-org plan, too.

Good luck,
Pete

Pete
Babs_1
Frequent Advisor

Re: missing free space after lvreduce

Bet your butt I will!
Cheers Pete, your a star :)
Pete Randall
Outstanding Contributor

Re: missing free space after lvreduce

If we're betting butts, wouldn't that be a moon, not a star?


I had one last though while I was going through another question. It might help avoid confusion in the future if you got a copy of the "bdfmegs" script (that Bill Hassell always recommends) from:

ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/coolscripts/

Among other things, bdfmegs will give you a bdf display in MB so it's more readily comparable to vg/lv display output.

Just a thought!

Pete

Pete
Babs_1
Frequent Advisor

Re: missing free space after lvreduce

Hi Pete :)
I got that script and it looks great and will be a great help, only problem is I am not sure how to use it? Do I just copy it onto my system and then call it?
Thanks :)
Pete Randall
Outstanding Contributor

Re: missing free space after lvreduce

Hi Babs,

What I did was put the script in /usr/local/bin/bdfmegs and then created an alias to it:
alias bdf="/usr/local/bin/bdfmegs"

Hope this helps,

Pete

Pete