You can also run gparted.
Right click. Unmount
Right click . Check.
I know it it only does a file system check and fix. But. Better than nothing.
My shop computer carries smartctl in AntiX full iso 64bit.
Code:
harry@shop:~apt-cache policy smartmontools
Installed: (none)
Candidate: 1.3.5-6
Version table:
1.3.5-6 500
500 http://ftp.us.debian.org/debian bullseye/main amd64 Packages
harry@shop:~
$ locate smartctl
/usr/sbin/smartctl
/usr/share/bash-completion/completions/smartctl
/usr/share/man/man8/smartctl.8.gz
harry@shop:~
Usually it shows up during a live run bootup when ruuning the installer.
Mentioning that your hard drive may fail but they don't know when.
I ignore it because all my gear is old anyways. A nd antiX is known for older computer installs. So the point is moot to me.
Code:
harry@shop:~
$ inxi -b -r
System:
Host: shop Kernel: 5.10.57-antix.1-amd64-smp arch: x86_64 bits: 64
Desktop: IceWM v: 3.1.0 Distro: antiX-21_x64-full Grup Yorum 31 October
2021
Machine:
Type: Desktop System: LENOVO product: 6075BHU v: ThinkCentre M57
serial: <superuser required>
Mobo: LENOVO model: LENOVO serial: <superuser required> BIOS: LENOVO
v: 2RKT41AUS date: 03/20/2008
CPU:
Info: dual core Intel Pentium Dual E2160 [MCP] speed (MHz): avg: 1520
min/max: 1200/1800
Graphics:
Device-1: Intel 82Q35 Express Integrated Graphics driver: i915 v: kernel
Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: intel
unloaded: fbdev,modesetting,vesa dri: i915 gpu: i915
resolution: 1280x1024~60Hz
OpenGL: renderer: Mesa DRI Intel Q35 v: 1.4 Mesa 20.3.5
Network:
Device-1: Intel 82566DM-2 Gigabit Network driver: e1000e
Device-2: Realtek RTL8191SU 802.11n WLAN Adapter type: USB driver: r8712u
Drives:
Local Storage: total: 298.09 GiB used: 29.55 GiB (9.9%)
Repos:
Active apt repos in: /etc/apt/sources.list.d/antix.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/antix/bullseye bullseye main nosystemd nonfree
No active apt repos in: /etc/apt/sources.list.d/bullseye-backports.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://ftp.us.debian.org/debian/ bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://ftp.us.debian.org/debian/ bullseye main contrib non-free
2: deb http://security.debian.org/ bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
No active apt repos in: /etc/apt/sources.list.d/various.list
Info:
Processes: 145 Uptime: 2h 25m Memory: 3.58 GiB used: 1.17 GiB (32.6%)
Shell: Bash inxi: 3.3.22
harry@shop:~
Here is just to show it is a local build. In case you are wondering about a .deb.
Code:
harry@shop:~
$ smartctl
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.10.57-antix.1-amd64-smp] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
ERROR: smartctl requires a device name as the final command-line argument.
Use smartctl -h to get a usage summary
harry@shop:~
I only have 1 hard drive on this install so not going to run it. Since you are on Debian. Smart Mon Tools is what you are stuck with.