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

-1
votes
0answers
16 views

ProxMox I/O Errors on EXT4 FS [on hold]

I recently got ProxMox up and running after months of deliberation as to which HyperVisor I wanted to use. Last night I almost finished transfering my applications to containers and the system was ...
1
vote
1answer
16 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 ...
0
votes
0answers
19 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 ...
1
vote
1answer
33 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 ...
19
votes
2answers
14k 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 ...
0
votes
3answers
138 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
399 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
4answers
77 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
24 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
18 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
27 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
28 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
485 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
42 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
3k 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 ...
10
votes
6answers
60k 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 ...
11
votes
2answers
12k 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
33 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
96 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
46 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 ...
14
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, ...
1
vote
1answer
101 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 ...
0
votes
0answers
37 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% ...
0
votes
0answers
9 views

ext4 journal data will be deleted if I delete and recreate the partition?

If I delete a partition with fdisk and then I recreate it bigger, with fdisk, I know my data will be safe, but the question is: this operation will delete the journal data in ext4?
1
vote
1answer
67 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 ...
0
votes
0answers
38 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
6k 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 ...
1
vote
1answer
55 views

In centos6.x kvm guest, What is the difference On the following two disk format?

I add a new virtual hard drive vdb to the KVM guest(centos6.5),like this [root@centos ~]# fdisk -l | grep vdb Disk /dev/vdb: 8589 MB, 8589934592 bytes Then,there are two ways to format the disk a. ...
4
votes
1answer
193 views

What does the mkfs.ext4 -G option do?

On Microsoft's Best Practices for running Linux on Hyper-V page it is recommended to use ext4 and not ext3 and "specify the number of groups to be 4096" using mkfs.ext4 –G 4096 /dev/sdX1. What is this ...
0
votes
1answer
51 views

Are zero byte files an indication of file system corruption?

I recently noticed a strange behaviour. I could not restart a productive webserver running since more than a year because the configuration was invalid: # /etc/init.d/apache2 restart Syntax error on ...
0
votes
2answers
502 views

running mke2fs with limited memory

I'm working on a computer with very little memory (128MB) - for my application I need to format large drives (4TB) I'm able to format greater than 2TB disks, up to about 2.5TB, but beyond that I'm ...
2
votes
2answers
1k views

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

Direct I/O on Linux

I'm trying to enable Direct I/O on /opt (/dev/sda6, ext4) on Linux Mint 13. What I'm trying is: mount -o dio,rw /dev/sda6 /opt as root. The system responds with: mount: wrong fs type, bad option, ...
0
votes
1answer
143 views

LVM on disk with no partition table. How to reallocate free space with fdisk?

I shrank an LVM in half using these commands: e2fsck -f /dev/VG/LV resize2fs /dev/VG/LV 5G lvreduce -L 5G /dev/VG/LV Inspecting the physical volume yields this: --- Physical volume --- PV Name ...
-2
votes
1answer
82 views

my ext3 to ext4 dont work

my tools on centos 5.11 kernel - 3.2.69 util-linux-ng-2.17 ( mount 2.17 ) e2fsprogs-1.41.14 grub-1.97 this tool and kernel are all working my steps boot on recovery change the fstab ...
5
votes
2answers
505 views

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 ...
1
vote
0answers
60 views

Why is nfs server not seeing resized filesystem size?

On the NFS server, when I extend the the logical volume (using lvm2) and subsequently the ext4 fs on top of it (using resize2fs), I'm able to see the new size locally with df. But the NFS clients ...
1
vote
1answer
149 views

df is reporting wrong information in an LVM

I had a full disk usage on /var/log (100%) and deleted a few files to increase space. this is and ext4 partition mounted with default options. However, when I df -h I get: Filesystem ...
8
votes
2answers
4k views

How to get checksum data integrity on ext4?

On file systems like btrfs you can preform a scrub, which will go though all the data to see if the data still matches the file system checksum. I would like to check the data on ext4 if it is ...
1
vote
0answers
107 views

Trouble creating ext4 filesystem when trying to mount EBS volume on AWS instance

I'm trying to mount an EBS volume on my AWS instance. Following Amazon's instructions, I get the following error when running sudo mkfs -t ext4 /dev/xvdf: Allocating group tables: done ...
1
vote
1answer
74 views

Why does /sys/fs/ext4/vda1 exist when /dev/vda1 is ext3?

I'm trying to tune my filesystem for some operations I have to do involving huge numbers of files. Then I got confused about what FS I'm even using. tune2fs -l /dev/vda1 contains: Filesystem magic ...
2
votes
1answer
131 views

Creating the exact size FS on xfs

I got a few hundred folders that I need to migrate to a new server. I've been asked to create a xfs FS for each individual folder. Ran a du so I know the exact size of each folder and specified block ...
1
vote
0answers
90 views

Alternative to ReiserFS for storing many small files in one block?

I know that ReiserFS is able to store multiple small files in a single block, and at one time was recommended for use with s3backer because of that feature, as fewer blocks to store on S3 mean lower ...
0
votes
2answers
72 views

mkfs.ext4 command not available in fedora 8

Is ext4 file system supported on fedora 8? If yes, then how do i enable it? I am unable to see format command for ext4. I can see only mkfs.ext3 and mkfs.ext2.
5
votes
1answer
186 views

Getting Error: “No space left on device” for a particular filename

I have a ext4 volume with lot of files inside a particular directory. Whenever I am trying to create a file inside it of a particular name, I am getting "No space left on device" error. $ touch ...
4
votes
1answer
2k views

Does increasing the journal size improve performance for ext4 filesystems?

There is an article on linux-mag which says that increasing the size of the journal on ext4 filesystems actually improves filesystem performance for very large partitions. I'm wondering if anyone ...
10
votes
10answers
1k views

How does the number of subdirectories impact drive read / write performance on Linux?

I've got an EXT3 formatted drive on a Linux CentOS server. This is a web app data drive and contains a directory for every user account ( there are 25,000 users ). Each folder contains files that ...
1
vote
1answer
114 views

Create KVM storage pool using a ext4 formatted drive

I have a secondary hdd that I would like to use as a storage pool for my KVM host. Here is the xml file I use to create the storage pool, <pool type='disk'> ...