[Bug 1074606] Re: gparted raid wrong information

martin suc 1074606 at bugs.launchpad.net
Sun Nov 4 10:16:36 UTC 2012


sudo fdisk -l -u

Disk /dev/sda: 3000 GB, 3000590369280 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860528065 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1            2048  5860532223  2930272033   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/sdb: 2000 GB, 2000396321280 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907024065 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdb1              34     2040254     1020096   83  Linux 
/dev/sdb2   *     2050048     4096574     1020127   83  Linux 
/dev/sdb3         4096575    86012009    40949685   82  Linux Swap / Solaris 
/dev/sdb4        86013952   290809855   102398310   83  Linux 
Warning: Partition 4 does not end on cylinder boundary.
/dev/sdb6       290809856   905214554   307194930   83  Linux 
/dev/sdb5       905216000  3907024895  1500904755   83  Linux 
Warning: Partition 5 does not end on cylinder boundary.

Disk /dev/sdc: 2000 GB, 2000396321280 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907024065 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdc1            2048  3497591474  1748795706   83  Linux 
/dev/sdc2      3497591475  3548790629    25591545   83  Linux 
/dev/sdc3      3548790630  3599989784    25591545   83  Linux 
/dev/sdc4      3599989785  3651188939    25591545   83  Linux 
/dev/sdc5      3651188940  3702388094    25591545   83  Linux 
/dev/sdc6      3702388095  3753587249    25591545   83  Linux 
/dev/sdc7      3753587250  3907024064    76710375   83  Linux 

Disk /dev/sdd: 1000 GB, 1000202273280 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953520065 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdd1   *        2048   208140928   104077071    7  HPFS/NTFS
Warning: Partition 1 does not end on cylinder boundary.
/dev/sdd2       212845185   366789214    76967415    7  HPFS/NTFS
Warning: Partition 2 does not end on cylinder boundary.
/dev/sdd3       432325215   645331049   106494885    7  HPFS/NTFS
/dev/sdd4       645335038  1953521663   654094507    f  Extended LBA
Warning: Partition 4 does not end on cylinder boundary.
/dev/sdd5       645335040  1071321087   212989770   83  Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/sdd6      1071323136  1953520064   441096705    7  HPFS/NTFS
Warning: Partition 6 does not end on cylinder boundary.

Disk /dev/sde: 2000 GB, 2000396321280 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907024065 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sde1            2048  3497639669  1748819803   83  Linux 
/dev/sde2      3497639670  3548838824    25591545   83  Linux 
/dev/sde3      3548838825  3600037979    25591545   83  Linux 
/dev/sde4      3600037980  3651237134    25591545   83  Linux 
/dev/sde5      3651237135  3702436289    25591545   83  Linux 
/dev/sde6      3702436290  3753635444    25591545   83  Linux 
/dev/sde7      3753635445  3907024064    76686277   83  Linux 

Disk /dev/sdf: 2000 GB, 2000396321280 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907024065 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdf1            2048  3497639669  1748819803   83  Linux 
/dev/sdf2      3497639670  3548838824    25591545   83  Linux 
/dev/sdf3      3548838825  3600037979    25591545   83  Linux 
/dev/sdf4      3600037980  3651237134    25591545   83  Linux 
/dev/sdf5      3651237135  3702436289    25591545   83  Linux 
/dev/sdf6      3702436290  3753635444    25591545   83  Linux 
/dev/sdf7      3753635445  3907024064    76686277   83  Linux 

Disk /dev/mapper/35000cca375c5f921: 1000 GB, 1000202273280 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953520065 sectors
Units = sectors of 1 * 512 = 512 bytes

                        Device Boot      Start         End      Blocks   Id  System 
/dev/mapper/35000cca375c5f921p1   *        2048   208140928   104077071    7  HPFS/NTFS
Warning: Partition 1 does not end on cylinder boundary.
/dev/mapper/35000cca375c5f921p2       212845185   366789214    76967415    7  HPFS/NTFS
Warning: Partition 2 does not end on cylinder boundary.
/dev/mapper/35000cca375c5f921p3       432325215   645331049   106494885    7  HPFS/NTFS
/dev/mapper/35000cca375c5f921p4       645335038  1953521663   654094507    f  Extended LBA
Warning: Partition 4 does not end on cylinder boundary.
/dev/mapper/35000cca375c5f921p5       645335040  1071321087   212989770   83  Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/mapper/35000cca375c5f921p6      1071323136  1953520064   441096705    7  HPFS/NTFS
Warning: Partition 6 does not end on cylinder boundary.

Disk /dev/mapper/35000cca375c5f921-part6: 451 GB, 451683025920 bytes
255 heads, 63 sectors/track, 54914 cylinders, total 882193410 sectors
Units = sectors of 1 * 512 = 512 bytes

                              Device Boot      Start         End      Blocks   Id  System 
/dev/mapper/35000cca375c5f921-part6p1               0   882196928   441104706   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/mapper/35000cca375c5f921-part4: 669 GB, 669784550400 bytes
255 heads, 63 sectors/track, 81430 cylinders, total 1308172950 sectors
Units = sectors of 1 * 512 = 512 bytes

                              Device Boot      Start         End      Blocks   Id  System 
/dev/mapper/35000cca375c5f921-part4p1               2   425986049   212997771   83  Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/mapper/35000cca375c5f921-part4p2       425986050  1308185026   441096705    5  Extended
Warning: Partition 2 does not end on cylinder boundary.
/dev/mapper/35000cca375c5f921-part4p5       425988098  1308185026   441096705    7  HPFS/NTFS
Warning: Partition 5 does not end on cylinder boundary.

Disk /dev/mapper/35000cca375c5f921-part2: 78 GB, 78814632960 bytes
255 heads, 63 sectors/track, 9582 cylinders, total 153934830 sectors
Units = sectors of 1 * 512 = 512 bytes

                              Device Boot      Start         End      Blocks   Id  System 
/dev/mapper/35000cca375c5f921-part2p1               0   153944029    76975416   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/mapper/35000cca375c5f921-part3: 109 GB, 109058987520 bytes
255 heads, 63 sectors/track, 13259 cylinders, total 213005835 sectors
Units = sectors of 1 * 512 = 512 bytes

                              Device Boot      Start         End      Blocks   Id  System 
/dev/mapper/35000cca375c5f921-part3p1               0   213005834   106502886   83  Linux 

Disk /dev/mapper/35000cca375c5f921-part1: 106 GB, 106566727680 bytes
255 heads, 63 sectors/track, 12956 cylinders, total 208138140 sectors
Units = sectors of 1 * 512 = 512 bytes

                              Device Boot      Start         End      Blocks   Id  System 
/dev/mapper/35000cca375c5f921-part1p1               0   208138880   104077071   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/mapper/35000cca375c5f921-part5: 218 GB, 218101524480 bytes
255 heads, 63 sectors/track, 26516 cylinders, total 425979540 sectors
Units = sectors of 1 * 512 = 512 bytes

                              Device Boot      Start         End
Blocks   Id  System

Disk /dev/sdg: 3 GB, 3939909120 bytes
255 heads, 63 sectors/track, 479 cylinders, total 7695135 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdg1            2048     7696383     3855568   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/sdk: 60 GB, 60019868160 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117226305 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdk1   *          34     2056319     1028128   83  Linux 
/dev/sdk2         2056320     4096574     1012095   82  Linux Swap / Solaris 
/dev/sdk3         4096575   117231374    56564865   83  Linux 
Warning: Partition 3 does not end on cylinder boundary.

Disk /dev/sdl: 60 GB, 60019868160 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117226305 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdl1              34   117226304    58613121   83  Linux 

Disk /dev/sdm: 60 GB, 60019868160 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117226305 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdm1              34   117226304    58613121   83  Linux 

Disk /dev/sdn: 60 GB, 60019868160 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117226305 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdn1              34   117226304    58613121   83  Linux 

Disk /dev/md121: 237 GB, 237982026240 bytes
255 heads, 63 sectors/track, 28933 cylinders, total 464808645 sectors
Units = sectors of 1 * 512 = 512 bytes

     Device Boot      Start         End      Blocks   Id  System 
/dev/md121p1               0   464813439   232412323   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/md122: 235 GB, 235621370880 bytes
255 heads, 63 sectors/track, 28646 cylinders, total 460197990 sectors
Units = sectors of 1 * 512 = 512 bytes

     Device Boot      Start         End      Blocks   Id  System 
/dev/md122p1            2048        4095        8001   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.
/dev/md122p2   *        4096   460212223   230098995   83  Linux 
Warning: Partition 2 does not end on cylinder boundary.

Disk /dev/md123: 78 GB, 78633676800 bytes
255 heads, 63 sectors/track, 9560 cylinders, total 153581400 sectors
Units = sectors of 1 * 512 = 512 bytes

     Device Boot      Start         End      Blocks   Id  System 
/dev/md123p1               0   153591167    76798701   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/md124: 78 GB, 78633676800 bytes
255 heads, 63 sectors/track, 9560 cylinders, total 153581400 sectors
Units = sectors of 1 * 512 = 512 bytes

     Device Boot      Start         End      Blocks   Id  System 
/dev/md124p1               0   153591167    76798701   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/md125: 78 GB, 78633676800 bytes
255 heads, 63 sectors/track, 9560 cylinders, total 153581400 sectors
Units = sectors of 1 * 512 = 512 bytes

     Device Boot      Start         End      Blocks   Id  System 
/dev/md125p1               0   153591167    76798701   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/md126: 78 GB, 78633676800 bytes
255 heads, 63 sectors/track, 9560 cylinders, total 153581400 sectors
Units = sectors of 1 * 512 = 512 bytes

     Device Boot      Start         End      Blocks   Id  System 
/dev/md126p1               0   153591167    76798701   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

Disk /dev/md127: 78 GB, 78633676800 bytes
255 heads, 63 sectors/track, 9560 cylinders, total 153581400 sectors
Units = sectors of 1 * 512 = 512 bytes

     Device Boot      Start         End      Blocks   Id  System 
/dev/md127p1               0   153591167    76798701   83  Linux 
Warning: Partition 1 does not end on cylinder boundary.

--------------------------------------------------------------------------------------
sudo parted -l
Model: ATA WDC WD30EZRX-00M (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  3001GB  3001GB  ext4


Model: ATA Hitachi HDS5C302 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
 1      17.4kB  1045MB  1045MB                        bios_grub
 2      1050MB  2097MB  1048MB  ext2                  boot
 3      2097MB  44.0GB  41.9GB  linux-swap(v1)
 4      44.0GB  149GB   105GB   ext4
 6      149GB   463GB   315GB   ext4
 5      463GB   2000GB  1537GB  ext4


Model: ATA SAMSUNG HD204UI (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  1791GB  1791GB  ntfs         Microsoft basic data
 2      1791GB  1817GB  26.2GB  ext4                               raid
 3      1817GB  1843GB  26.2GB  btrfs                              raid
 4      1843GB  1869GB  26.2GB  jfs                                raid
 5      1869GB  1896GB  26.2GB  reiserfs                           raid
 6      1896GB  1922GB  26.2GB  xfs                                raid
 7      1922GB  2000GB  78.6GB  ext4


Model: ATA Hitachi HDS72101 (scsi)
Disk /dev/sdd: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  107GB   107GB   primary   ntfs         boot
 2      109GB   188GB   78.8GB  primary   ntfs
 3      221GB   330GB   109GB   primary   ntfs
 4      330GB   1000GB  670GB   extended               lba
 5      330GB   549GB   218GB   logical   ext4
 6      549GB   1000GB  452GB   logical   ntfs


Model: ATA WDC WD20EARS-00M (scsi)
Disk /dev/sde: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  1791GB  1791GB  ntfs         Microsoft basic data
 2      1791GB  1817GB  26.2GB  ext4                               raid
 3      1817GB  1843GB  26.2GB  btrfs                              raid
 4      1843GB  1869GB  26.2GB  jfs                                raid
 5      1869GB  1896GB  26.2GB  reiserfs                           raid
 6      1896GB  1922GB  26.2GB  xfs                                raid
 7      1922GB  2000GB  78.5GB  ext4


Model: ATA ST2000DL003-9VT1 (scsi)
Disk /dev/sdf: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name              Flags
 1      1049kB  1791GB  1791GB  ext4         Linux filesystem
 2      1791GB  1817GB  26.2GB  ext4                           raid
 3      1817GB  1843GB  26.2GB  btrfs                          raid
 4      1843GB  1869GB  26.2GB  jfs                            raid
 5      1869GB  1896GB  26.2GB  reiserfs                       raid
 6      1896GB  1922GB  26.2GB  xfs                            raid
 7      1922GB  2000GB  78.5GB  ext4


Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/35000cca375c5f921: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  107GB   107GB   primary   ntfs         boot
 2      109GB   188GB   78.8GB  primary   ntfs
 3      221GB   330GB   109GB   primary   ntfs
 4      330GB   1000GB  670GB   extended               lba
 5      330GB   549GB   218GB   logical   ext4
 6      549GB   1000GB  452GB   logical   ntfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/35000cca375c5f921-part6: 452GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  452GB  452GB  ntfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/35000cca375c5f921-part4: 670GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End    Size   Type      File system  Flags
 1      1024B  218GB  218GB  primary   ext4
 2      218GB  670GB  452GB  extended
 5      218GB  670GB  452GB  logical   ntfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/35000cca375c5f921-part2: 78.8GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  78.8GB  78.8GB  ntfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/35000cca375c5f921-part3: 109GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  109GB  109GB  ntfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/35000cca375c5f921-part1: 107GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  107GB  107GB  ntfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/35000cca375c5f921-part5: 218GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End  Size  Type  File system  Flags


Model: Generic USB SD Reader (scsi)
Disk /dev/sdg: 3942MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  3941MB  3940MB  ext2


Model: ATA OCZ-REVODRIVE3 M (scsi)
Disk /dev/sdk: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name              Flags
 1      17.4kB  1053MB  1053MB  ext2                              boot
 2      1053MB  2097MB  1045MB  linux-swap(v1)
 3      2097MB  60.0GB  57.9GB  ext4            PCEUBU1:raid0ocz  raid


Model: ATA OCZ-REVODRIVE3 M (scsi)
Disk /dev/sdl: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name              Flags
 1      17.4kB  60.0GB  60.0GB  ext4         PCEUBU1:raid0ocz  raid


Model: ATA OCZ-REVODRIVE3 M (scsi)
Disk /dev/sdm: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name              Flags
 1      17.4kB  60.0GB  60.0GB  ext4         PCEUBU1:raid0ocz  raid


Model: ATA OCZ-REVODRIVE3 M (scsi)
Disk /dev/sdn: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name              Flags
 1      17.4kB  60.0GB  60.0GB  ext4         PCEUBU1:raid0ocz  raid


Model: Linux Software RAID Array (md)
Disk /dev/md121: 238GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End    Size   File system  Flags
 1      0.00B  238GB  238GB  ext4


Model: Linux Software RAID Array (md)
Disk /dev/md122: 236GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  2097kB  1049kB                     bios_grub
 2      2097kB  236GB   236GB   ext4               boot


Model: Linux Software RAID Array (md)
Disk /dev/md123: 78.6GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  78.6GB  78.6GB  btrfs


Model: Linux Software RAID Array (md)
Disk /dev/md124: 78.6GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  78.6GB  78.6GB  ext4


Model: Linux Software RAID Array (md)
Disk /dev/md125: 78.6GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  78.6GB  78.6GB  jfs


Model: Linux Software RAID Array (md)
Disk /dev/md126: 78.6GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  78.6GB  78.6GB  xfs


Model: Linux Software RAID Array (md)
Disk /dev/md127: 78.6GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number  Start  End     Size    File system  Flags
 1      0.00B  78.6GB  78.6GB  reiserfs

-----------------------------------------------------

If I run some software from getdeb repository - does it mean it should
not be working ?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gparted in Ubuntu.
https://bugs.launchpad.net/bugs/1074606

Title:
  gparted raid wrong information

Status in “gparted” package in Ubuntu:
  Invalid

Bug description:
  Hi,

  I have noticed that information about raid (in my case raid0 arrays)
  are completely wrong.

  Partition name is wrong - !!!  it is always adding 'p1' at the end of the device name (partition). 
  Label is wrong - is not detected at all.
  flags is empty
  Managed flags is empty.
  used and unused is empty.

  The thing is that I am normally running on that OS instance without
  any problem. Fsck saying it is clean.

  lsb_release -rd
  Description:	Ubuntu 12.10
  Release:	12.10

  apt-cache policy gparted
  gparted:
    Installed: 0.14.0-1~getdeb1
    Candidate: 0.14.0-1~getdeb1
    Version table:
   *** 0.14.0-1~getdeb1 0
          500 http://archive.getdeb.net/ubuntu/ quantal-getdeb/apps amd64 Packages
          100 /var/lib/dpkg/status
       0.12.1-1 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages

  apt-cache policy libparted0debian1
  libparted0debian1:
    Installed: 2.3-10ubuntu2
    Candidate: 2.3-10ubuntu2
    Version table:
   *** 2.3-10ubuntu2 0
          500 http://archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
          100 /var/lib/dpkg/status

  This errors have apperead in the previous versions of gparted as well
  BUT not all of them. From the version 14 release it is all information
  wrong and it is not even possible to change them. It is only valid for
  raid0 arrays. I am not aware of if those errors appeared on other raid
  level configurations.

  Let me know if you need more information.

  
  Regards,
  M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/1074606/+subscriptions




More information about the foundations-bugs mailing list