Questions tagged [ext4]

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

460 questions
374
votes
11 answers

How to read ext4 partitions on Windows?

Is there a way to read ext4 partitions from Windows? If so, what can I do?
zillion
  • 468
92
votes
2 answers

Creating ext4 partition from console

I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space. I want to make an ext4 partition in the remaining 0.6 TB space. I have not tried anything yet because I don't want to risk losing data if I hit a wrong command. (I…
Daniel W.
  • 2,048
90
votes
8 answers

Modify fstab entry so all users can Read and Write to an EXT4 Volume

I have an Ubuntu 10.04 box with an EXT4 partition. This partition is set to automatically mount in /etc/fstab. For the purposes of this post, we'll call it: /media/foo. Unfortunately, only root can create/delete files/directories on the root…
Phanto
  • 1,504
  • 3
  • 14
  • 17
78
votes
3 answers

Do ext4 filesystems need to be defragmented?

Do ext4 filesystems need to be defragmented? If so, how do I defragment them? If not, could you post a simple explanation of why they do not need to be defragmented?
BenjiWiebe
  • 9,173
54
votes
3 answers

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 everywhere, because it gives me the most usable space…
confetti
  • 2,605
46
votes
3 answers

How to mount read-write an ext4 partition on Windows?

I want to use ext4 on my external HDD, but it must be cross-platform. (At least Linux, Win7 & WinXP). Unfortunately, I haven't found any proper driver allowing Windows to WRITE to ext4. I've found Ext2Fsd, but it only reads ext4. 9. ext4 extent…
37
votes
2 answers

Forcing ext4lazyinit to finish its thing?

Is there any way to 'force' ext4lazyinit to finish the thing it does with maximum priority? Something like "I don't care about my system's ressources, just do your job as fast as you can"? I should add: Without reformatting the drive. I am aware of…
Marius
  • 473
28
votes
5 answers

Is it safe to use a HDD while rsync is running?

I plan to backup my large HDDs by rsync, and anticipate that it takes a few days. Is it safe to use the original HDD (adding files) while rsync is working? Or it is better to leave the HDDs untouched until the rsync is finished?
Googlebot
  • 1,082
26
votes
3 answers

How do I format a drive as EXT4 on Windows 7?

I'm trying to create an ext4 file system on an external drive. The partition manager I usually use, EASEUS Partition Master, doesn't support ext4. What are some free alternatives? Edit: It turns out MiniTools Partition Wizard supports ext4.
John2496
  • 2,249
22
votes
4 answers

Moving 2TB (10 mil files + dirs), what's my bottleneck?

Background I ran out of space on /home/data and need to transfer /home/data/repo to /home/data2. /home/data/repo contains 1M dirs, each of which contain 11 dirs and 10 files. It totals 2TB. /home/data is on ext3 with dir_index enabled. /home/data2…
Tim
  • 353
19
votes
4 answers

Fastest way to convert an ext4 formatted disk to LVM with ext4 on it?

I'm currently doing cp -aR to copy data from my (99% full) 1TB ext4 formatted disk to a new LVM-with-ext4-on-it disk. It's taking forever. Is there any way to attempt to "convert" the disk in place? I'm on EC2 so backing up takes minutes. Or…
Max
  • 729
18
votes
3 answers

Online, "Smart" Partition Manager with Full Ext4 Support?

Is there any partition manager for Windows that can manage (resize, move, etc.) ext4 partitions? Caveats: Resize must be smart when resizing from the beginning of the partition. Many partition managers screw this up (I've noticed Acronis Disk…
user541686
  • 23,629
18
votes
4 answers

Finding out the time a filesystem was last mounted

I want to find out the last time a filesystem was mounted on Linux (Debian). Any help?
MichaelM
  • 914
17
votes
7 answers

Parted has no 'resize' command available

I'm trying to resize a partition using parted, but it has no the 'resize' command available gchain@archbogchain@archbook:~$ sudo parted /dev/sdb GNU Parted 3.1 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (parted)…
17
votes
2 answers

How long can file system writes be cached with ext4?

A while ago, there has been some discussion about ext4 potentially leaving empty files after an unclean unmount, summed up pretty well in this article. Basically, because of delayed allocation, writes can be kept in the write cache for a much longer…
lxgr
  • 1,341
  • 3
  • 13
  • 22
1
2 3
30 31