Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

ext4

How to fix intermittant “No space left on device” errors during mv when device has plenty of space?

August 8, 2022 by Magenaut

ext4 has a feature called dir_index enabled by default, which is quite
susceptible to hash-collisions.

Categories Q&A, Unix & Linux Tags command-line, ext4, linux, ubuntu Leave a comment

Does any file system implement Copy on Write mechanism for CP?

August 8, 2022 by Magenaut

We have seen OS doing Copy on Write optimisation when forking a process. Reason being that most of the time fork is preceded by exec, so we don’t want to incur the cost of page allocations and copying the data from the caller address space unnecessarily.

Categories Q&A, Unix & Linux Tags copy-on-write, ext4, filesystems, linux, xfs Leave a comment

Tell fs to free space from deleted files NOW

August 8, 2022 by Magenaut

Is there a way to tell the kernel to give back the free disk space now? Like a write to something in /proc/ ? Using Ubuntu 11.10 with ext4.

Categories Q&A, Unix & Linux Tags df, disk-usage, ext3, ext4, proc Leave a comment

How do I know if a partition is ext2, ext3, or ext4?

August 8, 2022 by Magenaut

I just formatted stuff. One disk I format as ext2. The other I want to format as ext4. I want to test how they perform.

Categories Q&A, Unix & Linux Tags ext2, ext3, ext4, linux Leave a comment

How do I determine the new size for resize2fs?

August 7, 2022 by Magenaut

I want to shrink an ext4 filesystem to make room for a new partition and came across the resize2fs program. The command looks like this:

Categories Q&A, Unix & Linux Tags ext4, partition, resize2fs Leave a comment

Is data=journal safer for Ext4 as opposed to data=ordered?

August 7, 2022 by Magenaut

The default journal mode for Ext4 is data=ordered, which, per the documentation, means that

Categories Q&A, Unix & Linux Tags ext4 Leave a comment

Short read while trying to open partition

August 6, 2022 by Magenaut

On my personal home computer running Kubuntu Linux 13.04 I’m having trouble mounting a partition that is very dear to me. My backup policy is to perform a backup about monthly, so I do have a backup from August :). Is there any way to recover the personal files that are on this drive?

Categories Q&A, Unix & Linux Tags corruption, ext4, fsck, partition Leave a comment
Newer posts
← Previous Page1 Page2
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress