- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Create VG withmount minor/major number?
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
тАО09-08-2009 10:06 PM
тАО09-08-2009 10:06 PM
Is it possible to create VG without group detail like major/minor number?
Or is it possible to assign the default majo/minor number?
Server model is ia64
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 10:16 PM
тАО09-08-2009 10:16 PM
Solution#mknod/dev/vgnew/group c 64 0x010000
A vgcreate in LVM version 2.x creates the group file automagically.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 11:05 PM
тАО09-08-2009 11:05 PM
Re: Create VG withmount minor/major number?
1)Is it possible to create VG without group detail like major/minor number?
==>group file is required.
Which is your OS version??
In 11.31, no need to create it manually , vgcreate command will create it.
In 11.23, you have to create it manually.
2)Or is it possible to assign the default majo/minor number?
==>No,...
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 02:52 AM
тАО09-09-2009 02:52 AM
Re: Create VG withmount minor/major number?
LVMProvider R11.23.007 CIM/WBEM Provider for LVM,
but i am unable to create VGs automaticaly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 02:54 AM
тАО09-09-2009 02:54 AM
Re: Create VG withmount minor/major number?
Only 11.31 has version 2.0 or 2.1.
In this case you need to use SAM or create the group file manually.
Any problem with this?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 03:10 AM
тАО09-09-2009 03:10 AM
Re: Create VG withmount minor/major number?
http://docs.hp.com/en/B2355-90950/ch06s01.html#bfibdggj
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 03:33 AM
тАО09-09-2009 03:33 AM
Re: Create VG withmount minor/major number?
I would suggest you to read docs about Managing LVM, Here is links for some good dosc about LVM.
===LVM Docs links======
http://pagesperso-orange.fr/hvelasco.admin/LVM%20HP-UX/root.htm
http://docs.hp.com/en/B2355-90950/ch09s01.html
http://h20311.www2.hp.com/hpux11i/cache/324830-0-0-0-121.html
http://docs.hp.com/en/5991-6469/ch06s07.html
http://docs.hp.com/en/oshpux11iv2.html#LVM%20Volume%20Manager
Hope this will help you..
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 10:17 AM
тАО09-09-2009 10:17 AM
Re: Create VG withmount minor/major number?
This is the WBEM module to provide information for centralized web page managers such as HP's System Insight Manager.
There is no default number for the group file---you must pick a minor number value that is not duplicated. Just like the password file, to create a new entry, you must sort all the existing group files by minor number, then pick and unused value. This is slightly tricky because the minor number is in hex.
Here is a portion of a VG creator script that finds the first unused hex number pair:
set -A HEX 0 1 2 3 4 5 6 7 8 9 a b c d e f
HEX1=0
HEX2=0
# Find all the used group files - skip anything that isn't a group special file
USED=$(ll /dev/*/group | awk '/64 0x/ {print $6}' | sort)
# Search for 1st unused minor number
for TENS in ${HEX[@]}
do
for ONES in ${HEX[@]}
do
[ $(echo $USED | grep -c 0x${TENS}${ONES}0000) -eq 0 ] && break 2
done
done
if [ "$TENS$ONES" = "ff" ]
then
echo "\nUnable to find an unused group ID in:"
ll /dev/*/group | grep "64 0x"
echo "\nNo VG created\n"
exit 1
fi
echo "Next minor number is 0x${TENS}${ONES}0000"
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 01:34 AM
тАО09-10-2009 01:34 AM