My failing HDD situation

Hello Garuda!

I AM A GARUDA USER but with problems, please help me, so I return safely! SOS

Don't read this if you don't care:
=start of story

Since last winter I was having Hard Freezes. I switched to Garuda Linux from Windows. I was having hard freezing during kernel updates, destroying the system. I fresh installed Garuda 14 times (got very good at recovering everything), different flavors (I hope Wayfire evolves), now I was trying another distro, still the same problem. Changed every piece of my PC except Hard Drives, enhanced cooling, everything.

I was going to call an exorcist. But a guy told me to do the "S.M.A.R.T" thing.

=end of story=

My most important HDD with all the project files I have,

Now, problem is, I was trying to evacuate everything with this type of command:
cp -Rfpv "/media/kitwar/DISK3/$1" "/home/kitwar/Documents/Alert/SMBH/DISK3/$1" 2> "/home/kitwar/Documents/Alert/$1.log"

It hard freezes the PC in the process.
Most important folders, I did recover, with some corrupted files.

WHAT I NEED and can't find online...

A way to copy files from the fire, without mounting it because it hard freezes the system, to this 500gb HDD I have (with system on it), with logs on corrupted files.

Tutorials talk about cloning to a fresh drive. I don't have a fresh bigger drive, I have this 500 one with system on it. I need to copy to a folder inside it.

And I really want logs of corrupted files so I can check for a working version on cloud (last sync a few months ago, why is MEGA so hard on Linux).

PLEASE Garuda users are the only friends I have on Linux.

inxi -Faz?


I am on Elementary OS right now because I thought maybe Garuda was incompatible with my setup or something, before realizing the failing HDD. I hate it, help me get back. Does inxi -Faz matter in this case?

Sure :slight_smile: :slight_smile:

you could use to make a bootable usb drive and make a copy of your HD to and image on your 500gb storage drive. you can do a restore into a virtual machine or to an external drive and do recovery option.

sucks but backups are your friend. I did a backup and reloading my system after crashing my box. turns out my backups were not as complete as I thought.

1 Like

I can not free up this 500gb HDD, I would prefer to copy to a folder inside it. But if there's no other way I will.

inxi -Faz

  Kernel: 5.11.0-27-generic x86_64 bits: 64 
  compiler: N/A 
  parameters: BOOT_IMAGE=/vmlinuz-5.11.0-27-generic 
  root=/dev/mapper/data-root ro quiet splash 
  Desktop: Pantheon info: plank wm: gala 
  dm: LightDM 1.30.0 Distro: elementary OS 6 Odin 
  Type: Desktop Mobo: Gigabyte model: GA-MA770T-UD3 
  serial: <filter> BIOS: Award v: F10 
  date: 03/22/2011 
  Topology: Dual Core model: AMD Athlon II X2 B26 
  bits: 64 type: MCP arch: K10 family: 10 (16) 
  model-id: 6 stepping: 3 microcode: 10000C8 
  L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 sse4a svm 
  bogomips: 12857 
  Speed: 1900 MHz min/max: 800/3200 MHz 
  Core speeds (MHz): 1: 1900 2: 2500 
  Vulnerabilities: Type: itlb_multihit 
  status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass status: Not affected 
  Type: spectre_v1 mitigation: usercopy/swapgs 
  barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, 
  STIBP: disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
  Device-1: NVIDIA GF119 [GeForce GT 610] 
  vendor: CardExpert Gainward driver: nouveau 
  v: kernel bus ID: 01:00.0 chip ID: 10de:104a 
  Display: x11 server: X.Org 1.20.11 
  driver: modesetting unloaded: fbdev,vesa 
  resolution: 1440x900~60Hz 
  OpenGL: renderer: NVD9 v: 4.3 Mesa 21.0.3 
  direct render: Yes 
  Device-1: AMD SBx00 Azalia vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 00:14.2 
  chip ID: 1002:4383 
  Device-2: NVIDIA GF119 HDMI Audio 
  vendor: CardExpert Gainward GeForce GT 610 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  chip ID: 10de:0e08 
  Sound Server: ALSA v: k5.11.0-27-generic 
  Device-1: Qualcomm Atheros AR9287 Wireless Network 
  driver: ath9k v: kernel port: ef00 bus ID: 02:00.0 
  chip ID: 168c:002e 
  IF: wlp2s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express 
  Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel 
  port: ce00 bus ID: 03:00.0 chip ID: 10ec:8168 
  IF: enp3s0 state: up speed: 100 Mbps duplex: full 
  mac: <filter> 
  Local Storage: total: 862.10 GiB 
  used: 657.21 GiB (76.2%) 
  SMART Message: Required tool smartctl not 
  installed. Check --recommends 
  ID-1: /dev/sda vendor: Seagate model: ST3160215ACE 
  size: 149.05 GiB block size: physical: 512 B 
  logical: 512 B speed: <unknown> serial: <filter> 
  rev: A scheme: GPT 
  ID-2: /dev/sdb vendor: Western Digital 
  model: WD2500AAJS-75M0A0 size: 232.83 GiB 
  block size: physical: 512 B logical: 512 B 
  speed: <unknown> serial: <filter> rev: 3E02 
  scheme: MBR 
  ID-3: /dev/sdc vendor: Seagate 
  model: ST500DM002-1BD142 size: 465.76 GiB 
  block size: physical: 4096 B logical: 512 B 
  speed: <unknown> rotation: 7200 rpm 
  serial: <filter> rev: KC66 scheme: MBR 
  ID-4: /dev/sdd type: USB model: USB DISK 2.0 
  size: 14.46 GiB block size: physical: 512 B 
  logical: 512 B serial: <filter> rev: PMAP 
  scheme: MBR 
  ID-1: / raw size: 461.21 GiB 
  size: 452.97 GiB (98.21%) used: 354.17 GiB (78.2%) 
  fs: ext4 dev: /dev/dm-0 
  ID-2: /boot raw size: 751.4 MiB 
  size: 723.6 MiB (96.30%) used: 220.1 MiB (30.4%) 
  fs: ext4 dev: /dev/sdc1 
  ID-3: swap-1 size: 3.81 GiB used: 0 KiB (0.0%) 
  fs: swap swappiness: 60 (default) 
  cache pressure: 100 (default) dev: /dev/dm-2 
  System Temperatures: cpu: 0.0 C mobo: N/A 
  gpu: nouveau temp: 69 C 
  Fan Speeds (RPM): N/A 
  Processes: 305 Uptime: 4h 03m Memory: 11.70 GiB 
  used: 4.44 GiB (38.0%) Init: systemd v: 245 
  runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 
  Shell: bash v: 5.0.17 running in: io.elementary.t 
  inxi: 3.0.38 

It feels so dirty using other distro.

How crucial is your data?

I know what you mean, but I can not afford that payment right now. (girlfriend 150km away that I have to travel to as often as possible)

So, only solution is to free up this 500 one and use Clonezilla?

No way to copy to a folder without mounting?

basically anytime you access data your "mount" the drive. Anything you have that disk on and spinning the more potential damage is occurring.
S.M.A.R.T. is just a way to check the disk health. Most times you need to enable it in the computer bios.

I used to do a lot of data recovery, making an entire image of the drive is usually the fastest way to backup that day. then once its off the bad drive, pull it from your system to keep it from getting more damaged. You want to recover your files once its off the bad media.


I perfectly understand but what I was looking for is a way to copy everything inside it to a safe folder with logs of what corrupted files are found.

I would even compromise safety of the files there for this. Copying doesn't work because it freezes the system. So..... I figured you guys might know another way.

We are giving you the answers it would seem you are not listening?#
If the data is that important then as suggested that is what you need to do?


Oh. Apologies. I thought I wasn't understood. So clonezilla would do this? Make the the partition image in a folder and then I figure out what I do what that partition image.


you could use the "dd" command but if your hard drive is failing you may not get your data, plus dd does not have an indicator of what was going on besides doing a "watch -n0 du ." in the dir you are making the copy in.

dd if=/dev/{your drive} of=/mnt/{some where with space}.img


From inside the "ALERT" folder, I used:

rsync -avxHAWX --numeric-ids --info=progress2 log-file=./io_errors.log --ignore-errors "/media/USER/PARTITION" "/home/USER/Documents/Alert/PARTITION"

to get everything out successfully. If it hard freezes it picks up where it left the progress. Yes it might have corrupted a few more files meanwhile but I'm running it with bad blocks since winter, so, whatever. About 3 pictures in a folder of 1000 pictures are corrupted. 4 videos out of hundreds.

I wanted a way to get files out, TO A FOLDER, with logs. Done. Not to clone the drive to another HDD, not to make an image of the drive, just to copy everything to a folder with logs.

I would have liked a way to do it without mounting the drive so it wouldn't hard freeze or corrupt more but I couldn't find an easy way.

I think @willb0t 's answer with dd if=/dev/{your drive} of=/mnt/{some where with space}.img might have been an easy and better solution too but I don't know what to do with the .img file. Maybe it's easy, for future readers.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.