HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vg doesn't get activated at boot
Operating System - HP-UX
1835914
Members
2827
Online
110087
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-14-2003 12:46 AM
09-14-2003 12:46 AM
Hi guys,
I have an old HP C360 workstation with 2*4Gb HDDs.
/, /stand, /var, /tmp belong to vg00.
/usr, /opt belong to vg01.
When I boot the system I get many failures and the system doesn't come up with the login prompt. I booted in the single-user mode and found out the vg01 doesn't get activated during the boot process.
My workaround for now is to add "/sbin/vgchange -a y vg01" to the /sbin/init.d/localmount.
Thus I get only a couple of errors while checking file systems and the system boots fine.
What might be a reason for such a behavior and is there any kind of "enterprise solution" to make the vg01 active?
Thanks,
Peter
I have an old HP C360 workstation with 2*4Gb HDDs.
/, /stand, /var, /tmp belong to vg00.
/usr, /opt belong to vg01.
When I boot the system I get many failures and the system doesn't come up with the login prompt. I booted in the single-user mode and found out the vg01 doesn't get activated during the boot process.
My workaround for now is to add "/sbin/vgchange -a y vg01" to the /sbin/init.d/localmount.
Thus I get only a couple of errors while checking file systems and the system boots fine.
What might be a reason for such a behavior and is there any kind of "enterprise solution" to make the vg01 active?
Thanks,
Peter
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2003 01:10 AM
09-14-2003 01:10 AM
Re: vg doesn't get activated at boot
Hi Peter,
There are two files you need to look at - the activation script /sbin/lvmrc and the configuration file /etc/lvmrc. Basically you can define a custom VG activation by setting the relevant variable in /etc/lvmrc or there is a default action, which is to activate all VGs. Both files are small and easy to interpret.
cheers,
James.
There are two files you need to look at - the activation script /sbin/lvmrc and the configuration file /etc/lvmrc. Basically you can define a custom VG activation by setting the relevant variable in /etc/lvmrc or there is a default action, which is to activate all VGs. Both files are small and easy to interpret.
cheers,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2003 01:36 AM
09-14-2003 01:36 AM
Re: vg doesn't get activated at boot
Hi James,
thanks for your answer.
I checked those files:
AUTO_VG_ACTIVATE=0
custom_vg_activation just returns 0.
Some more questions if you don't mind:
1. Should I just change AUTO_VG_ACTIVATE to 1 to make everything work smoothly?
2. If so, at what stage of the boot process /sbin/lvmrc is being called?
3. Why vg00 gets activated??? (Probably, vg00 gets activated always by default?)
Regards,
Peter
thanks for your answer.
I checked those files:
AUTO_VG_ACTIVATE=0
custom_vg_activation just returns 0.
Some more questions if you don't mind:
1. Should I just change AUTO_VG_ACTIVATE to 1 to make everything work smoothly?
2. If so, at what stage of the boot process /sbin/lvmrc is being called?
3. Why vg00 gets activated??? (Probably, vg00 gets activated always by default?)
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2003 01:45 AM
09-14-2003 01:45 AM
SolutionNo problem.
1) Yes, change this to 1 to have all VGs activated by default.
2) It gets called by /sbin/bcheckrc which is defined in /etc/inittab, so fairly early in the boot process, certainly before the rc scripts, hence why all your errors didn't go away.
3) Yup, its always activated by default on a normal boot.
I can see the problem you had though - its not really documented well.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP