- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Exporting and Importing volume group..
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-10-2008 07:23 AM
тАО09-10-2008 07:23 AM
I am importing a volume group from another system. But i have a question. When i should use this command: "mknod /dev/vg_ops/group c 64 0xhh0000" How do i know which numer to use? Is there any way to list the taken numbers used on the other volume groups?
Br
Patrik
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 07:33 AM
тАО09-10-2008 07:33 AM
SolutionUse "ll /dev/vg*/group" to see the existing minor number (the hh in your example). Generally the minor number corresponds to the number of the VG: 00 for vg00, 01 for vg01, etc. In this case you just need to make sure it is unique.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 07:36 AM
тАО09-10-2008 07:36 AM
Re: Exporting and Importing volume group..
Use different number 0x------
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 07:42 AM
тАО09-10-2008 07:42 AM
Re: Exporting and Importing volume group..
if u r using cluster then minor no for that particular vg be same across the node.
Suppose ur importing vg01 on secondary node.
on primary node
ll /dev/vg01/group
use the same minor no on secondary node
vgexport -v -s -p -m /tmp/vg01.map /dev/vg01
on secondary node
vgexport /dev/vg01
mkdir /dev/vg01
ll /dev/vg01
mknod /dev/vg01/group c 64 0x220000
vgimport -s -m /tmp/vgp01.map /dev/vg01
=======================================
Pls if u have doubt.Let me know before carrying out any activity
Regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 07:47 AM
тАО09-10-2008 07:47 AM
Re: Exporting and Importing volume group..
As Pete mentioned you can run that command to see the numbers already in use. You'd have to do this on every box.
And the best thing is to have a method for tracking the numbers used. Remember documentation does count! So you might create yourself a master document to track the minor numbers in use.
Since with MC/SG you want to keep the minor numbers used for vg's the same on all nodes in the cluster.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 10:59 PM
тАО09-10-2008 10:59 PM
Re: Exporting and Importing volume group..
Thx for all replies.
I will try ls -l /dev/*vg*/group
Is it best to use same number as on the exporting host? These machines are in a 5 host cluster.
Br
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 11:16 PM
тАО09-10-2008 11:16 PM
Re: Exporting and Importing volume group..
try to analysis whether the minor no is same for all vgs on all servers using
#ll /dev/vg*/group
if its same .then first node down the minor no for that particular vg. and use the same on differnt node those are able to see that vg.
Regards
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 11:18 PM
тАО09-10-2008 11:18 PM
Re: Exporting and Importing volume group..
ll /dev/vg*/group
it will list all Vg with their major and minor number.
suxde900 # ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Feb 13 2004 /dev/vg00/group
cr--r--r-- 1 root sys 64 0x010000 Apr 29 2004 /dev/vg01/group
here 64 is major number for VG and "0x000000" and "0x010000" are minor number used. if u want to create new VG u have to select different minor number as the minor nbumber is unique.
here "0x" is for ASCII. u can change next two charactre.
here u can get more information about major number minor number
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=391490
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2008 11:54 PM
тАО09-11-2008 11:54 PM
Re: Exporting and Importing volume group..
Br
Patrik