1837187 Members
2470 Online
110114 Solutions
New Discussion

Problem with LVMTAB

 

Problem with LVMTAB

Hi,

I ve created a new VG VG04 like this

#pvcreate /dev/rdsk/c9t2d5
#mkdir /dev/vg04
#mknod /dev/vg04/group c 64 0x020000
#vgcreate /dev/vg04 /dev/dsk/c9t2d5

I cheked the lvmtab
#strings /etc/lvmtab

The result
/dev/vg00
/dev/dsk/c1t6d0
/dev/dsk/c2t6d0
/dev/vg02
/dev/dsk/c8t0d0
/dev/dsk/c8t0d1
/dev/dsk/c8t0d2
/dev/dsk/c8t0d3
/dev/dsk/c8t0d4
/dev/dsk/c8t0d5
/dev/dsk/c8t0d6
/dev/dsk/c8t0d7
/dev/dsk/c8t1d0
/dev/dsk/c8t1d1
/dev/dsk/c8t1d2
/dev/dsk/c8t1d3
/dev/dsk/c8t1d4
/dev/dsk/c8t1d5
/dev/dsk/c8t1d6
/dev/dsk/c8t1d7
/dev/dsk/c8t2d0
/dev/dsk/c8t2d1
/dev/dsk/c8t2d2
/dev/dsk/c8t2d3
/dev/dsk/c8t2d4
/dev/vg04
6=-'P
/dev/dsk/c9t2d5


I can't understand these too lasts lines :
/dev/vg04
6=-'P
/dev/dsk/c9t2d5

Is there any problem??? what's mean 6=-'P ???

My OS is 11.0

Regards
6 REPLIES 6
Tom Geudens
Honored Contributor

Re: Problem with LVMTAB

Hi,
Don't worry about it, it's a result of the strings command that translates everything it can from the /etc/lvmtab file.
It happens that there's some strange chars in there from time to time.

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
Thierry Poels_1
Honored Contributor

Re: Problem with LVMTAB

Hi,

don't worry about this. /etc/lvmtab is NOT a text file. The strings command simply tries to extract text from the file, but cannot guarantee no rubbish is displayed.

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
BFA6
Respected Contributor

Re: Problem with LVMTAB

Hi,

Here is part of one of my lvmtab files

/dev/vg00
/dev/dsk/c1t9d0
/dev/dsk/c1t12d0
/dev/dsk/c2t12d0
/dev/dsk/c0t5d0
/dev/vg01
wd^:4k
/dev/dsk/c0t8d0
/dev/dsk/c2t9d0

It too has odd characters in it, but as said before it is not a problem.

Hilary

Re: Problem with LVMTAB

Hi,

Thanks for theses helps

Regards
Bill McNAMARA_1
Honored Contributor

Re: Problem with LVMTAB

As mentioned there is no real problem, however, before you run this command:

#mknod /dev/vg04/group c 64 0x020000

do a

# ll /dev/*/group

just to make sure 0x02 will uniquely identify the VG...
Usually I create vg04 with 0x04 .. just to avoid possible confusion later.. (there is nothing wrong with choosing 0x02 for vg04, except if you've already used it!)

Later,
Bill

It works for me (tm)
Frank Slootweg
Honored Contributor

Re: Problem with LVMTAB

Now the problem has been solved, please assign points. Thanks.

[Please no points (or "N/A") for *this* response.]