New answers tagged filesystems
0
votes
Any operations with file system takes forever
After reloading my computer four times, all started to work fine. There are some actions I do before:
Install dbus-launch
Updated all
Fixed warning while I tried sudo dpkg configure -a
Reinstall ...
0
votes
'wipefs' man page doesn't make sense
I agree that the wording of the man page seems unclear or misleading. The last paragraph of text before the options states:
Note that by default wipefs does not erase nested partition tables on non-...
0
votes
In Linux how to find if a file was read and at what time
how to find if a file was read, and at what time
auditd
set up a watch rule in /etc/audit/rules.d/audit.rules on that specific file, such as
-w /opt/something/somefile -p r -k ABC123
the -k ...
2
votes
In Linux how to find if a file was read and at what time
stat and ls -lu can be used to find the last access time which includes the last time that it was read or otherwise accessed including by a tool like cat, awk, sed, grep, vim, less, tail, head, etc.
...
2
votes
In Linux how to find if a file was read and at what time
Most Linux filesystems update and store more than a modification time attribute but also record an file access time (atime).
Note: how exact that atime timestamp is, or if it will be available/...
-4
votes
Why can't hard links reference files on other filesystems?
I'm not trying to answer your question, but...
Every entry in a directory is a "hard link", including symbolic links.
That's wrong.
Actually, the first part is right. Every entry in a ...
Community wiki
1
vote
XFS: metadata I/O error in "xfs_trans_read_buf_map" error 5
RHEL XFS-File system Repair
Pre-repair Activity
Ensure Proper Data Backup (OR) at least a new snapshot
Attach the OS Disk to the VM
Action Plan
Boot the system into Rescue mode from an installation ...
2
votes
Why can't hard links reference files on other filesystems?
In a POSIX-like file system, you have two distinct things: You have real files - some data stored on your hard drive, and an inode describing the location and size of the data. And directory entries - ...
0
votes
"Bad Jump in FAT partition" and "Bad number of sectors per cluster" right before ext4 offset
Try building and running the misc/findsuper.c utility in the e2fsprogs source tree. It will scan the whole disk and report on the superblocks that it finds, along with the expected start offset of the ...
30
votes
Why can't hard links reference files on other filesystems?
The challenge with this question is that it's based on a falsehood. It's based on the idea that such a thing would be impossible under any circumstances. It's easy to imagine how this might work, so ...
6
votes
Why can't hard links reference files on other filesystems?
What is a hard link
You are mixing up inodes and inode-references. A hard-link is an inode-reference.
A hard-link does not exist, there is no such thing. At least not as symbolic links exist. Every ...
35
votes
Accepted
Why can't hard links reference files on other filesystems?
A "hard link" just is the circumstance that two (or more) entries in the hierarchy of your file system refer to the same underlying data structure. Your figure illustrates that quite nicely!...
0
votes
Accepted
Question on tuning file system cache in Linux UBIFS on MTD
I think I found the turning-knob to make file writing work instantly to FLASH storage.
I missed another parameter just defined below dirty_writeback_interval, it is unsigned int dirty_expire_interval =...
0
votes
Accepted
Is there a "reverse COW" filesystem or LVM feature for Linux?
According to the lvm2 docs on snapshots, there are two dm target types that are used here:
snapshot-origin
[...] For each write, the original data will be saved in the <COW device> of each ...
1
vote
Is there a "reverse COW" filesystem or LVM feature for Linux?
LVM is based on extents: small regions of the disk that are assigned on the fly instead of large partition-like regions. A snapshot or logical volume is going to reference a bunch of these extents in ...
0
votes
Why is mount failing silently for me?
The same happened to me when I forgot to remove old entry in /etc/fstab
That's very irrational behaviour, because fstab entry specified wrong FS type and cli command was corect. The mount command ...
2
votes
Are there any filesystems with builtin data repairing via checksums?
Linux has the dm-integrity layer with which you can add error correction to any block device.
Sadly, it'll be relatively bad at actually solving the issues the unreliable SD cards pose:
The most ...
0
votes
Is there a standard way of making a copy of file/folder permissions to apply/compare later?
I think that the most portable format you could pick is probably to make a Posix-compliant tar archive.
But you first need to figure out exactly what permissions/attributes/flags you want to save.
...
1
vote
Accepted
Are there any filesystems with builtin data repairing via checksums?
Yes, they're called, collectively, "RAID": Redundant Array of Independent Disks.
The best that's out there for NON-RAID configurations includes EXT4 on Linux. I believe there are others. But ...
0
votes
Accepted
Unix-esque partial-file-locking mechanism
You can acquire partial lock using the the fcntl(2) system call by the F_SETLK, F_SETLKW, or F_GETLK command macros, and providing the partial area to be locked through a an flock structure provided ...
4
votes
Why does this use of `cp -a` not preserve creation time?
The only time stamps that can be set to arbitrary values (using the utime(), utimes(), utimensat(), futimens() system calls) are the last modification time aka mtime and last access time aka atime.
...
10
votes
Accepted
Why does this use of `cp -a` not preserve creation time?
Traditional unix filesystems don't have creation time, only ctime. ctime is change time, not creation time. Change time can't be set via OS calls except to change it to the current time. Changing ...
2
votes
Accepted
How can I solve my strange no space left on device on fedora?
I try
btrfs balance start -dusage=5
it helped! After this I deleted some of not needed content and my system worked now again.
It's a problem of the btrfs. I'm not a expert but this help me:
https://...
0
votes
Is there a way to monitor progress of a btrfs resize?
A negative Unallocated can be used as an indicator of the amount of data that needs to be moved.
Tested on Debian 10 with Linux 4.19.0-25 and btrfs-progs v4.20.1.
Examples:
$ btrfs filesystem usage /...
1
vote
How can I know if a file system was cleanly unmounted?
For extN filesystems you can check the superblock. For example,
tune2fs -fl /dev/sda1 | grep '^Filesystem features:'
In my case, a mounted filesystem includes the word needs_recovery whereas a ...
Top 50 recent answers are included
Related Tags
filesystems × 3989linux × 1041
mount × 434
files × 380
ext4 × 313
partition × 297
permissions × 187
ubuntu × 183
btrfs × 143
disk-usage × 133
directory × 127
hard-disk × 124
inode × 124
debian × 120
lvm × 107
disk × 97
centos × 94
symlink × 83
kernel × 79
linux-kernel × 77
data-recovery × 77
rhel × 76
backup × 74
fsck × 70
dd × 68