Questions tagged [ext4]

The ext4 or fourth extended filesystem is a journaling file system for linux/*nix developed as the successor to ext3.

469 questions
5
votes
2 answers

Linux no modify time (nomtime)

Is there a way to disable the mtime of an filesystem? There is an Filesystem independend noatime Option, but no "nomtime". Also in the Filesystem specific documentation for ext4 and/or btrfs i couldn't find this. Does this exist?
5
votes
2 answers

Why is my VM disc file more than 2x bigger then the actual FS?

I'm having a VM with a small Debian 7 server inside a VMware Player VM. The Disc has a maximum size of 55 GB, the virtual machine properties show a current size of 46.5 GB. No other discs/volumes are mounted on the device, debian tells me the disc…
peipst9lker
  • 173
  • 1
  • 6
5
votes
4 answers

Effectively handling 2+ million files

I have a file based DB that has about 2M files stored in 3 levels of subdirectories. 2/2/6253 2/2/6252 ... File a vary from 30 bytes to 60 KB. Whole DB is Read Only. DB is about 125 Gigabytes big. Added: All files are compressed by zlib (python) I…
Worker
  • 647
  • 1
  • 6
  • 9
5
votes
1 answer

Pacemaker error on failback with drbd

I have two nodes in my cluster with drbd+pacemaker+corosync When the first node fails, the second assumes the service and it's ok, but when we have to failback (node1 back online) it shows some errors and the cluster stops working. It's a CentOS 6…
5
votes
3 answers

Permission denied to resize filesystem

Im attempting to resize a filesystem on a mulipathed volume that I've grown, rescanned all the disks, and resized the multipath map. # resize2fs /dev/mapper/my_vol resize2fs 1.43-WIP (20-Jun-2013) Filesystem at /dev/mapper/my_vol is mounted on…
Sirch
  • 5,785
  • 4
  • 20
  • 36
5
votes
3 answers

How to recover data from a messed up drive (LVM written on top of Ext4)?

The previous administrator of a server that is now under my supervision made a mistake. He accidentally created a LVM volume (no more than pvcreate, I think, though not sure) on a disk that actually contained an Ext4 partition with data. How do I…
Vilx-
  • 843
  • 4
  • 16
  • 25
5
votes
0 answers

Cannot set ACL on ACL-enabled EXT4 partition

I am trying to enable xattrs and acls on a Debian machine. I've (re)mounted the partition in question with user_xattr and acl. (/dev/md3 is the partition in question) root@fs01:/# mount | grep /dev/md /dev/md0 on / type ext3…
Chris
  • 248
  • 1
  • 2
  • 9
5
votes
2 answers

Best parameters for ext4 filesystem for storing virtualbox disk images

I have partition, which I'm going to use for keeping VirtualBox disk images (VDI, or may be VMDK). They are fixed-size (not dynamically-allocated) images. There are no other files/directories on partition (only several *.vdi files in the root…
Sasha
  • 158
  • 1
  • 5
5
votes
2 answers

e2fsck extremely slow, although enough memory exists

I've got this external USB-Disk: kaefert@blechmobil:~$ lsusb -s 2:3 Bus 002 Device 003: ID 0bc2:3320 Seagate RSS LLC As can be seen in this dmesg output, there is some problem that prevents that disk from beeing mounted: kaefert@blechmobil:~$…
kaefert
  • 121
  • 1
  • 5
5
votes
2 answers

Disk (EXT4) suddenly empty without any sign of why

I have a Ubuntu 10.04 server with several disks in it. The disks are setup with a union filesystem, which presents them all as one logical /home. A few days ago, one of the disks appears to have suddenly 'become empty', for lack of better…
Ohnomydisk
  • 51
  • 2
5
votes
3 answers

Can't resize2fs - combination of flex_bg and !resize_inode

I recently set up my first software raid with mdadm and after adding more disks to the raid I am unable to resize the filesystem to the full size of the raid. I created a single (~16TB) filesystem on /dev/md0 via: mkfs.ext4 -v -b 4096 -t huge -E…
senojsitruc
  • 161
  • 1
  • 5
5
votes
3 answers

Journaled filesystems and power failure

I heard that even a journaled filesystems such as EXT3/EXT4 might corrupted during power failure, e.g. from wikipedia [1]: In the event of a system crash or power failure, such file systems are quicker to bring back online and less likely to…
Ryan
  • 5,831
  • 24
  • 72
  • 91
5
votes
3 answers

Possible to mount an ext4 partition image via FUSE?

I'm attempting to mount an ext4 partition image in userspace. (no sudo, no special config/permissions modification to /dev/loop0 or /etc/fstab etc). So I'm hoping FUSE will come to the rescue. However it seems that each file system mounted through…
Catskul
  • 1,929
  • 4
  • 20
  • 23
5
votes
2 answers

PERC 6/i | ext4 | raid5 | 4 disks - improve write performance

I am running several fileservers using this controller, filesystem and disk setup. All of them are suffering from poor write performance, once the 256MB BBU Write Cache is full i get really high iowait (>40) and the write speed goes down to a few…
Niko S P
  • 1,182
  • 8
  • 16
5
votes
3 answers

Any way to recover ext4 filesystems from a deleted LVM logical volume?

The other day I had a proper brain fart moment while expanding a disk on a Linux guest under Vmware. I stretched the Vmware disk file to the desired size and then I did what I usually do on Linux guests without LVM: I deleted the LVM partition and…
Vegar Nilsen
  • 163
  • 2
  • 5