- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Why we need the group file while we creating t...
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
тАО05-22-2009 12:36 AM
тАО05-22-2009 12:36 AM
Thanks In Advance...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 12:50 AM
тАО05-22-2009 12:50 AM
SolutionThe group special file, or control file, provides the means by which LVM kernel and LVM
commands communicate within the volume group you create.
Create the control file named group in the directory /dev/vgnn. Use the mknod(1M)
command. The group file is a character device file. The major number is always 64. The
minor number is hexadecimal, always ends in 0000, and has the following form:
0xhh0000
where hh is the hexadecimal representation of the volume group number.
For example, to create a group file for a volume group 01, you would type:
# mknod /dev/vg01/group c 64 0x010000
# chown -R root:sys /dev/vg01
# chmod 640 /dev/vg01/group
Be sure to verify the permissions on the new group file after executing the mknod command.
The group file should be owned by root, with rw-r----- permissions; otherwise,
unauthorized users may be able to access or change data stored in your logical volumes.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 12:55 AM
тАО05-22-2009 12:55 AM
Re: Why we need the group file while we creating the VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 02:22 AM
тАО05-22-2009 02:22 AM
Re: Why we need the group file while we creating the VG
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2009 01:25 AM
тАО05-23-2009 01:25 AM
Re: Why we need the group file while we creating the VG
And also note that mknod is not needed with
recent HP-UX 11.31 releases.
vgcreate(1M) does it automatically.
And by the way, while on the same topics,
HP-UX 11.31 has new type of
LVM VGs (L2), so this is possible too:
mknod /dev/vgXX/group c 128 ...
Admins used to memorise "c 64" but that
is not the only option any more.
And also, there is a new command for HP-UX 11.31 - vgversion(1M) which helps in
converting LVM L1 to L2.
Cheers,
VK2COT