- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- i dont start vg01 automatic
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-18-2005 07:51 AM
09-18-2005 07:51 AM
i write /dev/vg01 in fstab, but dont up vg01, i need start in command line, where i write this for initializing in rebooting ?
tanks for all
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 08:00 AM
09-18-2005 08:00 AM
SolutionYour question is not clear. What do you want ?
Activate vg01 automatically when rebooting.
Or
Not activating vg01 when rebooting.
Set AUTO_VG_ACTIVATE=0 in /etc/lvmrc file if you do not want all other VG's then vg00 to be activated at boot time.
The changes written to /etc/fstab made by you are not correct. It should include file systems to be mounted automatically from activated VGs and can not effect activation of the VG.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 08:10 AM
09-18-2005 08:10 AM
Re: i dont start vg01 automatic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 08:13 AM
09-18-2005 08:13 AM
Re: i dont start vg01 automatic
vgchange -a y /dev/vg01
vgchange -n /dev/vg01
mount /dev/vg01/export /exportacao
mount /dev/vg01/backup /exportacao
but while rebooting don´t up vg01, i need write in prompt for up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 08:13 AM
09-18-2005 08:13 AM
Re: i dont start vg01 automatic
no need to write vgname but to lvol name in /etc/fstab , which in turn will mount the filesystem , belongs to that lvol:
Here is a typical /etc/fstab entry should be :
/dev/vg00/lvol22 /home/fs1 vxfs log,nodatainlog,nolargefiles,rw,suid 0 2
/dev/vg00/lvol23 /opt/fs2 vxfs log,nodatainlog,nolargefiles,rw,suid 0 2
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 09:04 AM
09-18-2005 09:04 AM
Re: i dont start vg01 automatic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 10:30 AM
09-18-2005 10:30 AM
Re: i dont start vg01 automatic
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=799306
AUTO_VG_ACTIVATE=1
That will set a volume group to auto activate on boot. You need VG00 to work this way.
If a Volume group will be activated by more than one node, you MUST set the parameter to 0. To not do so and to activate a cluster that activates VG01 in your case will lead to a catastrophic system failure.
The
custom_vg_activation
Will insure that when your cluster starts the primary node will activate vg01 and the secondary will not but be able to when a package requires it.
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-18-2005 11:21 AM
09-18-2005 11:21 AM
Re: i dont start vg01 automatic
If the nodes are part of cluster you should not set AUTO_VG_ACTIVATE=1.
Also if you want a VG to be activated by itself on reboot then add an entry in /etc/lvmrc file liks this
===============================
ustom_vg_activation()
{
/sbin/vgchange -a y /dev/vg01
# parallel_vg_sync "/dev/vg00 /dev/vg01"
# parallel_vg_sync "/dev/vg02 /dev/vg03"
return 0
}
================================
Apart from this also put entries in proper syntax in /etc/fstab for the file systems belonging to this VG to be mounted automatically.
The entries put in /etc/fstab earlier are not proper. These should be added to achive this.
/dev/vg01/export /exportacao vxfs delaylog 0 2
/dev/vg01/backup /exportacaob vxfs delaylog 0 2
Also you added two entries to mount on the same point which is not correct.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 12:00 PM
09-18-2005 12:00 PM
Re: i dont start vg01 automatic
after mount the vg ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2005 12:59 PM
09-18-2005 12:59 PM
Re: i dont start vg01 automatic
/etc/fstab is the filesystem table, hence the naming.
Volume groups are activated prior to the automatic mount of filesystems listed in /etc/fstab
Note that /etc/fstab usually contains references the the volume groups, these get activated first.
lvmrc for volume groups
fstab for filesystems
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-18-2005 02:58 PM
09-18-2005 02:58 PM
Re: i dont start vg01 automatic
A standalone system and a serviceguard system are two different things when it comes to vg activation. I understand that English is not your strong point but if I am understnading you correctly, you have two system running in a serviceguard cluster and these systems are running different packages when the cluster comes up. Is this right ? If it is right, leave the /etc/lvmrc and /etc/fstab alone. DO NOT TOUCH THEM !.
On systems running serviceguard, all you need to autoactivate at the boot time is vg00 and it is activated regardless of if you want it or not.
The rest is upto the cluster and package startup.
But if the vg01 is not a part of any cluster package, you still can not set
AUTO_VG_ACTIVATE=1
instead, you will find the custom vg activation function in the /etc/lvmrc and will modify it as follows (after the comment lines insert this one line)
/sbin/vgchange -a y /dev/vg01
then you will need to add these two lines to your /etc/fstab (these are according to what you said previously)
/dev/vg01/export /exportacao vxfs delaylog,rw,suid 0 2
/dev/vg01/backup /exportacaob vxfs delaylog,rw,suid 0 2
at this moment you should be good to go.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 01:45 AM
09-19-2005 01:45 AM
Re: i dont start vg01 automatic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2005 05:09 AM
09-19-2005 05:09 AM
Re: i dont start vg01 automatic
UNIX because I majored in cryptology...