Gparted doesn't load HDDs

Hello,

I am facing an issue with Gparted currently. When I start it, it just shows loading, but will never finish.
After killing the process and starting via terminal it shows:

Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
Unit \xe2\x97\x8f.service does not exist, proceeding anyway.
GParted 1.1.0
configuration --enable-libparted-dmraid --enable-online-resize
libparted 3.3

And then stucks

A little background:
I am currently playing with a lot of distributons to decide which one I would like to use instead of Windows. I have installed Manjaro, EndeavorOS, Ubuntu and Debian on 2 partitions over and over, to play with them.
I concluded with Manjaro and Debian for a longer test and because they seemed to be the most promising ones. But because I “deleted” my first Manjaro install for Ubuntu I needed to reinstall it.

in the old install Gparted worked totally fine, but in the new install it doesn’t. I am basically on a fresh install, besides the system update, so I have no idea, why this is happening.

I would appreciate a heads up where to look.

Thx

1 Like

:+1: Welcome to Manjaro! :+1:

Please read this:

and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

  1. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)

  2. The output to sudo parted --list and sudo blkid would be appreciated as well.

  3. Would a complete nuke initialisation of your entire HDD be an option as a solution?

:+1:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU you have, …

Dear Fabby,

thank you for your feedback.

1.First of all the output of inxi

`   ~  inxi --full --verbosity=7 --filter --no-host`   
    System:
      Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
      Desktop: GNOME 3.38.3 tk: GTK 3.24.24 wm: gnome-shell dm: GDM 3.38.2.1 
      Distro: Manjaro Linux 
    Machine:
      Type: Desktop Mobo: ASUSTeK model: P7H55D-M EVO v: Rev 1.xx 
      serial: <filter> BIOS: American Megatrends v: 1604 date: 07/22/2010 
    Memory:
      RAM: total: 11.66 GiB used: 1.79 GiB (15.3%) 
      RAM Report: 
      permissions: Unable to run dmidecode. Root privileges required. 
    CPU:
      Info: Quad Core model: Intel Core i5 750 bits: 64 type: MCP arch: Nehalem 
      rev: 5 L2 cache: 8 MiB bogomips: 21352 
      Speed: 1201 MHz min/max: 1200/2668 MHz boost: enabled Core speeds (MHz): 
      1: 1201 2: 1201 3: 1201 4: 1201 
      Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc 
      cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts ept est flexpriority flush_l1d 
      fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce mmx monitor msr mtrr 
      nonstop_tsc nopl nx pae pat pbe pdcm pebs pge pni popcnt pse pse36 pti 
      rdtscp rep_good sep smx ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm 
      tm2 tpr_shadow tsc vme vmx vnmi vpid xtopology xtpr 
    Graphics:
      Device-1: AMD Juniper XT [Radeon HD 5770] 
      vendor: Hightech Information System driver: radeon v: kernel 
      bus ID: 01:00.0 chip ID: 1002:68b8 
      Display: wayland server: X.org 1.20.10 compositor: gnome-shell driver: 
      loaded: radeon note: n/a (using device driver) - try sudo/root 
      resolution: <missing: xdpyinfo> 
      OpenGL: renderer: AMD JUNIPER (DRM 2.50.0 / 5.9.16-1-MANJARO LLVM 11.0.1) 
      v: 3.3 Mesa 20.3.3 compat-v: 3.1 direct render: Yes 
    Audio:
      Device-1: Intel 5 Series/3400 Series High Definition Audio vendor: ASUSTeK 
      driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:3b56 
      Device-2: AMD Juniper HDMI Audio [Radeon HD 5700 Series] 
      vendor: Hightech Information System driver: snd_hda_intel v: kernel 
      bus ID: 01:00.1 chip ID: 1002:aa58 
      Device-3: Logitech Webcam C210 type: USB driver: snd-usb-audio,uvcvideo 
      bus ID: 4-1.6.4:5 chip ID: 046d:0819 serial: <filter> 
      Sound Server: ALSA v: k5.9.16-1-MANJARO 
    Network:
      Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
      vendor: ASUSTeK M4A785/P7P55 driver: r8169 v: kernel port: d800 
      bus ID: 02:00.0 chip ID: 10ec:8168 
      IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
      IP v4: <filter> type: dynamic noprefixroute scope: global 
      broadcast: <filter> 
      IP v6: <filter> type: dynamic noprefixroute scope: global 
      IP v6: <filter> type: dynamic noprefixroute scope: global 
      IP v6: <filter> type: noprefixroute scope: link 
      WAN IP: <filter> 
    RAID:
      Message: No RAID data was found. 
    Drives:
      Local Storage: total: 5.51 TiB used: 18.79 GiB (0.3%) 
      ID-1: /dev/sda vendor: OCZ model: AGILITY3 size: 55.9 GiB speed: <unknown> 
      serial: <filter> rev: 2.22 
      ID-2: /dev/sdb vendor: Western Digital model: WD30EURS-63SPKY0 
      size: 2.73 TiB speed: <unknown> serial: <filter> rev: 0A80 
      ID-3: /dev/sdc vendor: Western Digital model: WD30EURS-63SPKY0 
      size: 2.73 TiB speed: 3.0 Gb/s serial: <filter> rev: 0A80 
      Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW TS-H663C rev: KG01 
      dev-links: cdrom 
      Features: speed: 52 multisession: yes audio: yes dvd: yes 
      rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
    Partition:
      ID-1: / size: 27.06 GiB used: 10.07 GiB (37.2%) fs: ext4 dev: /dev/sda1 
      label: N/A uuid: 184a6f06-8f32-4551-bc72-8960adacb656 
      ID-2: /mnt/debian size: 27.71 GiB used: 8.72 GiB (31.5%) fs: ext4 
      dev: /dev/sda2 label: debian uuid: 22794076-904c-4875-8a34-a50cfbe28931 
    Swap:
      ID-1: swap-1 type: partition size: 29.56 GiB used: 0 KiB (0.0%) 
      priority: -2 dev: /dev/sdb2 label: N/A 
      uuid: 7aaa7e13-9466-45a7-93bf-65a3f42c2135 
    Unmounted:
      ID-1: /dev/sdb1 size: 946.86 GiB fs: ntfs label: N/A 
      uuid: DA1211BD1211A015 
      ID-2: /dev/sdc1 size: 100 MiB fs: ntfs label: System-reserviert 
      uuid: 80CA075ECA075038 
      ID-3: /dev/sdc2 size: 1.64 TiB fs: ntfs label: Daten 
      uuid: AC804022803FF206 
      ID-4: /dev/sdc3 size: 1.09 TiB fs: ext4 label: ext4 
      uuid: 4c127e58-2a75-4382-b745-173dbe81da2a 
    USB:
      Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
      speed: 480 Mb/s chip ID: 1d6b:0002 
      Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
      speed: 480 Mb/s chip ID: 8087:0020 
      Device-1: 1-1.2:3 info: Alcor Micro Flash Card Reader/Writer 
      type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0 
      speed: 480 Mb/s chip ID: 058f:6362 serial: <filter> 
      Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
      speed: 480 Mb/s chip ID: 1d6b:0002 
      Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 
      speed: 5 Gb/s chip ID: 1d6b:0003 
      Hub-5: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
      speed: 480 Mb/s chip ID: 1d6b:0002 
      Hub-6: 4-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
      speed: 480 Mb/s chip ID: 8087:0020 
      Hub-7: 4-1.6:3 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
      chip ID: 05e3:0608 
      Device-1: 4-1.6.2:4 info: Logitech MX510 Optical Mouse type: Mouse 
      driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s 
      chip ID: 046d:c01d 
      Device-2: 4-1.6.3:6 
      info: Novatek Micro Keyboard (Labtec Ultra Flat Keyboard) 
      type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 1.1 
      speed: 1.5 Mb/s chip ID: 0603:00f2 
      Device-3: 4-1.6.4:5 info: Logitech Webcam C210 type: Video,Audio 
      driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s 
      chip ID: 046d:0819 serial: <filter> 
    Sensors:
      System Temperatures: cpu: 47.0 C mobo: 28.0 C gpu: radeon temp: 50.0 C 
      Fan Speeds (RPM): cpu: 680 psu: 0 case-1: 0 
      Power: 12v: 12.32 5v: N/A 3.3v: 3.39 vbat: N/A 
    Info:
      Processes: 240 Uptime: 18m wakeups: 0 Init: systemd v: 247 Compilers: 
      gcc: N/A Packages: pacman: 1324 Shell: Zsh v: 5.8 
      running in: gnome-terminal inxi: 3.2.02 
  1. unfortunately sudo parted --list doesn’t do a lot. While writing this comment the output was

         ~  sudo parted --list                                                                                                                                                                                  ✔ 
     Modell: ATA OCZ-AGILITY3 (scsi)
     Festplatte  /dev/sda:  60,0GB
     Sektorgröße (logisch/physisch): 512B/512B
     Partitionstabelle: gpt
     Disk-Flags: 
    
     Nummer  Anfang  Ende    Größe   Dateisystem  Name    Flags
      1      1049kB  29,7GB  29,7GB  ext4                 boot, esp
      2      29,7GB  60,0GB  30,4GB  ext4         debian  boot, esp
    
     Warnung: Fehler beim Abgleich oder Schließen von /dev/sdb1:
     Eingabe-/Ausgabefehler
     Wiederholen/Retry/Ignorieren/Ignore?  
    

Which is only the content of the SSD (connected via eSATA)I am currently using to test the distributions.
sda1 & sda2

(I guess it suffers a similar problem like gparted, that there seems to be an issue to access the drives at all)

  1. The HDD currently consists of the Windows 10 OS partititon (sdb1), the Swap partition (sdb2) and an unused ext4 partition (that isn’t shown at all in the inxi output).
    Also I needed to add the swap partition manually in the fstab, because it wasn’t recognised automatically.
    Currently I have the feeling, that the issue might be a hardware one and that the HDD might be faulty. So now I am checking how to move the Windows OS partition to my 2nd HDD drive (that contains mainly my data files) and would have still enough space to contain the Windows OS part.

This was the midterm plan either way, but I was just wandering why Manjaro did recognise the drive in the first try without issue (and Debian still does). Mainly to understand and get better at Linux.

Of course nuking is always an option (as long as I can preserve the current Windows installation, or at least made a backup of my userdata (due to tax programms, etc…))

Maybe I will try to make a fresh installation, or start one more time with the live DVD to check if gparted works there.

  1. Yeah, I will spend some time to update my profile.

Kind regards

Yup, but we have at least some information:

Can you give the output to:

sudo smartctl --all /dev/sdb 

Also, Ich verstehe Deutsch, so kein Problem, but from this point forward, could you enter:

export LANG=C

as the first command in a terminal as from that point forward everything will be in :uk: instead of :de: until you exit the terminal.

:grin:

Dear Fabby,

first of all thank you very much for your help. I really appreciate it.

Today I tried a fresh install and noticed following.

  1. From the live DVD, gParted works without any issue. All drives are recognised without any delay.
  2. After the installation is finished and the system is rebooted, all packages updated (but even without the update), gparted runs into the same problem as before and stucks at “Alle Laufwerke werden abgefragt” → All drives are scanned/queried

After I installed smartctl the output is following

    ~  sudo smartctl --all -d ata -T permissive /dev/sdb                                                       ✔ 
[sudo] password for brotsalami: 
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.9.16-1-MANJARO] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: Input/output error

=== START OF INFORMATION SECTION ===
Device Model:     [No Information Found]
Serial Number:    [No Information Found]
Firmware Version: [No Information Found]
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   [No Information Found]
Local Time is:    Tue Feb  9 09:35:27 2021 CET
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
    ~  sudo smartctl --all -d sat -T permissive /dev/sdb                                              6 ✘  6s  
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.9.16-1-MANJARO] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error aborted command

=== START OF INFORMATION SECTION ===
Device Model:     [No Information Found]
Serial Number:    [No Information Found]
Firmware Version: [No Information Found]
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   [No Information Found]
Local Time is:    Tue Feb  9 09:35:36 2021 CET
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.
SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
    ~      

I needed to add -d ata/-d sat and -T permissive as arguments, as otherwise it showed even less.

I will reboot now and execute the same on the Debian system, to check if it works there. Hang on a minute. :smiley:

1 Like

Hello again,

executing smartctl from the live DVD leads to following result

smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.9.16-1-MANJARO] (local build)
Copyright Š 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital AV-GP (AF)
Device Model:     WDC WD30EURS-63SPKY0
Serial Number:    WD-WMC1T1399485
LU WWN Device Id: 5 0014ee 602f1bfc9
Firmware Version: 80.00A80
User Capacity:    3,000,592,982,016 bytes [3.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue Feb  9 09:23:27 2021 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:  (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: 		(38460) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend 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: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 386) minutes.
Conveyance self-test routine
recommended polling time: 	 (   5) minutes.
SCT capabilities: 	       (0x70b5)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table supported.

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     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   183   181   021    Pre-fail  Always       -       5816
  4 Start_Stop_Count        0x0032   099   099   000    Old_age   Always       -       1886
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   092   092   000    Old_age   Always       -       5852
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       456
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       82
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       1803
194 Temperature_Celsius     0x0022   109   099   000    Old_age   Always       -       41
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      1786         -
# 2  Short offline       Completed without error       00%      1763         -
# 3  Short offline       Completed without error       00%      1661         -

SMART Selective self-test log data structure revision number 1
 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.

Hope this helps.

1 Like

Hello Fabby,

I think I fixed it. I went into my BIOS and checked the settings of the HDDs there.
I noticed that one of the settings was set to IDE, instead of AHCI, so I changed that.

After the reboot, now GParted works as expected.

So thank you very much. It was just a normal “daU”
As you know german you should understand. :smiley:

1 Like

I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

:innocent:
P.S. In the future, please don’t forget to come back and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
Solution
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

1 Like

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