LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-28-2010, 08:45 AM   #1
depam
Member
 
Registered: Sep 2005
Posts: 829

Rep: Reputation: 30
Red Hat Enterprise and SAN Storage


Hi,

I just want to ask if anyone knows how to setup SAN storage on Red Hat Enterprise. I am quite familiar on doing this in AIX with IBM DS8000 but not sure on how to do in RH. Does RHE have volume management the same as AIX or do you need to install a third party Veritas Volume Manager. I know you will ask me to search in google but I am writing so that I will be pointed to the right direction. Hope someone can help me out.

Thanks in advance.
 
Old 02-28-2010, 11:55 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,767

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by depam View Post
Hi,

I just want to ask if anyone knows how to setup SAN storage on Red Hat Enterprise. I am quite familiar on doing this in AIX with IBM DS8000 but not sure on how to do in RH. Does RHE have volume management the same as AIX or do you need to install a third party Veritas Volume Manager. I know you will ask me to search in google but I am writing so that I will be pointed to the right direction. Hope someone can help me out.

Thanks in advance.
Well, if you know you're going to be sent to Google, did you look there? Or look on here for any one of the many threads, where this same question has been dealt with before??

You are not providing the details needed to answer. Short answer on how you do it: Plug in the HBA, load the drivers, format and mount the disk.

Long answer: it depends. If you've dealt with SAN's before, you should know this. Do you want multipathing? Single path? What brand of HBA? What kind of SAN? And if you've done this before, you should also know that your SAN vendors will probably have drivers for the various OS'es, ready to go. EMC, IBM, and Hitachi all do, and you can get them from Emulex and Q-Logic as well. Download the drivers, read the instructions, and install them. Multipathing can be set up either through the OS, or via third party tools, your choice. Again, your SAN vendors should be able to walk you through all this.
 
Old 03-01-2010, 02:41 AM   #3
depam
Member
 
Registered: Sep 2005
Posts: 829

Original Poster
Rep: Reputation: 30
Hi TB0ne,

Thanks for your response. I just found out that the RH is configured with linux LVM and found out that it has SAN storage installed. In AIX, we used to have a specific device for HBAs such as fcsi0 or fcsi1 and is mapped thru vpath. But this is the first time that I am learning it in Linux so please bear with me.

They are using a Fujitsu storage and native Linux LVM. Now my question is, how stable is the Linux LVM compared to IBM LVM. Can ext3 also grow and shrink? There are some things in IBM like for jfs we can grow but cannot shrink. Is there such a thing in ext3?

I assume that you can only attach the physical volume to a specific volume group but you can assign a specific size for each VGs. Does that work with Linux LVM as well?

Thanks..
 
Old 03-01-2010, 09:45 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,767

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by depam View Post
Hi TB0ne,

Thanks for your response. I just found out that the RH is configured with linux LVM and found out that it has SAN storage installed. In AIX, we used to have a specific device for HBAs such as fcsi0 or fcsi1 and is mapped thru vpath. But this is the first time that I am learning it in Linux so please bear with me.
And under Linux, the drives will most probably show up as SCSI drives, but that depends on the HBA driver.
Quote:
They are using a Fujitsu storage and native Linux LVM. Now my question is, how stable is the Linux LVM compared to IBM LVM.
Just as stable, and easier to manage.
Quote:
Can ext3 also grow and shrink? There are some things in IBM like for jfs we can grow but cannot shrink. Is there such a thing in ext3?
Yep, easily done. But if you're using LVM's, you'd just grow or shrink the logical volume, not necessarily the physical ext3 partition. You can also use jfs, ext4, reiserfs, and others in Linux.
Quote:
I assume that you can only attach the physical volume to a specific volume group but you can assign a specific size for each VGs. Does that work with Linux LVM as well?
Yep...depends on how you set it up.

My $0.02 worth, is that I'd install Veritas Volume Manager, or some other third-party SAN/LVM software, and make life easy on yourself. While Linux does play nicely with multipathing/etc., if you're in a production environment, chances are you'll get someone in SAN tech support who knows one of those tools, easier than someone who knows the Linux 'native' tools. And at dark-o-thirty in the morning when you're fixing a problem....it's worth it.
 
Old 03-01-2010, 10:00 PM   #5
depam
Member
 
Registered: Sep 2005
Posts: 829

Original Poster
Rep: Reputation: 30
Hi TB0ne,

Thanks for the reply. I have just tested LVM on RHE using VMWARE. Added some SCSI disk and tried it. I can do sizing up but the problem is that reducing asks me to do e2fsck which kinda scarry. Possible data corruption? Have you encountered this before?

And yes. I agree that its better to go for third party Volume Manager at least you get support. But the problem is they have started using Linux LVM. I think we need to sort this out first then suggest to go for third party volume manager.
 
Old 03-02-2010, 09:48 AM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,767

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by depam View Post
Hi TB0ne,

Thanks for the reply. I have just tested LVM on RHE using VMWARE. Added some SCSI disk and tried it. I can do sizing up but the problem is that reducing asks me to do e2fsck which kinda scarry. Possible data corruption? Have you encountered this before?
Yes, and if you're resizing disks, that's a chance you have to take. Things are fairly robust these days, so you'll probably be fine, but always make backups first.
Quote:
And yes. I agree that its better to go for third party Volume Manager at least you get support. But the problem is they have started using Linux LVM. I think we need to sort this out first then suggest to go for third party volume manager.
I disagree totally. Changing direction/software when you're already moving is always tough, and requires lots of things that are tough to do on a production system, but easy on one that you're installing.

Think about it. Right now, if you're building the system, you can add software, reboot it, tinker with it, and get it stable. Once you have users on it 24/7, you don't have that luxury. Do it right at the start.
 
Old 03-05-2010, 06:28 AM   #7
depam
Member
 
Registered: Sep 2005
Posts: 829

Original Poster
Rep: Reputation: 30
Thanks TB0ne...Now my problem is I do not know how to rescan the disks using Emulex card. I am not sure but I have a feeling that different driver was installed. I have posted it on another thread.
 
  


Reply


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
Need to install Linux Red Hat on SAN disk, need help on this... anandpu70 Linux - Server 1 01-22-2010 09:11 AM
LXer: Interview: Red Hat on Red Hat Enterprise Virtualization LXer Syndicated Linux News 0 11-19-2009 09:00 AM
LXer: Red Hat to launch Red Hat Enterprise Linux 5 before March LXer Syndicated Linux News 0 12-30-2006 08:03 AM
Project made in Red Hat Enterprise 4 need to be able to run on Red Hat Enterprise 3 Elin Linux - Software 1 07-13-2006 12:22 PM


All times are GMT -5. The time now is 05:29 AM.

Main Menu
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