LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2014, 12:10 AM   #1
itmagesh@gmail.com
LQ Newbie
 
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
Unhappy Linux partition creating issue


Hi Guys,

We have RHEL 5.9 and NetApp 7 mode storage. I have problem in creating partition in those NetApp LUNs It is not allowing me to create partition "pvcreate command failed. Command attempted: "/usr/sbin/pvcreate -M 2 /dev/sde" -system error message: device /dev/sde not ound (or ignored by filtering)". We tried a lot of things, but didn't help. Currently we investigate multipath.conf file and lvm.conf file.
Does anyone have any idea what's wrong?

My multipath.conf file

defaults {
user_friendly_names no
queue_without_daemon no
flush_on_last_del yes
max_fds max
pg_prio_calc avg
}
blacklist {
devnode "^hd[a-z]"
devnode "^(ram|raw|loop|fd|md|dm-|sr|sdc|st)[0-9]*"
devnode "^cciss.*"
}
devices {
device {
vendor "NETAPP"
product "LUN"
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout "/sbin/mpath_prio_alua /dev/%n"
features "3 queue_if_no_path pg_init_retries 50"
hardware_handler "1 alua"
path_grouping_policy group_by_prio
failback immediate
rr_weight uniform
rr_min_io 128
path_checker tur
path_selector "round-robin 0"
flish_on_last_del yes
}
}
My lvm,conf file
preferred_names = [ "^/dev/cciss/", "^/dev/mpath", ]
filter = [ "a/sda[1-9]$/" "a/mpath.*/" "r/.*/" ]

And I have attached the error that which i got while creating partition, Thanks in advance by Magesh

Last edited by itmagesh@gmail.com; 01-02-2014 at 12:14 AM. Reason: Added error message
 
Old 01-02-2014, 11:45 AM   #2
jason_not
Member
 
Registered: Aug 2010
Location: Beaverton, Oregon, USA
Distribution: Pfsense, Ubuntu, Centos, Fedora, Redhat, Scientfic, MacOS
Posts: 76

Rep: Reputation: 19
Hello,

I don't have much experience with multi-path, or netapp. I assume you are using iscsi of some type that makes block-level access to the netapp LUNs, and sde is only ONE of the devices that your multipath-device will eventually refer to.

First, does /dev/sde exist? ie: does it appear in the system boot messages, or the output of dmesg? If it does not, there is some sort of issue at the kernel driver level.
If it does exist, can you run simpler programs like "fdisk /dev/sde" on it?

Second, does the netapp allow partition-table level access, or does it have some sort of security blockage that needs to be loosened when first creating partitions? For that matter, does your user "root" translate across to the netapp? (I am mixing my nfs knowledge: disregard as needed if it doesn't apply...)

Third (here is where my understanding gets fuzzy) if sde is the combined device, you may need to access the individual devices.

I hope that helps...

--jason
 
Old 01-02-2014, 01:36 PM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Normally, Netapp Ontap has its own OS and filesystem. It CAN provide direct lun access... but it is (as I recall) an added expense, where NFS was part of the base license.

The NetApp filesystem is more efficient on NetApp - it allows failover, checkpointing, and local recovery, as well as detecting pre-failure modes of its disks, and allows for replacement/updates on the fly...

Using NFS is faster and more efficient (if you have the right infrastructure you can backup an entire 16TB filesystem to another in about 9 hours).

I wouldn't use raw lun access - loss of redundancy, and recovery mostly. NFS allows the same filesystem to be shared...
 
  


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
Fedora 13 Installation issue -- Unable to install multiple linux distributions ---partition issue navneethr Linux - General 6 12-23-2010 12:17 AM
issue with creating new partition and label tightlikethat Linux - Newbie 4 03-11-2010 10:08 PM
error in creating new linux partition newcomer4 Linux - General 2 04-29-2006 01:13 PM
Creating a swap partition on an old pc, WITHOUT using linux... TheMusicGuy Linux - General 17 08-09-2004 01:43 AM
creating a partition to run Linux Redhat 7.0 ecawilkinson Linux - Laptop and Netbook 5 01-28-2004 02:40 PM


All times are GMT -5. The time now is 10:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration