- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending LUNS
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
тАО06-22-2007 09:15 AM
тАО06-22-2007 09:15 AM
I ran out space on one my VGs but managed to add some LUNs as metaLuns on a CX7000.
HP-UX 11iv2 SAM disk devices show:
Hardware path: 0/1/0/0.3.0.0.0.0
# of paths: 8
Use: LVM
Volume group: vgfn
Total megabytes: 302080
Description: DGC CX700WDR5
vgdisplay -v vgfn ------- output
--- Volume groups ---
VG Name /dev/vgfn
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 46080
VGDA 2
PE Size (Mbytes) 16
Total PE 11518
Alloc PE 11514
Free PE 4
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vgfn/oralv1
LV Status available/syncd
LV Size (Mbytes) 30000
Current LE 1875
Allocated PE 1875
Used PV 1
LV Name /dev/vgfn/oralv2
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 1280
Allocated PE 1280
Used PV 1
LV Name /dev/vgfn/fnlv1
LV Status available/syncd
LV Size (Mbytes) 133744
Current LE 8359
Allocated PE 8359
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c32t0d0
PV Name /dev/dsk/c34t0d0 Alternate Link
PV Name /dev/dsk/c36t0d0 Alternate Link
PV Name /dev/dsk/c38t0d0 Alternate Link
PV Status available
Total PE 11518
Free PE 4
Autoswitch On
I am new to LVM and wondering how I should proceed to add the newly created space to LV fnlv1 or am restricted by the max PE business.
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 09:21 AM
тАО06-22-2007 09:21 AM
Re: Extending LUNS
Did you extend the LUN cooresponding to c32t0d0 or are you looking to add another LUN, have two devices and then extend the LVOLs to the next device ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 09:25 AM
тАО06-22-2007 09:25 AM
Re: Extending LUNS
# pvcreate /dev/rdsk/c#t#d#
# vgextend vgfn /dev/dsk/c#t#d#
# lvextend -L
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 09:42 AM
тАО06-22-2007 09:42 AM
Re: Extending LUNS
The extension was made to /dev/dsk/c32t0d0 and it shows the new value of ~300GB as in the SAM output. Now how do I add the extra space to lvol fnlv1 because as you rightly said there is only one device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 03:14 PM
тАО06-22-2007 03:14 PM
Re: Extending LUNS
Are you expanding the size on the same LUN? As far as I know, HPUX is not support this. You cannot use the expanded disk.
What you should do is adding another LUN and assign the LUN for the server. It will be recognized as a new disk. And then do vgextend, lvextend and extendfs.
Regards,
Sandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 04:07 PM
тАО06-22-2007 04:07 PM
Re: Extending LUNS
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2007 07:54 PM
тАО06-22-2007 07:54 PM
Re: Extending LUNS
You need the following patches:
PHCO_35524
PHKL_36244
Then have a read of the whitepaper that describes how to do it (and learn a lot about LVM in the process)
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2007 05:22 AM
тАО06-23-2007 05:22 AM
Re: Extending LUNS
Duncan's way is neat but I have had nasty patch experiences before and hence preference for other solution. Hereunder is my ioscan and would appreciate if I could have the full comand set for the backup and restore solution.
Thanks again.Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GATLAS10K3_36_SCA
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 36.4GATLAS10K3_36_SCA
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 85 0/1/0/0.3.0.0.0.0.0 sdisk CLAIMED DEVICE DGC CX700WDR5
/dev/dsk/c32t0d0 /dev/rdsk/c32t0d0
disk 86 0/1/0/0.3.0.0.0.0.2 sdisk CLAIMED DEVICE DGC CX700WDR5
/dev/dsk/c32t0d2 /dev/rdsk/c32t0d2
disk 87 0/1/0/0.3.1.0.0.0.0 sdisk CLAIMED DEVICE DGC CX700WDR5
/dev/dsk/c34t0d0 /dev/rdsk/c34t0d0
disk 88 0/1/0/0.3.1.0.0.0.2 sdisk CLAIMED DEVICE DGC CX700WDR5
/dev/dsk/c34t0d2 /dev/rdsk/c34t0d2
disk 89 0/10/0/0.4.0.0.0.0.0 sdisk CLAIMED DEVICE DGC CX700WDR5
/dev/dsk/c36t0d0 /dev/rdsk/c36t0d0
disk 90 0/10/0/0.4.0.0.0.0.2 sdisk CLAIMED DEVICE DGC CX700WDR5
/dev/dsk/c36t0d2 /dev/rdsk/c36t0d2
disk 91 0/10/0/0.4.1.0.0.0.0 sdisk CLAIMED DEVICE DGC CX700WDR5
/dev/dsk/c38t0d0 /dev/rdsk/c38t0d0
disk 92 0/10/0/0.4.1.0.0.0.2 sdisk CLAIMED DEVICE DGC CX700WDR5
/dev/dsk/c38t0d2 /dev/rdsk/c38t0d2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2007 12:13 PM
тАО06-23-2007 12:13 PM
Solution# pvcreate /dev/rdsk/c32t0d2
# vgextend /dev/vgfn /dev/dsk/c32t0d2
# lvextend -L
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2007 09:13 PM
тАО06-23-2007 09:13 PM
Re: Extending LUNS
I suspected there was something like that but how do I find out this LUN or disk is empty or not in use? Sorry for the bother. Newbie!
Thanks.