Skip to contentSkip to conversation

multipath-tools: add FUJITSU/ETERNUS 2000/4000/8000 to hwtable

PATCH In review Xose Vazquez Perez 2 participants 3 messages Oct 5, 2016 – Oct 22, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: add FUJITSU/ETERNUS 2000/4000/8000 to hwtable

Based on documentation provided by the manufacturer:
http://storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-3192-en.pdf

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 8 ++++++++
 1 file changed, 8 insertions(+)
libmultipath/hwtable.c +8 -0
index e1ed7ef..367aa0a 100644
@@ -268,6 +268,14 @@ static struct hwentry default_hw[] = {
 		.product       = "FC2502",
 		.pgpolicy      = MULTIBUS,
 	},
+	{
+		.vendor        = "FUJITSU",
+		.product       = "E[248]000",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.no_path_retry = 10,
+		.prio_name     = PRIO_ALUA,
+	},
 	/*
 	 * Hitachi
 	 *
Signature · 1 line
2.10.1
#1 lore raw
Quoted 19 lines · Vazquez Perez

Based on documentation provided by the manufacturer:
http://storage-system.fujitsu.com/global/manual/diskarray/pdf/p3am-3192-en.pdf

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 libmultipath/hwtable.c | 8 ++++++++
 1 file changed, 8 insertions(+)
libmultipath/hwtable.c +1 -0
index e1ed7ef..367aa0a 100644
@@ -268,6 +268,14 @@ static struct hwentry default_hw[] = {
 		.product       = "FC2502",
 		.pgpolicy      = MULTIBUS,
 	},
+	{

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 281

Quoted 10 lines
libmultipath/hwtable.c +7 -0
+		.vendor        = "FUJITSU",
+		.product       = "E[248]000",
+		.pgpolicy      = GROUP_BY_PRIO,
+		.pgfailback    = -FAILBACK_IMMEDIATE,
+		.no_path_retry = 10,
+		.prio_name     = PRIO_ALUA,
+	},
 	/*
 	 * Hitachi
 	 *

Now that you dropped the path selector as suggested back in July [1] why not merge this with the ETERNUS DX entry?

[1] https://www.redhat.com/archives/dm-devel/2016-July/msg00595.html

Sebastian

#2 lore raw
Quoted 4 lines · Sebastian Herbszt

Now that you dropped the path selector as suggested back in July [1] why not merge this with the ETERNUS DX entry?

[1] https://www.redhat.com/archives/dm-devel/2016-July/msg00595.html

If a lot of devices share the same configuration some flexibility is lost. I do not have a single answer.
It's a tricky balance between to group devices and don't lose flexibility.

ETERNUS 2000/4000/8000 are very old and a different generation of devices, the next year they are going to be declared "EOL" in Japan. In the rest of the world it was at the beginning of 2015, IIRC.