- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- tags { hosttags = 1 }
Operating System - Linux
1753716
Members
4440
Online
108799
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
Discussions
Discussions
Forums
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
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
тАО05-23-2007 06:26 AM
тАО05-23-2007 06:26 AM
When I add hosttags to lvm.conf and recreate initrd I can't mount the root filesystem.
Activating logical volumes
0 logical volume(s) in volume group "vg00" now active
Creating root device
mkroodev: mknod failed: 17
.
.
Kernel panic - not syncing: Attempted to kill init!
--
serviceguard-A.11.16.07-0
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
2.6.9-55.ELsmp on x86_64
vg00 is on internal (cciss) disk. Clustered VG is on CLARiiON with PowerPath
lvm_.conf:
activation { volume_list=["@"] }
I tried adding a tag to vg00 but that didn't help. I assume I want to modify this "activation" command to include vg00 regardless of tags but I'm not seeing the syntax.
Mike
Activating logical volumes
0 logical volume(s) in volume group "vg00" now active
Creating root device
mkroodev: mknod failed: 17
.
.
Kernel panic - not syncing: Attempted to kill init!
--
serviceguard-A.11.16.07-0
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
2.6.9-55.ELsmp on x86_64
vg00 is on internal (cciss) disk. Clustered VG is on CLARiiON with PowerPath
lvm_
activation { volume_list=["@
I tried adding a
Mike
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 06:40 AM
тАО05-23-2007 06:40 AM
Re: tags { hosttags = 1 }
I've discovered if I comment-out the entry in lvm.conf:
#tags { hosttags = 1 }
Then
mkinitrd /boot/initrd-`uname -r`.img `uname -r`
Then uncomment lvm.conf:
tags { hosttags = 1 }
And reboot, then vg00 gets activated properly AND I still get the exclusive activation functionality of the clustered VG.
Mike
#tags { hosttags = 1 }
Then
mkinitrd /boot/initrd-`uname -r`.img `uname -r`
Then uncomment lvm.conf:
tags { hosttags = 1 }
And reboot, then vg00 gets activated properly AND I still get the exclusive activation functionality of the clustered VG.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2007 01:58 AM
тАО05-26-2007 01:58 AM
Solution
You're on the right track. The problem seems to be that vg00 must be activated while the system's hostname is not set yet, so the LVM commands cannot know they should read the lvm_.conf.
I had this problem too, and ended up putting the volume_list configuration line to /etc/lvm/lvm.conf instead of host-specific /etc/lvm/lvm_.conf. I don't really see why the setting should be in a host-specific file.
This change eliminates the requirement to comment out the hosttags configuration while running a mkinitrd.
In the "activation" section of lvm.conf, there is even a commented example of the volume_list keyword. It gives a big clue about how the volume_list configuration works. Search for "volume_list" in the lvm.conf file and you'll find it.
The syntax for the volume_list configuration:
volume_list = [ "vg00", "@" ]
It means: "you're allowed to activate vg00 always, and any other VGs only if they have the tag".
MK
I had this problem too, and ended up putting the volume_list configuration line to /etc/lvm/lvm.conf instead of host-specific /etc/lvm/lvm_
This change eliminates the requirement to comment out the hosttags configuration while running a mkinitrd.
In the "activation" section of lvm.conf, there is even a commented example of the volume_list keyword. It gives a big clue about how the volume_list configuration works. Search for "volume_list" in the lvm.conf file and you'll find it.
The syntax for the volume_list configuration:
volume_list = [ "vg00", "@
It means: "you're allowed to activate vg00 always, and any other VGs only if they have the
MK
MK
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP