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
13k 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 ...
Thomas O's user avatar
  • 338
0 votes
0 answers
1k 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 ...
user avatar
3 votes
2 answers
4k 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 ...
Bodhi Daruma's user avatar
0 votes
3 answers
5k views

Windows/Linux shared system drive storage formatting

I plan on setting up a dualboot with Windows10 and ArchLinux. They will share a 1TB SSD and a 3 TB HDD. How should I format the partitions on the different drives? What are the advantages of ext4 vs ...
jaaq's user avatar
  • 400
0 votes
2 answers
1k views

Ubuntu 16.04 create ext4: 500 TB file system

The ext4 standard suggest one can create a file system upto 1 EB in size. My goal is to create 500 TB of ext4 file system on Ubuntu 16.0.4. Check my fs creation command: sudo mkfs.ext4 -m 0 -J ...
Ashish Khurange's user avatar
1 vote
1 answer
423 views

How to rename a file on an ext4 filesystem from Windows with ext4 incompatible features with ext3 enabled?

I know about doing something like mounting the disk but all those solutions works because ext2 is retro compatible with ext3 and ext4. But that time, it won’t work : I enabled ext4 features so ...
user2284570's user avatar
  • 1,825
0 votes
0 answers
58 views

45Gb used out of 70Gb but only about 500Mb left according to df. How to troubleshoot the reason?

I’ve an ext4 filesystem which is stored as a file inside another fileystem (not a block device). On this system, I have 2 Berkley databases with the first being 25Gb large and the second being 20Gb ...
user2284570's user avatar
  • 1,825
0 votes
0 answers
149 views

Generated ext4 filesystem fails to copy correctly a big file

I'm using Buildroot to generate a Linux system for an embedded device. It build all the system in a "target" directory and then call mke2fs to generate a filesystem from this "target" directory. The ...
naggety's user avatar
  • 101
2 votes
1 answer
9k views

How to mount Android 10 vendor image file

I used to extract Android vendor image via following steps: Convert sparse image to raw image: simg2img vendor.img v.img Mount the raw image for copying files: sudo mount v.img somefolder However, ...
Robin's user avatar
  • 133
1 vote
1 answer
609 views

How to get a list of the least used (read) files on a Linux system

I'm doing a clean up of a hard drive to free up some space and avoid unnecessary files, I want to get a list of the files by their frequency of usage (i.e get a list of the most files read and the ...
MOHAMMAD RASIM's user avatar
1 vote
1 answer
3k views

Grub2 Not Recognizing EXT4 File System

I am trying to make a bootable kali linux usb and have it working for legacy bios computers. However, uefi is causing some trouble. The usb is split up into 3 partitions. The first is the efi/boot ...
user192148's user avatar
2 votes
1 answer
1k views

Recovering data from Synology NAS – RAID5, ext4, "number of reserved GDT blocks insanely large"

I have a 4-disk RAID5 array that had one of its four 3TB HDDs die. Being that RAID5 can tolerate a single drive failure, I'd like to try to operate the RAID5 without replacing the dead drive. (Run ...
Datanoob's user avatar
1 vote
0 answers
46 views

flash drive available space lower than expected with ext4

I recently formatted a 256G flash drive with ext4 on debian. Afterwards I set the reserved disk space to 0 via tune2fs -m 0 /dev/sdb1. However when I call df -h the available space shows only 229G. ...
user1073920's user avatar
1 vote
1 answer
983 views

Resized partition is not recognizing new space [duplicate]

I'm migrating from a 250GB SSD to a 1TB SSD, but after cloning and resizing the root partition the volume still only shows the original partition size. Here are the steps I took: First, cloning the ...
John Manko's user avatar
11 votes
4 answers
2k views

Linux ext4 restore file and directory access rights after bad backup/restore

I kind of screwed up the backup of my personal directory with rsync (maybe because I'm backuping on an NTFS filesystem): all files are here but all files and directories access rights are 777. I was ...
mszmurlo's user avatar
  • 215
0 votes
1 answer
2k views

How do I Edit ext4 filesystem data file

I have an ext4 filesystem data file myfile.bin file myfile.bin gives Linux rev 1.0 ext4 filesystem data, UUID=...... (needs journal recovery) (extents) (large files) (huge files) I am able to ...
tejas's user avatar
  • 105
1 vote
1 answer
1k views

Ext4 "Block bitmap differences" on new USB3 drives

I just bought two new USB3 drives, 2.1TB capacity and they came formatted to ExFAT. Normally I'd reformat to NTFS because NTFS works on Microsoft and Linux devices but recent difficulty with drive ...
Masked Coder's user avatar
0 votes
0 answers
507 views

Recover data after reformatting an ext4 partition and after trying recovery tools

I have mistakenly formatted a linux ext4 partition in the hard disk and wanted to recover the data. I have ran testdisk and fsck.ext4 on the /dev/sdb1 partition, but with no luck. Testdisk has ...
Angus's user avatar
  • 119
3 votes
0 answers
282 views

Analyse allocated space in Ext4 partition to improve data recovery efficiency

I'm trying to use Lubuntu to recover as much data as possible from a failing 4TB hard disk drive. According to GParted the main partition, formatted in Ext4, contains only 553GB of data. I attempted ...
GabrielB's user avatar
  • 855
0 votes
2 answers
2k views

What could cause a freshly formatted ext4 partitions to have wildly different used space?

I have four ext4 partitions on a newly formatted gpt disk. Eventhough I have no files in these partitions a lot of space is used up already. Highlighted in blue is a partition that has less used ...
Gabriel Fair's user avatar
  • 3,786
2 votes
1 answer
318 views

Why an empty directory has large volume?

All the directories below are empty [user@xxxx ~]$ ls -lah /home/1m total 387M drwxr-xr-x 22 foo foo 4.0K Apr 17 22:49 . drwxr-xr-x 10 foo foo 4.0K Apr 17 22:49 .. drwxr-xr-x 2 foo foo 9.2M Apr 17 ...
dimitris lepipas's user avatar
1 vote
0 answers
132 views

Recover secondary drive

I haven't been able to mount my secondary hard drive, and I am unsure as to the error. This happens when I try mounting through Nautilus: I tried sudo fsck.ext4 -y /dev/sdb1 and sudo fsck /dev/sdb ...
Austin McDonald's user avatar
2 votes
0 answers
46 views

Filesystem immediately stops working after hotswap disk inserted in secondary controller

I have a computer with one 250GiB SSD disk connected to first onboard SATA connector which holds one EFI partition and one root partition (ubuntu 19.04). The computer also has a second discrete SAS ...
Mr. Developerdude's user avatar
1 vote
2 answers
2k views

Is there a way to execute software from EXT4 partitions on Windows 10?

Right, my scenario is that I have a Linux system set up and I was thinking about maybe setting up a Windows 10 dual boot, for reasons. The problem is that I like gaming, and I have a hard drive ...
Cestarian's user avatar
  • 1,903
1 vote
0 answers
79 views

Ext4 - Last Write Time

I'm currently looking at an issue with data loss and was using the tune2fs utility, I was wondering what 'Last write time:' was referring too? The volume is written to constantly and backups confirm ...
mcastaldo's user avatar
0 votes
0 answers
29 views

Recovering data from failed disk expansion

My computer lost power in the process of expanding a partition with gparted. I believe the data is recoverable. Started with an NTFS partition on my 2TB HDD. De-fragmented and shrunk the partition ...
user avatar
1 vote
1 answer
190 views

recovering any possible files after partially overwriting partition and partition table

My question is along the lines of "format c:" after making jokes about it for decades... I had a secondary hard-drive 1TB ext4, formatted as a single partition - it was "slower but larger data" ...
emilytench's user avatar
0 votes
1 answer
3k views

How does mkfs -c works

I have faulty 3 Tb drive. There's a lot of bad blocks, but it's still has about 2.6 Tb usable space and I'd like to utilize it for trash storage (music, videos, etc.) At first I came across some guy's ...
agp22888's user avatar
1 vote
0 answers
1k views

Change raid partition to ext4

I have an external HHD that has somehow been formatted as 'linux-raid' when I look at it in gParted. I have no idea how I have accidentally done this but I guess I misused some new feature of an open ...
myol's user avatar
  • 157
1 vote
1 answer
1k views

About emmc file block mapping

I successfully locate a file on ext4 filesystem. For example, the beginning 4k block of the file "cyclic.txt" is 105441. But when it read it from emmc card directly ,the first emmc block is not there ...
S. Ezreal's user avatar
1 vote
1 answer
326 views

Hard Disk Appear, Disappear and Reappear?

I just bought a brand new 8TB hard drive yesterday. I connected it directly to my motherboard, and ran gdisk to re-partitioned and created ext4 (mkfs.ext4). I saw it in my file manager, and I ...
HCSF's user avatar
  • 165
0 votes
1 answer
193 views

Problems after lvm resize

fsck -l gives: hacker3000@highpower:~$ sudo fdisk -l Disk /dev/loop0: 86,9 MiB, 91099136 bytes, 177928 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / ...
H3wastooshort's user avatar
0 votes
0 answers
2k views

Unable to mount Ext4 LVM (structure needs cleaning) but fsck reports it as clean

Following a reboot I have an ext4 LVM that is unable to mount, returning the following message: mount(2) system call failed: Structure needs cleaning. Most all advice I found so far to fix this ...
lechuck's user avatar
1 vote
2 answers
15k views

Getting an “is not a block special device.” error when trying to mount an 8TB disk in CentOS 7.6

I'm trying to format and mount a 8TB external as an ext4 and it doesn't seem to work right. The drive is a Seagate 8TB expansion desktop drive. Model number is STEB8000402. I can create my partition ...
acme64's user avatar
  • 445
0 votes
1 answer
898 views

Is it required to manually run e2fsck at regular intervals?

Is it required to manually run the e2fsck (used to check a Linux ext2/ext3/ext4 file system) at regular intervals, an if so, how often should I run it? Or can I rely on a present S.M.A.R.T. (Self-...
EquipDev's user avatar
  • 280
0 votes
1 answer
439 views

How to create raid1 mirror for existing mdadm raid0 - without overwriting data

I created a /dev/md1 raid0 across two drives, added ext4 filesystem, and it's mountable and working fine. I created a /dev/md2 raid0 across two drives, added ext4 filesystem, and it's also mountable ...
gboone's user avatar
  • 3
0 votes
1 answer
626 views

How to make ext4 partition from macOS 10.13.4 High Sierra?

I need to make an ext4 partition from macOS 10.13.4 High Sierra. The partition will be from the same disk that os x is installed in. I cannot see this option in Disk utility. Is there a terminal ...
MapleSyrup's user avatar
0 votes
3 answers
6k views

How to merge two ext4 partitions, when there is an unallocated space between them?

I have two ext4 partitions: /dev/sda6 is the one on which I have my Ubuntu right now, /dev/sda5 is a recently created empty ext4 partition. How to merge them so the data will not be lost?
Timur's user avatar
  • 1
1 vote
1 answer
1k views

How to add a sector to the list of badblocks for ext4?

dumpe2fs -b /dev/sdd1 can dump blocks that are known to be bad by ext4. How do I manually add a block to that list without redoing mkfs ?
Benoit-Pierre DEMAINE's user avatar
2 votes
0 answers
208 views

HDD issue: Buffer I/O error on dev

One of my drives that's encrypted (LUKS + cryptsetup) ext4 seems to give strange errors when looking at dmesg / syslog: https://pastebin.com/RZdJK2qg And I can't ls into it (but I can cd into it) ...
Sheep the money's user avatar
2 votes
1 answer
669 views

Dual boot and Dropbox

I dual boot on my laptop: Ubuntu Mate 18.04 LTS Windows 10 I've set up Dropbox in both operating systems. I'm not actually syncing the Dropbox twice -- as my Dropbox is quite large, this would be ...
Rody Oldenhuis's user avatar
0 votes
1 answer
811 views

mdadm raid has unknown filesystem after adding new disk

My Computer is running ubuntu 1804 but i am new to linux. I am using mdadm and created a raid-5 with 3x 4TB drives (sda, sdb sdc). OS is on a separate SSD (sde). No, I don't have a backup. Yes it is ...
dallyger's user avatar
2 votes
1 answer
9k views

Inodes that were part of a corrupted orphan linked list found. How to understand what caused it and how to solve?

I bought a Centurion Nano from the now defunct Alpha Computers, it ships with Alpha OS (that is essentially a tampered Ubuntu): $ cat /etc/os-release NAME="Alpha OS" VERSION="1.0.0 Polaris" ID="alpha-...
Arjuna Del Toso's user avatar
1 vote
1 answer
2k views

Resizing ext4 partitions without breaking the system

I decided to split my hard drive into two partitions in order to keep my OS (Linux Mint) and home folder separate. The idea in general was nice, but I failed to estimate the sizes of the partitions ...
LA.27's user avatar
  • 121
0 votes
0 answers
89 views

folder for no reason converts into file - why? where is my data now? can I get it back?

I just shut down my PC yesterday and when I started it today the directory, where I saved my important files is not there anymore and instead there is a file with the following content: "AppWorkshop" ...
Tayou's user avatar
  • 1
0 votes
1 answer
184 views

Ubuntu mounting issue (16LTS - Upgraded from 14 4 months back)

So we were having a problem with snapd so we tried stopping and starting the instance - snapd froze up. We then tried to stop it the command we ran with snapd (snapd stop [instance]) but it didn't ...
Brendan Jennings's user avatar
53 votes
3 answers
10k views

Is there a way to make ext-filesystems use less space for themselves in Linux?

I have a bunch of external and internal HDDs that I use on a Linux system. I only have Linux systems, so using a Linux file-system would only make sense, right? However I'm currently using NTFS ...
confetti's user avatar
  • 2,455
2 votes
1 answer
4k views

installing OpenMediaVault 4 from usb stick fails with "failed to create file system"

I've been trying to install OpenMediaVault 4.1.3 from an usb stick on my HP Microserver Gen8. I created the boot stick in various ways (dd, etcher, UNetbootin) but during installation (in the ...
Fábio's user avatar
  • 121
0 votes
0 answers
36 views

Varying foler size in linux

I know that Linux doesn't show the total size of the contents in a folder as the folder size as Windows systems do. The following screenshot shows what I mean: Unlike shown in the image, the total ...
RogUE's user avatar
  • 3,611
1 vote
2 answers
432 views

Hard disk noise under linux gets smaller when partitioned

I just bought a Toshiba X300 8TB 7500r hard disk. At first I used the whole disk as a partition, the noise is really intolerable. Then I tried to use a small partition of 1TB or 2TB, the noise is ...
Vimos's user avatar
  • 113

1 2
3
4 5
9