- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Question on LVMTAB file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 02:35 PM
тАО01-14-2009 02:35 PM
Question on LVMTAB file
When I created the file system I am getting this strange character in LVMTAB file, last time I has this issue I re-created the file system and the character was gone. Any idea on what causes this.
Appreciate your help and thanks in advance for everyoneтАЩs help.
Thanks,
MP
- Tags:
- lvmtab strings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 02:38 PM
тАО01-14-2009 02:38 PM
Re: Question on LVMTAB file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 03:11 PM
тАО01-14-2009 03:11 PM
Re: Question on LVMTAB file
The "strings" command is a generic tool for viewing the ASCII text strings inside binary files: it is not specially designed for /etc/lvmtab. Read "man strings" if you're interested.
If the binary data parts of the lvmtab file (e.g. Volume Group ID values) happen to contain sequences of bytes that look like printable ASCII character strings, the "strings" command will mindlessly display them too.
If you recreated your VG, the VGID was changed: by chance, the new VGID did not have any printable ASCII byte sequences, so the "strings" command won't display the extra characters any more.
In short, the extra characters are a harmless side effect of viewing the lvmtab file with a simple generic tool that is "good enough" for that purpose, as opposed to a perfect, custom-designed tool. Just ignore the extra characters.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 03:24 PM
тАО01-14-2009 03:24 PM
Re: Question on LVMTAB file
As you can see there are quite a few strange chararcters if viewed incorrectly:
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c7t2d0
/dev/vg01
/dev/dsk/c3t1d0
/dev/vg02
/dev/dsk/c7t0d0
/dev/vg03
/dev/dsk/c3t3d0
# more /etc/lvmtab
^CM-h^D/dev/vg00
aM-GM-^_GH:^A/dev/dsk/c7t2d0
/dev/vg01
aM-GM-^_GHM-^GM-4M-D^A/dev/dsk/c3t1d0
/dev/vg02
aM-GM-^_GHM-X^GI^A/dev/dsk/c7t0d0
/dev/vg03
aM-GM-^_GHM-kM->c^A/dev/dsk/c3t3d0
HTH,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 03:27 PM
тАО01-14-2009 03:27 PM
Re: Question on LVMTAB file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 04:41 PM
тАО01-14-2009 04:41 PM
Re: Question on LVMTAB file
vgdisplay -v or vgdisplay -v | grep Name.
>MK: as opposed to a perfect, custom-designed tool
Isn't that vgdisplay(1m)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 10:17 PM
тАО01-14-2009 10:17 PM
Re: Question on LVMTAB file
Imagine this: you have a bad disk and the server is rebootet. vgdisplay will complain about a missing disk, but not show the status.
Or a VG cannot be activated - how to get an idea what disks belong to this vg?
MP:
Try
# strings -n 10 /etc/lvmtab
;-))
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 10:22 PM
тАО01-14-2009 10:22 PM
Re: Question on LVMTAB file
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1183100
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2009 10:23 PM
тАО01-14-2009 10:23 PM
Re: Question on LVMTAB file
Add an option to vgdisplay to just format /etc/lvmtab?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2009 12:01 AM
тАО01-15-2009 12:01 AM
Re: Question on LVMTAB file
lvmadm -l
produces a similar output to "strings /etc/lvmtab", but won't contain unprintable chars and will also look at /etc/lvmtab_p for v2.0 and 2.1 volume groups.
HTH
Duncan
I am an HPE Employee