- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to run vgcreate to include 13 device
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
Forums
Discussions
Discussions
Discussions
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
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-31-2005 01:06 AM
05-31-2005 01:06 AM
how to run vgcreate to include 13 device
I want to run vgcreate command on hpux 11.11 on RP8420,but vgcreate only include 8 device
Now , I have 13 disk, how I can run vgcreate to include 13 device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 01:22 AM
05-31-2005 01:22 AM
Re: how to run vgcreate to include 13 device
That sets the maximum number of physical volumes.
The default is 255 on HP-UX, it may be 8 on Linux.
If this is a SAN you may not have a vgcreate issue, you may have an issue with the maximum number of luns you can presetn to your HP-UX box on an non-hp disk array. The driver for the fiber cards only allows 8 luns on certain back end disk arrays.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:24 AM
05-31-2005 02:24 AM
Re: how to run vgcreate to include 13 device
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:30 AM
05-31-2005 02:30 AM
Re: how to run vgcreate to include 13 device
If you're asking how to add 5 more disks to the existing VG - then use vgextend as follows
vgextend /dev/vg_name /dev/dsk/c1t2d0 /dev/dsk/c1t2d1 /dev/disk/c1t2d2 /dev/dsk/c1t2d3 /dev/dsk/c1t2d4
This will add these five disks to /dev/vg_name
If you're asking how to initially create a VG with 13 disks then I would suggest using a for loop. First create the VG with the first disk:
vgcreate /dev/vg_name /dev/dsk/c1t2d0
Then create a file with the remaining 12 disks - let's call it disk_in - containing the following
c1t2d1
c1t2d2
c1t2d3
c1t2d4
c1t2d5
c1t2d6
c1t2d7
c1t3d0
c1t3d1
c1t3d2
c1t3d3
c1t2d4
Then run the following command:
for i in $(cat disk_in)
do
vgextend /dev/vg_name /dev/dsk/$i
done
That will loop through the disk devices adding each as it goes.
Of course you could also specify *all* 13 in the vgcreate command or creat it with the first & run vgextend 12 more times. But the for loop is the easiest way to do it.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:33 AM
05-31-2005 02:33 AM
Re: how to run vgcreate to include 13 device
-What messages are you getting when trying to put all 13 disks in the vg?
-Try creating the vg with the first 8 disks and then vgextend the other disks.
Regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 02:59 AM
05-31-2005 02:59 AM
Re: how to run vgcreate to include 13 device
In fact , I have no true 13 harddisk,I am using EMC cx500 storage connected to rp8420 through SAN switch by 5 Fiber card
for a Lun with 13 devicename,from vgcreate manual,It says just 7 alternate link can link, so ,If I vgcreate 13 device,the error message " too many links"
happen
I want to know how to solve this problem
THANKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 03:33 AM
05-31-2005 03:33 AM
Re: how to run vgcreate to include 13 device
In your case if you have 13 logical LUNS being presented - even with 5 HBAs - there would have to be, at minimum, 3 physical LUNs in play here.
If this is an EMC array you should use the syminq command to see just what LUNs are alternate links to each other. If they have the *same* serial number they are indeed the same LUN - just with different paths.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 03:44 AM
05-31-2005 03:44 AM
Re: how to run vgcreate to include 13 device
13 alternate links are of no use. Keep it to maximum 3-4 as LVM does not even support load balancing across multiple paths and they work in active-standby mode.
There is currently a limittion of maximum 8 paths (7 alternate links) of same device in LVM.
HTH,
Devender