Operating System - HP-UX
1832659 Members
3143 Online
110043 Solutions
New Discussion

LVM - lvreduce without online JFS

 
Maddy van der Bokke
Occasional Contributor

LVM - lvreduce without online JFS

I had 3 disks assigned to one volume group under 1 logical volume and performed an lvreduce against the logical volume to reclaim space to assign to another volume group. The reassignment was successful, but the bdf against the logical volume that had been reduced still shows the space allocated in kbytes. I performed a vgdisplay and it shows only 8Gigs assigned as should be, how do I get the bdf to go from the initial value of 12 Gigs to the reduced value of 8 Gigs.
2 REPLIES 2
Jennifer Chiarelli
Regular Advisor

Re: LVM - lvreduce without online JFS

I would start by checking for available patches to fix the problem. What model system is this and what OS level?
It's a binary world!
Maddy van der Bokke
Occasional Contributor

Re: LVM - lvreduce without online JFS

Thanks for your response, I have figured out the problem, it is not patch related. When you perform and lvreduce and reduce out a full disk not to be used within that same volume group (as was in my case) it distroys the logical volume tree structure and the data must be re covered from tape or if tarred to another area from whatever the data was backed up from. To change the allocated size a newfs on the logical volume must be performed to recreate the tree structure. We had performed a backup. We performed the newfs and remounted the logical volume and the size did go from 13 Gigs to 8Gigs and we are now in the process of restoring the needed data from tape backup.
Thanks again.