LINUX "このデバイスには有効なパーティションテーブルがありません。" +「ディスクの外にはパーティションがありません!」 + fdiskは「7.3T」サイズを読みます。

LINUX

ディストリビューション: Netrunner Blackbird(Debian) I/O: SATA-USB ケーブル

KDEパーティションエディタ: "このデバイスには有効なパーティションテーブルがありません。"

me@computer:~$ sudo parted -l
Model: ATA LITEONIT LCT-128 (scsi)
Disk /dev/sda: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  269MB   268MB   primary  ext4         boot
 2      269MB   32.5GB  32.2GB  primary  ext4
 3      32.5GB  54.0GB  21.5GB  primary  ext4
 4      54.0GB  128GB   74.1GB  primary  ext4


Model: ATA ST1000LM049-2GH1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  8591MB  8590MB  primary  linux-swap(v1)
 2      8591MB  17.2GB  8590MB  primary  ext4
 3      17.2GB  1000GB  983GB   primary  ext4


Error: Can't have a partition outside the disk!
Ignore/Cancel? i
Model: WDC WD10 02F9YZ-09H1JL1 (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      8389kB  8002GB  8002GB  primary

...

me@computer:~$ sudo fdisk -l -u /dev/sdc
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 244190646 sectors
Disk model: 02F9YZ-09H1JL1  
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x45b0734a

Device     Boot Start        End    Sectors  Size Id Type
/dev/sdc1        2048 1953523711 1953521664  7.3T 83 Linux

...

これ:

me@computer:~$ sudo sfdisk -d /dev/sdc > sdc-backup.txt

これを私のホームフォルダにテキストファイルに入れます。

label: dos
label-id: 0x45b0734a
device: /dev/sdc
unit: sectors

/dev/sdc1 : start=        2048, size=  1953521664, type=83

...

だからここで正確に何が起こっているのか、それをどう解決するのかわかりませんsudo parted...

https://gparted.org/h2-fix-msdos-pt.php

同じ問題のようです(KDEのパーティションエディタの代わりにgpartedを使用してこの問題を見つけることは関係がないようです)。しかし、パーティションテーブルを変更する前にできるだけ注意してください。なぜなら、実際にはデータ損失が不可能だからです。ハードドライブ。

誰にでも私に伝えることができる特定の修正について提案または知っている人はいますか?

すべての助けに心から感謝します。ここに公開されている他のコマンドを実行するには、教えてください。

みんなありがとうございます。

注:インストールtestdiskして実行しています。出力が必要な場合はお知らせください。

推奨CLIコマンドの提案で表示できるように「oldfred」を更新しました。

me@computer:~$ sudo gdisk -l /dev/sdc
GPT fdisk (gdisk) version 1.0.3

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. 
***************************************************************


Warning! Secondary partition table overlaps the last partition by
1709333071 blocks!
You will need to delete this partition or resize it in another utility.
Disk /dev/sdc: 244190646 sectors, 931.5 GiB
Model: 02F9YZ-09H1JL1  
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): F6F07956-BB67-4AB5-9DE6-67729F8EFB57
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 5
First usable sector is 6, last usable sector is 244190640
Partitions will be aligned on 256-sector boundaries
Total free space is 2042 sectors (8.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048      1953523711   7.3 TiB     8300  Linux filesystem

ベストアンサー1

おすすめ記事