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

learn more… | top users | synonyms

0
votes
0answers
82 views

setting system time at startup from ext4 filesystem

I have a pc with no battery backup and using ubuntu 12.04 with ext4 it will constantly ask me to handle the situation by saying that my superblocks last write is in the future. So I wonder - can I ...
1
vote
2answers
113 views

I have an ext3 iso disk image. Can I use it and write it to a ext4 partition?

Is it possible to do so ? I am migrating to EXT4 because of the SSD drive that has TRIM funtion. I have to have ext4 partion.
-2
votes
1answer
203 views

populated hard disk partitioning/moving (a lot of operations) [closed]

I have a HHD which is actually a mess. I would like to organize it and exclude some partitions I don't want to use anymore. Positioning the HD partitions beautifully require moving entire partition to ...
2
votes
1answer
338 views

ext4 integration in windows 8 - access through explorer

I know there are similar questions; however none I could find that addressed accessing ext4 through explorer, most others simply use a third party application. However, my question is; is there a way ...
0
votes
2answers
749 views

mkfs.ext4 errors

I've just installed Kali Linux and am working with an img file I created from dd (/dev/zero). When I go to do mkfs.ext4 on it, I get mkfs.ext4: Device size reported to be zero. Invalid partition ...
1
vote
2answers
966 views

Is it safe to disable ext4 journaling on root and home partitions?

On my ArchLinux laptop I have / and an ecryptfs encrypted /home partition formatted with ext4. Both contains importand (backuped) data. Is it safe to disable ext4 journaling when partitions contains ...
0
votes
1answer
167 views

Weird behaviour on ext4 dd performance test

I'm testing the performance of ext3/ext4 on a raid1 system (but the same goes for a non raid system). The results from bonnie++ give a distorted image because they circumvent the delayed allocation on ...
0
votes
2answers
730 views

rm -rf extremely slow & slows down server

I did a rm -rf foldername in an attempt to delete a folder containing 10,000s of 25KB files. Question Why is it taking so long (Almost 30 minutes)? Why did the server became extremely slow, even ...
1
vote
0answers
152 views

How do I add additional locations to the Windows 7 Recycle Bin Properties?

I have set up a home network with a small file server running Samba. I read on a forum post that by re-mapping a user folder on Windows 7 to a network drive, a reference to that drive will be added ...
0
votes
1answer
152 views

FreeNAS 8 and ext fs

i'm trying out freenas8 for my personal NAS, i have lots of data that was in an ubuntu server, but somehow i never got the file sharing right. on freenas things just worked. i installed on usb, tried ...
5
votes
2answers
309 views

ext4 on mdadm reverting data

I have a problem with my home server setup. The problem is that sometimes, but really rarely, it reverts (for a lack of a better term) all my data back to an earlier state (somewhere between months ...
5
votes
2answers
5k views

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?
1
vote
1answer
311 views

HDD is preventing ubuntu from installing

I have recently attempted to install ubuntu on my laptop, replacing windows 7. The HDD was working fine with windows 7. On my first attempt to install ubuntu it kept giving me an error that was ...
0
votes
0answers
117 views

Setting up Fedora alongside Windows 8 with special considerations

I've recently found myself much more comfortable using the console and other tools on my Mac than their counterparts with Windows. Specifically, these tools include LaTeX/xindy, emacs and its load ...
1
vote
0answers
350 views

extundelete does not finish its work

I need to restore a file on sda7 so I remounted ro und startet extundelete manuel@P5KC:~/recovery/RECOVERED_FILES$ sudo extundelete --restore-all /dev/sda7 WARNING: Extended attributes are not ...
2
votes
1answer
6k views

Disable journaling on ext4 filesystem partition

I'm running Linux Mint on an SSD. I've read how one optimization is to disable journaling. However, when I run the command: sudo mke2fs -t ext4 -O ^has_journal /dev/sda1 I get an error saying that ...
0
votes
1answer
284 views

Linux fine tuning for Vertex 3 SSD

I've been reading about optimizations for SSD disks on Linux, there is lots of info out there although very confusing and most feel outdated so I'd be grateful if someone sheds some light on the ...
-1
votes
1answer
539 views

HDD bad sectors with OS [closed]

I wonder is that possible for OS to make bad sectors on Hard Drive? Preface: I have bought new HDD on 1Tb WB Caviar Black. I have installed new OS on ext4 partition Ubuntu 12.04.1 LTS. After few ...
9
votes
2answers
19k views

How can I mount an EXT4 USB drive on Windows 8?

I have a USB drive formatted as EXT4. How can I mount it in Windows 8? Ideas on other workarounds are appreciated as well!
1
vote
2answers
354 views

Why doesn't Ext4 cache directory size?

Once again I'm cleaning up my desktop because I'm running out of HDD space and everytime I call 'du -sh ~', it takes a really long time to calculate the current size of the directory. From my ...
1
vote
1answer
735 views

How to resize extended partition?

I have primary partition with Windows XP on it. Also I have extended partition divided into 3 logical partitions: - Drive D: for Windows - Ext4 Linux System - Swap Now, Linux is my main system, and ...
1
vote
0answers
125 views

from XEN to VMWare

I have migrated many xm virtual machine to vmware Using http://www.zoobey.com/index.php/resources/all-articles-list/268-xen-to-vmware , migrations were very smooth. But now I am struck in a xm ...
2
votes
1answer
2k views

What is EXT4-fs error (device md0): ext4_mb_generate_buddy:739: group 10770, 0 clusters in bitmap, 32768?

On my Ubuntu Server 12.04 I got this errors (via dmesg): [ 1104.544121] EXT4-fs error (device md0): ext4_mb_generate_buddy:739: group 10771, 0 clusters in bitmap, 32768 in gd [ 1104.549227] EXT4-fs ...
3
votes
3answers
5k views

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? ...
2
votes
2answers
1k views

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! ...
1
vote
1answer
512 views

Reverse lookup of inode/file from offset in raw device on linux and ext3/4?

In linux, given an offset into a raw disk device, is it possible to map back to an partition + inode? For example, suppose I know that string "xyz" is contained at byte offset 1000000 on /dev/sda: ...
1
vote
0answers
190 views

Mounting a remote disk image which I made local via sshfs? Possible?

The core question first: Is sshfs fit to provide low-level reads/writes/seeks as required when a file contains blockdevice-like contents? Why? Well... I am trying to locally mount a filesystem-image, ...
1
vote
1answer
802 views

Slow rm performance on an ext4 partition

Removing what seems to me to be a moderate number of files takes a very long time. For example: $ pv linux-3.0.16.tar.bz2 | tar xj 73.2MB 0:00:16 [4.55MB/s] $ pv linux-3.0.16.tar.bz2 | tar xj 73.2MB ...
2
votes
1answer
152 views

Is file creation durable on ext4?

On some filesystems, when creating a file, it is necessary to call fsync() not only on the file itself, but also on the parent directory, to make the file creation durable. Otherwise, the directory ...
1
vote
2answers
4k views

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 ...
0
votes
1answer
367 views

zram trimming by writing zero pages

I'm using ZRAM as a backing block device for /tmp filesystem in the following manner: echo 8000000000 > /sys/block/zram0/disksize mkfs.ext4 -O ...
1
vote
1answer
265 views

EXT4-fs error (device loop0) ext4_mb_generate_buddy

I've been randomly getting theses in my /var/log/messages [5747511.945300] EXT4-fs error (device loop0): ext4_mb_generate_buddy: EXT4-fs: group 1: 29505 blocks in bitmap, 29455 in gd Not had any ...
0
votes
1answer
437 views

western digital caviar black. EXT4-fs error

Recently I update my HDD on desktop machine, and bought WD Caviar Black. But after I format & copy information to it (using dd), and fix partitions size: I have next errors in kern.log: Aug 27 ...
0
votes
1answer
88 views

Quick way to empty a partition

I have a partition, formatted ext4, that I want to empty completely. I will be repeating this write-then-empty process repeatedly, so I want the emptying step to be as quick as possible. One option ...
13
votes
3answers
31k views

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 ...
1
vote
1answer
420 views

On Linux allow a file to be read/write but not deleted

Is there a way in Linux on a ext4 file system that I can make a file readable and writeable but not deletable? The directory that the file resides in still needs to be writeable by the owner of the ...
1
vote
1answer
2k views

Is there a tool to browse files on a VMware virtual disk w/o starting a virtual machine?

I am looking for a way to browse through a VMware virtual disk in order to extract/copy files that are located on an Ubuntu EXT4 partition that is allocated on that disk, without the need to actually ...
2
votes
1answer
1k views

Having trouble with EXT4 on LVM on software RAID 5 (corruption)

Here's the quick and dirty of my problem. I'm using Lubuntu 12.04, Xubuntu 12.04 and plain Ubuntu 12.04. Tried with generic kernels 3.2.0-25 and 3.2.0-26. This issue persists on all 3 variants which ...
0
votes
1answer
80 views

Dealing with different usernames when mounting removable media in Linux

I have a laptop in which my username is, say, "foo". I have an external drive, formatted with Ext4, for which all files are owned by "foo" (at a filesystem level). Now, I have a desktop in which my ...
3
votes
3answers
472 views

Are there any reasons why I wouldn't want to format a USB flash drive in HFS+ for Linux/Mac usage?

There have been other questions regarding the use of HFS+ formatted drives on Linux (e.g. this); however, I am specifically interested in knowing if this is a good idea for a particular purpose. I ...
1
vote
1answer
605 views

How could I easily pack a directory to an ext4 loop partition image?

I would like to pack the content of a directory into an ext4 partition image easily, without mounting a loop device. Background: I am building a version of Android which will mount system partitions ...
2
votes
1answer
521 views

Hard drive partition size wrong. How do I resize without loss of data?

$ fsck fsck from util-linux 2.20.1 e2fsck 1.42 (29-Nov-2011) The filesystem size (according to the superblock) is 610471680 blocks The physical size of the device is 536870911 blocks Either the ...
0
votes
0answers
453 views

Cannot mount harddrive from HP ProBook via SATA-USB adapter

I'm trying to mount harddrive from HP ProBook 4525s to another computer for data backup from damaged laptop. There are two ext4 and one swap partition on hdd. I'm using SATA-USB adapter, but after I ...
5
votes
1answer
426 views

A weird issue relate to ext4/lvm/raid-5 after partition recovery

I have 3 hard disks, in the following paragraphs named /dev/sda, /dev/sdb and /dev/sdc, newest came first. Note: /dev/sdc has one primary partition /dev/sdc1, one extended partition /dev/sd2, and 3 ...
8
votes
3answers
57k views

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 ...
4
votes
1answer
841 views

Why are the sizes of 2 directories different if the data within the directories is identical? They are identical ext4 partitions and disks

root@phoenix:~# ls -ld /backups/external?/var/subsonic/thumbs/110 drwxr-xr-x 2 root root 73728 Mar 4 15:35 /backups/external3/var/subsonic/thumbs/110 drwxr-xr-x 2 root root 69632 Mar 4 15:35 ...
0
votes
1answer
289 views

Ext4 forensic analysis

I'm doing a thesis about forensic analysis and I'd like to format a disk with an ext4 file system without zeroing it, to analyze the possibility to recover deleted files. This is a problem, because ...
0
votes
0answers
211 views

parted killed my ext4 stuff

In parted you're supposed to be able to delete a partition, make a new one, and your data will still be there. It's gone. Nothing, not even testdisk is finding the partition. If I do the same stuff ...
0
votes
0answers
467 views

Booting an EXT4 image file from GRUB2

My friend needed a fast HDD so I gave her my small 64GB SDD. This SSD had my Linux install on it. I used dd to make an image of the partition (boot, root and home on one partition). This partition is ...
0
votes
1answer
4k views

Unable to repair an ext4 filesystem with bad superblock

Using the dd command, I was hoping that I would be able to copy over the first 446 bytes from Disk B (250GB) to Disk A (80GB), in order to make Disk A bootable just like Disk B. I issued the command: ...