Questions tagged [filesystems]
A filesystem is a way to organize and store computer files with their data.
4,227 questions
5
votes
1
answer
5k
views
using overlay2 on CentOS 7.4
How do I install and enable the overlay2 storage driver on CentOS 7?
I have done many google searches on this and I see that version 7.4 is required. So I typed the following commands to confirm ...
1
vote
1
answer
609
views
FileSystem that supports multiple datastreams per file
I've heard that NTFS supports having multiple datastreams in a single file. Where you can specify a stream to read or write from other than the main one.
I see quite a bit of potential here, for ...
0
votes
1
answer
743
views
Why is this FAT filesystem recording access time?
FAT isn't meant to record file access time, but the FAT filesystem I have in a VeraCrypt container file does. Why is this?
This was before I opened the file /run/media/veracrypt1/test:
~ $ stat /run/...
0
votes
3
answers
215
views
How to make Grub boot from primary as well as secondary disk of RAID1 Array
I am currently installing SuSE Linux 15. I wish to secure this system against Disk failure hence opted to configure software RAID 1 on disk1 (sda) and disk2 (sdb). Basically during installation ...
2
votes
2
answers
125
views
How can I see how much space was freed by trim on an SSD?
In my current setup, I have three different filesystems on two different SSDs: A FAT partition and a BTRFS partition on one drive, and ext4 on a second drive. When running fstrim, the output is ...
1
vote
1
answer
2k
views
Git - how to add/link subfolders into one git-repository directory
Assuming I have a file structure like this:
├── Project-1/
│ ├── files/
│ └── special-files/
├── Project-2/
│ ├── files/
│ └── special-files/
└── Project-3/
├── files/
└── special-...
9
votes
2
answers
2k
views
Which Linux file system should I use for compatibility with Windows programs?
I'm new to Linux, yet am now committing to Linux, probably formatting HDDs to run the ext4 file-system, for (almost) all work. I need to keep one Windows machine running an NTFS file-system for a few ...
3
votes
3
answers
175
views
Are there widespread filesystems which represent directories with structures optimized for fast lookup?
In "The Art of Unix Programming", on the topic of The Terminfo Database I read:
If you look in the terminfo directory, you'll see subdirectories named
by single printable characters. Under each of ...
5
votes
1
answer
3k
views
Disable writeback cache throttling - tuning vm.dirty_ratio
I have a workload with extremely high write burst rates for short periods of times. The target disks are rather slow, but I have plenty of RAM and very tolerant to instantaneous data loss.
I've ...
0
votes
1
answer
2k
views
best practice for mounting filesystems
say I have two virtual disks (dev/sda and dev/sdbadded to my ESX CentOS 7 VM). I create two partitions (dev/sda1 and /dev/sdb1). Then I create a physical volume for each and create a volume group ...
2
votes
1
answer
2k
views
Using rm --one-file-system to only delete files on the local filesystem
I have a FUSE mount located in /media/writable, however, sometimes this FUSE mount disconnects, but some programs will still attempt to write to /media/writable.
When I restart the FUSE mount service,...
4
votes
1
answer
2k
views
FUSE Overlay filesystem for "too long filenames"
Is there FUSE overlay filesystem, that:
* resolve on it's own "too long filenames" for underlying filesystem
* otherwise (for filenames fitting into limits of underlying filesystem) just proxy 1:1
?
...
5
votes
1
answer
3k
views
How can I re-partition a hard/ssd-drive without losing data?
When I got my notebook with a 512GB SSD, I reformatted it and installed Ubuntu. I've followed Ubuntu's suggestion to partition the drive, so I have it partitioned as follows:
$ sudo parted -l
Model: ...
3
votes
1
answer
3k
views
du/df and ls reporting different disk usage
We have a directory which ls -l shows as containing a file which is 132G in size.
However, running df -h shows that the total amount of space used on the disk as 128G. Additionally running du -h --max-...
11
votes
2
answers
9k
views
Should the 'discard' option be used for mounting a swap file?
The Arch Wiki says that defaults,discard can be used in the fstab file for a swap partition. However it is not clear about a swap file, nor is the man page.
If the swap file resides in a filesystem ...
3
votes
2
answers
5k
views
Is there any advantage to using a hard-link on ZFS instead of relying upon deduplication when considering only disk space allocation?
If I want to create multiple instances of a file on a ZFS file system, is there any advantage to using a hard-link instead of relying upon deduplication as a method of preserving disk space?
This ...
5
votes
1
answer
15k
views
Partition #3 contains a ext4 signature
When i use fdisk to create a new partition i get an error which says
Partition #3 contains a ext4 signature
Do you want to remove the signature? [Y]es/[N]o:
This error is not a problem but i am ...
19
votes
5
answers
33k
views
Mount HTTP Server As File System
I have a machine on which I wish to mount multiple remote servers to access them all centrally. For remote Linux based systems I am using SSHFS which works fine. But for Windows systems, or systems ...
10
votes
1
answer
11k
views
file system uid and gid in linux
I came across a linux kernel tutorial and there they talked about 4 pairs of identifiers and one of them was file system uid and gid.
Could someone explain me what it is and how it is different from ...
5
votes
1
answer
22k
views
ext2fs_open2: Bad magic number in super-block
I'm trying to resize a Linux partition, but after tweaking a lot with this disk I don't know If I have totally corrupted it.
Device Boot Start End Sectors Size Id Type
/dev/sdd1 * ...
0
votes
0
answers
32
views
How I use ComposeFS to make an integrity-checked mount?
It's been a while since I last played around with mkcomposefs, but I remember either getting errors during generation/mounting OR I it wasn't detecting any changes. Very simply, how does one:
...
3
votes
1
answer
3k
views
Backup entire zfs pool to different filesystem
I have a zpool with around 6TB of data on it (including snapshots for the child datasets). For the important data in it, I already have backups on filesystem level. As I need to perform some rather &...
50
votes
12
answers
158k
views
Check if folder is a mounted remote filesystem
What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script?
I am looking for a command that would look like:
chk-remote-...
3
votes
2
answers
1k
views
Switch to systemd causes file system to be mounted read-only
I switched from SysVInit to systemd on my VPS and the file system has been mounted read-only ever since. Remounting the file system with mount -o remount,rw / works, but the file system is mounted ...
3
votes
1
answer
3k
views
How do I speed up recovering "stuck" cifs mount?
I have a cifs mounted like this:
mount.cifs -o uid=myuser,user=...,dom=... //IP/Share /some/mountpoint/
When I try to access it after period of inactivity (or when the network is inaccessible), it ...