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.
216
questions with no upvoted or accepted answers
11
votes
1
answer
21k
views
What exactly is an ext4 signature and why am I removing it?
I was following the steps from an Ask Ubuntu answer (Increase partition size on which Ubuntu is installed?) to enlarge an Ubuntu VM I have and I'm wondering what is actually being removed here:
...
6
votes
1
answer
7k
views
Hard drive error : EXT4-fs error - Failed to write entry, ignoring: Read-only file system
I have a Asus R556L, running Ubuntu 18.04LTS on dual boot with Windows 10. The sata mode in the bios is AHCI.
Ubuntu works fine, but after working for a while, it goes to the black terminal screen ...
5
votes
0
answers
3k
views
orphaned inodes on root file system (ext4); persistent problem
On my trusty systems (VMs under vmWare, desktops, and laptops), we have the following issue.
The root file system seems to have inodes that are never marked as "free".
After a month of a working ...
4
votes
0
answers
2k
views
Broken Ext4: Why are all superblock backups missing?
After running a program for disk diagnostic made available by Seagate, my disk became blank. I was able to recover all the partitions with TestDisk, and their files are there just like before, except ...
4
votes
0
answers
4k
views
block bitmap and bg descriptor inconsistent
The error :
[Sun Sep 6 11:15:56 2015] EXT4-fs error (device dm-0): ext4_mb_generate_buddy:757: group 113, block bitmap and bg descriptor inconsistent: 34 vs 33 free clusters
[Sun Sep 6 11:15:56 ...
3
votes
0
answers
1k
views
root ownership after mounting a drive with ext4 format
I have formatted with ext4 format by GParted:
(1) an USB flash drive and
(2) an external hard drive.
So far so good, but now they have root ownership and non edit permissions.
I can update the ...
3
votes
0
answers
2k
views
What's causing my "No space for directory leaf checksum" error?
I have a new Ubuntu 20.04 HPE DL360 Gen10 server to replace an old 16.04 HPE DL360 Gen9 server for running Graphite and Grafana. The old server had a 2 TB hardware RAID10 (4 x 1 TB SSDs) ext4 ...
3
votes
0
answers
2k
views
Ubuntu 18.04 crashes with EXT4-fs error and systemd-journald
Oct 22 Update:
I changed my SSD two weeks ago from LITEON CV3-8D256 to Samsung 970 Evo Plus, and the problem described below hasn't happened since then. I suspect the problem was due to the ...
3
votes
1
answer
1k
views
Create a >281TB ext4 filesystem
I have a connected a 287TB disk-array to a Ubuntu server. (Both Ubuntu server 14.04 LTS and 16.04 LTS tested) and I have written a GPT and created a single partition using all diskspace:
GNU Parted 3....
3
votes
1
answer
4k
views
How to increase HDD write speeds
I have 2x Seagate Barracuda 1TB 1000GB 7200RPM 64MB SATA3 HDs in an ubuntu 16.04 server (Dell Poweredge 400SC).
When copying files using rsync from one disk to another I'm getting speeds of 25-30 ...
3
votes
1
answer
3k
views
Error copying large file to diffferent drive (both ext4) "Error splicing file: Input/output"
This might seem like a common question, but I haven't found an answer to it here.
I'm trying to move a really large file (50GB, it's a virtual harddrive with windows 10 on it). I want to copy it from ...
3
votes
1
answer
257
views
Accidentally partitioned media drive as ext3 during install (was ext4), how can I recover?
I recently did a fresh install of ubuntu on a system with an old ubuntu install. I have a separate hard-drive which used to have a single ext4 partition, but during the install I accidentally selected ...
2
votes
0
answers
380
views
recovering journal / Failed command: WRITE FPDMA QUEUED / COMRESET failed errno=-16 / fsck gives bad superblock
I'm running (or rather, was running) Ubuntu
The machine seemed fine yesterday; This morning, it was unresponsive
It's a tower, so there were no mechanical disturbances in the meantime (the only ...
2
votes
0
answers
2k
views
Repair broken ext4 partition with wrong superblock checksum
A few weeks ago I gave my laptop to the service to replace the keyboard.
There were two operating systems on the computer: windows 10 and linux (ubuntu 20.04).
The folder /home of my Ubuntu system was ...
2
votes
0
answers
212
views
How do I enable journal_async_commit?
I'm trying to enable journal_async_commit in fstab file.
Here is what the relevant entry looks like:
# /dev/nvme0n1p2
UUID=c4340389-c77d-473e-8867-39b677a49f96 / ext4 rw,lazytime,...
2
votes
0
answers
79
views
ssd does not start after suspend
I have a ssd on my ubuntu 22.04.
it has luks for /home folder. like it seems:
Filesystem Size Used Avail Use% Mounted on
tmpfs 1,6G 3,3M 1,6G 1% /run
/...
2
votes
0
answers
30k
views
ls: reading directory '.': Input/output error
The computer was working fine until this morning I found out the hdd (two 4TB disk in RAID0 made with mdadm) had Input/output error.
Upon lsing the directory, I was met with:
ls: reading directory '.':...
2
votes
0
answers
1k
views
rsync from NTFS to ext4
I made a backup of a folder on an external NTFS drive on an ext4 folder and it went fine. The problem I have now is that rsync ignores already existing (and unchanged) files and syncs everything even ...
2
votes
0
answers
998
views
Flashing an SD card with the dd command - Problem
I have a weird problem regarding the dd command. I have a wic image which has 4 partitions and which I flash onto an sd card with the following command:
sudo dd if=<image.wic> of=/dev/sda bs=1M ...
2
votes
0
answers
365
views
Ubuntu Server 20.04.1 EXT4-fs error (device sdb1)
This comes from Main HD is full. Home Assistant on Docker installation
After deleting /var/log/kern.log (which was about 8GB) I started monitoring it (tail) and nothing was written to it.
All I can ...
2
votes
0
answers
1k
views
Ext4magic not listing files properly in the Home dir
I'm trying to recover files and directories accidentally deleted from my home folder. I have ext4magic working, as I can create and then delete a test file in a subdirectory 'undeltest' and then ...
2
votes
1
answer
1k
views
20.04 Filesystem error after suspend
Two days ago, I installed some upgrades as usual, finished what I was doing, and went to bed. The following morning, when I opened my laptop lid (resuming it from suspension), I couldn't type in my ...
2
votes
0
answers
186
views
Read only file-system and repeated fsck across 120 machines
A little background: I work for a security company that has decided to use Linux due to its stability and customization. These machines are NVRs that my company builds from consumer components. Being ...
2
votes
0
answers
41
views
Why am I experiencing hard drive issues in 20.04?
I have four internal drives in my PC, Ubuntu 20.04. The first two are SSD drives, one for system and one for /home. Both of these are working fine.
The third drive is a Seagate Barracuda 7200.10 ...
2
votes
0
answers
2k
views
ubi-partman crashed with exit code 141 after formatting partition
I kept getting the error that ubi-partman crashed with exit code 141 while installing kubuntu from live usb. I eventually figured out that if I formatted my unallocated partition to ext4 in the live ...
2
votes
0
answers
3k
views
File system keeps going into read-only
I keep getting back to this same issue that occurs on a VM.
Proxmox Virtual Environment 5.4-3
Running a VM of Ubuntu 19.04
Every few days the file system goes read-only with errors like:
systemd-...
2
votes
0
answers
3k
views
Mounting won't work: bad magic number on newly created partition, none of the rescue blocks work
Good Day everyone. This is my first question.
So I have this drive from an old RAID-System with 2.7TB of storage and I want to use it for some regular ext4 partitions:
root@FluxCapacitor:/dev# fdisk ...
2
votes
0
answers
6k
views
Problem with mounting usb device FAT filesystem on Linux
I copied an image on a usb stick with win32DiskManage. I want to copy this image on my beagleboneblack wich's system is Linux. The filesystem of the usb stick is FAT.
Now I want to mount a usb device ...
2
votes
0
answers
123
views
What are consequences of reducing storage allocation to root user in ext4 partition?
By default ext2, ext3 and ext4 reserve 5% of all space for the root user and to prevent fragmentation which can be reduced using the following command:
sudo tune2fs -m 1 /dev/sdb
This will reduce ...
2
votes
0
answers
800
views
Ubuntu on Hyper-V and VHDX
I have a setup where I will run a Ubuntu Server on two VHDX disks.
System 50GB and Data 4TB. They are located on a mirrored Storage Spaces Pool and are dynamic expanded.
During the Ubuntu ...
2
votes
0
answers
1k
views
Crash on EXT4-FS
I have a Dell Precision 5510 with a NVME PCIe SSD with Ubuntu 16.04 and sometimes, I don't know when exactly, the file system falls or something similar and everything I can get from the laptop are ...
2
votes
2
answers
748
views
How to fix broken file ownership and permissions
Since LDAP is used for authentication local user Jenkins was deleted
and this happened to one of the owned folders.
Filesystem is ext4 kernel version 3.2.0-84-generic
2
votes
0
answers
293
views
Full disk encryption on multiple drives; ext4 and GPT partition table; enter only 1 key
I'm looking for a tutorial (with clear steps) similar to the following article, but using ext4 and GPT partition tables.
Full disk encryption with Btrfs and multiple drives in Ubuntu · Bryce Nyeggen'...
2
votes
0
answers
686
views
Xubuntu 14.04 Automount ext4 USB Stick as root
I recently formatted my new Sandisk USB Stick with linux from the default FAT32 to ext4. Unfortunatelly, when Thunar Automounts the stick, it is mounted as root and not as the current user, so if I ...
2
votes
0
answers
145
views
Ext4 switching to read only mode
I have very frustrating problem. My server randomly switches / mount to read only without any pattern.
Only message that I've found in logs is:
htree_dirblock_to_tree:920: inode #14286877: block ...
2
votes
0
answers
2k
views
My portable HDD cannot be mounted into filesystem -- can't read superblock
I have a Seagate portable hdd 1 TB formatted fat32. Now I had no problems at the very beginning, but now I am getting the following error:
Error mounting /dev/sdb1 at /media/zorobabel/EFI:
Command-...
2
votes
0
answers
522
views
How to expand the ext4 partition of virtualized Ubuntu running on top of CentOS/QEMU?
My company is running Xen--VMs run on top of CentOS/QEMU.
Recently a customer using virtualized Ubuntu asked that his HDD space be increased. Now, with Windows, this is a joke. You type the new size ...
2
votes
1
answer
2k
views
Recovering a file after having formatted from NTFS to EXT4
I used to have windows 7 but I've recently formatted my hard drive to install kubuntu and I've just realized that I forgot to backup a hidden .dat file which defines my bitcoin wallet. Is it possible ...
2
votes
0
answers
102
views
Is there a way to find the LBAs for free blocks in ext4
tune2fs can show the number of free blocks. Is there a method/tool to find the actual logical block addresses for each free block?
Thanks in advance
2
votes
1
answer
2k
views
Mount error on new, empty External HDD - ext4
Apologies if this seems like a very similar question to others already on the site. I have searched for a few hours now for solutions, but nothing seems to be quite the same.
I recently (2 days ago) ...
2
votes
0
answers
406
views
Install a software throe wine on ntfs partition
I have a question I want to install windows software, but I do not have enough space on ext4 partition, so if I install the software on ntfs directory will the software run as it would run on ext/home ...
2
votes
1
answer
3k
views
File recovery after reformattig ext3/4 partition -- extract old journal/superblock?
I seem to have reformatted my /home partition (previously ext4) as ext3 during an Ubuntu installation. It took me a couple of mounts to figure that out. Which, of course, is a bad thing. I've tried ...
2
votes
0
answers
431
views
Permissions to access an encrypted external HDD
I have an external HDD which has an encrypted ext4 filesystem.
When I plug it into one of my laptops and provide the encryption password, I get this popup box saying:
You do not have permissions ...
2
votes
2
answers
1k
views
PC crash, EXT4-fs error --ext4_find_entry inode reading directory iblock 0
OS: Ubuntu 22.04.3 LTS
DISK: Samsung SSD 860 EVO 1TB
My pc suddenly stopped working. It stops responding to commands, the icons (especially the ones to manage windows) disappear and are replaced by ...
2
votes
1
answer
894
views
Can't unmount ext 4 in gparted
I wanted to add extra swap to my pc I followed lots of tutorials but i needed to make a unallocated partition and for that I needed to unmount ext4
I'm totally new in Ubuntu or linux
Anybody a ...
1
vote
0
answers
54
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. ...
1
vote
0
answers
223
views
Is it safe to mount a Linux partition mounted using WSL2 in hibernated Windows 11?
WSL2 comes with support for mounting Linux partitions from non-removable drives in updated Windows 10 and Windows 11. When creating an ext2/3/4 partition, for example, on an internal drive, this ...
1
vote
0
answers
226
views
After formatting USB drive, "Failed to take ownership"
I've used the GUI Disks to format a USB drive just purchased as ext4. After formatting, I get the message:
Failed to take ownership of newly created filesystem: Cannot mount /dev/sda1 at /run/udisks2/...
1
vote
0
answers
362
views
Ubuntu showing "No space left on device" but I still have space
I have Ubuntu installed on a Lenovo laptop with three partitions. The first partition is formatted with an ext4 file system and mounted at root /. It has 248GB of storage allocated to it. The second ...
1
vote
0
answers
512
views
Problem dealing with corrupt file and mdadm
I'm running ubuntu server 20.04 with 4x 4TB drives in a RAID5 array using mdadm to provide a non-root, ext4 partition. I have a few rsync scripts to backup key folders and one of them generated an ...