I expanded an LVM disk member from 250GB to 500GB (via concat MetaLUN)
But the host only see's the original size.
[root@~]# uname -a
Linux ******.******.com 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
[root@~]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
[root@~]# powermt display dev=emcpowerfa
Pseudo name=emcpowerfa
CLARiiON ID=APM00083500788 [ZMCS03L]
Logical device ID=600601607D0122005484F535FE81DE11 [ZMCS03L_LVM_Secondary_0]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
0 lpfc sdam SP A0 active alive 0 0
0 lpfc sdau SP B0 active alive 0 0
2 lpfc sdg SP A1 active alive 0 0
2 lpfc sdn SP B1 active alive 0 0
[root@~]# fdisk -l /dev/emcpowerfa
Disk /dev/emcpowerfa: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/emcpowerfa1 1 32635 262140606 8e Linux LVM
Emcpowerfa is a 500GB 100% expanded MetaLUN. Any ideas why the real size is not showing up? I have rescanned the scsi bus multiple times using emulex's lun_scan utility with no luck.
I actually expanded 4 x 250GB LUNs to 4x 500GB MetaLUNs - emcpowerfa,fb,fc,fd. So I'm having the same problem with all of them.
If you right click the lun in Navisphere and hit properties does it say that the space is max and that it truely is the new size? say you had 500GB originally and you added 500GBs, does it show 1TB as the size or 500GBs?
If this lun was part of a layered application, the expansion could happen in the background but the new space would not become available until you break the layered application relationship and re-create it. Depending on what type of layered app would be how long it would take to get it back up and running.
I expanded these MetaLUNs (they were regular 250GB LUNs before) about a week ago. It says size: 500GB 100% expanded.
As far as the layered app goes, I'm just extending the size of LVM's physical volumes, then using pvextend, I would raise it from 250GB to 500GB. The data that sits on that particular volume group is just mail from an application, no special databases or anything.
Think again I should have just added 4 more 250GB elements, because taking this application down is going to be very difficult. The reason why I wanted to expand these physical volumes is because I wanted to avoid eventually having 32+ members in this volume group.
I just don't understand why powerpath/navi agnet/scsi bus rescans refuse to report the real size.
I have opened up a support case with this and see where we get from here.
RyanP2
261 Posts
466
0
Posted August 25th, 2009 10:00
If this lun was part of a layered application, the expansion could happen in the background but the new space would not become available until you break the layered application relationship and re-create it. Depending on what type of layered app would be how long it would take to get it back up and running.
-Ryan