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.

ext4 (fourth extended filesystem) is a backward compatible journaling file system for Linux, developed as a direct successor to ext3.

ext4 has a number of improved features over ext3, such as:

  • Faster filesystem checking
  • Delayed and multi-block allocation
  • Journal and metadata checksumming
  • Transparent encryption
  • Maximum 16 Terabyte file size
  • Maximum 1 Exabyte volume size
715 questions
29
votes
3 answers

How do I resize an ext4 partition beyond the 16TB limit?

When attempting to resize and old ext4 Partition that was created without the 64bit flag, resize2fs 1.42 will fail if the new size is or exceeds 16TiB. $ resize2fs -p /dev/mapper/target-device resize2fs: New size too large to be expressed in 32…
anx
  • 2,348
10
votes
3 answers

Why do ext2 and successors not need defragmentation?

The ext2/ext3/ext4 filesystem family does not need defragmentation. What underlying design help this filesystem in not getting fragmented?
Atur
  • 249
5
votes
3 answers

Error? Ext4-fs (sda6): couldn't mount as ext3 due to feature incompatibilities

In recent weeks, when the attempt system boot Ubuntu, the following information appears on the screen with black background: Ext4-fs (sda6): couldn't mount as ext3 due to feature incompatibilities. Ext4-fs (sda6): couldn't mount as ext2 due to…
Daniel González
  • 51
  • 1
  • 1
  • 3
2
votes
0 answers

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
user192749
  • 131
  • 1
2
votes
2 answers

Arbitrary EXT4-fs remounts scattered throughout dmesg output

I've been trying to diagnose a message I see in my dmesg output. Last night I was watching a video which really taxed my notebook and I noticed that the computer was super hot and the fan wouldn't stop blasting away at full speed, even after I…
1
vote
1 answer

ext4 - Bulk File Storage Only - Journal Enabled vs Disabled?

Hey guys I am looking to setup a new HDD (mechanical) for file system storage only. I may end up using it to save VirtualBox VM's/snapshots. But other than that, it will be strictly for file storage (music, video, pictures, etc). I have been…
1
vote
1 answer

Newly created ubuntu users cannot access my internal hdd partitions

I have a problem with my ubuntu 11.10, the issue is described in the following link: Hard disk icon disappears after mounting After digging and digging I found the issue. It's a problem with ext4 partition, because I'm able to mount my NTFS…
Vipin Ms
  • 671
1
vote
1 answer

install Ubuntu using rufus(usb) fill system = ext 4 but after i log my windows 10 os it"s shown empty 2 NTFS partition ?

1) ext4 partition for Ubuntu = 100 gb 2) ext4 partition for swap = 10 gb log windows os 1)=empty NTFS 2)=empty NTFS but Ubuntu workig!! why my partition is empty??? and why NTFS??
john
  • 11
1
vote
1 answer

Expanding ext4 and shrinking NTFS partitions on the local drive

I have my machine dual booted with Linux Ubuntu 14.04 Trusty Tahr LTS and Windows 7 Ultimate both 64 bit. I want to shrink the E:/ i.e. /dev/sda5/ by around 10GB and expand the Ubuntu partition by those 10GB. The Ubuntu partition is /dev/sda7/. Both…
Ceda EI
  • 2,070
1
vote
2 answers

fstrim does not work for ext4 as root

I have a SanDisk SSD P4 32GB and I use ext4. Ubuntu 14.04. I read that I should execute the trim command from time to time, however, this command doesn't work on my machine: # LANGUAGE=en_US:en fstrim / fstrim: /: FITRIM ioctl failed: Operation not…
Tankman六四
  • 1,681
  • 2
  • 18
  • 23
1
vote
0 answers

Can my Ubuntu VM write to my ext4 SD card?

I'm running Win10 64bit as my host PC, with 64bit Ubuntu on Virtual box. I have an Rpi running retropie and a large amount of ROMs I'd like to copy over; USB and network transfer have proved slow - can I use my Ubuntu VM to drop them into the…
0
votes
1 answer

Ext4 partition problems

I have an 1.5tb external hdd. Yesterday morning it worked well. The system accidentally freezed, and i restarted the system and i cant mount the partition. I removed the hdd from the cage, and used ddrescue to copy the partition image into a…
ant75
  • 1
0
votes
2 answers

Is it possible to install Ubuntu to an ext4 while remaining other partitions to an FAT32

I have an old hard drive with windows XP and I want to switch to Ubuntu 15.04 thus removing windows XP completely which is installed in C partition. My HDD is divided to 4 FAT32 partitions: C (9.30 GB) D (18.6 GB) E (18.6 GB) F (27.9 GB) So while…
Joenn
  • 1
  • 1
0
votes
0 answers

Ext4: How to Recover a single permanently deleted file

On /dev/sda6 (non primary) partition, I have a dir called /bean. I usually download some videos from Google photos there - which are in zip format called Photos-001.zip. I then copy those to an external drive, delete the zip file, videos from Google…
Ravi J
  • 1
0
votes
1 answer

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) how would the person read the file without mounting…
lnee
  • 806
1
2