You are not logged in.

#1 2018-10-06 20:42:18

Loyalty_Cham
Banned
Registered: 2018-06-19
Posts: 21

How can I enbale data_writeback

Hello community good day!
I wanted to enable the data=writeback mount option, but I have no idea on how to implement it.

I was follwing the wiki guide, but I'm scare I may damage my system. I need guide please?

Thanks! Your help are highly appreciated.

Offline

#2 2018-10-06 20:55:26

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: How can I enbale data_writeback

man 5 ext4 wrote:

              writeback
                     Data ordering is not preserved – data may be written into
                     the main filesystem after its metadata has been committed
                     to the journal.  This is  rumoured  to  be  the  highest-
                     throughput  option.   It  guarantees  internal filesystem
                     integrity, however it can allow old  data  to  appear  in
                     files after a crash and journal recovery.

You are requesting a safe guide to enable an option that is documented to sacrifice data consistency for performance that is contradictory to me.

Offline

#3 2018-10-08 00:29:25

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: How can I enbale data_writeback

I agree with above.  You would introduce higher risk of data corruption and reduce your data security.  This would damage your system. 

Stay with 'ordered'.  If you were looking to implement 'writeback' for higher throughput, just get a SSD.  No step by steps are provided from here, nor would anyone point you to one.  Read the wiki, if you don't understand something, ask.  Hope this helps!

Offline

#4 2018-10-08 00:59:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: How can I enbale data_writeback

Loyalty_Cham wrote:

I wanted to enable the data=writeback mount option

Why?

Loyalty_Cham wrote:

I have no idea on how to implement it.

It is a mount option.  You put it with other mount options either on the command line when you mount a filesystem or in the options column of your fstab if you are using fstab to mount the relevant filesystem.

Loyalty_Cham wrote:

I was follwing the wiki guide

Which one?

Don't make us continually guess.  You have been warned countless times about vampiric posts and about providing relevant information in your first post.  Yet you continue creating threads like this.

I urge you to stop of your own free will before you are stopped by a moderator or admin.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB