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
0
votes
0answers
15 views

Find corrupted files on a partially recovered ext4

I have hard disk that was damaged by impact when it was running. The disk had 6 partitions and some unallocated space too. After the impact, 3 partitions appear to be fine and I am able to read/write ...
1
vote
1answer
33 views

Trying to understand how the deletion of hard links relate to the freeing up of values in the inode table?

When a hard link is deleted, the link is removed but the contents of the file itself continue to exist (that is, its space is not deallocated) until all links to the file are deleted. My understanding ...
0
votes
0answers
13 views

It is possible to read and WRITING on ext4 partition in windows_ [duplicate]

Reading is possible, but WRITING? older version(ext2/3) is possible, but ext4? i don't have idea!
0
votes
0answers
25 views

Can't format M.2 SSD as ext4

I'm not able to format my new M.2 as ext4 or xfs I tried using the Kubuntu installer as well as GParted live CD with no luck What could be the cause? Drive info
0
votes
0answers
47 views

Running Windows with an external ext4 drive caused the drive to become unreadable and now appears to be formatted with NTFS how do I recover my data

I used the Windows media creation tool to install Windows onto my USB. I installed Windows on a 120GB SSD in the system, along with that SSD is three other SSDs and two 12TB Western Digital Pro HDDs. ...
1
vote
1answer
50 views

How is it possible for empty files to take zero bytes in Linux?

I've also asked a sibling question for Windows. In Linux (I just tested): The size of an empty folder is given as 4 KB (regardless of its name) The size of an empty file is given as 0 bytes However,...
0
votes
1answer
21 views

How to group files into seperate folders by date modified?

I have a large quantity of files that I would like to group into folders by year, using date modified, for convince. I am using an ext4 filesystem on linux. Are there any scripts/tools that could help ...
1
vote
2answers
92 views

My luks encrypted image unlocks but fails to mount

I have a LUKS image which I decrypt, mount and save important documents to. Until recently, this was running fine, on an Ubuntu 19 machine. I shut this machine down, while the image was mounted, ...
0
votes
0answers
33 views

samba server on linux - w/r speed more slow in ext4

i install a samba server on ubuntu server. i configure by default(but try diferent parameters) .there is two usd drive mount, one with ext4 and other in ntfs the hardware is a minipc: intel celeron 1....
1
vote
2answers
280 views

Should I format my external hard disks in EXT4 or NTFS or BTRFS? [closed]

I have four hard disks: 240GB SSD formatted as EXT4 for main OS. 3TB HDD formatted as NTFS for main files. 500GB HDD formatted as NTFS for luks containers. 4TB HDD formatted as NTFS for backuping all ...
1
vote
0answers
549 views

Mount Linux USB drive via WSL2

I'm following this guide from Microsoft describing how to mount an external Linux drive via WSL2. I have 10.0.20279 N/A Build 20279 on an ARM64 machine. I inspect the available drives with this ...
0
votes
0answers
35 views

EXT4 error loading journal in NAS server

My NAS server is recently refusing to mount an external USB drive: root@MyCloudEX2Ultra root # mount -r -t ext4 /dev/sdc1 tmp/ mount: wrong fs type, bad option, bad superblock on /dev/sdc1, ...
0
votes
0answers
17 views

How to merge unallocated storage with other partition in Manjaro

Hi. I need help being able to merge my unallocated storage with the nvme0n1p5 storage. Is this possible? Please see the attached image. Thank you.
0
votes
0answers
35 views

Files on encrypted LUKS take up more space

I have 2 drives (both the same size). One of them just has a simple ext4 partition on it. The other drive is encrypted with LUKS, opened and also formatted with ext4. However, when I copy files from ...
0
votes
1answer
38 views

Resizing ext4 partition of a guest Ubuntu on vmdk on ESXi 6.0

I have rather old ESXi 6.0 that hosts a vm with Ubuntu. I need to increase the disk for it. I don't have vmware-vdiskmanager as advised in https://kb.vmware.com/s/article/1004047
0
votes
1answer
90 views

Can I open a file by its inode in a ext4 LUKS partition?

I have an ext4 LUKS partition where I "deleted" a file. (I moved one into other: mv /media/HDD/file1.txt /media/HDD/file2.txt where both file1.txt and file2.txt already existed). Files in ...
0
votes
0answers
35 views

How to mount a linux ext-4 iso in WSL?

So I have an .ISO file made from RaspberryPi. I have it on my windows hard drive. I want to mount it so that I would be able to see its contents and edit them in WSL. How to do such thing: mount and ...
0
votes
0answers
25 views

How to tell if ext4 partition has initialized inode tables completely?

With ext4lazyinit feature, the inode tables initialization can be done at the first mount. I think there are some options to stop inode tables initialization at mount too. To check if the system is ...
1
vote
1answer
503 views

Will long time ext4lazyinit damage the drive? Why initializing inode tables in ext4 (no need any kinda init in NTFS)? etc

I never pay attention on ext4lazyinit before. But today, after I format my 4TB external USB harddrive and the first mount, the led light keeps blinking without any writes and reads. I figured out that ...
0
votes
1answer
114 views

system generally slow when hard disk is nearly full

I am using Ubuntu. I have a root partition and a separate, large ext4 data partition. The data partition has ~2GB free according to df and with that, things are fine. I experience a repeatable ...
0
votes
0answers
47 views

Create ext4 img in windows

I am trying to create an automated android x86 installer for my friend. I am creating img with dd. But I cant format it ro ext4. I found e2fsprog on a form but cant find a valid exucatible. How can I ...
1
vote
1answer
367 views

Is it safe to convert EXT4 to BTRFS inplace?

Ubuntu 20.04 makes it very hard to create an encrypted installation with BTRFS file system. Thus, I have an encrypted installation running on ext4. For a number of reasons I would like to use BTRFS ...
0
votes
0answers
25 views

What could cause filesystem (EXT4) inconsistencies? Can exhausted CMOS battery be the cause?

There is a desktop PC which suffers continually from EXT4 filesystem inconsistencies. The PC does not boot up. I use fsck to repair the filesystem. The PC works fine again, after some time the ...
0
votes
0answers
150 views

ext4 filesystem corrupt after filesystem shrink

Outline I am trying to shrink an LVM logical partition (/opt/) that houses an ext4 filesystem on Oracle Linux 6.10. The LV is 30GB in size, and contains 10GB of data (reduced from 18G moments before ...
1
vote
0answers
16 views

Why `du` output / subdirectory size on disk changes after creating a file in parent directory?

╼ pwd /some/dir ╼ ls ╼ some_script.py --create centos-chroot ╼ ls centos-chroot ╼ du --block-size=1 -s centos-chroot 6320181248 ╼ fallocate -l 36613854208 largefile ╼ ls centos-chroot largefile ╼ du --...
0
votes
2answers
229 views

How to count total size of directory, and why `du` output differs between copies of directory?

Because I am clearly missing something here: $ cp -a CENTOS-chroot 1 $ cp -a CENTOS-chroot 2 $ cp -a CENTOS-chroot 3 $ cp -a CENTOS-chroot 4 $ du --block-size=1 -s 1 2 3 4 6320304128 1 ...
1
vote
1answer
95 views

How safe is forward compatibility in EXT4?

I EXT4-formatted a HDD with e2fsprogs 1.45.6-2 on a 64-bit ArchLinux (Kernel 5.4.50) and filled it with data. Afterwards I installed it into a different computer running 32-bit Debian Jessie (Kernel 3....
1
vote
1answer
804 views

How to create sparse, bootable Linux backup images?

I've set up a new Linux workstation and would like to create a backup image in order to save time in case something breaks. This is the situation: Workstation: 512 GB SSD, 12 GB used, ext4 file ...
0
votes
0answers
32 views

How to check OS image root directory permissions without booting it?

I recently recognised that the root directory of an (ext4) partition actually has UNIX permissions stored, although when mounting a partition from within a running OS it is not visible since its ...
0
votes
0answers
412 views

External mounted HDD with USB 3.0 Mac, only one partition recognized

An external HDD has multiple partitions, NTFS, FAT32, ext3, ext4. When mounting external HDD over USB3, only the NTFS partition is visible in both Finder and Disk Utility app. FUSE was installed on ...
0
votes
1answer
277 views

Macrium Reflect: cannot mount ext4 partition from image

I created a full disk image of my notebook with Macrium Reflect Free 7.2.4942. Said notebook is configured to dual boot Windows 10 and Ubuntu 19.10. Ubuntu is installed in an ext4 partition. Now I'm ...
0
votes
0answers
219 views

Restoring files from raw ext4 image without a journal?

Running linux/Ubuntu 18.04.04 I have a disk image that I've dd'd from an ext4 partition. I had a corruption disaster that cleared the whole 500G disk and left me with some files and some garbage in ...
1
vote
2answers
113 views

Hard drive shows as full after reformatting / partition alignment, what to do?

I have a 8 TB drive that previously was a Windows formatted NTFS drive. On this drive I have a large file that has a size of 7 TB (7.696.581.394.432 Bytes). I switched my OS to Linux and noticed that ...
0
votes
1answer
435 views

How to calculate exact size of partition and number of inodes to write a directory

I need to write a directory with files (specifically - a Linux chroot) to a file with LVM image on it. The background of task is stupid, but I want to understand what is going on for now. I calculate ...
0
votes
1answer
1k views

Why do disk errors appear in dmesg output even though fsck has not been run?

I have an 8TiB disk attached via UBS3 and formatted into 3 EXT3 partitions which I use as a backup drive (it's plugged into a SATA cradle). The disk has been attached and mounted for several days ...
0
votes
3answers
1k views

What is the state of ext2/3/4 support in Windows as of 2020?

I haven't used Windows on my own machine for several years, and thus have not had the need to access ext2/3/4-formatted partitions with Windows. I had used to use ext2fsd, which, with some grumbling ...
0
votes
0answers
25 views

Can't create files with specific names in specific directories. “no space left on device”

I ran into problems with a proces that produces a huge amount of files within a subdirectory (potentially even going into the millions) following a very specific filename-scheme (e.g. something like ...
0
votes
1answer
182 views

ext4 disk cleanly unmounted, but fsck.ext4 claims it was not and finds errors

I've got a (new) 8TB SATA hard disk that I bought to backup my Ubuntu 16.04 data disks. It's connected to my box via a Technet USB3 docking station (that I've used before and not had problems with). ...
0
votes
2answers
1k views

NTFS vs Ext4 - Reliability [closed]

Background I have an NTFS formatted external drive attached to my Ubuntu 18.04LTS system that I use for temporary staging of files - some video files, some large archives receive from clients, lots ...
0
votes
1answer
113 views

Directory junction equivalent for ext4

In the NTFS, directory junctions used as hard links for a directory. However, on the ext4 file system, no such equivalent exists (to accomplish this task, you have to make a symbolic link). Is there ...
0
votes
2answers
258 views

etx4: failed to create a filesystem with block size less than 4 KB on large partition

OS: Ubuntu 18.04 File system partition size: 472 TB ext4 file system is successfully created with 4KB block size. When attempted to create same filesystem with 1KB or 2KB file system block szie ...
1
vote
1answer
6k views

Is it possible to mount an ext4 partition in Windows, and move the ProgFiles and Users folders on that partition?

I am looking for the most storage-efficient way to dual boot windows and linux with linux being the 'primary' OS. I had an idea, that maybe I can create a very small partition that is just big enough ...
0
votes
1answer
75 views

How do you check the size of a disk and its max number of inodes

I just had a computer crash I think because I exceeded the max number of files. Eventually I would like to increase the number of inodes of a drive as this person has done https://serverfault.com/...
0
votes
1answer
630 views

ext4 slow write performance after file system is 90% full

I'm using Ubuntu 18.04. My observation for ext4 file system is, once I cross the 90% of data usage the write performance crawls. We have a RAID6 configuration over 12 disks, total 90TB file system. ...
0
votes
0answers
363 views

“No valid partition table was found on this device.” + “Error: Can't have a partition outside the disk!” + fdisk reads “7.3T” Size; How do I fix this?

Distro: Netrunner Blackbird (Debian) I/O: Sata to USB cable KDE Parition Editor: "No valid partition table was found on this device." me@computer:~$ sudo parted -l Model: ATA LITEONIT LCT-128 (scsi)...
0
votes
1answer
49 views

How to make every file available for every one on every computer on an EXT4 usb stick?

I need to have an USB stick with a git repository on it because i may want to change things in the repo on several computers (centos and redhat) The repository uses symbolic links so this stick ...
0
votes
1answer
40 views

Linux: Specifying precise total size when formatting

How do I format a partition into ext4 with a specific amount of total filesystem space, which is in the second column of df -B1? Can I do that with another filesystem type? I need that only for test ...
1
vote
0answers
9k views

Does Windows 10 now support EXT4? [closed]

I recently updated my home PC from Windows 7 Pro to Windows 10 Pro via the inline update tool (update existing installation.) This went smoothly with no notable issues. Upon completing the update I ...
0
votes
0answers
343 views

how to change from zfs to ext4

i accidentally create zfs pool to sda1 with sudo zpool create -f lxd-zfs-pool /dev/sda1 zpool status output is pool: lxd-zfs-pool state: ONLINE scan: none requested config: NAME STATE ...
2
votes
2answers
1k views

Make a folder access case insensitive on Linux ext4

I'm trying to run a mod for a game on Linux and this mod reads files from a texture folder in a case insensitive manner (the mod runs on windows as well). I was wondering if there was a way to expose ...

1
2 3 4 5
8