LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Concerning "tune2fs" Parameters (https://www.linuxquestions.org/questions/linux-newbie-8/concerning-tune2fs-parameters-4175666514/)

kevinbenko 12-24-2019 09:29 PM

Concerning "tune2fs" Parameters
 
About 2-3 years ago, I replaced a drive. It is a backup drive, and every week, I to a full shutdown and

"fsck -yvfD"

on all of my drives, because REASONS!

However, this newest drive takes much longer to do the fsck, with pass 1 being the problem. It is a direct backup of yet another drive.

QUESTION:

I did some comparisons between the two drives, and I see some differences

under "Filesystem features" the originating drive has "64bit" and "metedata_csum" whereas the backup drive does not have these features.

Everything else (well... except unimportant things) seems to be the same.

Could these two differences be the source of my difficulty?

AND... how can I add these features into the backup drive?

Thank you for any help that you may give, and have a Merry Christmas and have a good day!

berndbausch 12-25-2019 12:30 AM

man tune2fs tells you how to set parameters. In your case, tune2fs -O 64bit,meatdata_csum /dev/DRIVE.

However:

I doubt that enabling checksums for metadata will make your filesystem faster. The 64bit option allows your filesystem to be larger than 4 billion (2^32) blocks. I also doubt that this has anything to do with speed.

What do you mean by "direct backup"? It can't be a bit-by-bit backup, otherwise the filesystem features would be identical. Perhaps the difference is caused by the unimportant things you allude to, or by factors like fragmentation, hardware differences, number of bad blocks, ...

kevinbenko 12-25-2019 03:01 AM

By direct backup I means that that backup drive is a backup of just one drive.

More explicitly, my drive named "VIDEO" is backed up to "BACKUP2".

{PS: sometimes my "vocabulary" "goes away"}

kevinbenko 01-12-2020 01:23 PM

Crap... I forgot to tag this thread as solved...

Anyway, once I changed the parameters that were different, THIS DRIVE NOW WORKS QUICKLY!!

Go figure!


All times are GMT -5. The time now is 05:35 AM.