← Back to team overview

registry team mailing list archive

[Bug 554582] Re: Gparted does not list dmraid devices

 

Hi Curtis,

Went back today and got you some more info.

root@debian:~# ls -la /dev/mapper
total 0
drwxr-xr-x	 2	root	root    200	2010-07-08 11:13	.
drwxr-xr-x	16	root	root   3300	2010-07-08 11:13	..
crw-------	 1	root	root 10, 59	2010-07-08 11:10	control
lrwxrwxrwx	 1	root	root      7	2010-07-08 11:08	pdc_jcchiiab -> ../dm-0
lrwxrwxrwx	 1	root	root      7	2010-07-08 11:13	pdc_jcchiiab1 -> ../dm-1
lrwxrwxrwx	 1	root	root      7	2010-07-08 11:13	pdc_jcchiiab2 -> ../dm-2
lrwxrwxrwx	 1	root	root      7	2010-07-08 11:13	pdc_jcchiiab3 -> ../dm-3
lrwxrwxrwx	 1	root	root      7	2010-07-08 11:13	pdc_jcchiiab5 -> ../dm-5
lrwxrwxrwx	 1	root	root      7	2010-07-08 11:13	pdc_jcchiiab6 -> ../dm-6
lrwxrwxrwx	 1	root	root      7	2010-07-08 11:13	pdc_jcchiiab7 -> ../dm-7

GParted sees 3 disks:
	/dev/sda
	/dev/sdb
these are the physical disks forming the striped set, and
	/dev/mapper/pdc_jcchiiab
this is the logical disk made up by the striped set, on which the partitions are:
	/dev/mapper/pdc_jcchiiabp1
	/dev/mapper/pdc_jcchiiabp2
	/dev/mapper/pdc_jcchiiabp5
	/dev/mapper/pdc_jcchiiabp6
	/dev/mapper/pdc_jcchiiabp7
	/dev/mapper/pdc_jcchiiabp3
Note the use of a 'p' before the partition number
pdc_jcchiiab1
pdc_jcchiiabp1 (etc)

I got a bit more adventurous and started parted from the command line.
	select /dev/dm-0
	print
gives a correct overview of 80GB total disk space and the partitions within (you want that output as well?)

Then I tried fdisk from the command line
	fdisk -l /dev/dm-0
which gave me:
Device		Boot	Start	End	Blocks		id	System
/dev/dm0p1	*	1	2432	19531259	7	HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/dm0p2		2432	3897	11765505	5	Extended
Partition 2 does not end on cylinder boundary.
Partition 2 does not start on physical sector boundary.
/dev/dm0p3		3897	2432	46868224	7	HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/dm0p5		2432	3040	 4882688	83	Linux
/dev/dm0p6		3040	3648	 4882688	83	Liunx
/dev/dm0p7		3648	3897	 1999872	82	Liunx Swap / Solaris

Again we see an extra p in the device name and also a 0 instead of a -
/dev/dm-1
/dev/dm0p1 (etc)

I did not perform other actions with either parted or fdisk for now. No modifications, no writing, nada.
Restarting went OK, btw. On the previous CD's it hung and I had to reset the pc manually.

cheers
Tom

-- 
Gparted does not list dmraid devices
https://bugs.launchpad.net/bugs/554582
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for GParted.