Strange device name for JMB RAID
Heinz Mauelshagen
mauelshagen at redhat.com
Fri Nov 10 09:30:19 UTC 2006
Hi Mark,
Looks like a flaw in the string code to handle device names.
Can you create metadata samples (preferably in an empty directory) by running
"dmraid -rD", tar/bzip2 them up (ie. "tar jcvf JMicron-Mark_Junker.tar.bz2 *")
and send the tarball to me for analysis, please ?
Regards,
Heinz -- The LVM Guy --
On Thu, Nov 09, 2006 at 09:22:12PM +0100, Mark Junker wrote:
> Hi,
>
> I have a Gigabyte mainboard with a JMicron controller. It gets
> recognized by dmraid without problems but it creates strange device names.
>
> Here's the directory listing:
>
> crw-rw---- 1 root root 10, 63 2006-11-07 08:39 control
> brw-rw---- 1 root disk 254, 0 2006-11-09 20:48 jmicron_JRAID ^A
> brw-rw---- 1 root disk 254, 1 2006-11-07 07:39 Ubuntu-root
>
> And this is the output of "dmraid -tay":
>
> jmicron_JRAID ^A: 0 312541184 mirror core 2 131072 nosync 2
> /dev/sdb 0 /dev/sdc 0
> jmicron_JRAID ^A1: 0 312528447 linear
> /dev/mapper/jmicron_JRAID ^A 63
>
> As you can see, the device name contains spaces and a ^A (0x01) at the
> end of the device name which may cause problems when FDISK tries to sync
> the devices using ioctl calls. The device for the partition doesn't get
> created too.
>
> Any idea what's the problem?
>
> The output of "uname -a":
>
> Linux mjcoder 2.6.19-rc2-g4d99bfac-dirty #1 SMP PREEMPT Tue Oct 17
> 11:45:46 CEST 2006 x86_64 GNU/Linux
>
> Regards,
> Mark Junker
>
> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list at redhat.com
> https://www.redhat.com/mailman/listinfo/ataraid-list
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
Storage Development 56242 Marienrachdorf
Germany
Mauelshagen at RedHat.com PHONE +49 171 7803392
FAX +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the Ataraid-list
mailing list