- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/lvmconf/vg00.conf corrupted
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
тАО03-02-2006 05:01 AM
тАО03-02-2006 05:01 AM
/etc/lvmconf/vg00.conf corrupted
Our backup system gives the following message
cannot stat /etc/lvmconf/vg00.conf: No such device or address
Any command that requires an access on this file failed ( as to add a LV in vg00 for example)
I'm able to create a backup of the volume group configuration file using
vgcfgbackup -f /tmp/vg00.backup vg00
but, how to use it to repair the corrupted one ?
Sorry if my question is trivial, I'm a beginner in the HP-UX world .
Thanks for your help
Flo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 05:06 AM
тАО03-02-2006 05:06 AM
Re: /etc/lvmconf/vg00.conf corrupted
Try "cp /tmp/vg00.backup etc/lvmconf/vg00.conf".
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 05:12 AM
тАО03-02-2006 05:12 AM
Re: /etc/lvmconf/vg00.conf corrupted
I got the error message
cp: cannot create vg00.conf: No such device or address
Moreover I can see vg00.conf in /etc/lvmconf using the ls command ( with no argument)
but an ls -l vg00.conf fails with the error message
./vg00.conf not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 05:19 AM
тАО03-02-2006 05:19 AM
Re: /etc/lvmconf/vg00.conf corrupted
# vgcfgbackup -u /dev/vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 05:22 AM
тАО03-02-2006 05:22 AM
Re: /etc/lvmconf/vg00.conf corrupted
"Cannot stat" simply means the file is non-existent or that you do not have the permissions to open it. The error does not infer corruption.
I suspect that your backup isn't running as root. The binary for 'vgcfgbackup' is setuid for root, so it would have the ability to create a new file in '/etc/lvmconf' regardless of the directory permissions.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 06:02 AM
тАО03-02-2006 06:02 AM
Re: /etc/lvmconf/vg00.conf corrupted
mv /etc/lvmconf/vg00.conf /etc/lvmconf/vg00.conf.bad
vgcfgbackup vg00
Retry the backup...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 08:28 PM
тАО03-02-2006 08:28 PM
Re: /etc/lvmconf/vg00.conf corrupted
Verify directory backup:
# ll -d /etc/lvmconf
drwxr-xr-x 5 root root 13312 Mar 3 03:51 /etc/lvmconf
# mv /etc/lvmconf/vg00.conf /etc/lvmconf/vg00.conf.old
# vgcfgbackup vg00
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 08:59 PM
тАО03-02-2006 08:59 PM
Re: /etc/lvmconf/vg00.conf corrupted
Shiju : vgcgfbackup -u /dev/vg00 doesn't work
vgcfgbackup: Configuration file "/etc/lvmconf/vg00.conf" not found or is corrupted
James : the command is launched by root ... but it doesn't work
Geof : I can't move the file
mv: vg00.conf: cannot access: No such device or address
rasiasn : the rights on the directory are correct
drwxr-xr-x 2 root root 8192 Mar 2 18:06 /etc/lvmconf
--> yesterday date because I tried a 'vgscan'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 09:00 PM
тАО03-02-2006 09:00 PM
Re: /etc/lvmconf/vg00.conf corrupted
Shiju : vgcgfbackup -u /dev/vg00 doesn't work
vgcfgbackup: Configuration file "/etc/lvmconf/vg00.conf" not found or is corrupted
James : the command is launched by root ... but it doesn't work
Geof : I can't move the file
mv: vg00.conf: cannot access: No such device or address
rasiasn : the rights on the directory are correct
drwxr-xr-x 2 root root 8192 Mar 2 18:06 /etc/lvmconf
--> yesterday date because I tried a 'vgscan'
Flo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2006 10:27 PM
тАО03-02-2006 10:27 PM
Re: /etc/lvmconf/vg00.conf corrupted
You cant move something that doesnt exist so lets start again, what is in /etc/lvmconf?
Do you see vg00.conf?
Courage!
All the best
Victor