Mint 21 hard disks

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
overflow
Level 1
Level 1
Posts: 22
Joined: Mon Apr 13, 2020 2:04 pm

Mint 21 hard disks

Post by overflow »

I installed mint 21 and now there is a problem with disks. When I open the disk with nemo, after opening the disk it scans the contents of the disk for about 20 seconds. And so every time, no matter which disc I open. How to disable "disk scanning". Mint 20.3 didn't have this problem.

Code: Select all

user@PC:~$ sudo inxi -Fxxrzc0
       
System:
  Kernel: 5.15.0-46-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
    Console: pty pts/1 wm: Mutter DM: LightDM Distro: Linux Mint 21 Vanessa
    base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: Gigabyte model: H87-HD3 v: x.x serial: N/A
    BIOS: American Megatrends v: F10 date: 08/18/2015
CPU:
  Info: quad core model: Intel Core i5-4570 bits: 64 type: MCP arch: Haswell
    rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 2839 high: 3571 min/max: 800/3600 cores: 1: 3539
    2: 3571 3: 3249 4: 998 bogomips: 25538
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
    vendor: Gigabyte driver: i915 v: kernel ports: active: VGA-1
    empty: HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:0412
  Display: server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96
  Monitor-1: VGA-1 model: LG (GoldStar) W2243 res: 1920x1080 dpi: 102
    diag: 548mm (21.6")
  OpenGL: renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
    v: 4.6 Mesa 22.0.5 compat-v: 3.1 direct render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:03.0 chip-ID: 8086:0c0c
  Device-2: Intel 8 Series/C220 Series High Definition Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8c20
  Device-3: Philips s SAA7160 driver: N/A pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 05:00.0 chip-ID: 1131:7160
  Sound Server-1: ALSA v: k5.15.0-46-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168
  IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 12.48 TiB used: 674.69 GiB (5.3%)
  ID-1: /dev/sda vendor: Kingston model: SA400S37480G size: 447.13 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-2: /dev/sdb vendor: Seagate model: ST8000DM004-2U9188 size: 7.28 TiB
    speed: 6.0 Gb/s serial: <filter>
  ID-3: /dev/sdc vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB
    speed: 6.0 Gb/s serial: <filter>
  ID-4: /dev/sdd vendor: Western Digital model: WD10EZEX-22MFCA0
    size: 931.51 GiB speed: 6.0 Gb/s serial: <filter>
  ID-5: /dev/sde vendor: Kingston model: SA400S37240G size: 223.57 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 383.43 GiB used: 83.89 GiB (21.9%) fs: ext4 dev: /dev/sda1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: apt: 2550
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vanessa main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/ria-repository.list
    1: deb https://installer.id.ee/media/ubuntu/ jammy main
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
    1: deb https://linux.teamviewer.com/deb stable main
Info:
  Processes: 217 Uptime: 1h 33m Memory: 15.54 GiB used: 3.2 GiB (20.6%)
  Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.2.0 alt: 11 Shell: Sudo
  v: 1.9.9 running-in: gnome-terminal inxi: 3.3.13
Last edited by overflow on Wed Aug 10, 2022 8:54 am, edited 1 time in total.
Cosmo.
Level 24
Level 24
Posts: 22064
Joined: Sat Dec 06, 2014 7:34 am

Re: Mint 21 hard disks

Post by Cosmo. »

Is this a completely new installation of LM 21?
Is /home new or taken from LM 20.3?
Gotcha!
overflow
Level 1
Level 1
Posts: 22
Joined: Mon Apr 13, 2020 2:04 pm

Re: Mint 21 hard disks

Post by overflow »

Completely new 21.
/home was default and still have this problem.
Now i replaced some configs. Like .mozilla, ./config/hexchat . But mostly everything is new in /home.
Cosmo.
Level 24
Level 24
Posts: 22064
Joined: Sat Dec 06, 2014 7:34 am

Re: Mint 21 hard disks

Post by Cosmo. »

This does not sound like a new home.

Try this:
Open the login window settings and activate the guest account. Reboot and log in as guest. How does it behave there?
Gotcha!
overflow
Level 1
Level 1
Posts: 22
Joined: Mon Apr 13, 2020 2:04 pm

Re: Mint 21 hard disks

Post by overflow »

It was same in fresh /home.

I did Guest account. After reboot i cant acess to internal drives with Guest account.

I created another user with administrator privileges and this account have same problem. It scan disk. (fresh /home, no changes)

I installed iotop. At the disk scanning point there is process called [ext4lazyinit] that is top of it.

Also checked with forkstat. Log is here. https://pastebin.com/rGGPD7yz
Cosmo.
Level 24
Level 24
Posts: 22064
Joined: Sat Dec 06, 2014 7:34 am

Re: Mint 21 hard disks

Post by Cosmo. »

Try in Nemo preferences:
Preview: set to none
Count number of items: never
Gotcha!
overflow
Level 1
Level 1
Posts: 22
Joined: Mon Apr 13, 2020 2:04 pm

Re: Mint 21 hard disks

Post by overflow »

I tried, it didn't help. It seems to be EXT4 disks problem. I have one NTFS (win10 system) partition in SSD drive and if I mount it,it does not scan it. There is a possibility that this scan happens too fast on the SSD disk and I don't notice it.
--- Update
If I mount drives in console mount /dev/sdb1 /mnt it does not scan. If I mount drives on Nemo or Disks it start scanning..
--- Update
I did fresh install another drive, and threre is same problem.
---Update
Find something. It caused by ext4lazyinit. Since kernel 5.13
https://www.spinics.net/lists/linux-ext4/msg78855.html
https://bbs.archlinux.org/viewtopic.php?id=270111
Needed option for mounting is "no_prefetch_block_bitmaps"

Right now I do not even know, do I need this option or not. But it works.
---Update
How make this mount option default?
Post Reply

Return to “Beginner Questions”