Operating System - HP-UX
1751710 Members
5257 Online
108781 Solutions
New Discussion юеВ

Re: Corruption in /etc/lvmtab file

 
SOLVED
Go to solution
VK2COT
Honored Contributor

Re: Corruption in /etc/lvmtab file

Hello,

lvmadm(1M) does have flag "-l". Depends on how old your version is.

a) Here is the result of "lvmadm -l":

--- Version 1.0 volume groups ---
VG Name /dev/vg00
PV Name /dev/disk/disk3_p2

VG Name /dev/vg02
PV Name /dev/disk/disk5

VG Name /dev/vgvm
PV Name /dev/disk/disk8

VG Name /dev/vgvm2
PV Name /dev/disk/disk17

VG Name /dev/vg01
PV Name /dev/disk/disk9

b) And here is the result of
"strings /etc/lvmtab":

/dev/vg00
/dev/disk/disk3_p2
/dev/vg02
/dev/disk/disk5
/dev/vgvm
/dev/disk/disk8
/dev/vgvm2
/dev/disk/disk17
/dev/vg01
/dev/disk/disk9

Cheers,

VK2COT
VK2COT - Dusan Baljevic
VK2COT
Honored Contributor

Re: Corruption in /etc/lvmtab file

You need newver version of patches for lvmadm(1M).

When I teach HP-UX courses, the labs in USA
have HP-UX 11.31 0803 and lvmadm flag "-l"
is missing.

On our HP Education servers in Australia we actually run HP-UX 11.31 0903 and flag "-l"
is there :)

VK2COT

VK2COT - Dusan Baljevic
melvyn burnard
Honored Contributor

Re: Corruption in /etc/lvmtab file

The -l option for lvmadm was added in the 0809 (Update 3) of HP-UX 11iv3
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Steven E. Protter
Exalted Contributor

Re: Corruption in /etc/lvmtab file

Shalom,

For the rest of us that don't have 11.31 hardware yet.

strings /etc/lvmtab

The funny characters are merely binary characters that form printable characters that the strings command picks up.

No biggie, don't do anything.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: Corruption in /etc/lvmtab file

Yeah, Steven, I think that was said plenty of times in previous responses! I doubt that it needed to be said yet again!
James R. Ferguson
Acclaimed Contributor

Re: Corruption in /etc/lvmtab file

Hi:

>SEP: For the rest of us that don't have 11.31 hardware yet.

That would be 11.31 _SOFTWARE_ .

...JRF...
VK2COT
Honored Contributor

Re: Corruption in /etc/lvmtab file

Hello,

Would a kind person assign points to the
last group of responses if they are useful?

I am trying to earn the ITRC Royalty status
(I need 40-odd points to reach it). For
some odd reason many of my postings are
forgotten to be given any points :(

Cheers,

VK2COT
VK2COT - Dusan Baljevic
raka721
New Member

Re: Corruption in /etc/lvmtab file

I have run vgscan -av command & it recreated /etc/lvmtab & contineously running coomand but still not generated /etc/lvmtab_p file ...please help

Matti_Kurkela
Honored Contributor

Re: Corruption in /etc/lvmtab file


@raka721 wrote:

I have run vgscan -av command & it recreated /etc/lvmtab & contineously running coomand but still not generated /etc/lvmtab_p file ...please help


Only HP-UX 11.31 may have the /etc/lvmtab_p file. Older HP-UX versions will have /etc/lvmtab only.

Do you even have any LVM v2.x volume groups in the system? If you only have LVM v1.0 volume groups, the command might not have any reason to create the /etc/lvmtab_p file.

MK