Mailinglist Archive: opensuse-bugs (10118 mails)

< Previous Next >
[Bug 551827] New: /sbin/multipath -F cannot remove multipath volumes containing extended partitions
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 2 Nov 2009 04:36:53 -0700
  • Message-id: <bug-551827-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=551827


Summary: /sbin/multipath -F cannot remove multipath volumes
containing extended partitions
Classification: openSUSE
Product: openSUSE 11.2
Version: RC 2
Platform: All
OS/Version: openSUSE 11.2
Status: NEW
Severity: Major
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: nice@xxxxxxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


Created an attachment (id=325106)
--> (http://bugzilla.novell.com/attachment.cgi?id=325106)
A patch to fix /etc/init.d/boot.multipath

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; hu-HU; rv:1.9.1.3)
Gecko/20090909 SUSE/3.5.3-3.2 Firefox/3.5.3

/sbin/multipath -F can even remove the primary partitions from multipath
volumes, but partitions inside of extended partitions and thus the extended
partitions themselves and thus the multipath volumes themselves won't be
removed. It means that /etc/init.d/boot.multipath does not work. This might be
caused by the order in which multipath tries to remove the devices (i.e.
extended partitions before the inner partitions in them).

Reproducible: Always

Steps to Reproduce:
1. Deploy a system with multipath volumes containing extanded partitions and
partitions inside extended ones.
2. Enable the boot.multipath and multipathd services
3. Restart the machine
4. Shut down the system or issue /etc/init.d/boot.multipath stop
Actual Results:
carrier5:/etc/init.d # /etc/init.d/boot.multipath stop
Removing multipath targets:Nov 02 12:33:30 | mpathr: map in use
Nov 02 12:33:30 | mpathe: map in use
Nov 02 12:33:30 | mpathd: map in use
Nov 02 12:33:30 | mpathc: map in use
Nov 02 12:33:30 | mpatho: map in use
Nov 02 12:33:30 | mpathb: map in use
Nov 02 12:33:30 | mpathn: map in use
Nov 02 12:33:30 | mpathz: map in use
Nov 02 12:33:30 | mpathl: map in use
Nov 02 12:33:30 | mpathx: map in use
Nov 02 12:33:30 | mpathw: map in use
Nov 02 12:33:30 | mpathac: map in use
Nov 02 12:33:30 | mpathv: map in use
Nov 02 12:33:30 | mpathab: map in use
Nov 02 12:33:31 | mpathi: map in use
Nov 02 12:33:31 | mpathu: map in use
Nov 02 12:33:31 | mpathh: map in use
Nov 02 12:33:31 | mpathg: map in use
Nov 02 12:33:31 | mpaths: map in use
Nov 02 12:33:31 | mpathf: map in use

Expected Results:
All the multipath volumes shold be ramoved properly.

This patch is a "forward-port" from older openSUSE releases, and seems to work
perfectly on openSUSE 11.2 for me.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >