Partitions fail to activate on RAID volumes with complex names

Bug #299311 reported by Phazonmutant
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dmraid (Ubuntu)
New
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: dmraid

I have a motherboard RAID 0 array (FakeRAID) whose volume name is isw_cfebfidbf_Mother Brain 2. After looking at the dmraid output, it was determined that the partitions fail to activate, probably because the volume name includes spaces. dmraid -Rd output is attached.
Further details are on the Ubuntu forums here: http://ubuntuforums.org/showthread.php?t=981568

Revision history for this message
Phazonmutant (phazonmutant) wrote :
Revision history for this message
Phillip Susi (psusi) wrote :

It looks like dmraid needs fixed to backslash escape the spaces in the name before passing it down.

Changed in dmraid:
status: New → Triaged
Revision history for this message
Phillip Susi (psusi) wrote :

Adding the kernel to the bug since it appears that even when the spaces are backslash escaped, the kernel does not handle it properly. It appears that dm_split_args() properly parses the argv when the spaces are backslash escaped, but linear_ctr() still fails with "Device lookup failed".

Changed in linux:
status: New → Triaged
Revision history for this message
Phillip Susi (psusi) wrote :

Nevrmind, I must have made a typeo because now the kernel accepts names with spaces if they are backslash escaped.

Changed in linux:
status: Triaged → Invalid
Revision history for this message
Phazonmutant (phazonmutant) wrote :

I tried backslash-escaped spaces, as instructed to in the ubuntuforums thread.
Unless...by backslash-escaped spaces do you mean "\ " instead of "\"?

Revision history for this message
Phillip Susi (psusi) wrote :

Yes, backslash escaped means prefixing the space with a backslash, so "\ ". You should be able to manually create the partition device with dmsetup but dmraid needs fixed to insert the backslashes before sending the path down to the kernel.

Revision history for this message
Phillip Susi (psusi) wrote :

Can you test 10.04 or 10.10 and see if this is still an issue?

tags: removed: dmraid partition raid
Changed in dmraid (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Phazonmutant (phazonmutant) wrote : Re: [Bug 299311] Re: Partitions fail to activate on RAID volumes with complex names

I've updated my desktop storage twice since I posted that and no longer have
a RAID setup, sorry.

-Greg

On Oct 27, 2010 11:41 PM, "Phillip Susi" <email address hidden> wrote:
> Can you test 10.04 or 10.10 and see if this is still an issue?
>
>
> ** Tags removed: dmraid partition raid
>
> ** Changed in: dmraid (Ubuntu)
> Status: Triaged => Incomplete
>
> --
> Partitions fail to activate on RAID volumes with complex names
> https://bugs.launchpad.net/bugs/299311
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “dmraid” package in Ubuntu: Incomplete
> Status in “linux” package in Ubuntu: Invalid
>
> Bug description:
> Binary package hint: dmraid
>
> I have a motherboard RAID 0 array (FakeRAID) whose volume name is
isw_cfebfidbf_Mother Brain 2. After looking at the dmraid output, it was
determined that the partitions fail to activate, probably because the volume
name includes spaces. dmraid -Rd output is attached.
> Further details are on the Ubuntu forums here:
http://ubuntuforums.org/showthread.php?t=981568
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/299311/+subscribe

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for dmraid (Ubuntu) because there has been no activity for 60 days.]

Changed in dmraid (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Chris Roemmich (croemmich) wrote :

I spend about 6 hours trying to get my RAID working, finally I came across this bug and it looks very similar to what I was experiencing. I used Intel Storage Manager in Windows to remove the spaces from my volume's names. After doing so, everything worked perfectly... this is definitely still an active bug. (ubuntu 11.10, ICH7)

Changed in dmraid (Ubuntu):
status: Expired → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.