2022 Developer Survey is open! Take survey.

Questions tagged [ext4]

The ext4 or fourth extended filesystem is a journaling file system for Linux, developed as the successor to ext3.

Filter by
Sorted by
Tagged with
1 vote
0 answers
25 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 ...
user avatar
  • 381
0 votes
1 answer
38 views

Partition in another partition too small

So I've got a problem with a partition in a partition. Disk hierarchy: My disk (nvme0n1) is partitioned into 3 parts. /boot/efi 512M (nvme0n1p1) /boot 1G (nvme0n1p2) no name (nvme0n1p3) nvme0n1p3 ...
user avatar
1 vote
0 answers
23 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 ...
user avatar
  • 31
14 votes
2 answers
1k views

Dropbox on a dual-boot machine

I have a dual boot laptop- Ubuntu 20.04 and Windows 10, both located on same HD, different partitions, and a third one, meant to be for common use. To avoid putting my Dropbox folder on each OS, I ...
user avatar
  • 909
0 votes
0 answers
61 views

Unable to reformat SD-card to ext4

edit: I solved the problem by using a USB drive instead OS: ubuntu 20.04 (headless) Hardware: Beaglebone Black My beaglebone black (BBB) has too little space to install some software I need. Therefore ...
user avatar
0 votes
1 answer
50 views

How to list files in a unmounted ext4 file without mouinting it

So say if I did mkfs.ext4 on a 1 GB file to make an ext4 file system then mounted it and add the file cat.ls unmounted it and sent it to B computer that did not have sudo (note I will not use fuse) ...
user avatar
  • 304
0 votes
1 answer
42 views

Is it possible to rearrange and recreate a single disk partition in a raw image file?

Host: Ubuntu 20.04.4 LTS Current status: Raw image file has 2 partitions, p1: boot and p2: rootfs. Disk original.img.bak: 3.25 GiB, 3487742976 bytes, 6811998 sectors Units: sectors of 1 * 512 = 512 ...
user avatar
0 votes
2 answers
72 views

Thinkpad T14 AMD gen2 ext4-fs error

Hello I bought new Thinkpad T14 AMD with Ryzen 5850U and unable to properly use Ubuntu on it. My steps: Shrink existing Windows 10 Install Ubuntu in one single partition (ext4, no ecryption, swap, ...
user avatar
0 votes
0 answers
31 views

Preventing ext4 metadata corruption during shutdown

Recently, I have started getting the "Read-Only File System" error when shutting down the system (Xubuntu 20.04 LTS running on an HP laptop). Rebooting does not trigger these corruptions. ...
user avatar
0 votes
1 answer
37 views

Transfer I/O to RAM on ssd based linux

I have kubuntu 20.04 lts on my ext4 installed on ssd. There are processes lattedock and jdb2/ constantly writing on ssd. How can i safely mount these processes on RAM to avoid I/O on ssd, where i ...
user avatar
0 votes
1 answer
37 views

ext4 FS image gets corrupted on first mount

I"m in the process of replacing my M.2 SSD with a new and larger one. I want to save an image of my existing partitions before I take out my old SSD so that I can refer to it when setting up my ...
user avatar
  • 161
0 votes
0 answers
25 views

Corrupted Synology "Version" File During DSM Downgrade Attempt (Edit ext4 drive in Ubuntu?)

While trying to downgrade from DSM 7 back to DSM 6, I SSH'd into drive with root privileges and modified the "version" file incorrectly (vi /etc.defaults/VERSION). When I restart the NAS and ...
user avatar
5 votes
1 answer
361 views

Xubuntu 20.04 default file system is ext2/ext3 and not ext4?

I installed Xubuntu 20.04 on a 2T SSD drive. To my surprise, it installed the old ext2/ext3 file system instead of ext4. Why is that? $ lsb_release -a No LSB modules are available. Distributor ID: ...
user avatar
0 votes
1 answer
21 views

Do I need to check readonly disks on boot?

Every x startups, fsck will scan the disks for errors. This takes a very long time for large Disks. Suppose I made a harddisk read-only with the command sudo tune2fs -O read-only /dev/sdXY. Are those ...
user avatar
2 votes
1 answer
107 views

Make file system/partition Read-Only for archiving purposes

I have found a couple of questions relating to file systems which are in Read-Only mode after failure and how to make them writable again. I want to achieve the exact opposite. I have 3.5" Hard ...
user avatar
0 votes
0 answers
44 views

when booting ubuntu EXT04FS

when booting Ubuntu (after checking graphic card - clean) has this error message In Ubuntu 20.04 164.000 EXT4-fs (sdb1) : VFS:can`t find ext4 filesystem 200.000 EXT4-fs (sdb1) : VFS:can`t find ...
user avatar
  • 1
0 votes
0 answers
33 views

Unable to transfer files from Windows (NTFS) to Ubuntu (EXT4) directly

I'm attempting to mount Windows (NTFS) on Ubuntu (EXT4) so that I can move files directly across. With the following command, I mounted with the correct permissions: sudo mount -o remount,rw '/media/...
user avatar
0 votes
0 answers
61 views

Readonly filesystem problem!

we use ubuntu 18.04 for our applications and the app write in disk every second (save picture ) sometimes the hard disk has broken and shown readonly filesystem this is the message of error : ...
user avatar
0 votes
1 answer
191 views

Why does Ubuntu use ext4 by default? [closed]

Note: I'm not asking how to use a different filesystem. I'm asking for the reasoning behind the choice of ext4. Ubuntu (21.10) uses ext4 by default. But, there are a great many other filesystems that ...
user avatar
  • 2,143
0 votes
0 answers
37 views

Move a Ubuntu data disk to a new Ubuntu computer

I have a data only internal hdd formatted ext4 in a Ubuntu 18.04 desktop. How do I take it out of that machine and permanently mount it, sata not usb, with full read/write access in a different Ubuntu ...
user avatar
0 votes
1 answer
81 views

How to get a newly created EXT4 filesystem to finish writing the index node immediatly?

I newly created an ext4 1TB partition, but I could not spin down the Hard disk on which the partition is mounted without unmounting first because the disk is having some activity every about 2s. I did ...
user avatar
  • 323
0 votes
0 answers
39 views

Identifying case insensitive file and folder conflicts

I'm making a backup of an EXT4 system on an exfat partition. The EXT4 system has identical names with different cases, for instance Video, and VIDEO. Is there any way to find and identify all the ...
user avatar
  • 27.2k
-1 votes
2 answers
155 views

Installing a new 4tb hdd not knowing to go for e.g. ext4 or NTFS as a format, some advice please

To keep it short and sweet: just bought a 4tb disk to replace a broken one. Not sure to use a linux format a.i. ext4 or NTFS. I will mainly use the disk to store music and films and some (Win-)...
user avatar
  • 81
0 votes
0 answers
39 views

Help to choose right file system type to create

I need help about a file system creation on Ubuntu server 21.10 installed on a virtual machine hosted on vmware environment. In particular I'm like to know which kind of FS I should use for my ...
user avatar
  • 11
0 votes
0 answers
264 views

Mount a full disk / memory image that contains multiple partitions formatted in FAT32, EXT3 and EXT4 (Android type)

I have made a full memory backup of my rooted Android phone and I would like to be able to mount the images of the Internal Memory and the SD Card in Ubuntu. The Internal Memory has many different ...
user avatar
1 vote
1 answer
240 views

Ext4 fast_commit feature

Since 5.10 kernel there is a new feature called fast_commit. In arch wiki https://wiki.archlinux.org/title/ext4 you can read that it can be enabled in existing filesystem with: tune2fs -O fast_commit /...
user avatar
  • 4,067
2 votes
1 answer
228 views

Can't repair ext4 partition after power outage, e2fsck keeps crashing, can't find out what is wrong?

After power outage, Ubuntu couldn't repair ext4 and throws the same error as below with e2fsck: So I use the latest SystemRescue LiveCd and try to manually do fsck. e2fsck /dev/sda2 : /dev/sda2: ...
user avatar
0 votes
1 answer
139 views

Most of my ext4 Linux Filesystem partition is read-only? How to make it writable?

I have dual booted my computer into Windows and Ubuntu. My SSD is divided into two partitions. One contains the Ubuntu files and the other Windows files. The HDD is my data drive. I have stopped Fast ...
user avatar
0 votes
0 answers
25 views

Stuck on mounting ext4 but luks is unlocked on usb drive

I have a drive that I cannot access anymore. I have it on LUKS and at first it worked properly, but now it's just stuck on mounting the EXT4 part of the drive. I tried using gparted and mkusb but both ...
user avatar
  • 1
0 votes
1 answer
55 views

rename upper lower case filenames no more possible [closed]

After today's major upgrade of Xubuntu, it have been downgraded to Windows, and will NOT distinguish between upper and lower case letters!! On a laptop that haven't been upgraded it still works fine, ...
user avatar
  • 1,225
0 votes
0 answers
88 views

Debugging root partition not unmounted on reboot in Ubuntu 20.04

I have a problem where every time I reboot my Ubuntu 20.04, if I do a fsck on my root partition (from a Live Boot USB), I will get Recovering journal [...] clearing orphaned inode [...] This ...
user avatar
  • 115
1 vote
0 answers
203 views

restore ext4 HD after creating GPT partition table

I have a windows10 - ubuntu 18.04 dual boot computer. Three drives on it: 512 GB SSD with ubuntu system 1 TB HD with windows system 1 TB HD Ext4 formatted (the problematic one) for extra data ...
user avatar
  • 121
1 vote
0 answers
40 views

How can I recover data in a failed hard drive?

My hdd with all the partitions (ext4) for Ubuntu failed. Two days ago, I started to hear repeated beeping every a few seconds, and it sometimes became silent for hours, and then came back. Today, I ...
user avatar
  • 11
0 votes
2 answers
83 views

Explanation of errors found by fsck on ext4 filesystem

I restarted my system from the terminal using shutdown -r now (instead of the usual option in the menu), and then I ran fsck on the filesystem and got errors like: Free blocks count wrong ... Free ...
user avatar
  • 115
2 votes
1 answer
85 views

Plugged in ext4 to Windows, how to recover the data in Ubuntu?

I moved all my data to a new drive and it seems to be lost. Please help me to recover the data. Here is what I did to make the problem occur: I moved, not copied the data. (First mistake) The HDD was ...
user avatar
0 votes
0 answers
22 views

how to resize ext4 partition that is mounted as /home [duplicate]

On Ubuntu 21, I have a separate ext4 partition which is currently mounted as /home. How can I shrink this partition (in order to make space for a new ntfs partition that I can use on Windows?)
user avatar
  • 21
0 votes
0 answers
165 views

Hard disk not recognised as ext4 on reboot

I have a 12TB internal hard disk on my Ubuntu 18.04 workstation that when I boot, is assigned a 17MB 'Microsoft Reserved' partition and the rest is allocated to a second partition as free space (...
user avatar
  • 1
0 votes
0 answers
345 views

wrong fs type, bad option with USB HDD

I am fairly new to Linux and wanted to take a USB powered HDD that I was using as storage on a Raspberry Pi and add it as a data drive on an Ubuntu 20.04 PC (I want to go from the Pi to this new ...
user avatar
0 votes
0 answers
48 views

Is there a simple way to recover ext4 files from a lvm partition on a USB drive?

I removed the SSD drive from a failing computer so that I could recover the files from it. I put the drive in a USB enclosure and mounted it on another computer, but the partition containing those ...
user avatar
-2 votes
2 answers
752 views

Resizing NTFS partition in Linux won't work [closed]

I recently switched from Windows 10 to Arch Linux and as I didn't want to lose my data, I left my 2TB HDD untouched during the install and only formatted my SSD. The install worked out nicely and I'm ...
user avatar
  • 19
0 votes
1 answer
74 views

Translate badblocks result from 1024 block size to 4096 block size?

I have a 4TB hard drive which I ran the badblocks utility without passing in the -b block-size parameter. So I'm pretty sure it defaulted it to 1024, and my 4TB drive/filesystem is most likely setup ...
user avatar
0 votes
0 answers
47 views

Three paritions appears in my pendrive ntfs, ext4 and unallocated (write protected)

I have hp pen-drive with the model v232w. First I created the bootable image for Ubuntu which created ext4 partition and some unallocated space. Then I tried to create bootable image of the windows on ...
user avatar
0 votes
0 answers
40 views

Can I change curtin fstype to xfs instead of default ext4?

I want to change default behavior of filesystem on maas auto deployment virtual machine to something like xfs rather than default ext4 but it seems to me it is not possible. according to curtin ...
user avatar
0 votes
1 answer
138 views

Better file system type than ext4 for recovering deleted files?

I usually format all my drives to ext4, and have limited luck in restoring deleted files (using extrecover, extmagic etc.). Is there a better file system type, or any special formatting options, that ...
user avatar
0 votes
0 answers
84 views

fsck.ext4 does not fix file system problems entirely

every now and then I fall into emergency mode and have to use command below to recover ubuntu: fsck.ext4 /dev/sda3/ it works as expected and recover ubuntu. However, after using ubuntu once or twice ...
user avatar
  • 121
0 votes
1 answer
79 views

Issue while creating 2nd partition on NON-system drive: "not possible to create more than 1 primary partition"

I have an empty drive disk for file storing it has no installed system image, I need to separate it on two partitions. I have Ubuntu 16 on another physical drive. When I try via Gparted to Resize ...
user avatar
  • 23
0 votes
1 answer
368 views

Ubuntu 20.04 boots to black screen which says /dev/nv*******: clean, 508***/650**** files, 247*****/260******* blocks

Other times after I reboot this line is prefaced by /dev/nv*******: recovering journal And sometime there's also a couple lines saying /dev/nv*******: clearing orphaned inode 406**** (uid=125, gid=130,...
user avatar
  • 11
0 votes
0 answers
3k views

e2fsck: unable to set superblock flags while trying to repair SSD

After a couple of force shutdowns of Ubuntu 20.04, I am getting busybox prompt on boot from my 256GB M.2 SATA SSD(sdb). Booted from another HDD(sda) and Disks is showing the following error when ...
user avatar
  • 2,151
0 votes
0 answers
31 views

Hardware failure symptoms

I believe I have encountered an hardware failure, but would like to be sure of what component/s is causing the problem. I'm running a raspberry pi zero. When I have experienced this error, I was ...
user avatar
  • 1
0 votes
0 answers
21 views

"0 bytes free" after partition resizing, but there is much unused space [duplicate]

Using GParted, I resized two Ext4 partitions on my external HDD, making them smaller. But now the OS says there is no space available on both of them. This is the outptut of df -H for those partitions....
user avatar

1
2 3 4 5
14