Dell PowerEdge + Dell EMC SAN with Debian (Etch)
Christian Placzek
clp at eclinso.com
Wed Apr 23 07:49:00 CDT 2008
Hi,
does anybody here do have experience with this configuration?
I've got the following error when I try to mount a ntfs partition
located on the SAN:
# mount -t ntfs /dev/mapper/LUN310p1 /san_roche/
mount: /dev/mapper/LUN310p1 already mounted or /san_roche/ busy
# dmsetup info
Name: LUN310
State: ACTIVE
Tables present: LIVE
Open count: 1
Event number: 1
Major, minor: 254, 1
Number of targets: 1
UUID: mpath-360060160812011005c9643c784bedb11
Name: LUN310p1
State: ACTIVE
Tables present: LIVE
Open count: 1
Event number: 0
Major, minor: 254, 2
Number of targets: 1
UUID: part1-mpath-360060160812011005c9643c784bedb11
Name: LUN310p1p2
State: ACTIVE
Tables present: LIVE
Open count: 0
Event number: 0
Major, minor: 254, 3
Number of targets: 1
UUID: part2-part1-mpath-360060160812011005c9643c784bedb11
Name: M_LUN1
State: ACTIVE
Tables present: LIVE
Open count: 1
Event number: 1
Major, minor: 254, 0
Number of targets: 1
UUID: mpath-36006016081201100da29f6796f01dd11
# ls -l /dev/mapper/
total 0
crw-rw---- 1 root root 10, 63 2008-04-23 16:25 control
brw-rw---- 1 root disk 254, 1 2008-04-23 16:25 LUN310
brw-rw---- 1 root disk 254, 2 2008-04-23 16:25 LUN310p1
brw-rw---- 1 root disk 254, 3 2008-04-23 16:25 LUN310p1p2
brw-rw---- 1 root disk 254, 0 2008-04-23 16:25 M_LUN1
The device M_LUN1 is working fine. Maby because it is an XFS and/or it
does not have any partition.
As far as I know it is a problem of the commands executed by
/etc/udev/multipath.rules.
Here the output from dmesg:
# dmesg |grep device-mapper
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised:
dm-devel at redhat.com
device-mapper: multipath: version 1.0.4 loaded
device-mapper: multipath emc: version 0.0.3 loaded
device-mapper: multipath emc: long trespass command will be send
device-mapper: multipath emc: honor reservation bit will not be set
(default)
device-mapper: multipath round-robin: version 1.0.0 loaded
device-mapper: multipath emc: long trespass command will be send
device-mapper: multipath emc: honor reservation bit will not be set
(default)
device-mapper: multipath emc: emc_pg_init: sending switch-over command
device-mapper: table: device /dev/mapper/LUN310p1 too small for target
device-mapper: table: 254:4: linear: dm-linear: Device lookup failed
device-mapper: ioctl: error adding target to table
device-mapper: multipath emc: emc_pg_init: sending switch-over command
Could anybody give me a hint? I've searched for many hours in the
internet but no one seems to have had this problem before.
Hardware Infos:
PE2970
QLA2432
EMC CX300
Software Infos:
Debian Etch
# uname -a
Linux prdsrv7153 2.6.18-6-amd64 #1 SMP Sun Feb 10 17:50:19 UTC 2008
x86_64 GNU/Linux
multipath.conf:
blacklist {
wwid 360019b90d43695000e10160e7a5a0c91
wwid 350060160b022494650060160b0224946
devnode "^(ram|raw|loop|fd|md|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
}
## sda: 360019b90d43695000e10160e7a5a0c91
## M_LUN1: 36006016081201100da29f6796f01dd11
## LUNZ: 350060160b022494650060160b0224946
## LUN310: 360060160812011005c9643c784bedb11
multipaths {
multipath {
wwid 36006016081201100da29f6796f01dd11
alias M_LUN1
}
multipath {
wwid 360060160812011005c9643c784bedb11
alias LUN310
}
}
}
devices {
device {
vendor "DGC"
product "*"
product "^[^LUN_Z]"
path_grouping_policy group_by_priority
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout "/sbin/mpath_prio_emc /dev/%n"
hardware_handler "1 emc"
features "0"
no_path_retry 300
path_checker emc_clariion
failback immediate
}
}
# multipath -ll
sda: checker msg is "readsector0 checker reports path is down"
sdb: checker msg is "readsector0 checker reports path is down"
LUN310 (360060160812011005c9643c784bedb11) dm-1 DGC,RAID 5
[size=800G][features=1 queue_if_no_path][hwhandler=1 emc]
\_ round-robin 0 [prio=1][active]
\_ 1:0:1:1 sdf 8:80 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 1:0:0:1 sdd 8:48 [active][ready]
M_LUN1 (36006016081201100da29f6796f01dd11) dm-0 DGC,RAID 5
[size=574G][features=1 queue_if_no_path][hwhandler=1 emc]
\_ round-robin 0 [prio=1][active]
\_ 1:0:1:0 sde 8:64 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 1:0:0:0 sdc 8:32 [active][ready]
Mit freundlichen Grüßen / with kind regards
Christian Placzek
ECLINSO AG
Messeplatz 10
CH-4058 Basel
Phone: +41 (0) 61 666 64 02
Mobil: +41 (0) 79 590 25 22
Fax: +41 (0) 61 666 64 14
Philipp Sacha wrote:
> Hi all,
>
> I want to build a SAN infrastructure and talked to Dell about a solution
> with PE1955 and DELL EMC components.
>
> Our preferred Linux distribution is Debian Etch. So i am interessted
> whether someone has successfully build such a configuration and in
> exchanging expierences.
>
> I am even interessted whether someone has bought DELL PE and Dell EMC
> components in conjunction with Debian, because my Dell representatives
> refused to sell the components when we will use Debian. They told me the
> only chance to buy Dell/EMC with Linux is to choose a distribution like
> Redhat or SUSE.
>
>
> Regards,
>
> Philipp
>
>
>
>
More information about the Linux-PowerEdge
mailing list