Displaying 6 results from an estimated 6 matches for "lifetime_write_kbyt".
Did you mean:
lifetime_write_kbytes
2014 Oct 10
0
Re: CF Card wear optimalisation for ext4
...B
:
:
Note that this number isn't wholly accurate, but rather a guideline.
IIRC it is not updated on disk all the time, so may lose writes.
You can also get this information from /sys/fs/ext4 including data
just for the current mount:
# grep . /sys/fs/ext4/*/*_write_kbytes
/sys/fs/ext4/dm-0/lifetime_write_kbytes:77632360
/sys/fs/ext4/dm-0/session_write_kbytes:7124948
/sys/fs/ext4/dm-19/lifetime_write_kbytes:28081448
/sys/fs/ext4/dm-19/session_write_kbytes:16520
/sys/fs/ext4/dm-2/lifetime_write_kbytes:60847858
/sys/fs/ext4/dm-2/session_write_kbytes:7739388
/sys/fs/ext4/dm-7/lifetime_write_kbytes:22385952...
2014 Oct 08
3
CF Card wear optimalisation for ext4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everyone,
I been using CF cards for almost more then 7 years now with ext
file-system without any major problems on ALIX boards.
Last year I took 30 other systems in production with ext4 and the CF
cards been dropping out pretty fast, it may have been a bad batch but
I do want to look at it. I don't think the devices writes a lot of IO
(is
2014 Oct 16
2
Re: CF Card wear optimalisation for ext4
...by mounting the file system now,
unmounting it 24 hours from now and then taking the difference.
Also the value is only available in granularity of 1 GB (plus minus
512MB) - at least in my case.
So, in any case, I wouldn't trust that value for any purposes at all.
I did test /sys/fs/ext4/sda/lifetime_write_kbytes now, that seems to be
somewhat less bogus, so *that* might actuall be usable for the 24 hours
test. But I wasn't talking about that when I said, that this lifetime
thing is bogus.
Regards, Bodo
2014 Oct 17
0
Re: CF Card wear optimalisation for ext4
...ytes_written + POW2(39)) >> 40);
}
What we are doing was deliberate, in an effort to display things in a
user-friendly fashion that was hopefully still useful. If you'd like
to propose something different, please send patches and I'll consider it.
> I did test /sys/fs/ext4/sda/lifetime_write_kbytes now, that seems to be
> somewhat less bogus, so *that* might actuall be usable for the 24 hours
> test. But I wasn't talking about that when I said, that this lifetime
> thing is bogus.
Bogus is in the eye of the beholder. It's not perfect, and if your
system is regularly crash...
2014 Oct 16
0
Re: CF Card wear optimalisation for ext4
On Oct 16, 2014, at 10:25 AM, Bodo Thiesen <bothie@gmx.de> wrote:
> * Andreas Dilger <adilger@dilger.ca> hat geschrieben:
>
>> You can see in the ext4 superblock the amount of data that has been
>> written to a filesystem over its lifetime:
>>
>> Note that this number isn't wholly accurate, but rather a guideline.
>
> Is is more like a
2014 Oct 16
2
Re: CF Card wear optimalisation for ext4
* Andreas Dilger <adilger@dilger.ca> hat geschrieben:
> You can see in the ext4 superblock the amount of data that has been
> written to a filesystem over its lifetime:
>
> Note that this number isn't wholly accurate, but rather a guideline.
Is is more like a completely bogus value at best:
# LANG=C df -h / | grep root
/dev/root 3.7T 3.6T 73G 99% /
# grep [0-9]