Operating System - HP-UX
1833875 Members
1656 Online
110063 Solutions
New Discussion

Re: /etc/lvmtab list is strange

 
???_185
Regular Advisor

/etc/lvmtab list is strange

I make new volume group by creating vdisk in eva5000.
the lvmtab list is strange.
/dev/vg08
)CS7o
/dev/dsk/c16t0d2
what is )CS7o?
11 REPLIES 11
Jayasuntar
Valued Contributor

Re: /etc/lvmtab list is strange

Hi,

Move the lvm tab and recreate it. Then give me the output

#mv /etc/lvmtab /etc/lvmtab.old
#vgscan

All the best

Jay
Muthukumar_5
Honored Contributor

Re: /etc/lvmtab list is strange

I hope you got this by executing,

# strings /etc/lvmtab

Some related symbols with /etc/lvmtab are extracted by strings.

hth.
Easy to suggest when don't know about the problem!
Henk Geurts
Esteemed Contributor

Re: /etc/lvmtab list is strange

hi zungwon.
/etc/lvmtab is not an textfile but a binairy (data) file.

#file /etc/lvmtab
/etc/lvmtab: data

therefor you can see strange caracters when using pg or more.

DO NOT edit the file!
Joseph Loo
Honored Contributor

Re: /etc/lvmtab list is strange

hi,

u meant after doing "strings /etc/lvmtab"? if so, do not worry, those characters are a result of strings command looking for ascii chars in a binary file:

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080095338

regards.
what you do not see does not mean you should not believe
Adisuria Wangsadinata_1
Honored Contributor

Re: /etc/lvmtab list is strange

Hi,

It's fine, that's just a symbol. As long as your system is fine, this will not harm the system's processes.

You can re-create by using 'vgscan' command.

# mv /etc/lvmtab /tmp/lvmtab.ORI
# vgscan -v

Use 'strings' to see the contain of this file :

# strings /etc/lvmtab

Hope this information can help you.

Cheers,
AW

now working, next not working ... that's unix
AwadheshPandey
Honored Contributor

Re: /etc/lvmtab list is strange

u can view lvmtab only by strings, u can not edit it, if any thing wrong, recreate it.
mv /etc/lvmtab /etc/lvmtab.old
vgscan

Awadhesh
It's kind of fun to do the impossible
GGA
Trusted Contributor

Re: /etc/lvmtab list is strange

hello

this is not a problem my lvmtab's have too any signs in, put it does not effect do the system

if u like to recreate it do mv /etc/lvmtab /etc/lvmtab.ori or anything
do vgscan -v it create a new lvmtab.

thats it.

Borislav Perkov
Respected Contributor

Re: /etc/lvmtab list is strange

Hi zungwon,

Don't worry it is affected from the strings command converting characters in ascii. I have the similar output even I have tried few time to recreate lvmtab with vgscan command.

Regards,
Borislav
Arunvijai_4
Honored Contributor

Re: /etc/lvmtab list is strange

# stings /etc/lvmtab should be helpful.
otherwise,
# mv /etc/lvmtab /etc/lvmtab.old
# vgscan -av

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
???_185
Regular Advisor

Re: /etc/lvmtab list is strange

as your recommend, mv /etc/lvmtab /etc/lvmtab.old
and vgscan
but, It didn't changed.
Patrick Wallek
Honored Contributor

Re: /etc/lvmtab list is strange

As others have said, what you see IS NORMAL. The /etc/lvmtab is a BINARY file. If you attempt to do a 'cat /etc/lvmtab' you will see all kinds of garbage on your screen.

By doing a 'string /etc/lvmtab' you are picking out the ASCII bits of the file. This allows you to see the entries for your VG's and disks that are part of those VG's. You WILL also see other miscellaneous characters. That is entirely normal and is expected. NOTHING is wrong.