xfs_db “Metadata CRC error” & xfs_repair “浮動小数点例外”
追記
xfs_repair “浮動小数点例外” は stretch にて解消
(repairしないとエラーによりマウント出来なくなった)
Debian jessie にて
目次
ソフトウェア構成
uname -a
Linux xxxxxxxx.xxxxxxxxxx.xxxxx 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linuxxfs_fsr -V
xfs_fsr version 3.2.1
xfs_repair -V
xfs_repair version 3.2.1
ハードウェア構成
xxxx@xxxxxx:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz stepping : 11 microcode : 0xba cpu MHz : 3000.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow vnmi flexpriority bogomips : 5999.76 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz stepping : 11 microcode : 0xba cpu MHz : 3000.000 cache size : 4096 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow vnmi flexpriority bogomips : 5999.76 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: root@sv001:~# lsb_release cpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 15 Model name: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz Stepping: 11 CPU MHz: 3000.000 CPU max MHz: 3000.0000 CPU min MHz: 2000.0000 BogoMIPS: 5999.76 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 4096K NUMA node0 CPU(s): 0,1 xxxx@xxxxxx:~# dmidecode # dmidecode 2.12 SMBIOS 2.4 present. 39 structures occupying 1201 bytes. Table at 0x000F0100. Handle 0x0000, DMI type 0, 24 bytes BIOS Information Vendor: Award Software International, Inc. Version: F13 Release Date: 06/19/2009 Address: 0xE0000 Runtime Size: 128 kB ROM Size: 1024 kB Characteristics: PCI is supported PNP is supported APM is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported EDD is supported 5.25"/360 kB floppy services are supported (int 13h) 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) CGA/mono video services are supported (int 10h) ACPI is supported USB legacy is supported LS-120 boot is supported ATAPI Zip drive boot is supported BIOS boot specification is supported Targeted content distribution is supported Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: Gigabyte Technology Co., Ltd. Product Name: P35-DS3R Version: Serial Number: UUID: 00000000-0000-0000-0000-001A4D47E9BE Wake-up Type: Power Switch SKU Number: Family: Handle 0x0002, DMI type 2, 8 bytes Base Board Information Manufacturer: Gigabyte Technology Co., Ltd. Product Name: P35-DS3R Version: x.x Serial Number: Handle 0x0003, DMI type 3, 17 bytes Chassis Information Manufacturer: Gigabyte Technology Co., Ltd. Type: Desktop Lock: Not Present Version: Serial Number: Asset Tag: Boot-up State: Unknown Power Supply State: Unknown Thermal State: Unknown Security Status: Unknown OEM Information: 0x00000000 Handle 0x0004, DMI type 4, 35 bytes Processor Information Socket Designation: Socket 775 Type: Central Processor Family: Other Manufacturer: Intel ID: FB 06 00 00 FF FB EB BF Signature: Type 0, Family 6, Model 15, Stepping 11 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instrucing SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop) HTT (Multi-threading) TM (Thermal monitor supported) PBE (Pending break enabled) Version: Intel(R) Core(TM)2 Duo CPU Voltage: 1.4 V External Clock: 333 MHz Max Speed: 4000 MHz Current Speed: 3000 MHz Status: Populated, Enabled Upgrade: Socket 478 L1 Cache Handle: 0x000A L2 Cache Handle: 0x000B L3 Cache Handle: Not Provided Serial Number: Asset Tag: Part Number: Handle 0x0005, DMI type 5, 24 bytes Memory Controller Information Error Detecting Method: 8-bit Parity Error Correcting Capabilities: None Supported Interleave: One-way Interleave Current Interleave: One-way Interleave Maximum Memory Module Size: 1024 MB Maximum Total Memory Size: 4096 MB Supported Speeds: Other Supported Memory Types: Other Memory Module Voltage: 5.0 V Associated Memory Slots: 4 0x0006 0x0007 0x0008 0x0009 Enabled Error Correcting Capabilities: None Handle 0x0006, DMI type 6, 12 bytes Memory Module Information Socket Designation: A0 Bank Connections: 1 Current Speed: Unknown Type: Unknown Installed Size: Not Installed Enabled Size: Not Installed Error Status: OK Handle 0x0007, DMI type 6, 12 bytes Memory Module Information Socket Designation: A1 Bank Connections: 2 Current Speed: Unknown Type: Other Installed Size: 1024 MB (Single-bank Connection) Enabled Size: 1024 MB (Single-bank Connection) Error Status: OK Handle 0x0008, DMI type 6, 12 bytes Memory Module Information Socket Designation: A2 Bank Connections: 3 Current Speed: Unknown Type: Other Installed Size: 1024 MB (Single-bank Connection) Enabled Size: 1024 MB (Single-bank Connection) Error Status: OK Handle 0x0009, DMI type 6, 12 bytes Memory Module Information Socket Designation: A3 Bank Connections: 4 Current Speed: Unknown Type: Other Installed Size: 1024 MB (Single-bank Connection) Enabled Size: 1024 MB (Single-bank Connection) Error Status: OK Handle 0x000A, DMI type 7, 19 bytes Cache Information Socket Designation: Internal Cache Configuration: Enabled, Not Socketed, Level 1 Operational Mode: Write Back Location: Internal Installed Size: 64 kB Maximum Size: 64 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Unknown System Type: Unknown Associativity: Unknown Handle 0x000B, DMI type 7, 19 bytes Cache Information Socket Designation: External Cache Configuration: Enabled, Not Socketed, Level 2 Operational Mode: Write Back Location: Internal Installed Size: 4096 kB Maximum Size: 2048 kB Supported SRAM Types: Synchronous Installed SRAM Type: Synchronous Speed: Unknown Error Correction Type: Unknown System Type: Unknown Associativity: Unknown Handle 0x000C, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: PRIMARY IDE Internal Connector Type: On Board IDE External Reference Designator: External Connector Type: None Port Type: Other Handle 0x000D, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: SECONDARY IDE Internal Connector Type: On Board IDE External Reference Designator: External Connector Type: None Port Type: Other Handle 0x000E, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: FDD Internal Connector Type: On Board Floppy External Reference Designator: External Connector Type: None Port Type: 8251 FIFO Compatible Handle 0x000F, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: COM1 Internal Connector Type: 9 Pin Dual Inline (pin 10 cut) External Reference Designator: External Connector Type: DB-9 male Port Type: Serial Port 16450 Compatible Handle 0x0010, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: COM2 Internal Connector Type: 9 Pin Dual Inline (pin 10 cut) External Reference Designator: External Connector Type: DB-9 male Port Type: Serial Port 16450 Compatible Handle 0x0011, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: LPT1 Internal Connector Type: DB-25 female External Reference Designator: External Connector Type: DB-25 female Port Type: Parallel Port ECP/EPP Handle 0x0012, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: Keyboard Internal Connector Type: Other External Reference Designator: External Connector Type: PS/2 Port Type: Keyboard Port Handle 0x0013, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: PS/2 Mouse Internal Connector Type: PS/2 External Reference Designator: No Detected External Connector Type: PS/2 Port Type: Mouse Port Handle 0x0014, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: USB Internal Connector Type: None External Reference Designator: External Connector Type: Access Bus (USB) Port Type: USB Handle 0x0015, DMI type 8, 9 bytes Port Connector Information Internal Reference Designator: USB Internal Connector Type: None External Reference Designator: External Connector Type: Access Bus (USB) Port Type: USB Handle 0x0016, DMI type 9, 13 bytes System Slot Information Designation: PCI Type: 32-bit PCI Current Usage: Available Length: Long ID: 0 Characteristics: 5.0 V is provided 3.3 V is provided PME signal is supported SMBus signal is supported Handle 0x0017, DMI type 9, 13 bytes System Slot Information Designation: PCI Type: 32-bit PCI Current Usage: Available Length: Long ID: 1 Characteristics: 5.0 V is provided 3.3 V is provided PME signal is supported SMBus signal is supported Handle 0x0018, DMI type 9, 13 bytes System Slot Information Designation: PCI Type: 32-bit PCI Current Usage: Available Length: Long ID: 2 Characteristics: 5.0 V is provided 3.3 V is provided PME signal is supported SMBus signal is supported Handle 0x0019, DMI type 9, 13 bytes System Slot Information Designation: PCI Type: 32-bit PCI Current Usage: Available Length: Long ID: 0 Characteristics: 5.0 V is provided 3.3 V is provided PME signal is supported SMBus signal is supported Handle 0x001A, DMI type 13, 22 bytes BIOS Language Information Language Description Format: Long Installable Languages: 3 n|US|iso8859-1 n|US|iso8859-1 r|CA|iso8859-1 Currently Installed Language: n|US|iso8859-1 Handle 0x001B, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 4 GB Error Information Handle: Not Provided Number Of Devices: 4 Handle 0x001C, DMI type 17, 27 bytes Memory Device Array Handle: 0x001B Error Information Handle: Not Provided Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: DIMM Set: None Locator: A0 Bank Locator: Bank0/1 Type: Unknown Type Detail: None Speed: Unknown Manufacturer: Serial Number: Asset Tag: Part Number: Handle 0x001D, DMI type 17, 27 bytes Memory Device Array Handle: 0x001B Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: A1 Bank Locator: Bank2/3 Type: Unknown Type Detail: None Speed: 800 MHz Manufacturer: Serial Number: Asset Tag: Part Number: Handle 0x001E, DMI type 17, 27 bytes Memory Device Array Handle: 0x001B Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: A2 Bank Locator: Bank4/5 Type: Unknown Type Detail: None Speed: 800 MHz Manufacturer: Serial Number: Asset Tag: Part Number: Handle 0x001F, DMI type 17, 27 bytes Memory Device Array Handle: 0x001B Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: A3 Bank Locator: Bank6/7 Type: Unknown Type Detail: None Speed: 800 MHz Manufacturer: Serial Number: Asset Tag: Part Number: Handle 0x0020, DMI type 19, 15 bytes Memory Array Mapped Address Starting Address: 0x00000000000 Ending Address: 0x000BFFFFFFF Range Size: 3 GB Physical Array Handle: 0x001B Partition Width: 1 Handle 0x0021, DMI type 20, 19 bytes Memory Device Mapped Address Starting Address: 0x00000000000 Ending Address: 0x000000003FF Range Size: 1 kB Physical Device Handle: 0x001C Memory Array Mapped Address Handle: 0x0020 Partition Row Position: 1 Handle 0x0022, DMI type 20, 19 bytes Memory Device Mapped Address Starting Address: 0x00000000000 Ending Address: 0x0003FFFFFFF Range Size: 1 GB Physical Device Handle: 0x001D Memory Array Mapped Address Handle: 0x0020 Partition Row Position: 1 Handle 0x0023, DMI type 20, 19 bytes Memory Device Mapped Address Starting Address: 0x00040000000 Ending Address: 0x0007FFFFFFF Range Size: 1 GB Physical Device Handle: 0x001E Memory Array Mapped Address Handle: 0x0020 Partition Row Position: 1 Handle 0x0024, DMI type 20, 19 bytes Memory Device Mapped Address Starting Address: 0x00080000000 Ending Address: 0x000BFFFFFFF Range Size: 1 GB Physical Device Handle: 0x001F Memory Array Mapped Address Handle: 0x0020 Partition Row Position: 1 Handle 0x0025, DMI type 32, 11 bytes System Boot Information Status: No errors detected Handle 0x0026, DMI type 127, 4 bytes End Of Table
xfs_db
xxxx@xxxxxx:~# xfs_db -c frag -r /dev/mapper/vg1-home Metadata CRC error detected at block 0x22000002/0x200 Metadata CRC error detected at block 0x22080002/0x200 Metadata CRC error detected at block 0x22100002/0x200 (中略) Metadata CRC error detected at block 0x26980002/0x200 Metadata CRC error detected at block 0x26a00002/0x200 Metadata CRC errted at block 0x26a80002/0x200 Metadata CRC error detected at block 0x26b00002/0x200 Metadata CRC error detected at block 0x26b80002/0x200 (中略) Metadata CRC error detected at block 0x3d300002/0x200 Metadata CRC error detected at block 0x3d380002/0x200 actual 231619, ideal 228169, fragmentation factor 1.49%
xfs_repair -n
xxxx@xxxxxx:~# xfs_repair -n /dev/mapper/vg1-home Phase 1 - find and verify superblock... - reporting progress in intervals of 15 minutes Phase 2 - using internal log - scan filesystem freespace and inode maps... - 17:21:59: scanning filesystem freespace - 1960 of 1960 allocation groups done - found root inode chunk Phase 3 - for each AG... - scan (but don't clear) agi unlinked lists... - 17:21:59: scanning agi unlinked lists - 1960 of 1960 allocation groups done - process known inodes and perform inode discovery... - agno = 0 - agno = 960 - agno = 720 - agno = 1920 - agno = 480 - agno = 1440 - agno = 1680 (中略) - agno = 1436 - agno = 1437 - agno = 1438 - agno = 1439 - 17:22:41: process known inodes and inode discovery - 295296 of 295296 inodes done - process newly discovered inodes... - 17:22:41: process newly discovered inodes - 1960 of 1960 allocation groups done Phase 4 - check for duplicate blocks... - setting up duplicate extent list... - 17:22:41: setting up duplicate extent list - 1960 of 1960 allocation groups done - check for inodes claiming duplicate blocks... - agno = 0 - agno = 1 - agno = 2 - agno = 3 - agno = 4 - agno = 5 (中略) - agno = 1953 - agno = 1954 - agno = 1955 - agno = 1956 - agno = 1957 - agno = 1958 - agno = 1959 - 17:22:45: check for inodes claiming duplicate blocks - 295296 of 295296 inodes done No modify flag set, skipping phase 5 Phase 6 - check inode connectivity... - traversing filesystem ... - traversal finished ... - moving disconnected inodes to lost+found ... Phase 7 - verify link counts... No modify flag set, skipping filesystem flush and exiting.
xfs_repair
xxxx@xxxxxx:~# xfs_repair /dev/mapper/vg1-home Phase 1 - find and verify superblock... - reporting progress in intervals of 15 minutes Phase 2 - using internal log - zero log... - scan filesystem freespace and inode maps... - 17:23:51: scanning filesystem freespace - 1960 of 1960 allocation groups done - found root inode chunk Phase 3 - for each AG... - scan and clear agi unlinked lists... - 17:23:51: scanning agi unlinked lists - 1960 of 1960 allocation groups done - process known inodes and perform inode discovery... - agno = 1680 - agno = 1200 - agno = 960 - agno = 720 (中略) - agno = 236 - agno = 1439 - agno = 237 - agno = 238 - agno = 239 - 17:24:33: process known inodes and inode discovery - 295296 of 295296 inodes done - process newly discovered inodes... - 17:24:33: process newly discovered inodes - 1960 of 1960 allocation groups done Phase 4 - check for duplicate blocks... - setting up duplicate extent list... - 17:24:33: setting up duplicate extent list - 1960 of 1960 allocation groups done - check for inodes claiming duplicate blocks... - agno = 0 - agno = 1 - agno = 2 - agno = 3 - agno = 4 - agno = 5 (中略) - agno = 1954 - agno = 1955 - agno = 1956 - agno = 1957 - agno = 1958 - agno = 1959 - 17:24:37: check for inodes claiming duplicate blocks - 295296 of 295296 inodes done Phase 5 - rebuild AG headers and trees... 浮動小数点例外
xfs_repair -L
xxxx@xxxxxx:~# xfs_repair -L /dev/mapper/vg1-home-/dev/mapper/vg1-homeL/dev/mapper/vg1-home /dev/mapper/vg1-home Phase 1 - find and verify superblock... - reporting progress in intervals of 15 minutes Phase 2 - using internal log - zero log... - scan filesystem freespace and inode maps... - 17:25:51: scanning filesystem freespace - 1960 of 1960 allocation groups done - found root inode chunk Phase 3 - for each AG... - scan and clear agi unlinked lists... - 17:25:51: scanning agi unlinked lists - 1960 of 1960 allocation groups done - process known inodes and perform inode discovery... - agno = 720 - agno = 0 - agno = 1680 - agno = 1920 - agno = 1200 - agno = 480 (中略) - agno = 1432 - agno = 1433 - agno = 1434 - agno = 1435 - agno = 1436 - agno = - agno = 1438 - agno = 1439 - 17:26:33: process known inodes and inode discovery - 295296 of 295296 inodes done - process newly discovered inodes... - 17:26:33: process newly discovered inodes - 1960 of 1960 allocation groups done Phase 4 - check for duplicate blocks... - setting up duplicate extent list... - 17:26:33: setting up duplicate extent list - 1960 of 1960 allocation groups done - check for inodes claiming duplicate blocks... - agno = 0 - agno = 1 - agno = 2 - agno = 3 - agno = 4 - agno = 5 (中略) - agno = 1910 - agno = 1911 - agno = 1912 - agno = 1913 - agno = 1914 - agno = 1915[389539.084199] traps: xfs_repair[700] trap divide error ip:417fef sp:7fff9d205070 error:0 - agno in xfs_repair[400000+7a000]= 1916 - agno = 1917 - agno = 1918 - agno = 1919 - agno = 1920 - agno = 1921 - agno = 1922 (中略) - agno = 1955 - agno = 1956 - agno = 1957 - agno = 1958 - agno = 1959 - 17:26:37: check for inodes claiming duplicate blocks - 295296 of 295296 inodes done Phase 5 - rebuild AG headers and trees... 浮動小数点例外
Ummm 🙁
- 2017年11月23日 - yuya
- Crayon Syntax Highlighter → Enlighter
コメント
xfs_db “Metadata CRC error” & xfs_repair “浮動小数点例外” — コメントはまだありません
HTML tags allowed in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>