hello I would like to report a bug: let me know if any further info is required
sorry forgot to include error msg + rquested output cheers 5pindrift +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Title==============Parted crash on GPT filesystem access Description ==============Attempting to list elements of Fake Raid causes a crash in parted Environment:Hardware:Asus P6T WS / i7 950 / 12GB ddr31 WD 160 HDD SATA dual boot winsux7 / kubuntu 10.015 WD 1TB HDD SATA Fake RAID5fake raid enable in bios dm-0 = NTFS OS:kubuntu 10.10 alternate disk install data disk array dm-0 (4TB) is NTFS GPT and was formated in winsux7otherwise completely clean install Repro:==============attempt to list the partions print list Backtrace:------------(parted) print listModel: ATA WDC WD1600AAJS-0 (scsi)Disk /dev/sda: 160GBSector size (logical/physical): 512B/512BPartition Table: msdos Number Start End Size Type File system Flags 1 1049kB 105GB 105GB primary ntfs 2 105GB 136GB 31.5GB primary ntfs boot 3 136GB 151GB 15.0GB primary ext3 4 151GB 160GB 8727MB primary linux-swap(v1) Error: Invalid argument during seek for read on /dev/sdb Retry/Ignore/Cancel? i Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used. OK/Cancel? ok Backtrace has 10 calls on stack: 10: /lib/libparted.so.0(ped_assert+0x31) [0x7f8248d5c5c1] 9: /lib/libparted.so.0(+0x4016f) [0x7f8248d8e16f] 8: /lib/libparted.so.0(ped_disk_new+0x75) [0x7f8248d63815] 7: parted() [0x40698e] 6: parted() [0x40778d] 5: parted() [0x406b9e] 4: parted(interactive_mode+0xf3) [0x40db53] 3: parted(main+0x8f) [0x40ab3f] 2: /lib/libc.so.6(__libc_start_main+0xfe) [0x7f8248564d8e] 1: parted() [0x404fa9] Observed =================parted crashes Expected =================parted should list sda[1-4] and raid5 array dm-0 Additional Information ====================== parted releast version: (2.3) error message: Assertion (last_usable <= disk->dev->length) at ../../../libparted/labels/gpt.c:934 infunction _parse_header() failed. the output of parted DEVICE unit co print unit s print: r...@forsaken:~# parted /dev/dm-0 unit co print unit s printError: The backup GPT table is not at the end of the disk, as it should be. This mightmean that another operating system believes the disk is smaller. Fix, by moving the backupto the end (and removing the old backup)?parted: invalid token: unitFix/Ignore/Cancel? Fix Warning: Not all of the space available to /dev/dm-0 appears to be used, you can fix theGPT to use all of the space (an extra 1024 blocks) or continue with the current setting? Fix/Ignore? Fix Model: Linux device-mapper (raid45) (dm)Disk /dev/dm-0: 4001GBSector size (logical/physical): 512B/512BPartition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 134MB 134MB Microsoft reserved partition msftres 2 135MB 4001GB 4001GB ntfs Basic data partition history of commands you entered: (parted) print list +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- Тесты новейших гаджетов на Hi-tech.Mail.Ru http://r.mail.ru/cln5823/hi-tech.mail.ru/ (http://r.mail.ru/cln5823/hi-tech.mail.ru/)
_______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted