- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Volume group "/dev/vg04" does not exist in the "/e...
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
тАО08-17-2005 05:00 PM
тАО08-17-2005 05:00 PM
I thought I did everything right.
-unmounted it
-deactivated /dev/vg04
-vgexport /dev/vg04 (...OR DID I?????)
Not sure 'bout that last step.
Anyway, system rebooted OK. Now, (weeks later) doing an ignite, Ignite complains like:
"ERROR: Cannot stat device file: /dev/vg04/lvol1: No such file or directory
(errno = 2). Check /etc/fstab for a bad entry."
When I do -->cat /etc/fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg01/lvol1 /u02 vxfs delaylog 0 2
/dev/vg03/lvol1 /s04 vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2
/dev/vg03/lvol2 /s05 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg02/lvol1 /s01 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vg04/lvol1 /s06 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
There it is - the disk I have physically (and, I thought, logically) removed (see last entry in fstab)
And so I struggle on....
-->vgchange -a n /dev/vg04
vgchange: Volume group "/dev/vg04" does not exist in the "/etc/lvmtab" file.
-->vgexport /dev/vg04
vgexport: Volume group "/dev/vg04" does not exist in the "/etc/lvmtab" file.
vgexport: Couldn't export volume group "/dev/vg04".
How Do I get rid of this one (/dev/vg04)? I just want to blow it away. How did I end up in this state?
Can I just take to fstab with vi and delete that entry??
Cheers!
Leon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 05:20 PM
тАО08-17-2005 05:20 PM
SolutionAll the commands you did previously are correct to get rid of a VG. However, none of those commands will do anything to the /etc/fstab file. That file must be modified manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 05:23 PM
тАО08-17-2005 05:23 PM
Re: Volume group "/dev/vg04" does not exist in the "/etc/lvmtab" file
I'll delete it and let you know how things go.
Cheers!
Leon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 05:26 PM
тАО08-17-2005 05:26 PM
Re: Volume group "/dev/vg04" does not exist in the "/etc/lvmtab" file
also if you have the /dev/vg04 directory, you may want to remove the directory as well.
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 05:29 PM
тАО08-17-2005 05:29 PM
Re: Volume group "/dev/vg04" does not exist in the "/etc/lvmtab" file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 05:32 PM
тАО08-17-2005 05:32 PM
Re: Volume group "/dev/vg04" does not exist in the "/etc/lvmtab" file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 05:45 PM
тАО08-17-2005 05:45 PM
Re: Volume group "/dev/vg04" does not exist in the "/etc/lvmtab" file
Now looks like
-->cat /etc/fstab
/dev/vg00/lvol3 / vxfs log 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 0
/dev/vg00/lvol8 /var vxfs delaylog,nodatainlog 0 0
/dev/vg00/lvol7 /usr vxfs delaylog,nodatainlog 0 0
/dev/vg01/lvol1 /u02 vxfs delaylog,nodatainlog 0 0
/dev/vg00/lvol4 /tmp vxfs delaylog,nodatainlog 0 0
/dev/vg03/lvol2 /s05 vxfs delaylog,nodatainlog 0 0
/dev/vg03/lvol1 /s04 vxfs delaylog,nodatainlog 0 0
/dev/vg02/lvol1 /s01 vxfs delaylog,nodatainlog 0 0
/dev/vg00/lvol6 /opt vxfs delaylog,nodatainlog 0 0
/dev/vg00/lvol5 /home vxfs delaylog,nodatainlog 0 0
cis4:/var/opt/ignite/clients /var/opt/ignite/recovery/client_mnt nfs defaults,NFSv3 0 0
root@cis2 in /var/opt/ignite/recovery/client_mnt/0x001083FE346B/recovery/2005-08-18,10:23
-->
Just a little different (eg no "largefiles" arguement.
Is that OK? Should I make it exactly like before (minus the disk)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2005 05:54 PM
тАО08-17-2005 05:54 PM
Re: Volume group "/dev/vg04" does not exist in the "/etc/lvmtab" file
Can confirm there is (was) no vg04 in /dev (vg03, 02 01 etc all there)