- Community Home
- >
- Storage
- >
- Midrange and Enterprise Storage
- >
- HPE EVA Storage
- >
- Re: How to increase existing LUN size on EVA3000
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
06-08-2007 12:35 AM
06-08-2007 12:35 AM
I can see the allocated space to LUN 2 when I am using eva command view.
Can I increase the LUN size currently from the allocated size of 10GB to 50GB on the EVA3000 without corrupting the data on the LUN?
If I can increase the LUN size then please can someone show me the steps involved to do it?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 12:39 AM
06-08-2007 12:39 AM
SolutionIt takes 3-4 seconds to increase the size of the LUN.
It will NOT corrupt your data.
Now, getting your host to recognize that the LUN has changed may be another matter...
RH AS 3 is a little old... Are you using LVM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 01:43 AM
06-08-2007 01:43 AM
Re: How to increase existing LUN size on EVA3000
I have been doing some reading about LVM on RH AS 3 but it looks like there is no lvm command to increase the physical size of the disk on RH AS 3.
Is that that case?
When I initially created the LUN on the EVA3000 I gave it 10GB size and presented it 10GB to the host. I then used fdisk but only setup 5GB of the 10GB alloacted by the EVA3000.
See below fdisk displays 10GB size for disk /dev/sdb.
fdisk -l /dev/sdb
Disk /dev/sdb: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 653 5245191 83 Linux
See below pvdisplay shows only 5GB allocated to /dev/sdb1
# pvdisplay /dev/sdb1
--- Physical volume ---
PV Name /dev/sdb1
VG Name vg_dba
PV Size 5 GB [10490382 secs] / NOT usable 32.19 MB [LVM: 128 KB]
PV# 1
PV Status NOT available
Allocatable yes (but full)
Cur LV 1
PE Size (KByte) 32768
Total PE 159
Free PE 0
Allocated PE 159
PV UUID ZWttEO-GbCt-Qaux-oGRK-vq7S-E8tq-70A4Mr
Can I extend the physical size from 5GB to 10GB using a lvm command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 01:54 AM
06-08-2007 01:54 AM
Re: How to increase existing LUN size on EVA3000
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1131222
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 03:36 AM
06-11-2007 03:36 AM
Re: How to increase existing LUN size on EVA3000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 04:21 AM
06-11-2007 04:21 AM
Re: How to increase existing LUN size on EVA3000
However, my server is running RHEL AS 3 which has 10Gb presented by the EVA3000 and I have allocated only 5Gb.Now I wish to utilise the remaining 5Gb of space. How do I use LVM extend from 5Gb to 10Gb?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 07:16 AM
06-11-2007 07:16 AM
Re: How to increase existing LUN size on EVA3000
vgs
lvs
vgdisplay -v
lvdisplay -v
df
The name of the file system to extend.
Normally, you only need to run lvextend and then resize2fs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2007 11:34 PM
06-11-2007 11:34 PM
Re: How to increase existing LUN size on EVA3000
See attached file containing output of the commands you asked me to invoke.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2007 02:43 AM
06-12-2007 02:43 AM
Re: How to increase existing LUN size on EVA3000
- /dev/vg_dba/lv_dba is the logical volume for file system mounted in /dba
- /dev/vg_dba/lv_dba belogs to the vg_dba volume group
- vg_dba volume group has one physical volume in it /dev/sdb1
- vg_dba has 0 Free PE, so you cannot extend the logical volume without adding another disk to the volume group
What you should do is:
- Create a new vdisk in the EVA with the apropiate size and present it to the host.
- Make the host rescan the disk, for example, with hp_rescan -a or rescan_scsi_bus.sh
- A new device will appear, for example, /dev/sdc, in the output of fdisk -l
- You can create a new partition on sdc and set type 8e (fdisk /dev/sdc - n, p, 1, ENTER, ENTER, t, 8e, p, w)
- Prepare the partition to be used with LVM with pvcreate /dev/sdc1
- Extend the volume group with vgextend vg_dba /dev/sdc1
- Extend the logical volume with lvextend -L +
- Extend the file system with resize2fs or ext2online
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2007 04:27 AM
06-15-2007 04:27 AM
Re: How to increase existing LUN size on EVA3000
Thank you