- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Contents of /etc/lvmtab
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
тАО12-06-2007 07:11 PM
тАО12-06-2007 07:11 PM
After the disk was added this is the what was added to the /etc/lvmtab
/dev/vg04
GWVl
/dev/dsk/c10t0d2
I've never seen a line like 'GWV1' in the /etc/lvmtab before and was wondering if anyone has seen that before. The vdisk that I added is working fine, all the pv/vg/lv commands worked and the file system has been mounted and reporting no errors. Just feeling a little uneasy about this entry in my lvmtab.
Thanks for your advise.
Celeste
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2007 07:33 PM
тАО12-06-2007 07:33 PM
SolutionThere's nothing wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2007 07:34 PM
тАО12-06-2007 07:34 PM
Re: Contents of /etc/lvmtab
Many of my LVs show the same:
# strings /etc/lvmtab
...
/dev/bcv_vg05
dM@EkHI
/dev/dsk/c40t0d3
/dev/bcv_vg06
/dev/dsk/c40t0d4
dM@EkHL
...
You can play around with the strings command and possible remove some of the unwanted data, e.g.
# strings -n 10 /etc/lvmtab
...
/dev/bcv_vg05
/dev/dsk/c40t0d3
/dev/bcv_vg06
/dev/dsk/c40t0d4
...
Careful though, if you have short VG names, it may exclude them.
Hope this helps...
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2007 08:21 PM
тАО12-06-2007 08:21 PM
Re: Contents of /etc/lvmtab
As mentioned above, the lvmtab is a binary file and there is nothing you have to worry about the output you are getting.
of you want to know which disks are being used by the current Volume groups you can also run:
e.g.
# vgdisplay -v|grep "PV Name"
PV Name /dev/dsk/c1t0d0
PV Name /dev/dsk/c1t2d0
PV Name /dev/dsk/c2t0d0
PV Name /dev/dsk/c6t0d1
PV Name /dev/dsk/c6t1d0
PV Name /dev/dsk/c6t0d2
PV Name /dev/dsk/c6t1d1
PV Name /dev/dsk/c6t0d3
PV Name /dev/dsk/c6t0d7
PV Name /dev/dsk/c6t0d6
#
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2007 08:28 PM
тАО12-06-2007 08:28 PM
Re: Contents of /etc/lvmtab
Whew! Thanks a bunch for putting my minde at ease and for the additional the info! Yes I was the using 'strings' command to view the contents of the lvmtab file, apologies for not including that.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2007 10:36 PM
тАО12-06-2007 10:36 PM
Re: Contents of /etc/lvmtab
# file /etc/lvmtab
/etc/lvmtab: data
# >od -c /etc/lvmtab
0000000 003 350 \0 \0 \0 \0 \0 001 \0 \0 \0 \0 / d e v
0000020 / v g 0 0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000040 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0002000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 x \f + S
0002020 D 026 222 i \0 \0 \0 \0 \0 \0 \0 \0 \0 001 \0 \0
0002040 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 / d e v / d
0002060 s k / c 0 t 6 d 0 \0 \0 \0 \0 \0 \0 \0
0002100 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
*
0004056
Now compare to
# >strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t6d0
The formatting here in html may be bad, but you can read the same output in the "od" result.
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!