Richard Stallman dnes v Liberci přednáší o svobodném softwaru a svobodě v digitální společnosti. Od 16:30 v aule budovy G na Technické univerzitě v Liberci. V anglickém jazyce s automaticky generovanými českými titulky. Vstup je zdarma i pro širokou veřejnost.
sudo-rs, tj. sudo a su přepsáné do programovacího jazyka Rust, nahradí v Ubuntu 25.10 klasické sudo. V plánu je také přechod od klasických coreutils k uutils coreutils napsaných v Rustu.
Fedora se stala oficiální distribucí WSL (Windows Subsystem for Linux).
Společnost IBM představila server IBM LinuxONE Emperor 5 poháněný procesorem IBM Telum II.
Byla vydána verze 4.0 multiplatformního integrovaného vývojového prostředí (IDE) pro rychlý vývoj aplikaci (RAD) ve Free Pascalu Lazarus (Wikipedie). Přehled novinek v poznámkách k vydání. Využíván je Free Pascal Compiler (FPC) 3.2.2.
Podpora Windows 10 končí 14. října 2025. Připravovaná kampaň Konec desítek (End of 10) může uživatelům pomoci s přechodem na Linux.
Již tuto středu proběhne 50. Virtuální Bastlírna, tedy dle římského číslování L. Bude L značit velikost, tedy více diskutujících než obvykle, či délku, neboť díky svátku lze diskutovat dlouho do noci? Bude i příští Virtuální Bastlírna virtuální nebo reálná? Nejen to se dozvíte, když dorazíte na diskuzní večer o elektronice, softwaru, ale technice obecně, který si můžete představit jako virtuální posezení u piva spojené s učenou
… více »Český statistický úřad rozšiřuje Statistický geoportál o Datový portál GIS s otevřenými geografickými daty. Ten umožňuje stahování datových sad podle potřeb uživatelů i jejich prohlížení v mapě a přináší nové možnosti v oblasti analýzy a využití statistických dat.
Kevin Lin zkouší využívat chytré brýle Mentra při hraní na piano. Vytváří aplikaci AugmentedChords, pomocí které si do brýlí posílá notový zápis (YouTube). Uvnitř brýlí běží AugmentOS (GitHub), tj. open source operační systém pro chytré brýle.
dmesg | tail [ 733.312486] Descriptor sense data with sense descriptors (in hex): [ 733.312490] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 [ 733.312508] 03 60 d9 0a [ 733.312515] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed [ 733.312527] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 03 60 d8 97 00 01 00 00 [ 733.312544] end_request: I/O error, dev sda, sector 56678666 [ 733.312595] ata1: EH complete [ 733.312682] JBD: Failed to read block at offset 6424 [ 733.312701] JBD: recovery failed [ 733.312707] EXT3-fs (sda1): error loading journalNedokaze tedy nekdo, z vyse uvedeho vypisu ci ze screenshotu, urcit co se s diskem stalo a pripadne jaka je moznost napravy?
Řešení dotazu:
smartctl -l selftest /dev/sda
, mi vyplivnul toto:
smartctl 5.40 2010-03-16 r3077 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 12660 - # 2 Short offline Completed without error 00% 12659 - # 3 Extended offline Aborted by host 90% 11047 - # 4 Short offline Completed without error 00% 11047 - # 5 Short offline Completed without error 00% 3 - # 6 Short offline Completed without error 00% 2 - # 7 Short offline Completed without error 00% 1 - # 8 Short offline Completed without error 00% 1 - # 9 Short offline Completed without error 00% 0 -Nemohu tedy lokalizovat zacatek chybneho sektoru
Ten test by se měl nejdříve provést. Tedy smartctl -t long /dev/sda
. Potom bude v tom smartctl -l /dev/sda
vidět jeho průběh a výsledek.
Complete error log: SMART Error Log Version: 1 ATA Error Count: 670 (device log contains only the most recent five errors) CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 670 occurred at disk power-on lifetime: 12657 hours (527 days + 9 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:12:54.582 READ DMA f8 00 00 00 00 00 e0 00 00:12:54.582 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:12:54.574 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:12:54.574 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:12:54.574 READ NATIVE MAX ADDRESS Error 669 occurred at disk power-on lifetime: 12657 hours (527 days + 9 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:12:46.239 READ DMA f8 00 00 00 00 00 e0 00 00:12:46.239 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:12:46.231 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:12:46.231 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:12:46.231 READ NATIVE MAX ADDRESS Error 668 occurred at disk power-on lifetime: 12657 hours (527 days + 9 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:12:37.884 READ DMA f8 00 00 00 00 00 e0 00 00:12:37.884 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:12:37.876 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:12:37.876 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:12:37.876 READ NATIVE MAX ADDRESS Error 667 occurred at disk power-on lifetime: 12657 hours (527 days + 9 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:12:29.554 READ DMA f8 00 00 00 00 00 e0 00 00:12:29.553 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:12:29.546 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:12:29.546 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:12:29.545 READ NATIVE MAX ADDRESS Error 666 occurred at disk power-on lifetime: 12657 hours (527 days + 9 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:12:21.239 READ DMA f8 00 00 00 00 00 e0 00 00:12:21.239 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:12:21.231 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:12:21.231 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:12:21.230 READ NATIVE MAX ADDRESS
smartctl 5.40 2010-03-16 r3077 [i686-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Toshiba 2.5" HDD series (30-60 GB) Device Model: TOSHIBA MK6025GAS Serial Number: X5PT1287S Firmware Version: KA201A User Capacity: 60,011,642,880 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 6 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Sat Jan 1 20:12:01 2011 UTC SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x80) Offline data collection activity was never started. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 295) seconds. Offline data collection capabilities: (0x1b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. No Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. No General Purpose Logging support. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 59) minutes. 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 0x000b 100 100 050 Pre-fail Always - 0 2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0 3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1411 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 7839 5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 50 7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0 9 Power_On_Hours 0x0032 069 069 000 Old_age Always - 12666 10 Spin_Retry_Count 0x0033 253 100 030 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 4575 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 263 193 Load_Cycle_Count 0x0032 058 058 000 Old_age Always - 424585 194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 35 (Lifetime Min/Max 8/57) 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 50 197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 263 198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 2 220 Disk_Shift 0x0002 100 100 000 Old_age Always - 8284 222 Loaded_Hours 0x0032 076 076 000 Old_age Always - 9850 223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0 224 Load_Friction 0x0022 100 100 000 Old_age Always - 0 226 Load-in_Time 0x0026 100 100 000 Old_age Always - 218 240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0 SMART Error Log Version: 1 ATA Error Count: 682 (device log contains only the most recent five errors) CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 682 occurred at disk power-on lifetime: 12664 hours (527 days + 16 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:01:40.516 READ DMA f8 00 00 00 00 00 e0 00 00:01:40.515 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:01:40.508 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:01:40.508 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:01:40.507 READ NATIVE MAX ADDRESS Error 681 occurred at disk power-on lifetime: 12664 hours (527 days + 16 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:01:32.173 READ DMA f8 00 00 00 00 00 e0 00 00:01:32.173 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:01:32.166 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:01:32.165 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:01:32.165 READ NATIVE MAX ADDRESS Error 680 occurred at disk power-on lifetime: 12664 hours (527 days + 16 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:01:23.831 READ DMA f8 00 00 00 00 00 e0 00 00:01:23.831 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:01:23.824 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:01:23.823 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:01:23.823 READ NATIVE MAX ADDRESS Error 679 occurred at disk power-on lifetime: 12664 hours (527 days + 16 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:01:15.502 READ DMA f8 00 00 00 00 00 e0 00 00:01:15.501 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:01:15.494 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:01:15.494 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:01:15.493 READ NATIVE MAX ADDRESS Error 678 occurred at disk power-on lifetime: 12664 hours (527 days + 16 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 8d 0a d9 60 e3 Error: UNC 141 sectors at LBA = 0x0360d90a = 56678666 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 00 97 d8 60 e3 00 00:01:07.188 READ DMA f8 00 00 00 00 00 e0 00 00:01:07.188 READ NATIVE MAX ADDRESS ec 00 00 00 00 00 a0 02 00:01:07.180 IDENTIFY DEVICE ef 03 45 00 00 00 a0 02 00:01:07.180 SET FEATURES [Set transfer mode] f8 00 00 00 00 00 e0 00 00:01:07.180 READ NATIVE MAX ADDRESS SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 12666 - # 2 Extended offline Completed without error 00% 12661 - # 3 Extended offline Completed without error 00% 12660 - # 4 Short offline Completed without error 00% 12659 - # 5 Extended offline Aborted by host 90% 11047 - # 6 Short offline Completed without error 00% 11047 - # 7 Short offline Completed without error 00% 3 - # 8 Short offline Completed without error 00% 2 - # 9 Short offline Completed without error 00% 1 - #10 Short offline Completed without error 00% 1 - #11 Short offline Completed without error 00% 0 - Device does not support Selective Self Tests/Loggingu
LBA_of_first_error
nikde nic To už většinou palimpsest houká, že se disk chystá do křemíkového nebe. S největší pravděpodobností na některém z těch realokovaných bloků ležely nějaké data nezbytné k bootu. Takže bych už se o nějakou kloudnou obnovu ani moc nesnažil. Nejhorší je, že realokaci těch bloků si řeší interní firmware a k těm starým už nenabízí žádný přístup, takže s největší pravděpodobností ty data už jsou navždy pryč. Asi bych s tím už nedělal nic jiného než kopírování dat někam do bezpečí na nový disk. Jinak 12666 najezděných hodin mi nepřijde moc. Asi podstoupil disk nějakou šokovou terapii, že?5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 50
O kopírování dat někam jinam se právě snažím, jenže se za nic na světě nemohu na disk dostat, neboť mi jej systém odmítá mountnout.Ňáký vtip? dd if=/dev/sdXX of=/tam/kde/je/misto/zaloha.img. Co půjde zkopírovat binárně půjde, zbytek ztracen (signatura souborového systému je očividně poškozená) a pak nějaký binární obnovovátor jako ddrescure.
Vtip praveze ani neO kopírování dat někam jinam se právě snažím, jenže se za nic na světě nemohu na disk dostat, neboť mi jej systém odmítá mountnout.Ňáký vtip? dd if=/dev/sdXX of=/tam/kde/je/misto/zaloha.img. Co půjde zkopírovat binárně půjde, zbytek ztracen (signatura souborového systému je očividně poškozená) a pak nějaký binární obnovovátor jako ddrescure.
dd_rescue /zdroj/dat.img /soubor/s/novymi/daty
, kde mi to v /soubor/s/novymi/daty
vygenerovalo 78 GB velky soubor, se kterym nevim co delat. Mountnout nejde ani puvodni 30 GB velky soubor, ani tento...mint mint # dd if=/dev/sda of=/media/SAMSUNG/backup-laptop/backup-laptop.img dd: reading `/dev/sda': Input/output error 56379776+0 records in 56379776+0 records out 28866445312 bytes (29 GB) copied, 27181.2 s, 1.1 MB/s
Tiskni
Sdílej: