question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

read_ahead_kb: Directory nonexistent

See original GitHub issue

On Ubuntu 20.04 , installed efs-utils https://github.com/aws/efs-utils/commit/b1b91c594490d7524fdda71481e2180032405ea7 as described in https://docs.aws.amazon.com/efs/latest/ug/installing-amazon-efs-utils.html#installing-other-distro

$ sudo mount -t efs -o tls,iam fs-xxxxxxx.efs.eu-west-1.amazonaws.com /mnt/efs

Mount attempt 1/3 failed due to timeout after 15 sec, wait 0 sec before next attempt.
/bin/sh: 1: cannot create /sys/class/bdi/0:2097372/read_ahead_kb: Directory nonexistent

Despite the error mounting is successful. It would be good to know what this means though!

Many thanks

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Cappuccinuocommented, Jun 13, 2022

v1.33.2 is released with the proper fix. Feel free to reopen. Thanks.

1reaction
mauschcommented, May 26, 2022
>>> os.stat("/mnt/efs")
os.stat_result(st_mode=16877, st_ino=9534249367436399746, st_dev=1048761, st_nlink=4, st_uid=0, st_gid=0, st_size=6144, st_atime=1607079023, st_mtime=1607079023, st_ctime=1607079023)
>>> minor = int(os.stat("/mnt/efs").st_dev & 0xff)
>>> major = int(os.stat("/mnt/efs").st_dev >> 8 & 0xff)
>>> major, minor
(0, 185)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Increasing readahead in a not completely retarded manner
readahead works like this - when you need a section of data from the disk, the kernel will grab that data, and anticipating...
Read more >
time-travel techniques for desktop and embedded systems
Readahead techniques have successfully been used to reduce boot time in recent GNU/Linux distributions like. Fedora Core or Ubuntu.
Read more >
Speeding up file I/O: mmap() vs. read() - Stack Overflow
For a file mapping, this causes read-ahead on the file. Later accesses to the mapping will not be blocked by page faults.
Read more >
Find the process that consumed the memory
Total Memory = Free Memory + Cache/Buffers + Active + Inactive = 10901516 + 126816 + 2355968 + 35103352 + 2973732 = 51461384...
Read more >
Performance Tuning Guide Red Hat Enterprise Linux 7
The following knowledge base article provides a more comprehensive list of ... Red Hat recommends using the tuned tool to adjust the disk...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found