GNU bug report logs - #17994
Linux RAID MBR type code

Previous Next

Package: parted;

Reported by: Chris Murphy <lists <at> colorremedies.com>

Date: Fri, 11 Jul 2014 00:43:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chris Murphy <lists <at> colorremedies.com>
To: bug-parted <at> gnu.org
Subject: Linux RAID MBR type code
Date: Thu, 10 Jul 2014 17:58:26 -0600
This is in master branch.

libparted/labels/dos.c
98	#define PARTITION_LINUX_RAID	0xfd


This type code and metadata version 0.9 are long deprecated. Parted lacks support for the "non-fs data" partition type code 0xda, which is what should be used for mdadm metadata 1.x partitions.

man 8 mdadm:
"When  creating  a partition based array, using mdadm with version-1.x metadata, the partition type should be set to 0xDA (non fs-data).  This type selection allows for greater precision since using any other [RAID auto-detect (0xFD) or a GNU/Linux  partition (0x83)], might create problems in the event of array recovery through a live cdrom."

https://raid.wiki.kernel.org/index.php/Autodetect


Chris Murphy



This bug report was last modified 10 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.