0
votes
0answers
8 views

Filesystem/Distributed filesystem setup for a File-Sharing server [on hold]

I am planning on having a Dropbox style server but using a selfhosted opensource solution like Seafile, Pydio or ownCloud. My question is regarding the filesystem setup and scaling the solution. ...
-2
votes
1answer
51 views

Centos 5.5 [Read-only file system] issue after rebooting [closed]

I have a virtual server under centos 5.5 (hosted by a japanese company called sakura ) Since yesterday, connection through ssh couldn't be established. I've contacted support center who told me to ...
1
vote
2answers
241 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 ...
0
votes
0answers
47 views

Linux filesystem ext4 fragmentation

I have a question about the filesystem ext4 and disk fragmentation: Does ext4 place files in the same directory near or next to each other on the disk? And if so how is it fragmented, for example is ...
1
vote
1answer
76 views

Remount root RW without reboot

Today I did something stupid on production xen vm server. I mounted the external device mapper as read only to make a copy of the filesystem. This process went well but then the rootfs / become ...
2
votes
1answer
66 views

How do I replace the root filesystem (ext4) with a new one in LVM with one which has more inodes?

I have a few systems which have been running over a decade in a cluster on SLES 10 (now long past EOL). We're migrating to CentOS 6 64-bit. I got everything done but the final data syncs, and lo and ...
1
vote
1answer
289 views

Loss of data when trying to fix ext4 “group descriptors corrupted!”

When I try to mount an existing disk, I get the message sudo mount -t ext4 /dev/sdc1 /data mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, ...
0
votes
2answers
104 views

How to increase inodes? [duplicate]

How can I increase the maximum amount of inodes available on a dedicated server running CentOS 6.5 and ext4? The websites we are hosting create and use millions of small files. We are already hitting ...
2
votes
1answer
55 views

How to add partition table to existing EXT4 filesystem

I have software RAID6 on 8x3TB disks (18TB), there is filesystem od device /dev/md1, but EXT4 can`t be bigger than 16TB so there is 2TB of free space. I would like to use this space. My first idea was ...
1
vote
2answers
181 views

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 ...
0
votes
2answers
163 views

FS for many small files, mostly reads?

I need a direction since all the blogs/benchs seems to contradict. Goal: Having a lot of small files on FS in a directory tree fashion similar to this AB/CD/EF... Two size groups : G1 : 10-20 kB G2 ...
2
votes
4answers
143 views

Partition required for ext4 filesystem?

I read on the arch wiki that it is not recommended to partition a disk before creating the ZFS filesystem on it. I searched but did not find any such statement about ext4. So my question is: can I put ...
9
votes
1answer
3k views

How can I recover an ext4 filesystem corrupted after a fsck?

I have an ext4 filesystem on luks over software raid5. The filesystem was operating "just fine" for several years when I was beginning to run out of space. I had a 9T volume on 6x2T drives. I began ...
0
votes
0answers
396 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 ...
2
votes
1answer
156 views

Linux: File is not shown in ls but cannot be touched with message “File exists”

I can remember creating this file but it disapeard. But not completely: root@XXX:/etc/vz/conf# ls -al total 0 drwxr-x--- 2 root www-data 0 Okt 1 16:04 . drwxr-x--- 2 root www-data 0 Okt 1 16:04 .. ...
11
votes
1answer
366 views

ext4 listing of files very slow in one specific directory that contained lots of files before

Background I had a small logrotate misshap... Logrotate would rotate the archived logs by misstake causing a quadratic growth of files in my /var/log/. And by the time I caught wind that something ...
0
votes
0answers
28 views

Can quotas be turned on automatically when file system is mounted?

I was not clear on this point-- I have quotas enabled in /etc/fstab for several file systems on a file server. However, I have noticed that if I unmount the file system and then remount it (ext4), ...
-1
votes
1answer
303 views

Impossible to read / delete some files

How can I fix a message like this (read after a dmesg command)? EXT4-fs error (device hdb1): ext4_lookup: deleted inode referenced: 119197 EXT4-fs error (device hdb1): ext4_free_inode: bit already ...
3
votes
1answer
117 views

ext2 to ext4: Convert/upgrade or create new

We have a filesystem, on LVM, created as ext2 - and in daily use running 8-10 webservers (software, tempfiles, logfiles). The discs are "local" to the OS, but are really SAN disks provided to the ...
1
vote
1answer
267 views

Online resize of ext2 - Bug?

An ext2 filesystem can be resized - as long as the underlying block device can be resized - but not ONLINE. However, as another posting of mine has showed, if the ext2 filesystem is mounted as ext4 ...
3
votes
4answers
13k 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 ...
1
vote
1answer
89 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
1k 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
527 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 ...
2
votes
1answer
78 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 = ...
0
votes
2answers
373 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 ...
0
votes
0answers
57 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
97 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 ...
2
votes
1answer
136 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
516 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 ...
1
vote
3answers
254 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.
0
votes
1answer
2k views

EXT4-fs error (device loop0): ext4_lookup: deleted inode referenced:

EXT4-fs error (device loop0): ext4_lookup: deleted inode referenced: Is this a serious issue? Just noticed it after doing a 15GB CPanel Account Restore.
5
votes
2answers
1k views

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 ...
8
votes
1answer
548 views

How do you create large, growable, shared filesystems on Linux at AWS?

What are acceptable/reasonable/best ways to provide large, growable, shared storage at AWS, exposed as a single filesystem? We're currently making 1TB EBS volumes ~biweekly and NFS exporting with ...
1
vote
2answers
203 views

Optimal directory structure for keeping millions of files on an ext4 system

I need to keep millions of files on an ext4 system. I understand that having a structure with multiple subdirectories is the general accepted solution. I wonder what would be the optimal approach in ...
0
votes
1answer
889 views

Solaris support for ext4/ext3/btrfs

Does anyone know if Solaris 11 (Sparc version) supports mounting ext3/ext4 or even better Btrfs volumes ? Most of the topics I find on the web are quite outdated (2006/2007) and reference old ...
1
vote
2answers
1k views

Resize2fs at 81h and counting

Setup: 12x 1TB drives in a RAID6 (MDADM) crypt-setup running ontop of MDADM LVM running on the crypted drives EXT4 on the LVM Background: I added a new drive to the RAID (increasing from 11 to 12 ...
16
votes
6answers
2k 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
4k views

Recommended filesystem for MySQL (xfs vs ext4)

Setting up a MySQL 5.5 server, and wondering what the recommended filesystem is? ext4 or xfs? Running InnoDB and 40% writes 60% reads. Thanks.
25
votes
1answer
1k views

Why does deleting a big file take longer?

My understanding is that running rm on a file simply unlinks it, marking the space as free in the filesystem. It should then follow that deleting one file always takes roughly the same amount of time ...
0
votes
2answers
734 views

Ext4 self errors after some time on CentOS 5.8 64-bit

I get such warnings in dmesg: EXT4-fs error (device md2): mb_free_blocks: double-free of inode 0's block 602619328(bit 15808 in group EXT4-fs error (device md2): mb_free_blocks: double-free of inode ...
10
votes
4answers
10k views

is there such a thing as a 'quick' format for ext4?

in Windows it's very fast to format with NTFS. I have a low powered Linux machine, with little RAM. formatting a 2TB volume to ext4 takes a long long time is there anything I can do to speed up ...
14
votes
3answers
547 views

Ensuring a repeatable directory ordering in linux

I run a hosted continuous integration company, and we run our customers' code on Linux. Each time we run the code, we run it in a separate virtual machine. A frequent problem that arises is that a ...
6
votes
2answers
4k views

Best options to create and mount an ext4 volume containing > 10M files in one directory

What are the appropriate options to mkfs and mount for an ext4 filesystem with a folder containing >10 million files for read access? What I have so far: umount /media/dirsizetest mkfs.ext4 -L ...
3
votes
3answers
1k views

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

Linux ext4 “extents” attribute

I noticed the e attribute on several files/directories on Linux machines installed on ext4 filesystems. [kelly@p2820887.pubip.serverbeach.com ~]$ lsattr -d /bin -------------e- /bin According to ...
6
votes
2answers
12k views

ext4 file-system max inode limit - can anyone please explain?

Recently we had a problem where one of the ext4 file-systems seemed unable to handle very large number of files, more than 6mln in this case, in spite of having enough space. Is it 6mln the max ...
3
votes
5answers
4k views

EXT4 “No space left on device (28)” incorrect

I have been through the other questions/answers regarding inode usage, mounting issues and others but none of those questions seem to apply... df -h /dev/sdd1 931G 100G 785G 12% ...
0
votes
1answer
161 views

Trade reliability for speed in a slow filesystem

On my box running Ubuntu Server 11.10 I have a rather slow soft RAID6 array on four USB sticks (and no other means for persistent storage). I want a faster filesystem on that box. I'm OK if I'd lose ...
0
votes
2answers
1k views

ext4 filesystem broken

I have a synology nas with an internal hdd (a 2TB wd ears). This drive has SMART errors. I took the drive and build it in a external USB case. Then i booted Linux mint and tried to mount the data ...