LINUX.ORG.RU

История изменений

Исправление targitaj, (текущая версия) :

root@tarh-elitebook:~# uname -a
Linux tarh-elitebook 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
root@tarh-elitebook:~# 
root@tarh-elitebook:~# mount | grep -e '/mapper/'
/dev/mapper/TE_VG00-tarh--elitebook--root on / type ext4 (rw,relatime)
/dev/mapper/TE_VG00-tarh--elitebook--home on /home type ext4 (rw,relatime)
/dev/mapper/TE_VG00-tarh--elitebook--var on /var type ext4 (rw,relatime)
root@tarh-elitebook:~# 
root@tarh-elitebook:~# grep '^/dev/' /etc/fstab 
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9AU0E4yjhbU17Z3C5O0M0wYLjY31YfYZMc / ext4 defaults 0 0
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9ArFB4jH8CETd3zEaPbKCUEpD2gRHa5Ido none swap sw 0 0
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9AyYx2b9gh11PEle1o662WDKaA2cyaTQaW /var ext4 defaults 0 0
/dev/disk/by-uuid/0ef852bf-7784-41e0-9ba1-370a55ad4e5f /boot ext4 defaults 0 0
/dev/disk/by-uuid/5BD7-04F2 /boot/efi vfat defaults 0 0
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9AgeWGBDG2Qqz4Qr4ApxX0ZMrbzFeioU64 /home ext4 defaults 0 0
root@tarh-elitebook:~# 
root@tarh-elitebook:~# mount /boot
mount: /boot: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
root@tarh-elitebook:~# 
root@tarh-elitebook:~# smartctl -i -A /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-65-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel 540 Series SSDs
Device Model:     INTEL SSDSC2KW480H6
Serial Number:    CVLT624005NJ480EGN
LU WWN Device Id: 5 5cd2e4 14d0632fb
Firmware Version: LSF043C
User Capacity:    480,103,981,056 bytes [480 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 (minor revision not indicated)
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Feb 24 23:37:29 2021 MSK
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0032   100   100   000    Old_age   Always       -       65533
  9 Power_On_Hours_and_Msec 0x0032   100   100   000    Old_age   Always       -       335h+00m+00.000s
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       523
170 Available_Reservd_Space 0x0033   186   186   010    Pre-fail  Always       -       0
171 Program_Fail_Count      0x0032   100   100   010    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   010    Old_age   Always       -       0
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       152
183 SATA_Downshift_Count    0x0032   100   100   000    Old_age   Always       -       26
184 End-to-End_Error        0x0033   100   100   090    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       1
190 Airflow_Temperature_Cel 0x0032   035   059   000    Old_age   Always       -       35 (Min/Max 29/59)
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       152
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       9597
225 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -       207457
226 Workld_Media_Wear_Indic 0x0032   100   100   000    Old_age   Always       -       0
227 Workld_Host_Reads_Perc  0x0032   100   100   000    Old_age   Always       -       0
228 Workload_Minutes        0x0032   100   100   000    Old_age   Always       -       0
232 Available_Reservd_Space 0x0033   186   186   010    Pre-fail  Always       -       0
233 Media_Wearout_Indicator 0x0032   098   098   000    Old_age   Always       -       0
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       207457
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       379302
249 NAND_Writes_1GiB        0x0032   100   100   000    Old_age   Always       -       5411
252 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       12

root@tarh-elitebook:~# 

ах ах /boot сломано

Исправление targitaj, :

root@tarh-elitebook:~# uname -a
Linux tarh-elitebook 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
root@tarh-elitebook:~# 
root@tarh-elitebook:~# mount | grep -e '/mapper/'
/dev/mapper/TE_VG00-tarh--elitebook--root on / type ext4 (rw,relatime)
/dev/mapper/TE_VG00-tarh--elitebook--home on /home type ext4 (rw,relatime)
/dev/mapper/TE_VG00-tarh--elitebook--var on /var type ext4 (rw,relatime)
root@tarh-elitebook:~# 
root@tarh-elitebook:~# grep '^/dev/' /etc/fstab 
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9AU0E4yjhbU17Z3C5O0M0wYLjY31YfYZMc / ext4 defaults 0 0
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9ArFB4jH8CETd3zEaPbKCUEpD2gRHa5Ido none swap sw 0 0
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9AyYx2b9gh11PEle1o662WDKaA2cyaTQaW /var ext4 defaults 0 0
/dev/disk/by-uuid/0ef852bf-7784-41e0-9ba1-370a55ad4e5f /boot ext4 defaults 0 0
/dev/disk/by-uuid/5BD7-04F2 /boot/efi vfat defaults 0 0
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9AgeWGBDG2Qqz4Qr4ApxX0ZMrbzFeioU64 /home ext4 defaults 0 0
root@tarh-elitebook:~# 
root@tarh-elitebook:~# mount /boot
mount: /boot: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
root@tarh-elitebook:~# 
root@tarh-elitebook:~# smartctl -i -A /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-65-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel 540 Series SSDs
Device Model:     INTEL SSDSC2KW480H6
Serial Number:    CVLT624005NJ480EGN
LU WWN Device Id: 5 5cd2e4 14d0632fb
Firmware Version: LSF043C
User Capacity:    480,103,981,056 bytes [480 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 (minor revision not indicated)
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Feb 24 23:37:29 2021 MSK
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0032   100   100   000    Old_age   Always       -       65533
  9 Power_On_Hours_and_Msec 0x0032   100   100   000    Old_age   Always       -       335h+00m+00.000s
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       523
170 Available_Reservd_Space 0x0033   186   186   010    Pre-fail  Always       -       0
171 Program_Fail_Count      0x0032   100   100   010    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   010    Old_age   Always       -       0
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       152
183 SATA_Downshift_Count    0x0032   100   100   000    Old_age   Always       -       26
184 End-to-End_Error        0x0033   100   100   090    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       1
190 Airflow_Temperature_Cel 0x0032   035   059   000    Old_age   Always       -       35 (Min/Max 29/59)
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       152
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       9597
225 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -       207457
226 Workld_Media_Wear_Indic 0x0032   100   100   000    Old_age   Always       -       0
227 Workld_Host_Reads_Perc  0x0032   100   100   000    Old_age   Always       -       0
228 Workload_Minutes        0x0032   100   100   000    Old_age   Always       -       0
232 Available_Reservd_Space 0x0033   186   186   010    Pre-fail  Always       -       0
233 Media_Wearout_Indicator 0x0032   098   098   000    Old_age   Always       -       0
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       207457
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       379302
249 NAND_Writes_1GiB        0x0032   100   100   000    Old_age   Always       -       5411
252 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       12

root@tarh-elitebook:~# 



ах ах /boot сломано

Исходная версия targitaj, :

root@tarh-elitebook:~# uname -a
Linux tarh-elitebook 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
root@tarh-elitebook:~# 
root@tarh-elitebook:~# mount | grep -e '/mapper/'
/dev/mapper/TE_VG00-tarh--elitebook--root on / type ext4 (rw,relatime)
/dev/mapper/TE_VG00-tarh--elitebook--home on /home type ext4 (rw,relatime)
/dev/mapper/TE_VG00-tarh--elitebook--var on /var type ext4 (rw,relatime)
root@tarh-elitebook:~# 
root@tarh-elitebook:~# grep '^/dev/' /etc/fstab 
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9AU0E4yjhbU17Z3C5O0M0wYLjY31YfYZMc / ext4 defaults 0 0
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9ArFB4jH8CETd3zEaPbKCUEpD2gRHa5Ido none swap sw 0 0
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9AyYx2b9gh11PEle1o662WDKaA2cyaTQaW /var ext4 defaults 0 0
/dev/disk/by-uuid/0ef852bf-7784-41e0-9ba1-370a55ad4e5f /boot ext4 defaults 0 0
/dev/disk/by-uuid/5BD7-04F2 /boot/efi vfat defaults 0 0
/dev/disk/by-id/dm-uuid-LVM-ZzSmwmp2QCaozAm8DWSgSntZLr8V7K9AgeWGBDG2Qqz4Qr4ApxX0ZMrbzFeioU64 /home ext4 defaults 0 0
root@tarh-elitebook:~# 
root@tarh-elitebook:~# mount /boot
mount: /boot: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
root@tarh-elitebook:~# 
root@tarh-elitebook:~# smartctl -i -A /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-65-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel 540 Series SSDs
Device Model:     INTEL SSDSC2KW480H6
Serial Number:    CVLT624005NJ480EGN
LU WWN Device Id: 5 5cd2e4 14d0632fb
Firmware Version: LSF043C
User Capacity:    480,103,981,056 bytes [480 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 (minor revision not indicated)
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Feb 24 23:37:29 2021 MSK
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0032   100   100   000    Old_age   Always       -       65533
  9 Power_On_Hours_and_Msec 0x0032   100   100   000    Old_age   Always       -       335h+00m+00.000s
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       523
170 Available_Reservd_Space 0x0033   186   186   010    Pre-fail  Always       -       0
171 Program_Fail_Count      0x0032   100   100   010    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   010    Old_age   Always       -       0
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       152
183 SATA_Downshift_Count    0x0032   100   100   000    Old_age   Always       -       26
184 End-to-End_Error        0x0033   100   100   090    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       1
190 Airflow_Temperature_Cel 0x0032   035   059   000    Old_age   Always       -       35 (Min/Max 29/59)
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       152
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       9597
225 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always       -       207457
226 Workld_Media_Wear_Indic 0x0032   100   100   000    Old_age   Always       -       0
227 Workld_Host_Reads_Perc  0x0032   100   100   000    Old_age   Always       -       0
228 Workload_Minutes        0x0032   100   100   000    Old_age   Always       -       0
232 Available_Reservd_Space 0x0033   186   186   010    Pre-fail  Always       -       0
233 Media_Wearout_Indicator 0x0032   098   098   000    Old_age   Always       -       0
241 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       207457
242 Total_LBAs_Read         0x0032   100   100   000    Old_age   Always       -       379302
249 NAND_Writes_1GiB        0x0032   100   100   000    Old_age   Always       -       5411
252 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       12

root@tarh-elitebook:~#