- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate /dev/vgpkg1 /dev/dsk/c5t0d[12]
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
тАО12-23-2009 03:15 AM
тАО12-23-2009 03:15 AM
vgcreate /dev/vgpkg1 /dev/dsk/c5t0d[12]
vgextend /dev/vgpkg1 /dev/dsk/c[79]t0d[12] \
/dev/dsk/c1[13579]t0d[12]
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 03:29 AM
тАО12-23-2009 03:29 AM
SolutionEssentially the first command i screating a Volume group with it's first PV, using the block device special file for the disk which is in the format of:
/dev/dsk/c[x]t[y]d[z]
where c=HBA instance number
where t=target number and
where d=LUN number
You can use ioscan -funCdisk to locate these,
unless you have HP-UX 11iv3 where you can use the new Agile addressing
The second command is simply adding another two PV's to the VG, using the same addressing as above.
You could also just do:
vgcreate /dev/vgpkg1 /dev/dsk/c[x]t[y]d[z] /dev/dsk/c[x]t[y]d[z].......
substituting the relevant numbers for each PV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 03:30 AM
тАО12-23-2009 03:30 AM
Re: vgcreate /dev/vgpkg1 /dev/dsk/c5t0d[12]
This is shell Pattern Matching Notation. If these files exist, it should be expanded to:
vgcreate /dev/vgpkg1 /dev/dsk/c5t0d1 /dev/dsk/c5t0d2
You can use echo to check:
echo vgcreate /dev/vgpkg1 /dev/dsk/c5t0d[12]
>vgextend /dev/vgpkg1 /dev/dsk/c[79]t0d[12] \
/dev/dsk/c1[13579]t0d[12]
This would be the 2*2 combinations of the first and the 5*2 of the latter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 03:42 AM
тАО12-23-2009 03:42 AM
Re: vgcreate /dev/vgpkg1 /dev/dsk/c5t0d[12]
/dev/disk/disk80 /dev/rdisk/disk80
disk 81 64000/0xfa00/0x6 esdisk CLAIMED DEVICE HP HSV200
/dev/disk/disk81 /dev/rdisk/disk81
disk 82 64000/0xfa00/0x7 esdisk CLAIMED DEVICE HP HSV200
/dev/disk/disk82 /dev/rdisk/disk82
disk 83 64000/0xfa00/0x8 esdisk CLAIMED DEVICE HP HSV200
/dev/disk/disk83 /dev/rdisk/disk83
disk 84 64000/0xfa00/0x9 esdisk CLAIMED DEVICE HP HSV200
/dev/disk/disk84 /dev/rdisk/disk84
disk 85 64000/0xfa00/0xa esdisk CLAIMED DEVICE HP HSV200
/dev/disk/disk85 /dev/rdisk/disk85
disk 86 64000/0xfa00/0xb esdisk CLAIMED DEVICE HP HSV200
/dev/disk/disk86 /dev/rdisk/disk86
disk 87 64000/0xfa00/0xc esdisk CLAIMED DEVICE HP HSV200
/dev/disk/disk87 /dev/rdisk/disk87
disk 88 64000/0xfa00/0xd esdisk CLAIMED DEVICE HP HSV200
/dev/disk/disk88 /dev/rdisk/disk88
the first command I have created bye
vgcreate /dev/vgpkg1 /dev/disk/disk81 /dev/disk/disk82
how do I do the second one...
vgextend /dev/vgpkg1 /dev/dsk/c[79]t0d[12] \
/dev/dsk/c1[13579]t0d[12]
like
vgextend /dev/vgpkg1 /dev/disk/disk[83848586????]
or
vgextend /dev/vgpkg1 /dev/disk/disk83 /dev/disk/disk84 /dev/disk/disk85 ....????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 03:56 AM
тАО12-23-2009 03:56 AM
Re: vgcreate /dev/vgpkg1 /dev/dsk/c5t0d[12]
vgextend /dev/vgpkg1 /dev/disk/disk[83848586????]
or
vgextend /dev/vgpkg1 /dev/disk/disk83 /dev/disk/disk84 /dev/disk/disk85 ....????
>
Well the second option is the more usual step, and is very specific.
The first option if you want to try would look like:
vgextend /dev/vgpkg1 /dev/disk/disk8[3456]
But I prefer th emore specific option as you KNOW which device you are going to use.
Just my opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 03:56 AM
тАО12-23-2009 03:56 AM
Re: vgcreate /dev/vgpkg1 /dev/dsk/c5t0d[12]
vgextend /dev/vgpkg2 /dev/dsk/c[79]t0d[34] \
/dev/dsk/c1[13579]t0d[34] will be creating Alternative links
How do I create the same in /dev/disk/ ??? format
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 03:58 AM
тАО12-23-2009 03:58 AM
Re: vgcreate /dev/vgpkg1 /dev/dsk/c5t0d[12]
The new agile format is multipath aware, so in fact if there are multiple paths to the same LUN, then th ekernel will address it as /dev/disk/disk82, and transparently know it can use any of the healthy paths to the LUN, IF it has multiple paths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2009 04:04 AM
тАО12-23-2009 04:04 AM
Re: vgcreate /dev/vgpkg1 /dev/dsk/c5t0d[12]
Thank you