- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Using LVM with AutoPath
Operating System - HP-UX
1753913
Members
8794
Online
108810
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО03-01-2010 07:16 PM
тАО03-01-2010 07:16 PM
Re: Using LVM with AutoPath
Everyone, Thanks for your help!
I took note of every one of your advices and this is what I did (I hope this will be useful for someone else too.)
# check the WWN disk
root@server:/>autopath display
==================================================================
HPswsp Version : A.3.0F.04F.01F
==================================================================
Auto Discover : ON
==================================================================
Array Type : EVA-AA
Array WWN : 5001-1234-5678-9ABC
Read Optimize : ON
Path Verification Period : 00:10
==================================================================
Lun WWN : 1234-5678-9ABC-DEF1-0000-0000-0000-0000
Virtual Device File : /hpap/dsk/hpap0
Load Balancing Policy : Round Robin
Lun Timeout : Infinite Retry (-1)
==================================================================
Device Path Status
==================================================================
/dev/dsk/c2t0d1 Active
/dev/dsk/c4t0d1 Active
/dev/dsk/c6t0d1 Active
/dev/dsk/c8t0d1 Active
==================================================================
==================================================================
# Setting the Load Balancing Policy
root@server:/>autopath set -l 1234-5678-9ABC-DEF1-0000-0000-0000-0000 -b RR
# Physical Disk
root@server:/>pvcreate /dev/rdsk/c2t0d1
# vg
root@server:/>mkdir /dev/vggtdat1
root@server:/>mknod /dev/vggtdat1/group c 64 0x080000
root@server:/>vgcreate /dev/vggtdat1 /dev/dsk/c2t0d1
# for test purpose
root@server:/>lvcreate -L 1024 -n lvTest vggtdat1
# verifying that the logical volume uses all paths
root@server:/>dd if=/dev/urandom of=/dev/vggtdat1/lvTest
I/O error
0+4194306 records in
2097152+1 records out
# in other session . . .
root@server:/>iostat 1 35
c1t0d0 16 2.0 1.0
c1t0d1 0 0.0 1.0
c2t0d1 5220 652.5 1.0
c4t0d1 5212 651.5 1.0
c6t0d1 5212 651.5 1.0
c8t0d1 5220 652.5 1.0
c1t0d0 48 5.9 1.0
c1t0d1 4 1.0 1.0
c2t0d1 5212 651.5 1.0
c4t0d1 5212 651.5 1.0
c6t0d1 5212 651.5 1.0
c8t0d1 5212 651.5 1.0
c1t0d0 16 2.0 1.0
c1t0d1 0 0.0 1.0
c2t0d1 4871 608.8 1.0
c4t0d1 4871 608.8 1.0
c6t0d1 4871 608.8 1.0
c8t0d1 4871 608.8 1.0
c1t0d0 16 2.0 1.0
c1t0d1 0 0.0 1.0
c2t0d1 5344 668.0 1.0
c4t0d1 5352 669.0 1.0
c6t0d1 5352 669.0 1.0
c8t0d1 5344 668.0 1.0
c1t0d0 0 0.0 1.0
c1t0d1 0 0.0 1.0
c2t0d1 5117 639.6 1.0
c4t0d1 5117 639.6 1.0
c6t0d1 5117 639.6 1.0
c8t0d1 5117 639.6 1.0
I took note of every one of your advices and this is what I did (I hope this will be useful for someone else too.)
# check the WWN disk
root@server:/>autopath display
==================================================================
HPswsp Version : A.3.0F.04F.01F
==================================================================
Auto Discover : ON
==================================================================
Array Type : EVA-AA
Array WWN : 5001-1234-5678-9ABC
Read Optimize : ON
Path Verification Period : 00:10
==================================================================
Lun WWN : 1234-5678-9ABC-DEF1-0000-0000-0000-0000
Virtual Device File : /hpap/dsk/hpap0
Load Balancing Policy : Round Robin
Lun Timeout : Infinite Retry (-1)
==================================================================
Device Path Status
==================================================================
/dev/dsk/c2t0d1 Active
/dev/dsk/c4t0d1 Active
/dev/dsk/c6t0d1 Active
/dev/dsk/c8t0d1 Active
==================================================================
==================================================================
# Setting the Load Balancing Policy
root@server:/>autopath set -l 1234-5678-9ABC-DEF1-0000-0000-0000-0000 -b RR
# Physical Disk
root@server:/>pvcreate /dev/rdsk/c2t0d1
# vg
root@server:/>mkdir /dev/vggtdat1
root@server:/>mknod /dev/vggtdat1/group c 64 0x080000
root@server:/>vgcreate /dev/vggtdat1 /dev/dsk/c2t0d1
# for test purpose
root@server:/>lvcreate -L 1024 -n lvTest vggtdat1
# verifying that the logical volume uses all paths
root@server:/>dd if=/dev/urandom of=/dev/vggtdat1/lvTest
I/O error
0+4194306 records in
2097152+1 records out
# in other session . . .
root@server:/>iostat 1 35
c1t0d0 16 2.0 1.0
c1t0d1 0 0.0 1.0
c2t0d1 5220 652.5 1.0
c4t0d1 5212 651.5 1.0
c6t0d1 5212 651.5 1.0
c8t0d1 5220 652.5 1.0
c1t0d0 48 5.9 1.0
c1t0d1 4 1.0 1.0
c2t0d1 5212 651.5 1.0
c4t0d1 5212 651.5 1.0
c6t0d1 5212 651.5 1.0
c8t0d1 5212 651.5 1.0
c1t0d0 16 2.0 1.0
c1t0d1 0 0.0 1.0
c2t0d1 4871 608.8 1.0
c4t0d1 4871 608.8 1.0
c6t0d1 4871 608.8 1.0
c8t0d1 4871 608.8 1.0
c1t0d0 16 2.0 1.0
c1t0d1 0 0.0 1.0
c2t0d1 5344 668.0 1.0
c4t0d1 5352 669.0 1.0
c6t0d1 5352 669.0 1.0
c8t0d1 5344 668.0 1.0
c1t0d0 0 0.0 1.0
c1t0d1 0 0.0 1.0
c2t0d1 5117 639.6 1.0
c4t0d1 5117 639.6 1.0
c6t0d1 5117 639.6 1.0
c8t0d1 5117 639.6 1.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 08:59 PM
тАО03-01-2010 08:59 PM
Re: Using LVM with AutoPath
Looks nice
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2010 10:08 AM
тАО03-03-2010 10:08 AM
Re: Using LVM with AutoPath
--
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP