1753702 Members
5036 Online
108799 Solutions
New Discussion юеВ

Re: PE lost

 
SOLVED
Go to solution

PE lost

Hi,
on one server, on one disk, 1000 PE where lost :

0999 current /dev/vg00/netscape 0122
1000 current /dev/vg00/netscape 0123
1001 current /dev/vg00/netscape 0124
1002 current ??? 0000
1003 current ??? 0001
1004 current ??? 0002

...

1999 current ??? 0497
2000 current ??? 0498
2001 current ??? 0499
2002 free 0000
2003 free 0000
2004 free 0000
2005 free 0000

My question is, how can I get these PE as free?

Thanks a lot!
4 REPLIES 4
Santosh Nair_1
Honored Contributor

Re: PE lost

This typically happens when there is a phantom LV, i.e. someone has removed /dev/vg00/ from the system. You can try to determine the missing LV by listing the LVs in the VG and then looking for missing minor numbers, i.e do:

ll /dev/vg00

64 0x000001 /dev/vg00/lvol1
64 0x000002 /dev/vg00/lvol2
...

in the above the 2 in 0x000002 is the number you want to look at. See if there are any entries missing.

Also see this thread for more details:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0xf18cabe92dabd5118ff10090279cd0f9,00.html

-Santosh
Life is what's happening while you're busy making other plans
Roger Baptiste
Honored Contributor

Re: PE lost

Frdric,

Have a look at your vg00 directory
and see whether there is any missing LV.
#ll /dev/vg00

(make sure you see both block and character
files for the lv)

You can match the Lv's listed here with
the entries in fstab.
#grep vg00 /etc/fstab

The missing LV should be the cause of the
messages.

Also note that lvol2 is swap, so you may
not find it in fstab file, which is ok.

-raj
Take it easy.
James R. Ferguson
Acclaimed Contributor
Solution

Re: PE lost

Hi:

Knowledge Base document #KBRC00002238 (attached) defines your problem and how to correct it.

Regards!

...JRF...

Re: PE lost

Thanks for the answers.

The attached file of JRF gives me the solution.

Just for those having the same problem, in the doc you have the "block device" having the same name as the "character device".

mknod /dev/vg00/test# b 64 0x00000#
mknod /dev/vg00/rtest# c 64 0x00000#

Bye