Questions tagged [corruption]

Corruption is a state of a file, a filesystem, etc. where all its data and metadata are not consistent. This tag may be used to reference questions dealing with problems of data recovery after erroneous manipulations or unexpected shutdown.

Filter by
Sorted by
Tagged with
1
vote
0answers
17 views

My external HD corrupted after forced reboot

After update kernel, I forced reboot and canceling jobs what running in shutdown. The external hard drive is corrupted and does not display in /dev. Relevant information in log: [sda] 0 512-byte ...
0
votes
0answers
28 views

Cannot recognize an old external usb harddrive

I want to check the content of an old external harddrive and probably delete it all (and maybe overwrite it) before throwing it away. Maybe it's not even worth checking the content and just straight ...
0
votes
0answers
22 views

Linux Mint sees Windows but update-grub won't update - possible corruption

On dual boot machine, I suddenly could not boot into windows 10 and grub loader no longer was loading. I reinstalled Linux Mint 19.3 Tricia. Now I'm trying to add Windows to grub, which is on sda1. ...
0
votes
0answers
17 views

ddrescue with gap + combine gapped images to one

Followup to ddrescue generate mapfile on partial image after cat --generate-mode Did various attempt with ddrescue. For example: ddrescue --no-scrape --sector-size=512 --input-position=900GiB /dev/...
2
votes
1answer
36 views

ddrescue generate mapfile on partial image after cat --generate-mode

Having a HDD of 1TB (931.5G). I did: sudo sh -c 'cat /dev/sdf >disk_1t.img' But it stopped with read error at 908G. Thought next step, (should have been first), is to use gnu ddrescue. Problem is ...
0
votes
0answers
66 views

Arch Linux display Xorg not function at all, but Wayland does (very poorly). Corrupted Xorg files from mirror?

Hello fellow Linux users, I recently purchased an old laptop and decided to try Arch Linux. I bought it to see just how well Arch is for a system and also due to the fact of my main PC's HDD is giving ...
0
votes
1answer
57 views

dd command ruining files [closed]

I recently was trying to flash from an IMG file with dd, and it took a lot shorter than normal, and when I checked the drive, it had names like \u2584\u00bc\u2591+\u03c6\u256bv\u2559.| I don't know ...
1
vote
1answer
28 views

Modify the data type from .tar file and how to recover a corrupted one

Like the original question bellow, I need to recover a corrupted tar file. But after run: file file.tgz I got this return: file.tgz: data My question is about this return above and how to change ...
0
votes
1answer
23 views

Should I check for filesystem corruption?

I have a Linux Mint laptop with a faulty charger and bad battery life, and sometimes it abruptly turns off without shutting down. I haven't noticed anything different, but should I check for ...
0
votes
1answer
53 views

Mounting parts of root filesystem read-only

I have an embedded device that I want to harden against data corruption due to unexpected power outages. It is a vanilla Ubuntu 20.04 LTS build with an app in a docker container on top, and I have ...
1
vote
1answer
60 views

Rebuilding directory tree (and/or inodes)

Problem My Armbian based Orange Pi webserver crashed (probably because of a power loss). I thought it would be fine since ext4 is more resilient and it usually has been in the past, but for some ...
0
votes
0answers
57 views

XFS and zero bytes files

I am trying to establish what has happened to my data. Before I go into the history, can anyone explan the discrepency between these two outputs; # du --si /var/media/footage/k0/09/99/88 1.6G /var/...
2
votes
0answers
23 views

Restoring data from corrupt btrfs RAID 1

I had a BTRFS RAID 1 array that I was storing my data. I had accidently reformatted as an RAID 1 using MDADM, before I noticed my error unmounted everything. Now my tree seems to be corrupted, I'm ...
11
votes
1answer
1k views

Is it safe to boot computer that lost power while suspending to disk?

I have computer with battery power supply that allows running the computer for approximately one minute after power loss. I want to trigger suspend-to-disk immediately after power loss so it can be ...
0
votes
2answers
87 views

Ext4-fs error dm-3

I tried to re-mount a LVM: mount /dev/vg1/lv1 /home buty I got this message: [409104.164857] EXT4-fs (dm-3): VFS: Can't find ext4 filesystem [409104.165223] EXT4-fs (dm-3): VFS: Can't find ext4 ...
0
votes
0answers
262 views

Recover unmountable btrfs (not just recover data)

as far as I recall the system was doing sone heavy io on a btrfs partition, and I pulled the power. Next time the partition is unmountable at all, also in readonly mode. I recovered important data by ...
0
votes
1answer
157 views

exFAT Refusing to mount - The primary GPT table is corrupt

I am trying to mount a 4TB exFAT HD on my Manjaro Linux 5.9.11 system. It refuses to mount using the default kernel drivers: mount: /home/user/Ark: wrong fs type, bad option, bad superblock on /dev/...
2
votes
0answers
372 views

BTRFS critical (device sda): corrupt leaf after mounting on Windows with WSL2

My question is as to the correct steps to attempt a fix of my BTRFS system, the possible cause and the place to report the problem. The Story I was playing around with the new Windows Insider Build ...
1
vote
0answers
253 views

Corrupted Linux partition after move+resize job, no backup. Any advice?

TLDR: I stupidly corrupted part of my partition table after a move+resize job. I don't have a backup for the table or the data. What would you recommend to restore the partition table? I'm ready to ...
1
vote
1answer
342 views

How does btrfs prevent data corruption without journaling?

According to this page, filesystems like ext4 have journaling for both blocks and metadata, and it's used to prevent data corruption: A journaling file system is a file system that keeps track of ...
0
votes
0answers
314 views

how to fix input/output error by moved file in usb

My friend ask me to try his usb. He says that his laptop can read the file (he use Windows). Then, I try to run the usb through Ubuntu (I have dualboot: Windows 8.1 and Ubuntu). Everything seem fine. ...
0
votes
0answers
27 views

USB Flash Disk reverts its change

I try to format my USB flash disk, but nothing works. I use GParted and after any change, it reverts this change back. For example: I rename label, apply changes, it alerts that it's completed, but ...
0
votes
0answers
187 views

Delete corrupted apfs volume when diskutil fails

I'm trying to delete an apfs volume on my MacBook but Disk Utility keeps giving the error "The chosen size is not valid for the chosen file system." I then tried booting into recovery and ...
0
votes
0answers
52 views

ZIP file not opening (corrupted)

I have been tasked with fixing a corrupted zipfile - the clue I have been given is to change its file header. I looked at the hex bytes using gHex and changed 50 4B 05 06 to 50 4B 03 04 but it's still ...
0
votes
1answer
214 views

I corrupted a linux luks partition and get initramfs at startup with no error msg

I have searched for like 10+ hours for this issue and have not found a fix so here I am :/ Long story short I corrupted my main linux boot drive (which has luks encryption) by downsizing it on a live ...
0
votes
1answer
799 views

How to fix ext4_free_inode corrupt filesystem?

I got a RPi4 with an external hard drive, it had a kernel panic ---[ end Kernel panic - not syncing: Attempted to kill init! I pulled the plug on it and on restart I'm getting a bunch of filesystem ...
0
votes
0answers
95 views

Faster way to find corrupt files on Linux

I need a rapid method to list corrupted files on my HDD. So far I tries these commands in a 6.7GiB folder before doing this on the root of the data filesystem : $ time $(which grep) -a -r . ./ 2>&...
0
votes
1answer
379 views

BAD signature when installing specific package with apk after forced poweroff

Earlier I was playing around with my PinePhone running postmarketOS Edge (based on Alpine Linux Edge) and while installing gcc-go using apk via the command sudo apk add gcc-go the phone froze. As such,...
0
votes
1answer
102 views

Need help restoring a corrupted folder

I have a mechanical hard drive that I was trying to access files on. I bought a cheap SATA to USB adapter. Said adapter was underpowered, and I could hear the platter revving up and down. I made the ...
0
votes
0answers
95 views

LM 20 Win 10 dual boot going read-only and corrupting filesystem

I've been having trouble with my dual boot (win 10/LM20) install that are just driving me crazy. Here's a summary of the diagnosis I've made so far Install windows 10 making a partition for Linux ...
1
vote
0answers
636 views

Btrfs, checksum corruption

I have Btrfs setup on 3 disks with metadata and data in RAID1. But now I have a checksum error which it cannot recover. The checksum is the same on both copies and only differs from the expected ...
0
votes
1answer
32 views

Check installed packages + check effective deployement of packages [to detect problems caused by memory corruption]

My computer has a flawed memory stick for two years and I can't correct this (sticks aren't removable and computer cannot be changed : so it won't be the subject). Sometimes a content is corrupted ...
2
votes
1answer
160 views

Corrupt BIOS hw-PMU resources CentOS 7 Hp Proliant 310 but boots successfully

I just installed CentOS 7 on my HP Proliant 310 Gen8 Server. Everything looks fine, except the line of corrupt BIOS when CentOS is booting [Firmware Bug] The BIOS has corrupted hw-PMU resources (MSR ...
1
vote
1answer
76 views

Can a file disappear from an ext4 partition if an application was using it?

A Passwords file was in use by KeePassXC. After restart, file is gone. Normal operation is: File is open and when system gets rebooted, it closes it safely (so far). Keepassxc always always autosaves. ...
1
vote
0answers
80 views

Corrupted LUKS2 /home partition

My /dev/sdc drive got corrupted by a dual boot windows missclick. I must have corrupted the partition table as far as I know. As most fora suggest I used testdisk to analyse and rewrite the GPT and It ...
0
votes
0answers
39 views

Get data from corrupt lz4 tar archive

I have a tar, that somehow got corrupt. I very much need some certs and config files I backed up using said file. Problem is, there's a corrupt folder in the archive and tar bails after hitting it. Is ...
3
votes
0answers
1k views

How dangerous is "Free blocks count wrong"?

I ran fsck in read-only mode and got some errors like this : Free blocks count wrong (5597728, counted=5231480). Fix? no As stated here : Free Block Checks Free blocks are stored in the cylinder ...
1
vote
1answer
435 views

Are there benefits in using Btrfs in a non-RAID setup compared to conventional filesystems?

Some installation guides recommend using Btrfs for a single root-partition in a non-RAID setup. Are there any advantages in using Btrfs instead of conventional filesystems (Ext4 / XFS) on a single ...
0
votes
1answer
76 views

Delete (corrupted?) directory?

I have an Ubuntu 16.04 with a cephfs mount shared with another 2 Ubuntus. There is a folder inside the cephfs mount that won't answer to any command (ls, cd, rm, du...). So I guess it's corrupted or ...
4
votes
1answer
167 views

Failed to move a 7z Archive, now it can’t be read, but there is a fragment left in the original location named .part

I was trying to move my old 7z archive from an older ext4 partition to my current one, but in the process it randomly seems to have cancelled. Not only does the new location possess an incomplete ...
1
vote
1answer
55 views

How to repair Corrupted jpeg file that still get their thumbail done correctly?

I've got a bunch of photos that were on an SD card. Most of them are corrupted now, I cannot open them in any program (Gwenview, Gimp, on windows too...) But every file browser still can correctly ...
-1
votes
1answer
44 views

Is there an attitude to avoid piping downloaded data sent to stdout?

Please consider the following command: wget FILE -O - | tar -xzv -C DESTINATION I understood from programmer who reviewed a Bash code I created that it is better to separate tar from wget to prevent ...
0
votes
0answers
30 views

How to mount two devices(flashdrive) to different mount points?

I have two flash drives(/dev/sda1 and /dev/sdb1). /dev/sda1 is mounted on /mnt/RedFlashDrive while /dev/sdb1 is mounted on /mnt/TorrentDrive. When I use the command "ls /mnt" I got an error: ls: ...
1
vote
0answers
860 views

rhel + Metadata corruption detected at xfs

due of linux electricity failure , our server crashed and reboot now server is up but we see the following messages from dmesg is it mean that OS damaged ? [33505.670070] XFS (dm-2): Unmount and ...
3
votes
2answers
1k views

how can I slow down pasting text into a serial terminal?

I'm working on a raspberry pi, and trying to paste some text files into a command-line text editor nano... but the text ends up corrupted on the remote end (partial/incomplete text). I can only guess ...
1
vote
1answer
55 views

What happens if a file is renamed during a copy operation using cp on linux?

So I want to use... cp /var/log/somelogs/* ./temp ... to copy some log files to a temporary folder and analyse them. The problem is that the process generating the log files isn't under my control ...
1
vote
2answers
156 views

FreeBSD does not boot after power loss/upgrade/ever? (ntpd issue...)

(Edit: leaving the original question for background; skip down to below the divider if you aren't interested.) My residence recently experienced a power outage. Unfortunately, as I was out at the ...
3
votes
2answers
10k views

"Either the superblock or the partition table is likely to be corrupt!" after partition resized

I used KDE's partition manager tool from the Manjaro live CD to shrink my existing Linux Mint partition and create another one to install Manjaro. This went fine, however, it looks like my Linux Mint ...
1
vote
1answer
49 views

Corrupted external 500GB WD drive just won't mount - repairable? [closed]

I have a corrupted USB HDD which crashes my Windows 10, if I try and open the drive in explorer. I believe I might be able to save it with linux and I tried this: Repairing with ntfsfix and this: ...
4
votes
2answers
483 views

File Corruption between 2 HDD

I have a NAS running Ubuntu 16.04 LTS server i386 (kernel 4.4.211-0404211-generic). I use it with samba to share movies and music through my home network. I've tried to copy ~ 100 Go of data from an ...