- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvmtab ascii char ?
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
09-24-2003 01:16 AM
09-24-2003 01:16 AM
I deleted the vg, recreated manually. I've exported/imported, but I'm still seeing ascii chars in my lvmtab file while using STRINGS. ie:
/dev/vg02
Q?pj}
/dev/dsk/c0t2d0
/dev/dsk/c1t2d0
Clay mentioned "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."
I have done a vgscan -a (after moving lvmtab)
The output from both is attached.
~jdk
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 01:18 AM
09-24-2003 01:18 AM
Re: lvmtab ascii char ?
This should be of no concern, as Clay said. My lvmtab shows a remarkable similar result:
strings /etc/lvmtab
/dev/vg00
~0;TMm
/dev/dsk/c1t6d0
/dev/dsk/c1t5d0
Unless you're experiencing some difficulty, I wouldn't worry about it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 01:22 AM
09-24-2003 01:22 AM
Re: lvmtab ascii char ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 01:23 AM
09-24-2003 01:23 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 01:26 AM
09-24-2003 01:26 AM
Re: lvmtab ascii char ?
Same with me also. I am also getting some printable binary data.
-Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 01:53 AM
09-24-2003 01:53 AM
Re: lvmtab ascii char ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 02:24 AM
09-24-2003 02:24 AM
Re: lvmtab ascii char ?
I'm attaching a script that reads the file and checks the disks in it. This script can be easily modified to provide cleaner output from /etc/lvmtab
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 02:56 AM
09-24-2003 02:56 AM
Re: lvmtab ascii char ?
Attached is the sam error..
Thank you, ~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 03:01 AM
09-24-2003 03:01 AM
Re: lvmtab ascii char ?
I can't see the error that caused the vgextend command to fail. Could you just cut and paste that portion?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 03:34 AM
09-24-2003 03:34 AM
Re: lvmtab ascii char ?
If it does, I'll tell u y :->
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 03:48 AM
09-24-2003 03:48 AM
Re: lvmtab ascii char ?
I think it's here but I'll attach more of the log;
Entering Task Manager with task fs_vg_extend.
@!@2@1064331305@0
Performing task "Extend a volume group.": Volume group vg02 is being extende
d with /dev/dsk/c1t2d0.
@!@2@1064331305@0
Executing the following command:\C/sbin/vgextend -g mirror2 /dev/vg02 /dev/ds
k/c1t2d0\C
@!@2@1064331306@0
Command completed with exit status 1.
@!@16@1064331306@0
vgextend failed.
Jakes, I did do a pvcreate but not -f, it worked though. Are you thinking old lvol header info?
~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 04:01 AM
09-24-2003 04:01 AM
Re: lvmtab ascii char ?
I still don't see the "stderr output from the vgextend command". I was just curious to see if there was an actual error that would tell us why vgextend failed. It's possible that SAM didn't record the error, I guess.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 05:16 AM
09-24-2003 05:16 AM
Re: lvmtab ascii char ?
I now accept the ascii char answer, and believe everything is OK. (still a little cringing)
Recently we've been moving alot of disk etc. around on different hp boxes with different patch levels for lvm etc. and we occasionaly ran into lvm "disk header error" problems when we failed to "pvcreate" or "pvcreate -f" first.
Thank you to all who replied!!
~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 05:19 AM
09-24-2003 05:19 AM
Re: lvmtab ascii char ?
SAM doesn't know how to handle it (nor does LVM either, I suppose....), and exits.
Would be nice if SAM told you why, though.
Usually happens if you've done a vgexport to get rid of a VG, instead of standard "vgreduce...vgremove" sequence, which cleans up after itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 05:35 AM
09-24-2003 05:35 AM
Re: lvmtab ascii char ?
When ridding some "other" systems of VG's, I've been inclined to vgexport to save time, and with the many disks lying about some still had header info...jeeze I didn't think about that, not directly anyway.
Well that explains the "other" errors.
I am truly greatfull to the forums for the opertunity to learn, even what I already know!!
Have a good one, ~jdk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 07:23 AM
09-24-2003 07:23 AM
Re: lvmtab ascii char ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 07:46 AM
09-24-2003 07:46 AM
Re: lvmtab ascii char ?
I'ts always nice to have a better understanding, so it's not magical in nature.
That's the kind of stuff that keeps me awake at night... wondering..
~jdk