Questions tagged [ext4]

Ext 4 is a linux filesystem.

Ext4 is a filesystem mostly used under linux. Other versions are ext, ext2 and ext3.

See Wikipedia for details on ext and ext4.

316 questions
2
votes
2 answers

In the newer Linux, which function in ext4 is responsible for read?

Conventional filesystems create a struct file_operations structure to implement the VFS functions. For example, in the ext4 (Linux 4.0 and before) the struct file_operations ext4_file_operations make the read pointer point to new_sync_read. Linux…
Akr
  • 179
  • 2
  • 4
  • 13
2
votes
0 answers

Directory listings of ext4 image by python

I have an image of the disk with the ext4 file system and i need to implement the utility to read the files and view directory listings by python. How i can do it without mounting the image? Please, give me some hints, i realy don't know where to…
Volkov
  • 31
  • 3
2
votes
1 answer

Filesystem for a partition goes missing EC2 reboot

I created a d2.xlarge EC2 instance on AWS which returns the following output: $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk `-xvda1 202:1 0 8G 0 part / xvdb 202:16 0 1.8T 0 disk xvdc 202:32 …
skjindal93
  • 706
  • 1
  • 16
  • 34
2
votes
1 answer

Shopware 5, open BatchProcess window from Own Plugin

I hope its not to harsh to ask not to mince matters. Here we go: I have a problem developing a custom Plugin for Shopware 5. I already have a working plugin which lists orders for certain criteria. Now I want a Button (which i already have) in the…
exa.byte
  • 155
  • 1
  • 12
2
votes
0 answers

Format SDcard as ext4 for birth time

I am using a GoPro Hero 4 to record groundtruth videos. I need to collect the exact time the video has been created (down to miliseconds). In ext4, there is a field of birthtime ( or ctime, btime). Could I format the SD card to ext4, and stat the…
Dzung Nguyen
  • 3,794
  • 9
  • 48
  • 86
2
votes
1 answer

Is there an official specification for the ext2/ext3/ext4 filesystems?

I was wondering, for Bluetooth we have IEEE 802.15.1 standard, managed by Bluetooth Special Interest Group. For Wifi we have the IEEE 802.11 standards and also the Wifi Alliance. For NVMe SSDs on PCIe we have nvmexpress that regulate and publish its…
Lilás
  • 1,111
  • 1
  • 16
  • 29
2
votes
3 answers

How to simulate aborted journal in ext4 filesystem?

We are using BeagleBoneBlack based custom board, During firmware upgrade I got following errors [ 194.912834] EXT4-fs error (device mmcblk0p15): ext4_journal_check_start:56: Detected aborted journal [ 194.922558] EXT4-fs (mmcblk0p15): Remounting…
ART
  • 1,509
  • 3
  • 29
  • 47
2
votes
1 answer

Deleted a Mongodb data folder by accident on ext4, how to best recover data?

What's the best/fastest/safest way to recover deleted files from ext4 ? Specs: The disk is 1TB SSHD (hibrid HDD + SSD), also the partition is encrypted with LUKS Encryption (version 1) Mongodb is using WiredTiger as a storage engine. Also if I…
Stefan Rogin
  • 1,499
  • 3
  • 25
  • 41
2
votes
0 answers

Linux ext4 nanosecond modified timestamps?

I am running Ubuntu 15.04 with a linux kernel 3.19.0-26-generic, my filesystem is the default ext4. I run a test where I: Open/Write/Close a file. Get the modification time (from stat in nanoseconds) Sleep for 1 millisecond Open/Write/Close the…
Andrew Tomazos
  • 66,139
  • 40
  • 186
  • 319
2
votes
1 answer

Data destroy using shred agains ext4 filesystem

I'm running shred against blockdevice with couple of etx4 filesystems on it. The blockdevices are virtual drives - RAID-1 and RAID-5. Controller is PERC H710P. command shred -v /dev/sda; shred -v /dev/sdc ... I can understand from shred man(info)…
etharendil
  • 83
  • 1
  • 3
  • 7
2
votes
2 answers

Permission deined when attempting to copy file with ugo read permissions

The motivation for this question is that I am no longer able to create a functioning chroot with debootstrap on my Red Hat machine. About a year, and many Red Hat updates ago I was able to. sudo debootstrap --arch amd64 trusty trusty…
tweej
  • 832
  • 4
  • 16
2
votes
0 answers

How do I create a directory with a specific inode number?

How to create a directory in ext2/ext3/ext4 filesystem with a specific inode number? I've seen a working answer for a file but I could not apply it to a directory. A solution based on the debugfs command would be nice but any technical solution is…
2
votes
1 answer

While creating VM from my de-provisioned Ubuntu image at Azure it creates VM with fuseblk resource disk instead of ext4

When i create VM from the pre-set Ubuntu images at Azure -- its ok. It looks like: brutto@app-test-brutto:~$ df -T Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/sda1 ext4 30224952 1391464 27298436 5% / udev …
brutto
  • 74
  • 1
  • 6
2
votes
1 answer

Ext4.2.1 How to open a new browser tab with widget inside from another browser tab

How can I open a widget in a new browser tab like window.open() from Ext4.2.1 application. I need to be able to open widget in a new browser tab similar to what 'maximize' tool does but for the whole thing to open in a new tab window.My best guess…
Polina F.
  • 629
  • 13
  • 32
2
votes
0 answers

Which way is better to distribute uploaded files in subdirs?

Suppose we have one level of subdirs named with 2 hexadecimal digits, inside of those, another level named with 3 hex digits (or vice versa) and the files are being distributed rather uniformly using a hash function. So it should look like…