LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-10-2012, 09:19 AM   #1
Doknik
LQ Newbie
 
Registered: Jun 2010
Posts: 26

Rep: Reputation: 1
Newly Resized Luns not Showing correct LUN Size RHel 5.3


Hi,
My linux servers are not showing their newly resized fibre Luns after being extended on the fly(online).
The storage guys have successfully resized the LUNS from 1Tb to 2 Tb , but i cannot see the size.
We are running fibre SAN ((on HP EVA kit,PSV450) not ISCSI LUNS on RHEL 5.3 Linux machines.
I have done the following below but unsuccessful, I still cannot see the new size of 2Tb , i still see the old size of 1Tb.Please note that these LUNS are configured as raw devices for oracle and hence no LVMs are used .Have i missed any procedure.I want tt achieve resizing without rebooting the server(s)

Rescan scsi bus
1. echo 1 > /sys/block/sda/device/rescan
echo 1 > /sys/block/sdb/device/rescan

Update Size of your multipath device

multipathd -k"resize map orac_backup"

3.resize2fs /dev/mapper/orac_backup
(seems to fail probably a procedure not needed in this scenario)

I alo tried this to test multipath failover by running]
multipathd -k
del path sda
add path sda

del path sdb
add path sdb

All commands (except resize2fs) run successfuly but still old LUN size is showing, the Linux OS or kernel still doesnt see the new Lun size.I have tried several times and also restarted multipath service in between each procedure numbered(listed) above, but still unsuccessful.Please help, any help would be greatly appreciated.

Kind Regards
D
 
Old 07-10-2012, 12:54 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,590

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I use lpfc from glibcorekit to rescan luns.

/usr/sbin/lpfc/lun_scan all
/etc/init.d/multipath restart

Works for me every time, and I am using a very similar setup to yours.

I am curious if a multipath -ll shows the new luns?
 
Old 07-12-2012, 04:00 AM   #3
Doknik
LQ Newbie
 
Registered: Jun 2010
Posts: 26

Original Poster
Rep: Reputation: 1
Kustom42 thanks very much , but i awork ina very controlled environment which is actually live so i couldnt just try your suggestion ie lpfc , but i will see if i can try that on my test machine.Thanks for the help anyway..any other suggestions ?
 
Old 07-12-2012, 12:02 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,590

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I work in a 24/7 production environment for a financial services company, that shouldn't be an excuse to handicap yourself and not use the tools you need to get your job done. Follow your change management processes, install the glibcorekit and scan them in with lpfc.
 
  


Reply

Tags
multipath, rhel5


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] df not showing correct lvm disk size value fusion1275 Linux - Software 5 09-10-2010 08:22 AM
What's the maximum LUN size supported by RHEL 4 or 5? ecbrow1 Red Hat 3 09-24-2008 05:59 AM
Resized root partition not showing new size dguse Red Hat 3 12-06-2005 08:45 AM
HD not showing up as correct size, please help!! chriserickson Linux - Hardware 6 09-23-2005 02:04 PM
Hard disk not showing correct size rwalkerphl Linux - Newbie 8 08-19-2004 03:58 PM


All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration