- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAM error (file /var/sam/`hostname`.dion not found...
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
06-03-2004 09:11 AM
06-03-2004 09:11 AM
SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
I am not able to fix this issue with hp ux 11.0 yet. I lost prim disk of vg00 and got the switch to secondary disk in vg00. There are 2 disks. Now I lost /var/lvmconf/vg00.conf and also SAM does not see anything (e.g. V. Groups) But my system works just fine. This is a problem with SAM and I need to know how to recreate this vg00.conf. Every while system produces this message that can not stat vg00.conf file. I tried to restore it from the tapes I have but system does not allow this to get replace or with any normal command to get it recreated!
I changed the controler on the disk put it back and recreated the lv01-08 already, however, this error still is on the system.
About the `hostname`.dion in /var/sam/ is also strange and I can not recreate this file with any media.
I thank you in advance for any inputs. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 11:46 AM
06-03-2004 11:46 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
also,
my .dion file has only a timestamp in it and looks like it was created with command
date > /var/sam/hostname.dion
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 02:47 PM
06-03-2004 02:47 PM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
'lvlnboot -R' should create this configuration file. The direct command is 'vgcfgbackup'. Look at the syntax.
However, this should have been /etc/lvmconf. If it is really giving you a problem, then create a symbolic link from /var to /etc.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 02:49 PM
06-03-2004 02:49 PM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
I meant symbolic link from /var/lvmconf to /etc/lvmconf not really /var to /etc.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 01:10 AM
06-04-2004 01:10 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
Well, that was an obv. typo about /var/lvmconf...
Any how, to get to the point, as I said vg00.conf in /etc/lvmconf/vg00.conf is missing after the disk failur I had and all other 'usual' way you could use to recreate this does not work. Among those obv. commands are the followings that they do not work:
1)
root>vgcfgbackup -u vg00
vgcfgbackup: Configuration file "/etc/lvmconf/vg00.conf" not found or is corrupted
2)
root>lvlnboot -R
vgcfgbackup: IO error on configuration file: No such device or address
Also about `hostname`.dion I know this is a timestamp, the problem is by not having it,SAM will not work correctly at all. Recreating this also through obv. ways failed so far.
Any more ideas how to recreate these files?
Thank you for all your comments.
MG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 01:18 AM
06-04-2004 01:18 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
#vgscan -a
This should help.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 01:23 AM
06-04-2004 01:23 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 03:25 AM
06-04-2004 03:25 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
What is the output of your 'vgdisplay vg00'?. Is it properly displaying all the disks or giving out any errors. You will need to fix it first. Otherway is to run lvlnboot manually for each logical volume.
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -d /dev/vg00/lvol2
Replace the logical volumes with the correct ones above if they do not match by any chance.
For the
date > `hostname`.dion
and see if it works.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 03:47 AM
06-04-2004 03:47 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
See the doc attached which talks about restoring corrupt VGxx.conf file.
Hope this helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 06:31 AM
06-04-2004 06:31 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
I have also tried your manual creation of those root and so on lv, however,since these entries automatically using vgcfgbackup it is failing. I was able only so far to recreate the vg00.conf file but in different location, here is the command:
::root>vgcfgbackup -f /tmp/vg00.conf vg00
Volume Group configuration for /dev/vg00 has been saved in /tmp/vg00.conf
However, there is not much option on vgcfgrestore to use this entry to recreate /etc/lvmconf/vg00.conf original file.
The new created /tmp/vg00.conf file has right disks in it. It is correct, however, I do not know how to fix this problem without bringing down the OS and install a new OS. I am trying to avoid that because there is active Oracle and Sap running in this server.
Hello Bharat,
Thanks for the info and the word doc. As I said these commands do not offer much to fix this problem. There is a mach. that is holding this replacement for this file in /etc/...vg00.conf, this is what I do not know yet.
Facts: vgdisplay -v vg00 works just fine; I was able to mirror the new disk and they are both in sync with no problems. But, so far no vg00.conf file. :)
Any more comments? Anybody?
By the way option -R will produce the same error, I think they all validating vg00.conf file and that is why they are failing.
Here is the log of lvlnboot:
::root>lvlnboot -b /dev/vg00/lvol1
vgcfgbackup: IO error on configuration file: No such device or address
::root>lvlnboot -s /dev/vg00/lvol2
vgcfgbackup: IO error on configuration file: No such device or address
::root>lvlnboot -r /dev/vg00/lvol3
vgcfgbackup: IO error on configuration file: No such device or address
::root>lvlnboot -d /dev/vg00/lvol2
vgcfgbackup: IO error on configuration file: No such device or address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 06:56 AM
06-04-2004 06:56 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
Did you try after taking a copy of whatever that is there in /etc/lvmconf?
vgcfgrestore -f /etc/lvmconf/vg00.conf vg00.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 07:23 AM
06-04-2004 07:23 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
Here is the log of the commands and the result:
1)
::root>vgcfgrestore -f /tmp/vg00.conf vg00
Configuration info for Physical Volume "vg00" not found
in "/tmp/vg00.conf" :
Character-special file for PV not supplied on command line, OR
PV did not belong to Volume Group /dev/vg00 when configuration file was created.
2)
::root>vgcfgrestore -f /tmp/vg00.conf -l
Volume Group Configuration information in "/tmp/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c2t2d0 (Bootable)
/dev/rdsk/c1t0d0 (Bootable)
3)
::root>vgcfgrestore -l -n vg00
vgcfgrestore: Error opening LVM configuration file : /etc/lvmconf/vg00.conf
Any more idea? :)
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 07:26 AM
06-04-2004 07:26 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
#vgcfgbackup -f /etc/lvmconf/vg00.conf vg00
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 07:35 AM
06-04-2004 07:35 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
In any case both have similar result. Using -f with vgcfgbackup does not generate this file in /etc/lvmconf but it will create it in different path like /tmp/ with no errors.
Log:
vgcfgbackup -f /etc/lvmconf/vg00.conf vg00
vgcfgbackup: IO error on configuration file: No such device or address
copy and other ways using -f option also do not work in that location.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 07:55 AM
06-04-2004 07:55 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
Try
#lvcreate -n test -L 20 vg00
#lvremove /dev/vg00/test
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2004 08:09 AM
06-04-2004 08:09 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
:)
Nice try, but, this is the the result, the same;
::root>lvcreate -n test -L 20 vg00
Logical volume "/dev/vg00/test" has been successfully created with
character device "/dev/vg00/rtest".
Logical volume "/dev/vg00/test" has been successfully extended.
vgcfgbackup: IO error on configuration file: No such device or address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2004 02:07 AM
06-07-2004 02:07 AM
Re: SAM error (file /var/sam/`hostname`.dion not found) & no /var/lvmconf/vg00.conf after a crash
I was forced to reboot the system.
After the root still the /etc/lvmconf/vg00.conf was missing. I started the operation by make_tape_recovery command that was producing error messages on not valid /stand/bootconf file. I modified this manually and vg00.conf was then automatically created.
Help says that there are times that admin should modify this file manually. 'man bootconf'
Thanks for all inputs.
MG