1752798 Members
5746 Online
108789 Solutions
New Discussion

lvmtab on Service Guard

 
robertoguido
Occasional Contributor

lvmtab on Service Guard

Sometimes during volume group management
I have strange characters on strings /etc/lvmtab output as indicated below :

# strings /etc/lvmtab
/dev/vg00
=-tT
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/vg_251
/dev/dsk/c6t0d0
/dev/dsk/c7t0d0

Is it a problem and if not how can I recover it?

 

 

P.S. This thread has been moevd from Storage > General  to HP-UX > sysadmin. - Hp Forum Moderator

BRG
3 REPLIES 3
S.K. Chan
Honored Contributor

Re: lvmtab on Service Guard

This is normal. You got to remember that "lvmtab" file is a binary file and the "strings" command is just a convenient way of extracting ASCII from that file and it will not guarantee a clean output. I got strange characters in some of my lvmtab file too.
Curtis Wheatley
Advisor

Re: lvmtab on Service Guard

The behavior you have mentioned is normal for the LVMTAB file. LVMTAB isn't a text file by definition. Using the file command on LVMTAB returns the following.

/var/opt/resmon/log # file /etc/lvmtab
/etc/lvmtab: data

I wouldn't be concerned regarding extranious characters returned from strings output. Thanks much, hope this helps.
CW
George Petrides_1
Honored Contributor

Re: lvmtab on Service Guard

just do
strings /etc/lvmtab | grep dev and that will take care of the garbage...
George