-1
votes
0answers
10 views

How to decrease size of an mdraid root partition without OOB access?

I was given a server that has a root partition over the whole mdraid (ext4) and no LVM underneath. Runs CentOS 6. I have no OOB access to the server. How do i go about decreasing the size of the ...
0
votes
0answers
33 views

Replacing files with symlinks takes more space - Fedora19 EXT4

Background: We are using PHP CacheLite. In order to have a human readable path to cache files cache_{hash}_{hash}, there is a symbolic link that is more descriptive of the cache contents. We ...
0
votes
1answer
32 views

How do I allow users to add/modify files in a directory but not change the directory - Linux

How can I modify a directory so that it is owned by a group and users in that group can add and delete files and create sub directories but are unable to change the permissions on the parent ...
1
vote
1answer
157 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
76 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
42 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 ...
0
votes
2answers
124 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 ...
1
vote
1answer
227 views

recover a damaged partition table with ext4 fs

I have an external 2TB HD, that should have only one ext4 partition but the partition table is damaged and I'd love to rebuild/restore the partition. Things ain't that easy so here's the longer ...
0
votes
1answer
56 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 ...
0
votes
1answer
55 views

Why is file rewrite slower?

on Linux, using various benchmark tools (bonnie++, iozone, etc) on ext4 (but i guess it's the same on other FS), rewrite is always slower than write to new files. For example, using bonnie++, with ...
-1
votes
3answers
151 views

What happens if fsck.ext4 -y is run on a ext3 fs and how to I recover from it

I had a mountable fs (pretty sure it was ext3), fsck.ext4 was run with -y and ended in a segmentation fault. Now it is unmountable (dmesg says it's corrupt) and identifies as a ext4 fs via the "blkid" ...
1
vote
0answers
298 views

SMB Share (samba) Centos 6 Mounted hard drive Permission Denied

I have set up a SMB share on Centos for all users. This share is available and working correctly. Guide followed -> CentOS 6.4 Samba Standalone Server With tdbsam Backend Procedure: For diagnostic ...
0
votes
1answer
376 views

Unable to repair ext4 filesystem, getting errors(

I just tried to boot from live CD and checked my file system using fsck,fsck.ext4, no errors was reported/fixed (i.e. says file system is clean), yet when I'm inside of system it tells me something ...
0
votes
1answer
175 views

remount / move root folder to another partition on centos

We have an EC2/CentOS6 instance with "/" mounted to an EXT4 partition, and now another bigger sized hard disk formatted in XFS attached to the system. Since the former partition for "/" is ...
2
votes
4answers
110 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
2k 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
342 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
133 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 .. ...
0
votes
1answer
320 views

An LVM snapshot of an ext4 fs does not seem very clean

I create an LVM snapshot of a mounted ext4 fs: lvcreate -L 10GiB -s -n "root-snapshot" "/dev/myvgname/root" If I then run e2fsck on /dev/myvgname/root-snapshot, it says: e2fsck 1.42.5 ...
-5
votes
2answers
338 views

How to convert lvm to ext3/4? [closed]

I have an old box(CentOS 5) that was formatted as lvm but now I want to convert it to ext3/4 file system without losing data. I have some empty disks that can be used, so is there an easy way to do ...
1
vote
1answer
3k 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 ...
2
votes
1answer
69 views

Re-creating a filesystem on runtime (need more inodes)

I have a machine at a datacenter with 3HDDs and running Debian Wheezy, at one of them I have an ext4 filesystem mounted on /data that has ran out of inodes (I've chosen an inappropriate inode size at ...
0
votes
1answer
156 views

Extending ext4 partition on debian7.0 on vsphere

I have allocated thin provisioning of 15GB when i found 8GB as insufficient. Now debian guest is not able to recognize the change of size. root@debian7-x64:~# lvdisplay --- Logical volume --- LV ...
3
votes
1answer
110 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
138 views

Which directory hierarchy will be the best/fastest?

I have a pretty big directory with many cache files which I want to reorganise for max performance (access times). 2x 2TB SATA III drives, software RAID 1 (mirroring) OS: Ubuntu 12.04 LTS ...
0
votes
2answers
214 views

ext4 on faulty disks. How to avoid remount read-only?

The Problem: I'm in charge for a Hadoop cluster of 44 nodes. We have 1.5TB WD Green Drives with (quite unknown) the Load Cycle Count problem. These disks work fine but as they get older they show an ...
1
vote
1answer
75 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
434 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 ...
2
votes
1answer
302 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
146 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
46 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
1answer
98 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: ...
8
votes
1answer
463 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 ...
1
vote
2answers
493 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 ...
1
vote
1answer
151 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
76 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
73 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
334 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
1k 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
0answers
56 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
94 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 ...
1
vote
1answer
149 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 ...
0
votes
3answers
124 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 ...
5
votes
1answer
2k 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
749 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) ...
-1
votes
1answer
119 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
203 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 ...
1
vote
1answer
145 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 ...
1
vote
3answers
237 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
1k 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.