From: Heinz Mauelshagen <heinzm@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: dm targets with spaces in the name
Date: Thu, 04 Dec 2008 16:52:36 +0100 [thread overview]
Message-ID: <1228405956.23557.74.camel@o> (raw)
In-Reply-To: <4936BBC6.7000800@cfl.rr.com>
Am Mittwoch, den 03.12.2008, 12:03 -0500 schrieb Phillip Susi:
> Is this allowed? It looks like you can create a target with a space in
> the name, but then you can not refer to it in a rule of another target.
> Specifically I am seeing a user with a dmraid setup with raid volumes
> using spaces in the name, and dmraid manages to create the stripe target
> ( /dev/mapper/foo bar ), but then can not create the linear mapping on
> top of it for the partition, because the table looks like it has too
> many arguments due to the space.
What you describe here, is essentially caused by bogus names in vendor
metadata not being detected and handled properly by dmraid.
Which metadata format is that being caused by ?
Can you send me the metadata sample retrieved via "dmraid -rD"
(bzip2/tar the resulting *.{dat,offset,size} files before sending) ?
> So should you just avoid doing this,
Yes, whitespace is not to be supported in mapped device names.
> or should the kernel be fixed to
> understand quotes or backslash escapes or something to allow spaces in
> the target device file name?
No M$ worries, please ;)
Heinz
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
next prev parent reply other threads:[~2008-12-04 15:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 17:03 dm targets with spaces in the name Phillip Susi
2008-12-04 15:52 ` Heinz Mauelshagen [this message]
2008-12-04 20:15 ` Phillip Susi
2008-12-05 1:59 ` Alasdair G Kergon
2008-12-05 16:58 ` Phillip Susi
2008-12-05 17:08 ` Alasdair G Kergon
2008-12-08 20:31 ` Phillip Susi
2008-12-15 14:09 ` Heinz Mauelshagen
2008-12-15 16:18 ` Phillip Susi
2008-12-16 8:55 ` Heinz Mauelshagen
2008-12-09 13:58 ` Arvin Schnell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1228405956.23557.74.camel@o \
--to=heinzm@redhat.com \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.