- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: junk characters in 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
Forums
Discussions
Discussions
Discussions
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
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-2002 10:22 AM
01-14-2002 10:22 AM
junk characters in lvmtab!!
---------------------------------------------------------
#strings /etc/lvmtab
/dev/vg00
"'!8
/dev/dsk/c2t2d0
/dev/dsk/c1t2d0
/dev/vg01
"'!9
/dev/dsk/c1t0d0
/dev/dsk/c2t0d0
/ >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 10:24 AM
01-14-2002 10:24 AM
Re: junk characters in lvmtab!!
#vgscan
This will re-create the lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 10:24 AM
01-14-2002 10:24 AM
Re: junk characters in lvmtab!!
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 10:25 AM
01-14-2002 10:25 AM
Re: junk characters in lvmtab!!
It's SUPPOSED to be that way!
To read it, try: strings -a /etc/lvmtab
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 10:30 AM
01-14-2002 10:30 AM
Re: junk characters in lvmtab!!
This is almost certainly okay. You have to remember how strings decides that something is a string. If it finds 3 or more consecutive printable ASCII characters, it considers that a string. It appears that you just happened to get lucky and have some binary data that encoded as printable ASCII.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 10:35 AM
01-14-2002 10:35 AM
Re: junk characters in lvmtab!!
root:> whence strings
/usr/bin/strings
root:> cksum /usr/bin/strings
411063913 16384 /usr/bin/strings
and root:> what /usr/bin/strings
/usr/bin/strings:
$Revision: B.11.11_LR
Wed Nov 8 20:11:28 PST 2000 $
compare there may be a corruption in strings binaries.
g'd luck
t++
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2002 10:37 AM
01-14-2002 10:37 AM
Re: junk characters in lvmtab!!
It is not an ascii file. So, you don't have to worry about the junk characters. It gives some readable format with strings.
So, you don't need do to vgscans etc., etc.,. You are going to get them back.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 01:33 AM
01-15-2002 01:33 AM
Re: junk characters in lvmtab!!
strings /stand/vmunix for lots of junk! (pipe through more or course)
If you vgscan after mv'ing your /etc/lvmtab to /etc/lvmtab.bak for example:
You have:
#strings /etc/lvmtab.bak
/dev/vg00
"'!8
/dev/dsk/c2t2d0
/dev/dsk/c1t2d0
/dev/vg01
"'!9
/dev/dsk/c1t0d0
/dev/dsk/c2t0d0
--------
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0 (OH OH!!)
/dev/dsk/c2t2d0
/dev/vg01
/dev/dsk/c1t0d0
/dev/dsk/c2t0d0
Which you don't want..
To repair I guess it's alt link on some disk array)
vgreduce vg00 /dev/dsk/c1t2d0
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t2d0
/dev/vg01
/dev/dsk/c1t0d0
/dev/dsk/c2t0d0
vgextend vg00 /dev/dsk/c1t2d0
#strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t2d0
/dev/dsk/c1t2d0
/dev/vg01
/dev/dsk/c1t0d0
/dev/dsk/c2t0d0