Operating System - HP-UX
1844693 Members
2460 Online
110233 Solutions
New Discussion

Re: Showing junc characters on lvmtab list?

 
SOLVED
Go to solution
Sudhaadm
Regular Advisor

Showing junc characters on lvmtab list?

Hi all,
Thanks in advance.
How can i check the hard disk status on each volume group as it is cluster server?
#strings /etc/lvmtab
/dev/vg00
C]@-L
/dev/dsk/c0t6d0
/dev/dsk/c3t6d0
/dev/vgx1dsbu01
C^@X"E
/dev/dsk/c12t0d1
/dev/vgx1dsbu02
C^@X"
/dev/dsk/c12t0d2
/dev/vgx1dsbu03
C^@X#n
/dev/dsk/c12t0d3
/dev/vgx1dsbu04
C^@X#
/dev/dsk/c12t0d4
/dev/vgx1dsbu05
C^@X$
/dev/dsk/c12t0d5
/dev/vgx1dsbu06
C^@X&
/dev/dsk/c12t0d6
/dev/vgx1dsbu07
C^@X1
/dev/dsk/c12t0d7
/dev/vgx1dsbu08
C^@Y
/dev/dsk/c12t1d0
/dev/vgx1c10
C^@X7
/dev/dsk/c12t1d2
/dev/vgx1c11
C^@X7A
/dev/dsk/c12t1d3
/dev/vgx1c12
C^@X7t
/dev/dsk/c12t1d4
/dev/vgx1v13
C^@X8/
/dev/dsk/c12t1d5
/dev/vgx1v14
C^@X8
/dev/dsk/c12t1d6
/dev/vgx1v15
C^@X8
/dev/dsk/c12t1d7
/dev/vgx1v16
C^@X9-
/dev/dsk/c12t2d0
/dev/vgx1v17
C^@X9v
/dev/dsk/c12t2d1
/dev/vgx1v18
C^@X9
/dev/dsk/c12t2d2
/dev/vgx1v19
C^@X9
/dev/dsk/c12t2d3
/dev/vgdsbu09
C^@vH
/dev/dsk/c12t2d4
/dev/vgdsbu10
C^@vI
/dev/dsk/c12t2d5
/dev/vgx2ora
C]@Y8.
/dev/dsk/c12t2d6
/dev/vgx2a01
C]@Y8H
/dev/dsk/c12t2d7
/dev/vgx2a02
C]@Y8Z
/dev/dsk/c12t3d0
/dev/vgx2a03
C]@Y8l
/dev/dsk/c12t3d1
/dev/vgx2a04
C]@Y8y
/dev/dsk/c12t3d2
/dev/vgx2a05
C]@Y8
/dev/dsk/c12t3d3
/dev/vgx2a06
C]@Y8
/dev/dsk/c12t3d4
/dev/vgx2a07
C]@Y8
/dev/dsk/c12t3d5
/dev/vgx2a08
C]@Y8
/dev/dsk/c12t3d6
/dev/vgx2b09
C]@Y8
/dev/dsk/c12t3d7
/dev/vgx2b10
C]@Y9
/dev/dsk/c12t4d0
/dev/vgx2b11
C]@Y9"
/dev/dsk/c12t4d1
/dev/vgx2b12
C]@Y9/
/dev/dsk/c12t4d2
/dev/vgx2b13
C]@Y9;
/dev/dsk/c12t4d3
/dev/vgx2b14
C]@Y9M
/dev/dsk/c12t4d4
/dev/vgx2arch15
C]@Y9e
/dev/dsk/c12t4d5
/dev/vgx2arch16
C]@Y9y
/dev/dsk/c12t4d6
/dev/vgx2arch17
C]@Y9
/dev/dsk/c12t4d7
/dev/vgx2arch18
C]@Y9
/dev/dsk/c12t5d0
/dev/vgx2arch19
C]@Y9
/dev/dsk/c12t5d1
/dev/vgx2arch20
C]@Y9
/dev/dsk/c12t5d2
/dev/vgx2arch21
C]@YJ
/dev/dsk/c12t5d3
/dev/vgx1c09
C^@X6Y
/dev/dsk/c12t1d1
7 REPLIES 7
RAC_1
Honored Contributor

Re: Showing junc characters on lvmtab list?

that is OK. That is binary file and not ascii.
file /etc/lvmtab
The printable chars can be seen with strings command.

strings /etc/lvmtab
There is no substitute to HARDWORK
Devender Khatana
Honored Contributor

Re: Showing junc characters on lvmtab list?

Hi,

This is quite usual. What hard disk status you wish to see?

#diskinfo -v /dev/rdsk/cxtydz

Or

#vgdisplay -v /dev/vgxx

The VG should be activated on that node to give output of vdisplay.

HTH,
Devender
Impossible itself mentions "I m possible"
Shameer.V.A
Respected Contributor

Re: Showing junc characters on lvmtab list?

Hi ,
If your vgdisplay is showing correct informations, then it is ok.

strings will print printable characters from a binary file..

Regards,

Shameer
.... See invisible, feel intangible and achieve impossible as everything is possible ....
James R. Ferguson
Acclaimed Contributor

Re: Showing junc characters on lvmtab list?

Hi:

'strings' does the best it can to display a binary file in readable characters.

The '/etc/lvmtab' file is a binary file and actually consists of the VGID (volume group identifier), the volume group name, and the physical device file names for each volume group.

The "junk" characters you are seeing are actually the best representation that 'strings' can make of the VGID.

This is normal and no cause for concern.

Regards!

...JRF...
Indrajit_1
Valued Contributor
Solution

Re: Showing junc characters on lvmtab list?

Hi;

Execute the following command.

#cmviewcl

To view the Cluster_name, node and package name.
#strings /etc/lvmtab
#cat /etc/lvmpvg
#diskinfo
#vgdisplay -v |more
Try all the command in all the cluster boxes.
Also have a look in .
#cd /etc/cmcluster/package_name
search for .cntl file (it may be in some other format.

Try this.. Hope this will help u to resolve ur issue.

Cheers
indrajit
Never Ever Give Up
Lolupee
Regular Advisor

Re: Showing junc characters on lvmtab list?

check these commands.

strings /etc/lvmtab |grep dsk
pvdisplay -v diskinfo -v vgdisplay -v
Sudhaadm
Regular Advisor

Re: Showing junc characters on lvmtab list?

Hi All,
Thanks for the information.