- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate problem
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
тАО04-11-2002 06:16 PM
тАО04-11-2002 06:16 PM
vgcreate problem
vgcreate /dev/vg00 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0
/dev/dsk/c1t0d0 /dev/dsk/c2t0d0 access to the same PV
which one determine the PV num? t0 or d0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 06:33 PM
тАО04-11-2002 06:33 PM
Re: vgcreate problem
The PV NUM is determined by the order in which the alternate links are assigned. The primary (first assigned) would be PV(0); the secondary (alternate) link would be PV(1). The PVID would be identical for both disks.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 06:34 PM
тАО04-11-2002 06:34 PM
Re: vgcreate problem
t# SCSI target address
d# device number
Regarding your question, since you are using the same PV, the answer should be d#.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 06:41 PM
тАО04-11-2002 06:41 PM
Re: vgcreate problem
The numbering of disks depends upon the hardware addressing of the SCSI path. If you have two SCSI cards going to the same physical disk this is the type of information that will be reported.
c2t0d0
disk 0 on controller 2 (t0)
c= controller, referencing the controller on the system to which the disk drive is attached. Each disk controller will have a unique number.
t= target number. Each disk on a SCSI chain
will have it's own number.
d= disk device unit number
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 06:41 PM
тАО04-11-2002 06:41 PM
Re: vgcreate problem
As per the volume group whichever disk is configured first will be the first PV aka primary link and the other alternate. However you can change this behaviour anytime by using pvchange command.
Even if they are two different disks, the same explanation holds good.
So, the answer is neither t0 nor d0.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 07:02 PM
тАО04-11-2002 07:02 PM
Re: vgcreate problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 08:21 PM
тАО04-11-2002 08:21 PM
Re: vgcreate problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 08:25 PM
тАО04-11-2002 08:25 PM
Re: vgcreate problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 08:50 PM
тАО04-11-2002 08:50 PM
Re: vgcreate problem
vgcreate -s 2 /dev/vg00 /dev/dsk/c1t0d0 /dev/dsk/c1t2d0
c1t0d0 c1t2d0 do not the same PV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 09:06 PM
тАО04-11-2002 09:06 PM
Re: vgcreate problem
When your creating a volume group it is best to
create the group first with one disk and then
add any additional disk secondly with the
vgextend command. This applies to whether it is
a disk mirror (alternate path) or any additional
disk.
How I would create a volume using the largest
volume I have available I plan for that group
# vgcreate -p 128 -s 2 /dev/vg01 /dev/dsk/c1t0d0
# vgextend /dev/vg01 /dev/dsk/c1t2d0
etc etc
~Michael~