WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Strange 2TB HDD behavior  (Read 6604 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Strange 2TB HDD behavior
« Reply #15 on: February 11, 2016, 11:42:17 AM »
/dev/sda1 ? Wasn't the issue with /dev/sda2?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11576
Re: Strange 2TB HDD behavior
« Reply #16 on: February 11, 2016, 12:00:40 PM »
Hi jgrulich

 ---- snip ----
Code: (bash) [Select]
sudo mkfs.ext4 /dev/sda1
---- snip ----
The strange LED flashing was there again, but found that in the
Code: (bash) [Select]
top
is some background root service like [ext4...]
Probably some indexing service which took some hours and now it's no more there and LED flashing disappeared.
This service is probably not run for small discs and therefor not visible.

Was the background service  ext4lazyinit  by any chance? See:
https://www.thomas-krenn.com/en/wiki/Ext4_Filesystem#Lazy_Initialization

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Strange 2TB HDD behavior
« Reply #17 on: February 11, 2016, 02:44:57 PM »
/dev/sda1 ? Wasn't the issue with /dev/sda2?

Béla,

yes, it was sda2 before. Now I've swapped the partitions (sda2 to sda1) to have the main one as a first when used parted.
No another difference.

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Strange 2TB HDD behavior
« Reply #18 on: February 11, 2016, 02:46:17 PM »
Hi jgrulich
Was the background service  ext4lazyinit  by any chance? See:
https://www.thomas-krenn.com/en/wiki/Ext4_Filesystem#Lazy_Initialization

Yes, you're right. That was the running service.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Strange 2TB HDD behavior
« Reply #19 on: February 12, 2016, 10:39:52 AM »
I'm -still- not a raspberry pi user and I don't have any multi-terabyte storage devices, but I have to ask:

Doesn't "lazy initialization" seem like a bad idea?

From the above referenced article:
Quote
In order to prevent lazy initialization, advanced options are offered by the mkfs.ext4 command:[20]

Code: [Select]
mkfs.ext4 -E lazy_itable_init=0,lazy_journal_init=0 /dev/mapper/fc-root
By specifying these options, the inodes and the journal will be initialized immediately during creation.
 
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar