Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tune2fs]

The tag has no usage guidance.

-1
votes
1answer
22 views

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

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 ...
6
votes
1answer
222 views

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 ...
1
vote
1answer
953 views

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

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 ...
0
votes
3answers
474 views

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

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 ...
1
vote
2answers
1k views

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 ...
5
votes
3answers
5k views

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 /...
5
votes
1answer
662 views

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

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

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

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 ...
11
votes
3answers
10k views

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 ...