| Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
05-05-2007, 01:56 PM
|
#1
|
|
LQ Newbie
Registered: May 2007
Posts: 5
Rep:
|
How do I create a partition on our SAN, RHEL Qlogic and EMC
My company is setting up an RHEL server to test the performance of Oracle on Linux. This is our first experience with Linux in the Enterprise and we need a little help.
We installe RHEL on a PowerEdge server with a QLogic fiber card connected to our EMC storage device and carved out a 100 GB partition on the SAN. Now we need to mount that partition somewhere, but we are stuck.
Following a reboot we have a new device /dev/sdb that we assume is the new 'disk' but when we try to mount it we get an error 'can't read superblock'.
Could someone please point me to some step by step instructions for configuring and mounting the new partition.
I have been using Linux at home for years and run a RH web/data server, but this is our/my first experience trying to connect a Linux server to the SAN. Any help would be greatly appreciated. I am committed to making this project a success in the hope that my company embraces Linux.
|
|
|
|
05-05-2007, 02:12 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,702
|
this *is* only a trial right??
the device you'll be presenting is seen as a block device, e.g. a hard drive. you would need to partition it as you speculate. use fdisk to partition it and then format the relevant partitions, e.g. "mke2fs -j /dev/sda1"
|
|
|
|
05-05-2007, 02:54 PM
|
#3
|
|
LQ Newbie
Registered: May 2007
Posts: 5
Original Poster
Rep:
|
Yes, this is only a trial, or more precisely a proof of concept.
We tried to partition it using fdisk, but got an error, I can't recall the error off the top of my head, I will try again at work on Monday and get the error message.
|
|
|
|
05-07-2007, 10:24 AM
|
#4
|
|
LQ Newbie
Registered: May 2007
Posts: 5
Original Poster
Rep:
|
I ran the following command:
fdisk /dev/sbd
and got:
Unable to read /dev/sdb
|
|
|
|
05-07-2007, 11:30 AM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,702
|
does /dev/sdb actually exist? ´ls -l /dev/sdb´
|
|
|
|
05-07-2007, 01:24 PM
|
#6
|
|
Member
Registered: Jun 2006
Location: Delaware
Distribution: Redhat, Fedora
Posts: 43
Rep:
|
I use the gui system settings --> Logical Volume manager. You'll need to pvcreate the partition.
|
|
|
|
05-07-2007, 01:32 PM
|
#7
|
|
Member
Registered: Jun 2006
Location: Delaware
Distribution: Redhat, Fedora
Posts: 43
Rep:
|
Forgot to ask are you using power path? If so, you will need to intialize the /dev/emcpowera. Here are my cryptic notes. It failed for me but it created a device that you'll need to pvcreate.
pvcreate command failed. Command attempted: "/usr/sbin/pvcreate -M 2 /dev/emcpowera1" - System Error Message: Device /dev/emcpowera1 not found (or ignored by filtering).
The Fix: Go to the command line prompt
1. Cd /dev
2. ll emcpower(letter/number) example emcpowera1
3. pvcreate –M2 /dev/emcpower(letter/number)
|
|
|
|
05-08-2007, 04:45 AM
|
#8
|
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
if you do have powerpath, you'll need to install EMCpower.LINUX - the rpm can be bound in powerlink.emc.com
if you have it installed, run:
powermt display dev=all
to list the LUNS in your system. if you see the emcpower devices listed and the corresponding LUN numbers, you need to rescan your fc_hosts - if you have restarted your machine, this should be done at startup.
to partition the disk, locate the emcpower devices (ie /dev/emcpowerX). and run fdisk /dev/emcpowerX.
for devices like this, consider using LVM2.
|
|
|
|
05-08-2007, 03:05 PM
|
#9
|
|
Member
Registered: Mar 2006
Posts: 110
Rep:
|
Firstly, I would recommend you to use emcgrab (Powermt RPM as pointed out by one of the senior member) software since RHEL 2.1 is having some issues with pseudo device bindings.
cat /proc/scsi/qlaXXXX/0
this will give you the idea whether the LUN has been properly presented to your server or not.
/dev/emcpowera should be the first pseudo device which binds itself to /dev/sda or /dev/sdb depending upon emcpower.conf file.
You can fdisk the same without any issues.
powermt display dev=all| grep emcpower will display all the emc pseudo devices which have been automatically attached with /dev/sd* device.
Remember /dev/emcpower* are indeed the block devices but they are actually attached to /dev/sd* device.
Hope this helps!!
Rahul Khare
|
|
|
|
05-15-2007, 11:51 AM
|
#10
|
|
LQ Newbie
Registered: May 2007
Posts: 5
Original Poster
Rep:
|
Thanks for all the input, I will let you know how things go.
|
|
|
|
05-15-2007, 11:53 AM
|
#11
|
|
LQ Newbie
Registered: May 2007
Posts: 5
Original Poster
Rep:
|
To answer Chris' question, yes /dev/sbd does exist.
|
|
|
|
02-26-2009, 01:27 PM
|
#12
|
|
LQ Newbie
Registered: Feb 2009
Posts: 1
Rep:
|
Device /dev/sdb not found (or ignored by filtering)
# pvcreate -ff /dev/sdb /dev/sdc
Device /dev/sdb not found (or ignored by filtering).
Device /dev/sdc not found (or ignored by filtering).
Solution :
Vi the /etc/lvm/lvm.conf and search for name line "filter" . Got to end of the line and remove the string "r/.*/" , and save it .
Before editing:
filter = [ "r|^/dev/mapper/.*-lv.*|", "a|^/dev/mapper/.*|", "r/.*/" ]
Should look like
filter = [ "r|^/dev/mapper/.*-lv.*|", "a|^/dev/mapper/.*|"]
Then run the pvcreate on the disks ;
|
|
|
|
07-27-2011, 06:28 PM
|
#13
|
|
Member
Registered: Oct 2010
Posts: 52
Rep:
|
emcgrab download url
|
|
|
|
08-07-2011, 07:07 AM
|
#14
|
|
LQ Newbie
Registered: Aug 2011
Posts: 11
Rep: 
|
R u sure ur backend has SATA disk? Which array u r using? Confirm first with naviseccli. It seems that u r not using multipath software. Make sure first that Zoning is proper. LUN masking is working properly. If everything goes well, u need to scan the devices from ur RHEL host. I can't remember the command. Search in EMC site.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:09 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|