1849693 Members
5932 Online
104044 Solutions
New Discussion

Question on /etc/lvmtab

 
Jim Galliher
Advisor

Question on /etc/lvmtab

We added a lun to a server and everything works fine but when you view lvmtab there is a strange characters that get display. I was wondering if it was something to be concerned about.

it looks like this:

strings /etc/lvmtab
/dev/vg00
Hv+~ <--------------not sure what this is
/dev/dsk/c4t0d1
/dev/dsk/c6t0d1
/dev/dsk/c8t0d1
/dev/dsk/c10t0d1
/dev/vgsan01
/dev/dsk/c4t0d2
/dev/dsk/c6t0d2
/dev/dsk/c8t0d2
/dev/dsk/c10t0d2

I thought it might be the emulation from putty but it shows up in refelections also and just telneting to it from a command window.

thanks!

3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Question on /etc/lvmtab

Do not worry about those and do not try to "fix it".

You have to remember that the /etc/lvmtab file is a binary file. Try just doing a 'cat /etc/lvmtab' and see what kind of garbage you get back.

The strings command finds printable strings in a file.

The 'Hv+~' is a string in the file. What it means I don't know, but those types of characters are absolutely normal when looking at the lvmtab file.
James R. Ferguson
Acclaimed Contributor

Re: Question on /etc/lvmtab

Hi Jim:

No, the "strange" characters are printable ASCII strings. Sometimes the bit sequences are such that you see them, and sometimes you don't.

The '/etc/lvmtab' is a binary file that contains not only the device file names associated with each volume group name, but also the VGID (Volume Group ID) of the volume group.

There is nothing wrong with your '/etc/lvmtab'.

Regards!

...JRF...
Jim Galliher
Advisor

Re: Question on /etc/lvmtab

thanks!