Moja /home particija je formatirana s XFS-om kako dolazi po defaultu s OpenSuse 13.2.
Imam jedan oštećeni directory, pokušaj brisanja istog s rm -rf [tajfolder] javlja hrpu "Structure needs cleaning" za svaki file koji je u njemu...
Znam da bi to trebalo popraviti s xfs_repair ... no to neće dok je sve namauntano. Ako odmauntam /home isto neće jer čini se taj xfs_repair ima neki bug ili što već koji se manifestira u takvom slučaju. Trebalo bi prema nekim savjetima s interneta editirati fstab i učiniti da se /home ne namaunta automatski i onda napraviti xfs_repair.
Pitanje je, kako obrisati oštećeni dir, ili što će biti ako editiram fstab i tamo zakomentiram mountanje /home i pustim da se sve boot-a?
Nemrem si baš priutšit da mi taj stroj ne radi, inače radi se o KDE...
Oštećeni folder nije previše bitan.
Ima li tko kakav savjet kako popraviti xfs strukturu?
Sada je: 18 tra 2024, 03:46.
Moderator/ica: Moderatori/ce
19 post(ov)a
•
Stranica: 1/2. • 1, 2
Možeš bootati u live mod preko usb-a/cd-a i onda tako pokrenuti xfs_repair. Ako zakomentiraš /home i pustiš dase boota, onda će ti sustav kreirati novi /home unutar / putanje tj neće uopće vidjeti tvoju odvojenu /home particiju pa češ fin o iz toga moći popraviti (nikakv problem nije) Također možeš bootati u single mod i onda iz toga xfs_repair pokrenuti. Ne bih ti preporučio da se zezaš sa podatcima na FS-u prije nego ih popraviš.
Es gibt keinen Gott, kein Universum, keine menschliche Rasse, kein irdisches Leben, keinen Himmel, keine Hölle. Es ist alles ein Traum - ein grotesker und dummer Traum. Nichts existiert außer dir. Und du bist nur ein Gedanke - ein vagabundierender Gedanke, ein nutzloser Gedanke, ein heimatloser Gedanke, der verloren in der leeren Ewigkeit wandelt!
iz live moda sam probao i tako radi xfs_repair, međutim nisam uspio ništa popraviti, zapne u nekoj fazi i kaže CRC error, ne znam s kojoj opcijom da to popravim a da ne napravim još više štete.
ajd opizdio ovo kao root i postaj nam rezultat:
Moguće da ti je disk isto u banani, jer xfs_repair je obično dosta velikih sranja u stnaju korigirati.
- Kod: Označi sve
smartctl -a /dev/sda
Moguće da ti je disk isto u banani, jer xfs_repair je obično dosta velikih sranja u stnaju korigirati.
Es gibt keinen Gott, kein Universum, keine menschliche Rasse, kein irdisches Leben, keinen Himmel, keine Hölle. Es ist alles ein Traum - ein grotesker und dummer Traum. Nichts existiert außer dir. Und du bist nur ein Gedanke - ein vagabundierender Gedanke, ein nutzloser Gedanke, ein heimatloser Gedanke, der verloren in der leeren Ewigkeit wandelt!
- Kod: Označi sve
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.16.7-21-desktop] (SUSE RPM)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, http://www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Intel 520 Series SSDs
Device Model: INTEL SSDSC2CW120A3
Serial Number: CVCV430106CT120BGN
LU WWN Device Id: 5 5cd2e4 04bd30dae
Firmware Version: 400i
User Capacity: 120,034,123,776 bytes [120 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.0, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Mon Jul 13 16:10:16 2015 CEST
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: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: ( 2097) seconds.
Offline data collection
capabilities: (0x7f) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Abort Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
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.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 48) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x0021) SCT Status supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
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 - 0
9 Power_On_Hours_and_Msec 0x0032 000 000 000 Old_age Always - 897273h+11m+47.650s
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 392
170 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0
171 Program_Fail_Count 0x0032 100 100 000 Old_age Always - 0
172 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0
174 Unexpect_Power_Loss_Ct 0x0032 100 100 000 Old_age Always - 391
184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0
187 Uncorrectable_Error_Cnt 0x000f 108 108 050 Pre-fail Always - 20074111
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 391
225 Host_Writes_32MiB 0x0032 100 100 000 Old_age Always - 49106
226 Workld_Media_Wear_Indic 0x0032 100 100 000 Old_age Always - 65535
227 Workld_Host_Reads_Perc 0x0032 100 100 000 Old_age Always - 58
228 Workload_Minutes 0x0032 100 100 000 Old_age Always - 65535
232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0
233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0
241 Host_Writes_32MiB 0x0032 100 100 000 Old_age Always - 49106
242 Host_Reads_32MiB 0x0032 100 100 000 Old_age Always - 69464
249 NAND_Writes_1GiB 0x0013 100 100 000 Pre-fail Always - 1361
SMART Error Log not supported
SMART Self-test Log not supported
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
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):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Taj disk dosta čudno izgleda. nisam te pitao jel ti taj SSD jedini disk? čisto da znam da nije možda sdb riknuo. Svakako pokreni test:
- Kod: Označi sve
smartctl -t long /dev/sda
Es gibt keinen Gott, kein Universum, keine menschliche Rasse, kein irdisches Leben, keinen Himmel, keine Hölle. Es ist alles ein Traum - ein grotesker und dummer Traum. Nichts existiert außer dir. Und du bist nur ein Gedanke - ein vagabundierender Gedanke, ein nutzloser Gedanke, ein heimatloser Gedanke, der verloren in der leeren Ewigkeit wandelt!
Isto tako postaj točni output od xfs_repair
Es gibt keinen Gott, kein Universum, keine menschliche Rasse, kein irdisches Leben, keinen Himmel, keine Hölle. Es ist alles ein Traum - ein grotesker und dummer Traum. Nichts existiert außer dir. Und du bist nur ein Gedanke - ein vagabundierender Gedanke, ein nutzloser Gedanke, ein heimatloser Gedanke, der verloren in der leeren Ewigkeit wandelt!
ovo je nakon smartctl -t long /dev/sda
(nakon što je prošlo vremena kako je pisalo)...
Inače, da, to mi je jedini SSD na njemu su dvije particije / u btrfs i /home u xfs
sad ću napraviti opet xfs_repair pa ću zakeljit rezulat ...
(nakon što je prošlo vremena kako je pisalo)...
Inače, da, to mi je jedini SSD na njemu su dvije particije / u btrfs i /home u xfs
sad ću napraviti opet xfs_repair pa ću zakeljit rezulat ...
- Kod: Označi sve
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.16.7-21-desktop] (SUSE RPM)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Intel 520 Series SSDs
Device Model: INTEL SSDSC2CW120A3
Serial Number: CVCV430106CT120BGN
LU WWN Device Id: 5 5cd2e4 04bd30dae
Firmware Version: 400i
User Capacity: 120,034,123,776 bytes [120 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.0, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Tue Jul 14 13:37:01 2015 CEST
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: (0x03) Offline data collection activity
is in progress.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 244) Self-test routine in progress...
40% of test remaining.
Total time to complete Offline
data collection: ( 892) seconds.
Offline data collection
capabilities: (0x7f) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Abort Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
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.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 48) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x0021) SCT Status supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
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 - 0
9 Power_On_Hours_and_Msec 0x0032 000 000 000 Old_age Always - 897274h+51m+27.690s
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 393
170 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0
171 Program_Fail_Count 0x0032 100 100 000 Old_age Always - 0
172 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0
174 Unexpect_Power_Loss_Ct 0x0032 100 100 000 Old_age Always - 392
184 End-to-End_Error 0x0033 100 100 090 Pre-fail Always - 0
187 Uncorrectable_Error_Cnt 0x000f 099 099 050 Pre-fail Always - 2534399
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 392
225 Host_Writes_32MiB 0x0032 100 100 000 Old_age Always - 49138
226 Workld_Media_Wear_Indic 0x0032 100 100 000 Old_age Always - 65535
227 Workld_Host_Reads_Perc 0x0032 100 100 000 Old_age Always - 58
228 Workload_Minutes 0x0032 100 100 000 Old_age Always - 65535
232 Available_Reservd_Space 0x0033 100 100 010 Pre-fail Always - 0
233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 0
241 Host_Writes_32MiB 0x0032 100 100 000 Old_age Always - 49138
242 Host_Reads_32MiB 0x0032 100 100 000 Old_age Always - 69503
249 NAND_Writes_1GiB 0x0013 100 100 000 Pre-fail Always - 1362
SMART Error Log not supported
SMART Self-test Log not supported
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
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):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
a ovo je rezultat xfs_repair /dev/sda3
nisam probavao druge opcije iz xfs_repair je ne znam cemu sluze
nisam probavao druge opcije iz xfs_repair je ne znam cemu sluze
- Kod: Označi sve
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
- scan filesystem freespace and inode maps...
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
Metadata CRC error detected at block 0x83e3f40/0x1000
bad directory block magic # 0xcafebabe in block 1 for directory inode 204698680
corrupt block 1 in directory inode 204698680
will junk block
- process newly discovered inodes...
Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
- check for inodes claiming duplicate blocks...
- agno = 0
- agno = 3
- agno = 1
- agno = 2
bad directory block magic # 0xcafebabe in block 1 for directory inode 204698680
corrupt block 1 in directory inode 204698680
will junk block
Phase 5 - rebuild AG headers and trees...
- reset superblock...
Phase 6 - check inode connectivity...
- resetting contents of realtime bitmap and summary inodes
- traversing filesystem ...
xfs_da_do_buf(2): XFS_CORRUPTION_ERROR
xfs_da_do_buf(2): XFS_CORRUPTION_ERROR
can't read data block 1 for directory inode 204698680 error 117
Metadata CRC error detected at block 0x83e3f48/0x1000
xfs_da_do_buf(2): XFS_CORRUPTION_ERROR
fatal error -- can't read block 8388608 for directory inode 204698680, error 117
NIsma nikada naišao na ovu gršeku. Koliko sam vidio na googlu, to je moguće posljedica toga što nisi pravilno gasio komp, a što se vidi i iz smart zapisa "Unexpect_Power_Loss_Ct 391". Ako ti se nitko ne javi, morat češ sam krenuti u detaljno googlanje i čitanje man strnaica od xfs_repair.
Također, počni čitati man stranice i ispis tih naredbi tako da razumiješ što se radi .Recimo, gore si pejstoa rezultat nakon što je prošlo vrijeme a nisi se evidentno uopće potrudio vidjeti jel rezultat došao a lijepo piše da još ima 40%. Što se samog outputa tiče,m djeluje dosta čudno da ne bih rekao problematično, ali bumo vidili kada ti dovrši test.
Također, počni čitati man stranice i ispis tih naredbi tako da razumiješ što se radi .Recimo, gore si pejstoa rezultat nakon što je prošlo vrijeme a nisi se evidentno uopće potrudio vidjeti jel rezultat došao a lijepo piše da još ima 40%. Što se samog outputa tiče,m djeluje dosta čudno da ne bih rekao problematično, ali bumo vidili kada ti dovrši test.
Es gibt keinen Gott, kein Universum, keine menschliche Rasse, kein irdisches Leben, keinen Himmel, keine Hölle. Es ist alles ein Traum - ein grotesker und dummer Traum. Nichts existiert außer dir. Und du bist nur ein Gedanke - ein vagabundierender Gedanke, ein nutzloser Gedanke, ein heimatloser Gedanke, der verloren in der leeren Ewigkeit wandelt!
19 post(ov)a
•
Stranica: 1/2. • 1, 2
Na mreži
Trenutno korisnika/ca: / i 7 gostiju.