- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Activate volume group on boot
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-03-2003 08:22 AM
09-03-2003 08:22 AM
Activate volume group on boot
What am I missing in getting the group to activate properly on boot. This is suppose to be the default as I understand it.
Thanks,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2003 08:33 AM
09-03-2003 08:33 AM
Re: Activate volume group on boot
You probably need an entry there to insure that the vg and filesystems get mounted at boot time.
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-03-2003 09:24 AM
09-03-2003 09:24 AM
Re: Activate volume group on boot
I've never used LVM on Red Hat but I have on nearly everything else. Start up scripts generally don't activate volume groups like they do on HP-UX.
Every system I have seen on Linux does a vgscan somewhere in the startup scripts and then do a vgchange -ay to activate discovered volume groups..
Of course, you don't have to do it this way. You could emulate other unix's by writing a script to look for filesystems in /etc/fstab and cross referencing them with /etc/lvmtab and activate the resulting volume groups. You could then put this script in the startup script directory.
On the other hand, in many cases, with linux, the vgscan appraoch works fine.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2003 09:30 AM
09-03-2003 09:30 AM
Re: Activate volume group on boot
# LVM initialization
if [ -f /etc/lvmtab -a ! -e /proc/lvm ] ; then
modprobe lvm-mod >/dev/null 2>&1
fi
if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
action "Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y
fi
Probably you have to modify your rc.sysinit or update your initscripts package.
HTH
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2003 10:07 AM
09-03-2003 10:07 AM
Re: Activate volume group on boot
Thats how to activate the vg.
It should stay active after 1 or 100 boots.
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-03-2003 11:14 AM
09-03-2003 11:14 AM
Re: Activate volume group on boot
are you using lvm + raid? AFAIK, this happen to me before, I got around it by hacking the startup script. Apparently there's an error a bug in the start up script. LVM failed to activate because of if else clause which test for raid and lvm, it doesn't detect it correctly so it just wooosh over it. Hope this help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2003 08:37 PM
09-08-2003 08:37 PM
Re: Activate volume group on boot
Paulo hit on the problem - under RH there is no "modprobe lvm-mod" in the "/etc/rc.sysinit" file.
Simply add the command as shown in the example by Paulo and this will work fine.
Hope this helps,
Ollie.