- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- disable autostart LVM on redhat AS4
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
тАО07-28-2006 12:17 AM
тАО07-28-2006 12:17 AM
disable autostart LVM on redhat AS4
May I know that how could deactive LVM loading on redhat AS 4 .
Reason I ask because I knew HPUX can select vgXX to start as manual .
SuSe also can select which vgXX to active .Can RedHat AS4 can do this ?
Thanks
LeongKO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2006 03:07 AM
тАО07-28-2006 03:07 AM
Re: disable autostart LVM on redhat AS4
the vgchange command works exactly the same on Linux as it does on HP-UX.
What I'm sure of is a vg configuration file that can control vg activation at startup. If the feature exists, the filename is different than HP-UX.
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
тАО07-31-2006 01:38 AM
тАО07-31-2006 01:38 AM
Re: disable autostart LVM on redhat AS4
Command:
vgchange -a n
for each VG you want to make sure is deactivated at boot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2006 04:59 AM
тАО07-31-2006 04:59 AM
Re: disable autostart LVM on redhat AS4
There are other vg related commands in /etc/rc.sysinit. You want to make sure that any vgchange commands you add are after the ones that are already there. Also, make sure you are not in any of the "if" commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2006 01:12 PM
тАО07-31-2006 01:12 PM
Re: disable autostart LVM on redhat AS4
Possible that showing step by step or give template ?
I not clear what you mean .
Thanks
leongko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2006 04:02 PM
тАО07-31-2006 04:02 PM
Re: disable autostart LVM on redhat AS4
The comments and the example show where to do
the changes. This is about 30 lines before the end of the file.
Hope this helps.
# Boot time profiles. Yes, this should be somewhere else.
if [ -x /usr/sbin/system-config-network-cmd ]; then
if strstr "$cmdline" netprofile= ; then
for arg in $cmdline ; do
if [ "${arg##netprofile=}" != "${arg}" ]; then
/usr/sbin/system-config-network-cmd --profile ${arg##netprofile=}
fi
done
fi
fi
#
# Add the vgchange commands here to disable all of the
# VGs used by SGLX packages
vgchange -a n VGPKG1
vgchange -a n VGPKG2
#
#
# Now that we have all of our basic modules loaded and the kernel going,
# let's dump the syslog ring somewhere so we can find it later
dmesg -s 131072 > /var/log/dmesg
# create the crash indicator flag to warn on crashes, offer fsck with timeout
touch /.autofsck &> /dev/null