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

learn more… | top users | synonyms

11
votes
2answers
408 views

Ext4 usage and performance

I've got a cluster of machines running Carbon and Graphite that I need to scale for more storage, but I'm not sure if I need to scale up or out. The cluster is currently comprised of: 1 Relay Node: ...
0
votes
1answer
28 views

Software Raid + LVM + Virtual Machine: File Corruption after crash

At our startup, while trying to move our applications to a new server we ran into a hung up Ubuntu 16.04 at the new server, responding to pings but ssh hanging at debug1: Entering interactive ...
4
votes
1answer
29 views

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

Warning :mounting fs with errors, running e2fsck is recommended

Linux server will hang and when I restart it will take around 2 hours to come up and resume normal operations. I checked the system log files and found mounting fs with errors, running e2fsck is ...
3
votes
1answer
39 views

EXT4 filesystem corruption

I have a CentOS 6x server and running a Java application on it, the application is using a mount point /javapp which is an EXT4 filesystem. suddenly I got the following error in the system logs: ...
15
votes
7answers
4k views

Is btrfs production ready?

I've seen a lot of information on btrfs lately. I have been considering ext4 for my next filesystem, but am tempted by btrfs instead. How widely used is btrfs? What are the pro's and con's?
5
votes
6answers
6k views

How can I compact the VHD file with Ubuntu?

I use windows server 2008r2 with role Hyper-V. The guest system is Ubuntu 12.04 LTC. It is situated on the dynamic virtual hard disk. I want to compact this VHD (The real size is 50 GB, 360 GB on the ...
23
votes
2answers
17k views

Is it possible to on-line shrink a EXT4 volume with LVM?

Today I tried this on my machine with OpenSUSE 12.3 (kernel 3.7): # resize2fs /dev/mapper/system-srv 2G resize2fs 1.42.6 (21-Sep-2012) Filesystem at /dev/mapper/system-srv is mounted on /srv; on-line ...
1
vote
2answers
62 views

ext4 mount flags for 10+ mill files storage

I've initialised one large primary partition with the -T small flag to mke2fs, small on the system is configured as follows: small = { blocksize = 1024 inode_size = 128 ...
0
votes
1answer
35 views

Remove locking from executed elf file on linux ext4?

After starting some elf file that is on ext4 filesystem it is locked for writing but can be removed and rewritten. On some other filesystem this behaiveour can be different - i have tested ...
6
votes
1answer
886 views

Failing to mount root from ramdisk while PXE boot

I have a working TFTP/DHCP PXE boot environment where I've already booted some images successful. Now I built an CentOS 6.5 diskless image and this one is failing booting with the following error: No ...
1
vote
1answer
24 views

is online resize2fs ext4 close/reset all open files?

On my CentOS 6.x I did online ext4 filesystem resize using resize2fs. The only program running on this disk was sphinx search. I noticed that sphinx server had lots of: [Sun May 1 11:11:11.479 ...
0
votes
3answers
1k views

How many subdirectories does the XFS filesystem support within a given directory?

EXT3 supports 32,000 subdirectories. EXT4 supports 64,000... I've read about people having millions of subdirectories on the XFS filesystem, but can't find an exact value referenced anywhere. How ...
1
vote
1answer
47 views

zfs for Hadoop cloud instead of ext4 [closed]

Right now I have couple of linodes with ext4. I have a hadoop setup. What benefit would I get if I migrate my file system from ext4 to zfs. Will there be any benefit in response times? Any speed ...
18
votes
7answers
4k views

Which filesystem for large LVM of disks (8 TB)?

I have a Linux server with many 2 TB disks, all currently in a LVM resulting in about 10 TB of space. I use all this space on an ext4 partition, and currently have about 8,8 TB of data. Problem is, I ...
2
votes
1answer
173 views

Can Mac OS X extended attributes be stored across NFS to a Linux ext4 filesystem?

MacOSX filesystems use extended attributes (e.g. "com.apple.quarantine", "com.apple.FinderInfo"): $ ls -l@ .DS_Store -rw-r--r--@ 1 gareth staff 18436 2 Nov 10:35 .DS_Store com.apple....
4
votes
0answers
58 views

Can Btrfs use SSD for metadata and leave bulk data on HDD?

is it possible for Btrfs to use SSD for metadata only & leave bulk data on less costly storage such as HDD? I refered to this page Using_Btrfs_with_Multiple_Devices and can not find a solution. ...
0
votes
1answer
66 views

Amazon EC2 Snapshot corrupt

The snapshots for one of our AWS volumes are corrupt. We use these snapshots as backup, and in the past they have been a great help. (NB: This is not our only backup method!) A corrupt snapshot is ...
2
votes
2answers
415 views

sharing an ext3/ext4 partition on external drive

is there a way of sharing an ext3/ext4 formatted partition on an external USB drive between different users (uids) on different Linux machines without creating a group for this purpose, setting the ...
0
votes
0answers
23 views

Debian: USB HD Random Disconnect

I've a debian box (Sheevaplug) everything seems to be ok, however I've an external hard drive attached to the USB port and sometimes the drive seems to disconnect itself randomly... and connect, I get ...
0
votes
0answers
44 views

Having trouble mounting an mdadm array. Corrupted Filesytem?

I have a server that crashed and won't power on. I don't care about the server, but I'd like to recover the data attached to 2 external usb drives that were mirrored (raid 1) using mdadm. This system ...
0
votes
0answers
52 views

Can't mount SATA drives when moved from USB enclosure to internal

I have had 4 external drives connected over USB to my Dell Precision 490 workstation. They are in /etc/fstab by uuid and formated as UUID. UUID=04c37bff-b93e-440e-acd0-3d984ddb2ec3 /mnt/drive0 ext4 ...
0
votes
0answers
33 views

Is ext4's feature of “reserved blocks” broken?

I could not find more information and reading the code makes me think I'm running into a compatibility issues. Here's the story: This is in a virtualized multi-tenant environment. We've been trying ...
0
votes
1answer
45 views

Remove the 64bit option from ext4 filesystem

I have a 50GB ext4 FS that was mistakenly created with the 64bit extension. I'd like to know the extension can now be removed or if it is necessary to start from scratch. This link suggests that it ...
3
votes
2answers
680 views

optimizing ext[234] for small file throughput

I have a system that has a high throughput of small files on disk, i.e. a huge number of small files are created, written and deleted within seconds. Are there any reasonable ext2/ext3/ext4 mount ...
0
votes
1answer
692 views

/proc/self/mountinfo per-mount-options vs per-super-options

I am trying to check for the current status of a mounted partition, rw/ro. On Cent6 /proc/self/mountinfo has some interesting info. One of the items contained in the output for each mount point is "...
1
vote
1answer
144 views

SSD fstrim on CentOS 6.x with software raid5

I have some CentOS 6.x servers. They have software raid1 and fstrim works well there. On one of the servers, I decided to do software raid5 and ext4. I can mount it with discard and there is no error ...
2
votes
1answer
118 views

unmounted logical volume is “busy”?

I'm trying to shrink an ext4 filesystem on a CentOS 6 server. I did a lazy unmount of the filesystem while I waited for some processes to finish running. They've all finished running but I can't ...
0
votes
3answers
241 views

Creative way to shrink a live ext4 filesystem from cloud provider?

When buying droplets, as DigitalOcean calls their cloud VM's, they are always configured with one large ext4 partition. I have an app that needs an LVM partition, so I need a creative way to shrink ...
1
vote
1answer
417 views

Linux Container conversion to Vagrant and back

The situation is the following: we have an lxc (linux-container), which contains a Debian Squeeze distribution, built up with a preseed file. We wanted to add some extra packages (packages for the OMF ...
1
vote
3answers
90 views

Copying data over with rsync causes size discrepancies

I am switching machines and have attached the old hard drive (/dev/sda4) to the new machine. The old machine had a slightly smaller hard drive (720G), compared to the new one (736G), so I created a ...
0
votes
1answer
35 views

Bit copied a disk image using the dd command to a new and bigger disk. How do expand whole LVM? [duplicate]

I just copied a 50 GB disk image using dd for bit copying to a new harddisk with 200 GB storage. On the disk is LVM including the system partition EXT4 and a swap partition (both LVs). Well the copy ...
0
votes
1answer
36 views

Need to recover a file using extundelete. Is there any risk about running it without unmounting, aside from that the partition might keep writing?

I need to recover a few files from a Linux machine. These files are important, but not enough to warrant dismounting the partition. Is there any risk from running on a mounted partition, except from ...
1
vote
1answer
48 views

How to mark a linux volume as a blank/empty (before deleting partition table)

I have a bunch of disks where the partition tables are very similar (nearly identical) I need to 'erase' these disks, such that when a new partition table is created any volumes that existed prior to ...
0
votes
1answer
37 views

Can I safely store mac and windows backups on an ext4 filesystem?

I want to store time machine backups on a storage server running ubuntu server with an ext4 filesystem. If I only ever interact with the server over the network, will I be able to safely recover this ...
0
votes
2answers
527 views

existing files are “invisible” to some applications

I have a problem with accessing files on an ext4 file system mounted as type NFS on a Linux server running CENTOS 6.5. I know the files exist on this file system because I can see them when I ...
0
votes
0answers
51 views

change file system from ext3 to ext4 effict on MySQL

I have a situation where MySQL was installed in Linux with a ext3 file system. One table (InnoDB) reached the maximum size allowed for ext3 (2 TB) , insert statement gave "The table 'foo' is full". I ...
1
vote
2answers
4k views

centos 6.3 increase disk size on /

I have a VM running CentOS 6.3. LVM is not installed. From the VM side, I have increased the underlying disk from 15GB to 40GB, so I now need to expand the partition and file system. I've managed to ...
12
votes
6answers
75k views

How to extend an ext4 partition and filesystem?

I have a 400GB disk with a 320GB ext4 partition. I would like to grow the ext4 partition to use the left space (80GB of free space). +--------------------------------+--------+ | ext4 ...
14
votes
2answers
17k views

Transparent compression filesystem in conjunction with ext4

I am trying to test a project that needs compressed storage with use of the ext4 file system since the application I use relies on ext4 features. Are there any production/stable solutions out there ...
-1
votes
1answer
50 views

Two ext4 mounts, fully rsynced, same total file amount, but different total byte size. Why?

Problem We have two mount points on two disks, both are the exact same type. Both disks are formatted ext4. An rsync command with options to synchronize from source to destination is performed. ...
0
votes
1answer
239 views

tmpfs file system is full. Need assistance to increase this or remove unneeded software

Almost at a loss here. Been running a fast server for a couple of years with Plesk. Hosting our own website and services. Over the last few days, I noticed a lot of problems but didn't think to check ...
1
vote
3answers
215 views

Rsync size is difference from source to destination

I'm using rsync with the options -r for recursive -l copy symlinks as symlinks -t preserve modification time -D preserve devices and specials -v verbose --prune-empty-dirs The source FS is ext4 and ...
16
votes
4answers
6k views

max files per directory in ext4

I manage an application that contains a filestore in which all the files are stored with the filenames equal to their md5 sums. All files are stored in one directory. Currently there are thousands, ...
0
votes
0answers
82 views

Correct permission strategy for Samba DC shares using ACL

I have Samba running as a DC at home. I'm in the process of migrating shares to using ACL's etc instead of the "basic" way of samba to handle permissions etc. On top of this I plan to run Greyhole ...
0
votes
0answers
12 views

Debian used + available does not equal size (storage) [duplicate]

I'm trying to find out why /dev/sda1 Used+Avail != Size. I ran a df -h and the output I get is this: File system Size Used Avail Use% Mounted on /dev/sda1 320GB 683M 303G 1% ...
1
vote
1answer
114 views

Fsck finds errors in OS, but not using LiveCD

Running fsck on a booted machine yields errors on the root file system. In an attempt to fix this, I booted from a LiveCD - but fsck on the LiveCD instance doesn't find any errors at all. I also tried ...
2
votes
1answer
20k views

Restoring data from corrupted ext4 partition under LVM - fsck or repair bad blocks first?

I am using Linux on my notebook. My notebook recently fall on ground and now I am trying to save as much data from my damaged hdd as possible. I can boot notebook from Linux live CD. Long story short:...
0
votes
0answers
46 views

using testdisk to restore old superblock, cryptowall3.0 restoration

I have a drive that was infected with cryptowall3.0 Documentation states that the file is deleted and then from memory a new file is encrypted and that memory file is rename. Hypothetically restoring ...
4
votes
2answers
7k views

fsck.ext4: How to force to check the whole file system?

It seems fsck.ext4 quit very soon, I guess it only checks the journal logs, and do nothing if the journal is clean. Is it? How to force it to check the whole file system? I've tried the -f option, but ...