Operating System - HP-UX
1748170 Members
4298 Online
108758 Solutions
New Discussion юеВ

Re: Create a volume group, with (4) 7 TB storage luns

 
SOLVED
Go to solution
rescuehp17
Frequent Advisor

Create a volume group, with (4) 7 TB storage luns

I am planning to create a file system. With four 7TB SAN luns. So wondering how to create:

#vgcreate -s 64 -e ........

Please suggest the recommendations to follow.

Thank you.

6 REPLIES 6
Bill Hassell
Honored Contributor

Re: Create a volume group, with (4) 7 TB storage luns

There are different ways to create the volume group depending on your version of HP-UX.
What version are you running?

 



Bill Hassell, sysadmin
rescuehp17
Frequent Advisor

Re: Create a volume group, with (4) 7 TB storage luns

11.31 version

Bill Hassell
Honored Contributor

Re: Create a volume group, with (4) 7 TB storage luns

From the man page: vgcreate -V 2.2 -s pe_size -S vg_size vg_name pv_name ...

For your example,

pvcreate /dev/rdisk/pv1 (repeat for LUNs pv2 pv3 and pv4)
vgcreate -V 2.2 -s 256 -S 28t vgSomeName /dev/disk/pv1 ... /dev/rdisk/pv4

vgcreate will create the /dev/vgSomeName directory and group file. 



Bill Hassell, sysadmin
rescuehp17
Frequent Advisor

Re: Create a volume group, with (4) 7 TB storage luns

Thank you so much, Bill

Created file system and successful.

Quick question, scsimgr set_attr -D /dev/rdisk/disk13 -a max_q_depth=64. I do set queue_depth for better performance. Is that helping or not. ANy ideas?

Bill Hassell
Honored Contributor

Re: Create a volume group, with (4) 7 TB storage luns

The max_q_depth=64 is fine. The default is 8, pretty low for high performance disk arrays and servers. 64 is a good starting value but actual improvement is dependent on the server's performance, the number of separate processes initiating disk I/O at the same time, alternate links, switch speed, array queue settings, striping and so on... In other words, it depends. You can change it at any time but you'll need  repeatable workload to test the improvement if any. You can use sar -d 5 10 to look the disk queues. Lower values are desirable but if changes to the max_q_depth value do not appreciably change the disk queue sizes, then the current setting is fine.



Bill Hassell, sysadmin
rescuehp17
Frequent Advisor
Solution

Re: Create a volume group, with (4) 7 TB storage luns

Thank you so much, Bill. Helps!