Linux Mintでは、ルートパーティションのリアルタイム縮小が失敗します。

Linux Mintでは、ルートパーティションのリアルタイム縮小が失敗します。

取るべきステップ:

* fdiskを使用して既存のルートパーティションを削除し、同じブロックから始まる新しいルートパーティション(PV)を作成します。

* / bootがルートパーティションの下にあるので、起動可能にfdiskを使用して "a"フラグを追加しました。

再起動後、「'hd0'外部ディスクを読み書きしようとしています」エラーでGRUB画面がフリーズしました。

ライブUSBを使用した後の現在のパーティションテーブルは次のとおりです。

   mint@mint ~ $ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0008fb69

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    41945087    20971520   83  Linux
/dev/sda2       609040382   625141759     8050689    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5       609040384   625141759     8050688   82  Linux swap / Solaris

パーティションが連続的である必要はないと思いますが、なぜこのエラーが発生するのかわかりません。

mint@mint ~ $ sudo fsck /dev/sda1
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
Error reading block 37781504 (Invalid argument).  Ignore error<y>? yes
Force rewrite<y>? no
Superblock has an invalid journal (inode 8).
Clear<y>? no
fsck.ext4: Illegal inode number while checking ext3 journal for /dev/sda1

/dev/sda1: ********** WARNING: Filesystem still has errors **********

パーティションのサイズ変更後、resize2fsを使用してファイルシステムのサイズを変更する予定でしたが、fsckで発生したこのエラーは最初に処理する必要がある問題のようです。解決策を見た結果、スーパーブロックを消去すると、ファイルシステムがログを失い、外部2になるようです。何が起こっているのかわからないので、アドバイスを求めたいと思います。

ありがとうございます。

******編集する**********

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
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       -       0
  3 Spin_Up_Time            0x0027   154   130   021    Pre-fail  Always       -       1266
  4 Start_Stop_Count        0x0032   092   092   000    Old_age   Always       -       8446
  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   093   093   000    Old_age   Always       -       5213
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       2182
191 G-Sense_Error_Rate      0x0032   001   001   000    Old_age   Always       -       31259
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       68
193 Load_Cycle_Count        0x0032   157   157   000    Old_age   Always       -       130128
194 Temperature_Celsius     0x0022   105   097   000    Old_age   Always       -       38
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):

ベストアンサー1

おすすめ記事