On 12/02/2011 09:10 PM, Andrei-Florian Staicu wrote: > Salut, > > Acum ceva vreme, am facut pe un hdd WDC WD30EZRX-00M (caviar green > 3tb) o partitie GPT. Parca era ext3, dar nu mai sunt sigur. > Azi am zis sa vad ce mai am pe el, si surpriza: > > --------- > #fdisk -l /dev/sdb > > WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util > fdisk doesn't support GPT. Use GNU Parted.
Incearca cu gnu-fdisk, la mine functioneaza si am GPT pe /dev/md1: # fdisk -l /dev/md1 GNU Fdisk 1.2.4 Copyright (C) 1998 - 2006 Free Software Foundation, Inc. This program is free software, covered by the GNU General Public License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Disk /dev/md1: 2245 GB, 2245937379840 bytes 255 heads, 63 sectors/track, 273053 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/md1p1 1 72946 585938713 83 Linux /dev/md1p2 72946 97262 195318270 83 Linux /dev/md1p3 97262 218838 976559220 83 Linux /dev/md1p4 218838 273054 435490020 83 Linux > > > Disk /dev/sdb: 2199.0 GB, 2199023254528 bytes > 255 heads, 63 sectors/track, 267349 cylinders, total 4294967294 sectors > Units = sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minimum/optimal): 512 bytes / 512 bytes > Disk identifier: 0x00000000 > > Device Boot Start End Blocks Id System > /dev/sdb1 1 4294967295 2147483647+ ee GPT > --------- > #parted /dev/sdb print > 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 8 calls on stack: > 8: /lib/x86_64-linux-gnu/libparted.so.0(ped_assert+0x2e) [0x7f38009baf3e] > 7: /lib/x86_64-linux-gnu/libparted.so.0(+0x44712) [0x7f38009eb712] > 6: /lib/x86_64-linux-gnu/libparted.so.0(ped_disk_new+0x58) [0x7f38009c10b8] > 5: parted() [0x407401] > 4: parted(non_interactive_mode+0x8c) [0x40e00c] > 3: parted(main+0x1407) [0x406ae7] > 2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f38001d8ead] > 1: parted() [0x406bad] > > > You found a bug in GNU Parted! Here's what you have to do: > > Don't panic! The bug has most likely not affected any of your data. > Help us to fix this bug by doing the following: > > Check whether the bug has already been fixed by checking > the last version of GNU Parted that you can find at: > > http://ftp.gnu.org/gnu/parted/ > > Please check this version prior to bug reporting. > > If this has not been fixed yet or if you don't know how to check, > please visit the GNU Parted website: > > http://www.gnu.org/software/parted > > for further information. > > Your report should contain the version of this release (2.3) > along with the error message below, the output of > > parted DEVICE unit co print unit s print > > and the following history of commands you entered. > Also include any additional information about your setup you > consider important. > > Assertion (last_usable <= disk->dev->length) at > ../../../libparted/labels/gpt.c:718 in function _parse_header() > failed. > > Aborted > --------- > daca incerc parted /dev/sdb unit co print unit s print , imi da > aceleasi balarii. > Smart-ul zice de bine: > --------- > ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE > UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 > 200 051 Pre-fail Always - 1 3 Spin_Up_Time > 0x0027 157 151 021 Pre-fail Always - 9141 4 > Start_Stop_Count 0x0032 100 100 000 Old_age Always > - 19 5 Reallocated_Sector_Ct 0x0033 200 200 140 > Pre-fail Always - 0 7 Seek_Error_Rate 0x002e > 200 200 000 Old_age Always - 0 9 Power_On_Hours > 0x0032 100 100 000 Old_age Always - 318 > 10 Spin_Retry_Count 0x0032 100 253 000 Old_age > Always - 0 11 Calibration_Retry_Count 0x0032 100 253 > 000 Old_age Always - 0 12 Power_Cycle_Count > 0x0032 100 100 000 Old_age Always - 17192 > Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always > - 11193 Load_Cycle_Count 0x0032 200 200 000 > Old_age Always - 54194 Temperature_Celsius 0x0022 > 122 117 000 Old_age Always - 30196 > Reallocated_Event_Count 0x0032 200 200 000 Old_age Always > - 0197 Current_Pending_Sector 0x0032 200 200 000 > Old_age Always - 0198 Offline_Uncorrectable 0x0030 > 100 253 000 Old_age Offline - 0199 > UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always > - 0200 Multi_Zone_Error_Rate 0x0008 100 253 000 > Old_age Offline - 0--------- > Aveti vre-o idee cum as putea sa-l conving sa "vada" partitiile? Poate > totusi nu am pierdut toate datele. > > Debian wheezy > Linux odin 3.1.0-1-amd64 #1 SMP Mon Nov 14 08:02:25 UTC 2011 x86_64 GNU/Linux > parted (GNU parted) 2.3 > > -- > Beware of programmers who carry screwdrivers! > _______________________________________________ > RLUG mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/rlug _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
