1833861 Members
1949 Online
110063 Solutions
New Discussion

Wrong display in bdf

 
SOLVED
Go to solution
Daniel Schneider_3
Frequent Advisor

Wrong display in bdf

Hi all,

who can tell me, why bdf and df shows wrong entries?:
/data (/dev/vg00/data ) :
1018213 total allocated Kb
87778 free allocated Kb
930435 used allocated Kb
91 % allocation used

The 'used' - Value is correct, but not the 'free' - Value. Why?

uname -a:
HP-UX hp-baan B.11.11 U 9000/800 146271751 unlimited-user license

Thanks for all help

Best Regards
Daniel
12 REPLIES 12
Daniel Schneider_3
Frequent Advisor

Re: Wrong display in bdf

Here's the lvdisplay:

root:/>lvdisplay /dev/vg00/data
--- Logical volumes ---
LV Name /dev/vg00/data
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1000
Current LE 125
Allocated PE 250
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

Regards
Daniel
Pete Randall
Outstanding Contributor

Re: Wrong display in bdf

Daniel,

What are you comparing to?


Pete


Pete
Daniel Schneider_3
Frequent Advisor

Re: Wrong display in bdf

Hi,

I'm very sorry, I counted the wrong number of zero's!

Please vorget This Post!

Best Regards
Daniel
Pete Randall
Outstanding Contributor

Re: Wrong display in bdf

Daniel,

Ok - forgotten. But I do have to ask what you're doing with data in vg00. The ideal setup reserves vg00 strictly for the root volume group and keeps all data in other volume groups for ease of backup and recovery.


Pete


Pete
Daniel Schneider_3
Frequent Advisor

Re: Wrong display in bdf

Hi Pete,

its because of unsuspecting!
Can I change this without dataloss?

Regards
Daniel
Pete Randall
Outstanding Contributor
Solution

Re: Wrong display in bdf

Daniel,

It gets involved. Do you have spare disk space? Unallocated disk space? Room in another volume group?

The general idea is to copy the data from one location to the other. The method can be: a straight copy; a backup/restore operation; or some kind of mirroring. It depends on the situation. If this is not a problem for you at the moment, I would just keep this in mind for the future - for the next time you have an opportunity to set up a system.


Pete


Pete
Daniel Schneider_3
Frequent Advisor

Re: Wrong display in bdf

Is it actually possible to make two VG's on one physical Disk? Because there is only one Hard Disk in the Machine!

Regards
Daniel
Pete Randall
Outstanding Contributor

Re: Wrong display in bdf

In that case, with only one disk, you're stuck with just one volume group so disregard everything I said - you have no choice!


Pete


Pete
john korterman
Honored Contributor

Re: Wrong display in bdf

Hi,
just out of curiosity: are you sure you only have one disk? The reason I ask is because your logical volume is mirrored, but it could of course be mirrored on the same disk.. just curious.

regards,
John K.
it would be nice if you always got a second chance
Pete Randall
Outstanding Contributor

Re: Wrong display in bdf

Good point, John! I didn't even notice the mirror. Could you post the output of "ioscan -kfnCdisk", please, Daniel?


Pete


Pete
Daniel Schneider_3
Frequent Advisor

Re: Wrong display in bdf

Yes, I know, there is the second Hard Disk. But I want it only for Mirror, so when the first Hard Disk is defect, I have it completely mirrored and can boot from the alt bootpath.

Thank you Guys for your help.

Best Regards
Daniel
Pete Randall
Outstanding Contributor

Re: Wrong display in bdf

You're the boss, Daniel. In order to be a mirror, it has to be part of the same VG anyway, so we're right back where we started.


Pete


Pete