Skip to main content

Questions tagged [ext4]

Use this tag for all questions about the ext4 (fourth extended) file system, which has been the default file system in Ubuntu since 2009.

0 votes
0 answers
26 views

systemrescue: testdisk doesn't find huge amount of deleted files

i accidently deleted a huge folder structure of my data on my notebook and emptied in a foolish manner my trash-bin without looking at the ~20GiB of data! My last (dirvish-) backup was a few month ago,...
mue.de's user avatar
  • 9
5 votes
2 answers
460 views

Fake ext4 file creation dates for a large number of files by setting the system time

Recently, I downloaded a large number of photos from a cloud service to my local machine (Ubuntu 23.10). As is expected, the creation/birth date of those files was set to the actual download date. Now,...
junjios's user avatar
  • 152
0 votes
0 answers
32 views

ext4 partition that was recovered After Windows installed their bootloader on it keeps on getting repartitioned

First, here is how my disks are setup physically for future reference: SATA 1: 480 GB SSD (ext4, Running Ubuntu Server 20.04.1 LTS) (\dev\sda) SATA 2: 4 TB HDD (ext4, Data) (\dev\sdb) SATA 3: 512 GB ...
braydenolsen's user avatar
1 vote
0 answers
111 views

Ubuntu 22 ext4 performance tuning (metadata)

I have Ubuntu 22 with 5.15.0-106-generic kernel. I have a jbod with 60 hdd attached and working with a lot of small files. I need that RAM will store only metadata and not file itself. I'm working ...
Marco's user avatar
  • 11
2 votes
1 answer
249 views

Why is recovery mode not read-only?

I have just run rm and removed a file I am now attempting to recover - alas, I have not implemented a git version system. So, I am booting into recovery mode. The problem I have is I can write to the ...
user10709800's user avatar
0 votes
0 answers
163 views

Buffer I/O error on dev sde2, logical block 9, lost sync page write

The interesting thing is this error message appears when I disconnect an USB flash drive that have a mounted filesystem in read-only mode (with mount -o ro). Why there is a "write" in the ...
Valentin Stoykov's user avatar
0 votes
1 answer
170 views

Setting timeshift backup to harddrive, getting "Device not found" error

I'm trying to set the backup location for timeshift to a new external hard drive I just bought. I formatted the drive w/ an ext4 filesystem w/ the command: sudo mkfs.ext4 /dev/sde I then ran the ...
gboy's user avatar
  • 101
0 votes
0 answers
648 views

EXT4-fs error + ubsan array index out of bound

Suddenly this message started appearing every time I start my computer. When it appears, I have to restart the computer. What's the problem? Thanks
xRobot's user avatar
  • 159
1 vote
0 answers
66 views

partclone - what am I doing wrong?

I'm writing some backup scripts for my machines. Up until now, I have enjoyed using partclone, but now I've hit a snag. On this machine there's a large MDADM RAID which contains one EXT4 partition. ...
ForDummies's user avatar
0 votes
0 answers
21 views

What is the field inside the struct ext4_inode responsible for providing pointers to where data is actually located on disk?

I've been reading the ext4 documentation on kernel.org and in the struct ext4_inode section it is show a field named i_block. It says "Block map or extent tree". Does this field contain ...
Kode1000's user avatar
0 votes
0 answers
213 views

I did mkfs.ext4 /dev/md0 without knowing it wipes the whole data

So guys I got panicked since my data gone, I tried the solution to use backup Superblock from this askubuntu page but still no luck. but when I tried sudo fsck.ext4 -vy /dev/md0 I got this message /...
IT_Sobad's user avatar
0 votes
1 answer
451 views

Input/output error without disk failure

1 month ago I ran a python program on my ubuntu server which downloaded videos and cut them into images. I used urlretrieve to download the files and then I used opencv to cut them into single frames: ...
janbmull's user avatar
0 votes
0 answers
136 views

Mount filesystem for a specific user at user login

I want to mount 2 existing ext4 filesystems for a specific user when the user logs in and ensure that they are dismounted when the user logs off. I am running on Ubuntu 22.04. The suggestions that I ...
Jonathan's user avatar
  • 1,320
2 votes
1 answer
116 views

run e2fsck on boot of a persistent live lubuntu made with mkusb

I'm trying to run e2fsck on boot of a persistent live lubuntu to fix 'corrupt filesystem' error of a writable system partition (ext4) and I want to automate this somehow (so ideally I do not want to ...
andrej's user avatar
  • 59
0 votes
1 answer
107 views

ext4 - Remove ability to encrypt disk even for root

I was wondering if this is possible: remove the ability to encrypt a disk/partition? It occured to me that it's a possible attack vector to encrypt the disk with a key if you manage to get root access....
KdgDev's user avatar
  • 265

15 30 50 per page
1
2 3 4 5
48