Bananian

Hard drive permanently in use due to jbd2/sda1-8

5 5470
Edited by strontium at Sun Jan 18, 2015 10:28

Hello,
I connected a new hard-drive to my banana pi via the SATA-interface. After creating a new GPT and a partition /dev/sda1 with gdisk, I formatted the partition using
  1. mkfs.ext4 /dev/sda1
Copy the Code
So far so good, everything went fine. But when I mounted the partition, I noticed that the bpi constantly reads or writes to the hard-drive in intervals of approximately 1 second. Note that the drive is completely empty, except for a directory "lost+found", which is also empty and was created automatically. Using iotop I found out that the responsible process is something like "jbd2/sda1-8", which seems to have something to do with ext4-journaling. It writes between 2 and 4 MB/s to my drive. It immediately stops when i unmount the partition.

How can i disable this behaviour? It makes unnecessary noise and increases the power consumption about 1 watt.
OS: Bananian 15.01

Thank you in advance!
That is okay. When you create an ext4 filesystem, the system writes something to the filesystem asynchronously. This will stop after a few minutes.

Thank you for your answer. But i already let it run for more than 5 hours and it's still writing data to the disk. The drive has a capacity of 4 TB. How long will it last?

strontium replied at Sun Jan 18, 2015 17:10
Thank you for your answer. But i already let it run for more than 5 hours and it's still writing dat ...

I don't know. Mayby http://www.thomas-krenn.com/de/wiki/Ext4_Dateisystem is useful for you. See the section "lazy initialization".

Phantasmagorium replied at Sun Jan 18, 2015 17:20
I don't know. Mayby http://www.thomas-krenn.com/de/wiki/Ext4_Dateisystem is useful for you. See th ...

There is also an english version: http://www.thomas-krenn.com/en/wiki/Ext4_Filesystem.

Okay, i let the system alone over night and now it seems to be done with its "lazy initialization". Thank you for your help!

You have to log in before you can reply Login | Sign Up

Points Rules