Questions tagged [tune2fs]
14 questions
14
votes
4 answers
Linux: Why change inode size?
Tune2fs allows to change inode size from default (128 bytes on ext3, 256 bytes on ext4) to almost anything, but it should be power of two. What are the reasons for changing default inode size?
Here it's written that this can be done to be able to…
Vladislav Rastrusny
- 2,581
- 12
- 39
- 56
7
votes
1 answer
Ubuntu server ext4 hitting 65000 subdirectory limit
I have a Ubuntu 14.04 server that is failing to create a new directory beyond the 65,000 directory. I have run a tune2fs -l and can see that the dir_nlink flag is set. Does anyone know what else can be checked to allow this to occur? I have many…
gregjkm
- 71
- 2
5
votes
3 answers
Can't resize2fs - combination of flex_bg and !resize_inode
I recently set up my first software raid with mdadm and after adding more disks to the raid I am unable to resize the filesystem to the full size of the raid. I created a single (~16TB) filesystem on /dev/md0 via:
mkfs.ext4 -v -b 4096 -t huge -E…
senojsitruc
- 161
- 1
- 5
5
votes
1 answer
What exactly does the automated ext3 root file system check?
Recently we encountered a problem (bad blocks) with an ext3 formatted compact flash card running an embedded Linux system. On startup, the root file system check was started, but it seemed to hang since it took much longer than usual. Later I…
Chris
- 225
- 1
- 3
- 8
3
votes
2 answers
Is it possible to update stripe-width on an existing, and used, ext4 fs?
I have a RAID 5 with 5 3TB drives (8 in few weeks), on a Debian. There is only one ext4 partition on it, using all the space available.
Actually, due to origins of the RAID (4 drives), the ext4 fs stripe-width is set to 384. But with 5 drives, it's…
Moff Tigriss
- 33
- 1
- 4
2
votes
1 answer
Ubuntu /boot partition stay in mode "Filesystem state: not clean" (tune2fs)
I have the problem with my /boot partition on a ubuntu "Ubuntu 11.10" system. Maybe also on "Ubuntu 12.04 lts" but I cannot verify this, because it's a prodctive system.
If I umount the /boot partition, make a fsck.ext2 everything seem ok, see the…
Octeny
- 146
- 4
2
votes
0 answers
glusterfs unable to read gsyncd status file
Goal
I wanted to try glusterfs geo-replication in some virtualboxes on my computer for later use distributed on multiple sites.
Configuration
I installed glusterfs 3.6 on ubuntu 32bit servers like this:
add-apt-repository -y…
Erik Theoboldt
- 121
- 4
2
votes
1 answer
How can I disable ext4 has_journal option on dedicated server?
I have Ubuntu 10.04 dedicated server with SSD drive. Hence I want to disable the file system journal.
Normally this can be done like this "tune2fs -O ^has_journal /dev/md2". However the root file system is in read-write mode so tune2fs prints an…
Greg Dan
- 123
- 1
- 4
2
votes
1 answer
Where to get comprehensive list of tune2fs/tune4fs options per filesystem?
tune4fs can use many undocumented (I mean they are not yet in man tune4fs) options for ext4 filesystem. For example, huge_file, flex_bg, dir_nlink, extra_isize and some others. Is there a comprehensive list of them with description what each option…
Vladislav Rastrusny
- 2,581
- 12
- 39
- 56
0
votes
1 answer
Could reserved block count of zero hinder `fsck`?
I am considering setting the reserved block percentage to 0% (tune2fs -m 0 /dev/sdb1) for an ext4 partition. The partition is only used by non-privileged users anyway.
Let's say I mistakenly fill up the partition to 100% and the filesystem becomes…
Ztyx
- 1,365
- 3
- 13
- 27
0
votes
3 answers
In a software RAID1, why does tune2fs -c 0 /dev/sda1 not throw an error but change is not seen in tune2fs -l /dev/sda1?
The Title pretty much says it all.
Turn off mount count fsck seems to succeed:
tune2fs -c 0 /dev/sda1
tune2fs -c 1 /dev/md0
But listing out via
tune2fs -l /dev/sda1 shows mount count is set back to 1 for /dev/sda1 and /dev/md0.
i only want automatic…
rjt
- 568
- 5
- 25
0
votes
1 answer
How to have automatic file system checks for Linux Software Raid?
In a Linux Software raid, what is the best practice for periodically having the filesystems checked? With single drive or hardware raid, tune2fs -c 5 -i 1w /dev/sda1 means check the filesystem every 5 mounts or if it has been a week or more since…
rjt
- 568
- 5
- 25
0
votes
1 answer
tune2fs: No such device or address while trying to open /dev/sda1?
My hard disk is going to bad:
Apr 3 20:26:48 207 kernel: aacraid: Host adapter abort request (0,0,0,0)
Apr 3 20:26:48 207 kernel: aacraid: Host adapter reset request. SCSI hang ?
Apr 3 20:26:58 207 kernel: sd 0:0:0:0: timing out command, waited…
quanta
- 50,327
- 19
- 152
- 213
-1
votes
1 answer
tune2fs says "clean with errors". What next?
tune2fs says "clean with errors". What next?
We rebooted the server, but this did not help.
What is not the next most feasible step?
This is a production system. I would like to avoid down-times.
foo-host:~ # /sbin/tune2fs -l…
guettli
- 3,113
- 14
- 59
- 110