Questions tagged [filesystems]
A file system is the specification of how files in a computer should be stored, named and organized. This tag should be used for generic file system questions. For specific file system questions (FAT, NTFS, ext4, ...) use the appropriate tag instead.
908
questions with no upvoted or accepted answers
9
votes
1
answer
10k
views
Is it risky to enable long file paths on Windows 10?
Windows 10 has an option to allow for longer file paths (background). Is it risky to enable this option?
I ask because I've heard mixed comments about how there can be bugs related to long file ...
9
votes
1
answer
13k
views
What is the difference between “/usr/local” and ”/usr/share?”
I am afraid this is another of FHS questions but I was not able to find more detailed explanation which I feel I need. Yeah, I know about Uni FHS and etc, but what still feels like lacking ...
9
votes
1
answer
2k
views
Is it safe to resize a BTRFS partition that is part of a multi-device volume?
I have a multi-device BTRFS volume and I would like to re-size one of the partitions. To be more precise:
My /home is spread across two separate BTRFS partitions. I shrunk down another partition to ...
7
votes
0
answers
2k
views
Stopping creation of .localized files
Some folders on my new Mac has .localized files in them.
I know they are related to localization (duh), but I don't need that, in fact I specifically want everything file system related to be ...
7
votes
0
answers
1k
views
FUSE fs without root privileges (e.g. a LD_PRELOAD gateway or a proot plugin)
On a system where I don't have root access and FUSE isn't installed (or I don't have sufficient privileges to create new mounts), how can I start a fuse filesytem (like sshfs or some FUSE-based ...
7
votes
0
answers
14k
views
LVM and Superblock failure; how to recover?
How do you repair the superblock of an LVM volume? Alternatively, how do you recover the data on an unmountable lvm logical volume?
I recently added a second hard disk, extended my volume group and ...
5
votes
1
answer
1k
views
Tar encounters “Cannot open: Not a directory” while compressing
I am using fakeroot v1.12.4 for packaging and extraction on RHEL-6.4. I have two different servers where I am compressing files using tar v1.23. Compression is failing on one server with this error:
...
5
votes
1
answer
5k
views
Why does it take so long time to permanently delete files from a USB drive?
I'm deleting a Python installation folder (12000 files, 256 MB) from a USB flash drive, using Windows. It is currently expected to take 40 minutes. Why?
I thought it would be enough to change a ...
4
votes
0
answers
2k
views
How to automount an ext filesystem in macOS
TL;DR This question is about auto mounting partitions with file systems non native to macOS.
I'm presently running macOS 10.12.x and I can successfully mount an external SATA disk formatted with an ...
4
votes
0
answers
17k
views
Is there a way to convert FAT32 to exFAT without data loss?
Windows' convert command is able to convert FAT filesystems to NTFS non-destructively. Similarly, fstransform is a Linux utility that is capable of doing this - calling it an "in-place" filesystem ...
4
votes
0
answers
28k
views
Remove the file c:\Recovery\Customizations\usmt.ppkg when it is locked by System?
How can I remove the file c:\Recovery\Customizations\usmt.ppkg when it is locked by System on Windows 10?
I cannot remove it because it seems to be used by another process.
I used process explorer ...
4
votes
1
answer
3k
views
Impossible to modify Windows 10 drives from other OSs
I'm here to describe an interesting issue I've been facing today, in order to get some hints or solutions.
My goal : access and modify one of my computer's Windows (10) system hard drive in order to ...
4
votes
2
answers
2k
views
Contiguous physical allocation of a set of files in linux filesystem (ext4)
I have a set of files that I wish to be allocated contiguously in the filesystem. I will be accessing all these files sequentially in a single read one after the other and I want to optimize reading ...
4
votes
1
answer
4k
views
eMMC Standards and File System support
I am looking into Android secure erase functions and realized a few things:
Android uses eMMC as its storage media, eMMC standards are set by the JEDEC organization (currently most of the manufactured ...
4
votes
1
answer
2k
views
A fast modern network filesystem to replace VirtualBox's shared folder emulation
My work code repository is stored in host Linux system, and is accessed from Windows guest; currently, guest can access the repo via 'shared folder' which looks like a samba emulation.
But, it just ...
4
votes
3
answers
3k
views
What exactly happens when you "mount" a drive?
What underlying things happen when you mount a drive. Even when a drive isnt mounted, it is visible to the computer (such as sudo fdisk -l / diskutil -list). When a drive is mounted, is all that is ...
4
votes
1
answer
408
views
How do I determine what file occupies a given sector in Mac OS X?
There are similar questions for Windows and Linux, but I need this on OS X. The filesystem is HFS+, journaled. I have a sector LBA, I could find where a partition starts with gpt (though it refuses to ...
3
votes
0
answers
278
views
Running Windows 7 64 bit, Windows 7 32 bit and Ubuntu Linux together
I had a Desktop PC with Intel x86 i5-3330 64 bit processor along with Windows 7 32 bit and Ubuntu Linux 14.04 64 bit together on the same Hard Disk Drive with dual boot with GRUB as the bootloader, ...
3
votes
0
answers
1k
views
Recovering BTRFS, btrfsck fails; what next?
Update
I wound up giving up on repairing the FS, and instead got a new pair of HDDs, created a new BTRFS pool, and used rsync to transfer data from the remaining good disk.
Server setup
Rockstor, ...
3
votes
1
answer
579
views
Sharing filesystem between linux hosts?
I'm running a website that uses user-uploaded files heavily. Those files are served to users only after a permission check by a Django application.
Now I need to scale horizontally and spin up ...
3
votes
0
answers
1k
views
How to delete all hardlinks to the same file (inode)?
I've used Link Shell Extension to create a bunch of hardlinks in different directories within the same hard drive (to save space, as I need both stored in different locations). When I want to delete ...
3
votes
0
answers
156
views
recommended configuration for home file server
Let me start off with a short question on which I will elaborate below:
What setup would you use for a home file server that is highly unlikely to lose data, but keeps the cost down as much as ...
3
votes
1
answer
13k
views
Attribute “partition” not found - error with mkfs.vfat
I have a USB flash drive that's become unrecognisable in Windows 7, as detailed in my question on SuperUser here. I was advised to try using Ubuntu, and was able to see the flash drive using it, ...
3
votes
0
answers
3k
views
resize2fs: "Can't read a block bitmap" after shrinking ext4
I've used resize2fs /dev/sda3 300G to shrink an ext4-partition to 300GB. Then I used parted resizepart 3 310G to shrink the partition size in the partition table to 310GB, slightly bigger than it's ...
3
votes
0
answers
192
views
Calculating expected overhead in UDF filesystem
I'm working on a backup-to-optical-media program that traverses a file tree and adds files to UDF images (mkisofs is the backend) to burn to optical discs, splitting large files into chunks across ...
3
votes
0
answers
63
views
Windows Explorer's "New > File" menu won't display without "Write Attributes" permission for the folder
In Windows Explorer, a folder's context menu only displays the New > File options if the Write Attributes permission has been granted on the folder. However when using another application such as ...
3
votes
1
answer
858
views
Desktop.ini InfoTip not working
I'm trying to utilize some of the capabilities of desktop.ini in Windows to help organize the network file system at work.
Most network folders need an Archive folder at various levels in the ...
3
votes
0
answers
439
views
How do I migrate from ecryptfs to a similar setup using ext4 filesystem level encryption?
Currently I'm using ecryptfs - it's a software layer that encrypts my home folder with a key which is in turn encrypted with my password, and it hooks into PAM to unlock it on login.
Unfortunately, ...
3
votes
1
answer
1k
views
setting up a locally shared folder on Archlinux (on a ext4 filesystem)
Let's assume the following scenario. We have two users trusted and untrusted. User untrusted is used to access the internet and download data, which then has to be reviewed and given to user trusted. ...
3
votes
0
answers
7k
views
Copying files from ext4 to NTFS
I am trying to copy some files from an Ubuntu-based (ext4) external drive I have to my NTFS external drive. I opened up ext4 hard drive in Windows (it's read only) and started copy / pasting to NTFS. ...
3
votes
0
answers
203
views
Conditional folder redirect on windows
I'm trying to find a way to conditionally redirect a path based on process location.
The rule would be something like this:
if process path begins with "U:\apps_to_redirect\" then
"c:\...
3
votes
0
answers
234
views
How to reduce I/O operations to a flash drive?
Background
I often use different computers, and for that reason I like to aways keep with me a flash drive with my home directory, with my bash aliases and helpful functions, vimrc, Homebrew ...
3
votes
0
answers
396
views
foobar2000: query if specific files exist in track's directory
In my library there are files like .lrc files (Lyrics) or album art files (various .jpg files) next to the music files:
I am trying to create a autoplaylist where I want to list tracks which have a ...
3
votes
0
answers
68
views
sdcard performance bottleneck
I have loaded my 4 GB FAT32 sdcard almost entirely with mp3 files. Now, I cannot remove none of them because "discovering items" never ends. Even command line tools last forever, including format e:. ...
3
votes
0
answers
408
views
My directory has become recursive. How can I remove it?
The directory structure of one of my folders has become recursive or something, making an almost endless loop until I cannot go further down:
D:\prog\ai2\oving5\robotst\out\PRODUC~1\robots\out\...
3
votes
0
answers
94
views
How can I find out what's on a certain block in an HFS+ formatted drive?
I've a hard disk that has damaged blocks. I'm now copying it using ddrescue to an external drive.
I've a file with the list of the damaged blocks, how can I find out which files are located in the ...
3
votes
2
answers
2k
views
Format with TexFAT filesystem
Is it possible to format a device (USB stick or hard disk) with a TexFAT or TxF file system? If so, how? Is a special driver or program required for XP or Vista to be able to do this? I can find no ...
3
votes
1
answer
284
views
Recently-written files suddenly dropping to 4kb - OSX
I've got a bit of a problem here...
I've got a render-farm full of machines that are writing to a central disk, and, sometimes, after it's written an image sequence (DPX files, 12Mb per frame), about ...
3
votes
2
answers
2k
views
How to decrypt a recovered EFS file
I had a file that was encrypted using windows EFS on an NTFS filesystem. It was deleted accidentally and I had to recover it using a data recovery software. Unfortunately, recovered file isn't an ...
2
votes
0
answers
153
views
Partitions on a TF card are not working as expected; third partition is not seen
I want to create three partition in a new brand TF card (not micro SD), but I can't sort it out! What I did up to now:
create a disk partition table
fdisk -l /dev/sdd
Disco /dev/sdd: 250 GiB, ...
2
votes
0
answers
88
views
How to determine what script is deleting files in Linux?
I run a Plex Media Server (PMS) on a ubuntu 22.04 system. There's been no update to the PMS libraries for a while, and I recently started adding a few movies to the collection. But what I've found ...
2
votes
0
answers
204
views
BTRFS: no space but plenty free, balance doesn't do anything
I've got a BTRFS filesystem on four 20TB disks. It used to be three disks and I recently added a fourth:
> btrfs filesystem usage /data
Overall:
Device size: 72.76TiB
Device ...
2
votes
0
answers
2k
views
Repairing partition table with wrong sector size messed by usb-adapter and with possible block errors
I have a 4TB WD hdd (with sector size of 512e/4096) that was first formatted as GPT/ext4 with an usb-sata enclosure/adapter on a Raspberry Pi 3. Apparently the load was too much for Rpi3, and ...
2
votes
0
answers
171
views
Does anyone have a way of Exporting File 'Creation Date' and 'Modified Date' in order to restore this data onto files from a backup
I am able to get the data I want using PowerShell:
gci -path .\ -recurse | sort name | select name, LastWriteTime, creationtime
The issue here is, I have an online backup solution. When you restore ...
2
votes
0
answers
285
views
Are files without extension dangerous?
I recently run a test with Bitdefender and there were several encrypted files that it could not check.
All of them in were in APO.zip files which were contained in another Zip files.
Some of them were ...
2
votes
0
answers
396
views
Want to figure out which process (pid) is deleting a file on Mac OS X
I have a weird issue where files are being deleted from my /tmp folder, sometimes in as little as 5 minutes from creation. Doesn't appear to be the standard clean-tmps part of the periodic scheduler ...
2
votes
0
answers
1k
views
No space left on device in Linux although enough disk space and inode available
I ran into this problem when copying a lot of files using tar -cf - * | (cd ../bar; tar -xf - );
I did search on the issue, and found the below suggestions, none of which worked for me. This problem ...
2
votes
0
answers
117
views
Rotate files in filesystem when full or send to /dev/null
I'm looking for a solution to this problem:
A remote job (CI job) is creating a lot of DEBUG files (logs) I would like to keep, but after some time the disk space is totally filled up before the end ...
2
votes
0
answers
652
views
Powershell how to close the opened video file?
How to close the opened file in windows machine?
I have a video file in my C:\downloads\playme.mp4
Now I have opened PowerShell window and type this command
Invoke-Item C:\downloads\playme.mp4
file ...
2
votes
2
answers
1k
views
Is it safe to convert EXT4 to BTRFS inplace?
Ubuntu 20.04 makes it very hard to create an encrypted installation with BTRFS file system. Thus, I have an encrypted installation running on ext4. For a number of reasons I would like to use BTRFS ...