LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-28-2007, 07:25 AM   #1
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Rep: Reputation: 30
Fail to mount a path in SAN


I have newly setup the LUN in EMC server, the below is the output of "powermt display dev=all" ,

Pseudo name=emcpowera
CLARiiON ID=CK2000686974684 [A 1]
Logical device ID=60060107543275B1180064B21FTWZ50DCDB11 [LUN 1]
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
==============================================================================
2 QLogic Fibre Channel 2300 sdd SP B0 active alive 0 0
3 QLogic Fibre Channel 2300 sdk SP A0 active alive 0 0

"
"
"

It seems normal , but when I try to mount it , it pop the messages , can advise what is wrong in my setting ? thx

mount -t ext3 /dev/emcpowera1 /emc1
mount: wrong fs type, bad option, bad superblock on /dev/emcpowera1,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
 
Old 03-28-2007, 09:04 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
"wrong fstype" - Have you in fact run mkfs on the device? The LUN as presented by PowerPath doesn't have filesystem on it until you put one there with mkfs (linux) or newfs (UNIX).

In fact you could use it as a raw device. Here we actually have 3 raw devices and 4 filesystems (OCFS) for our Oracle RAC install using Clariion devices presented by PowerPath and NaviAgent.
 
Old 03-28-2007, 08:51 PM   #3
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jlightner
"wrong fstype" - Have you in fact run mkfs on the device? The LUN as presented by PowerPath doesn't have filesystem on it until you put one there with mkfs (linux) or newfs (UNIX).

In fact you could use it as a raw device. Here we actually have 3 raw devices and 4 filesystems (OCFS) for our Oracle RAC install using Clariion devices presented by PowerPath and NaviAgent.
thx reply ,

I have mount it already , one more question , how can I format the file system ? thx
 
Old 03-28-2007, 10:53 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
If it is not a filesystem then you haven't "mounted" it. The message you got indicates it couldn't be mounted on the attempt you made.

If it IS mounted you should be able to see it with:
df -h

My post earlier was suggesting that you had not yet "formatted it as a filesystem" as you put it.

The command to do that is mkfs. You can specify filesystem type with the "-t" option (e.g. -t ext3).

"man mkfs" will give you more detail on how to use the mkfs command. The "device" this will talk about is /dev/emcpowera.
 
  


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
Why does CIFS mount fail dhoyer Fedora 5 12-02-2009 10:42 AM
Unable to mount path from SAN sunhui Linux - Software 1 02-28-2007 09:15 AM
mount a SAN drive at boot? ringding Linux - Newbie 1 08-10-2006 06:41 AM
fail to mount nfs fs... tekion Linux - Networking 5 04-05-2005 08:40 PM
fail to mount nfs fs... tekion Linux - Networking 1 04-01-2005 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:49 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
Open Source Consulting | Domain Registration