The ext4 or fourth extended filesystem is a journaling file system for linux/*nix developed as the successor to ext3.
-1
votes
4answers
32 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 ...
-3
votes
0answers
30 views
cp to EXT4 through USB cable [closed]
I was backing up my main EXT4 hard drive to another EXT4 hard drive using a USB cable. When the cp command finished, I forgot to unmount the USB drive, and unplugged the USB cable. There was an error ...
0
votes
2answers
50 views
ext4 on faulty disks. How to avoid remount read-only?
The Problem:
I'm in charge for a Hadoop cluster of 44 nodes. Unfortunatly at the time of building the cluster poor disk choices were made. I'm stuck with 1.5TB WD Green Drives including the Load ...
0
votes
0answers
17 views
What filesystem to use for Industrial CF card to boot from and be as reliable as possible? [closed]
I boot my linux system via industrial CF and am currently using ext4 without journal, mounted with sync option (exactly: noauto,noatime,nodev,barrier=1,data=ordered,sync). I only ever mount the fs ...
1
vote
2answers
47 views
Are ext4 RAID5 tuning options useful under LVM?
I'm setting up a system with a system with a mdadm RAID5 which is the sole PV for a VG which hosts 4 LVs.
When I make the filesystem, would the mkfs.ext4 -E option be useful? Or is its effect not ...
0
votes
0answers
15 views
Inodes after extending filesystem
If I make a ext4 filesystem and add about 20% of extra inodes, how would this effect the inode count if later I extend the filesystem? Would the extended filesystem also automatically add an extra 20% ...
0
votes
1answer
50 views
Storing many small files with xattr in XFS and ext4
I have many small files (20 millions) with xattr on XFS drives. The average size of files is around 20KB and the average size of xattr is about 512 bytes.
Because I would like to move them to ext4, I ...
1
vote
0answers
44 views
linux loopback remount-ro, ext4_da_writepages: jbd2_start: 8192 pages, ino 130135; err -30
I have a loopback device formatted with ext4 (^has_journal, disabled journalling).
During shutdown, when I try to force remount as read-only, the loopback mounted filesystem. echo "u" > ...
1
vote
2answers
34 views
ext3 converted to ext4 still being mounted as ext3
I have a somewhat bizzare problem at the moment with my Debian-system (mainly testing).
I used to have a root-partition on lvm that was formatted as ext3.
I now booted a live-system and converted ...
1
vote
1answer
72 views
100% SSD usage Linux
Every 20-30 seconds my HDD usage goes to 100% (iostat).
iotop is showing that [flush-8:0] is using 99% HDD during these times. In between HDD usage is 1-10%.
iostat output:
04/22/2013 08:58:44 AM
...
1
vote
0answers
56 views
deleting files only frees space partially (ext3 / ext4)
I just did something similar to this:
$ du -sh /bigdata/stuff
1022G /bigdata/stuff
$ df -h /bigdata
Fileystem Size Used Avail Used% mounted on
/dev/sda5 1,8T 1,7T 140G 93% /bigdata
$ rm ...
1
vote
1answer
35 views
Moved data from an ext4 volume to an ext3 volume and it is consuming more space, why?
Just need a simple answer, did some searching and couldn't find it. What is the metadata overhead with ext3 as compared to ext4? I migrated a number of volumes from a SAN that was using ext4 volumes ...
1
vote
0answers
47 views
Setup 1x RAID5 array with multiple LVs and differnt filesystems?
Centos 5.9 - 2.6.18-348.3.1.el5 i686
Raid5 - 4 Disks + 1 Spare (all WD RED 3TB)
Does it make sence to create multiple LV within the same VP and configure them as differnt filesystems:
Example:
LV1: ...
0
votes
1answer
75 views
No posix acl in debian Wheezy with ext4
I was running a new script and encountered the following error:
Your filesystem or build does not support posix ACLs
So I thought no problem, just add acl,user_xattr to my fstab. It now looks ...
8
votes
1answer
177 views
EXT4 performance has become really bad on system with lots of small files
I have a small embedded device that has only 128MB of RAM
attached to this device is a 2TB USB2 hard disk
I've been very happy with the performance of the device up until recently when either the ...
0
votes
2answers
83 views
Recovering a file with bad blocks in the middle
A large file on our ext4 file system may have picked up a bad block in the middle. Copying the file to another drive results in an input/output error part way through. Data beyond the bad sectors ...
0
votes
0answers
34 views
reallocate pending sector smartctl
smartctl is reporting smartctl_exit_status 64 after there was a current_pending_sector, so i think the data isn't still reallocated and i have to do it myself?
munin graph can be found here munin ...
1
vote
1answer
51 views
TRIM persistence across reboots
Let's say we have an ext4 filesystem image we dumped onto an SSD (with dd). After a few mounts we learn that we should use the discard flag to emit TRIM commands to the drive. As it is unclear ...
2
votes
1answer
60 views
Why would disk reads be heavier than writes with a simple java app that creates many small files?
I've got a very simple java 7 app that reads from a proprietary file format (Hadoop sequencefile) sitting on disk xvdb and creates millions of 2-20kb files on disk xvdf.
ByteBuffer byteBuffer = ...
1
vote
2answers
60 views
Strange behavior with `find -delete`
I'm using Ubuntu 12.04 with 2 x 2TB SATA3 harddisks in software RAID1. The filesystem is ext4 with data=writeback.
When using find . -maxdepth 1 -name '*' -delete to delete a large number of files in ...
-2
votes
1answer
173 views
Disable ext4 journaling for website? [closed]
/var/www/website contains the files that powers a website, and /var/www/media contains many tiny media files like images in subdirectories named after their date of creation. Deleting/pruning an ...
1
vote
1answer
112 views
CentOS OpenVZ kernel panic when mounting ext4 truecrypt volume in nokernelcrypto mode
I am experiencing kernel panic when trying to mount a ext4 filesystem which itself resides on a truecrypt volume mounted using -m nokernelcrypto option.
The system is CentOS 6.3, OpenVZ Kernel ...
2
votes
3answers
64 views
How do you *tag* a partition as ext4?
I have an ext3 partition so when I do this:
mount /dev/blah /mnt/blah
it is mounted automatically as ext3. I can get it to mount as ext4 by running
mount -t ext4 /dev/blah /mnt/blah
and it ...
1
vote
3answers
119 views
If I upgrade an ext3 fs to ext4, will it automatically increase the maximum amount of directories per directory?
Due to an external unavoidable situation*, I need to have more than 32k directories in a directory (but as far as I can tell, less than 64k). I'm hitting the limit of ext3. I presume the original ...
1
vote
1answer
120 views
How can i fix it: EXT4-fs warning (device sda3): ext4_dx_add_entry: Directory index full
I have noticed that in dmesg and syslog i have something like that:
EXT4-fs warning (device sda3): ext4_dx_add_entry: Directory index full!
I have checked df -i too:
Filesystem Inodes ...
1
vote
1answer
56 views
Recover Crypt password on Partition - RHEL 6
I'm new around here and I'm not sure if this is the right place to post. I was recently asked to bring in a used server from another site of ours. On booting, I found that it has been encrypted using ...
0
votes
1answer
59 views
How i can restrict certain file extension upload via ssh?
How can I restrict certain file extensions and file upload size via SSH?
I am using Ubuntu 12.10 default installation and Open-ssh server.
1
vote
2answers
441 views
How to hot backup/snapshot an ext4 partition (in the absence of LVM)?
I'm currently tasked with bringing up a existing server to (at least more) professional standards - with as little disruption as possible to end-users. To have a proper rollback, I need to backup the ...
0
votes
2answers
198 views
Filesystem recommendation for 5 TB file storage
I have a locally attached 5 TB RAID6 system (IBM DS3512). It will be used as a storage for large data files that are written in sequential writes, and then read back for processing. Eventually the ...
1
vote
1answer
215 views
ext4 mkfs option for usb stick
i have an raspberry pi running the raspian (debian) linux. I need to add an "external" storage to store an mysql database and cache-directories for webdav mounts.
For that I like to mount an USB ...
1
vote
1answer
187 views
Kernel Errors Present: EXT4-fs
Logwatch is giving me the following error:
WARNING: Kernel Errors Present
EXT4-fs (sda1): error count: 4 ...: 1 Time(s)
EXT4-fs (sda1): initial error at 1350482172: e ...: 1 Time(s)
EXT4-fs ...
0
votes
1answer
117 views
~18m files total files EXT4 poor performance, any advice?
So on my linux server which runs Ubuntu 12.04, I have a folder in there that has ~3000 folders and within those folders they contain about 3000 text files each. In total, this takes roughly 80 GB.
...
0
votes
0answers
29 views
List unsynced blocks/files?
Is it possible to somehow list changed blocks or file system buffers that have not been written to the disk yet? How?
2
votes
2answers
62 views
fstab filesystem editing
UUID=f5be9b96-da41-49fd-a8e2-dbbf37f5cd7d / ext4 defaults,usrquota 1 1
UUID=31a1c8d1-18ee-4c97-a0b9-b92599247112 /boot ext4 defaults 1 2
...
0
votes
2answers
81 views
is running rsync after filesystem crash enough?
On my Debian Squeeze server, a filesystem crashed badly. I ran fsck.ext4 on it and it corrected many things. Now everything seems to be fine. Additionally, ran an rsync from a recent backup to the ...
0
votes
1answer
93 views
SLES 11 recommended filesystem
We are upgrading some servers from SLES 10 to SLES 11 and I just saw that ext4 is not supported. Should I move to XFS or keep ext3?
I will be moving the programs and databases to a new VM so ...
1
vote
1answer
76 views
Ext2: e2fsck what do the “errors” mean? [closed]
So, my hard drive was acting all slow, and after checking through my syslog, I found all these errors. Some googling led me to try to run e2fsck -c -c on the drive. So, it's been going for about 2 ...
2
votes
1answer
77 views
recreating ext4 journal: reboot required?
Most docs on disabling/creating the ext4 journal for root involve a reboot. If we:
turn off the journal via tune2fs
fsck the filesystem
turn the journal back on via tune2fs
fsck the filesystem
then ...
4
votes
1answer
137 views
rsync copies unmodified files between different file systems
I try to synchronize files between two machines using rsync, but it seems to copy all the files regardless file modification time. Two consecutive call of the command produces the same results, so it ...
0
votes
3answers
84 views
mysql crashs. bad hard drive or hardware
ive seen highloads and mysql crash 2 times in 1 week now. could this be the cause any idea?
Jan 3 09:49:19 HOST kernel: [2272100.568769] res 51/40:38:78:7f:f1/40:00:35:00:00/e0 Emask ...
1
vote
0answers
121 views
LVM failure recovery
We have an server PC with "intel matrix storage manager" raid (or maybe 'fake' raid) controller. Firstly there were one RAID-1 with two equal seagate disks of 1TB size. We've installed ubuntu server ...
2
votes
1answer
526 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
3answers
318 views
Ext4 kernel panic
I'm getting such kernel panics:
EXT4-fs error (device md2): ext4_ext_find_extent: bad header/extent in inode #97911179: invalid magic - magic 5f69, entries 28769, max 26988(0), depth 24939(0)
...
0
votes
1answer
103 views
How to log kernel panics without KVM
My server is crashing and I can't find an answer why. It all started after my datacenter upgrade RAM from 16 GB to 32 GB.
I also found such logs in dmesg - they've started to show itself just before ...
-1
votes
1answer
90 views
Cloning my hard drive as a backup [closed]
At the moment, I have an Ubuntu 11.04 installation on a single 500GB hard drive in my laptop. The hard drive is partitioned into four parts: 500MB for the boot information, 2GB for the swap ...
-3
votes
2answers
115 views
fsck an active disk provides different results than fsck on an unmounted disk
I have a VM running ubuntu LTS with an ext4 filesystem. We had performance problems that were related to IO tasks.
I checked the filesystem with
fsck.ext4 -nv /dev/sda1
e2fsck 1.41.11 ...
0
votes
0answers
117 views
Are there any filesystem better suited for ceph rbd? [closed]
I guess that ceph rbd has some specific characteristics (induced by its distributed nature, and specific ceph design choices) that are quite different from normal local hard disks.
So, are they any ...
1
vote
1answer
71 views
Rescue ISO with e4fsck
I've got an Oracle Enterprise Linux system, on which I want to convert an ext3 to ext4 partition. This is also the root partition - and I can't unmount it and run e4fsck in the same session.
Is there ...
0
votes
2answers
99 views
where on disk is space allocated for new files inside LVM lv with ext4 file system?
I run a multi-disk server with LVM2. Several large disks serve as LVM2 physical volumes for one volume group, containing one logical volume formatted with ext4.
Nothing fancy, just your standard ...
1
vote
3answers
148 views
Rebooting a linux server correctly to avoid fsck
Is there a correct way to reboot a server to avoid FSCK and just avoid getting FSCK in general? I have been using the reboot command to reboot servers.
