Questions tagged [filesystems]

A file system (or filesystem) is a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve and update data, as well as manage the available space on the device(s) which contain it.

Filter by
Sorted by
Tagged with
0
votes
1answer
31 views

Filesystem without partition

It is common to create a partition in order to create a filesystem. Modern Linux fdisk will do block alignment automatically, starting the partition at sector 2048. In this case the filesystem will ...
0
votes
0answers
24 views

File timestamps precision - ext3 with nanoseconds, ext4 with milliseconds

It is said that ext3 supports file timestamp precision up to seconds and ext4 up to nanoseconds... What happens is that my old VPS running Ubuntu 12.04 with a ext3 filesystem always (as far as I can ...
0
votes
1answer
19 views

Find special lines in linux file [closed]

please i need help in linux i have a file contain text like this AAAAAAAAAA 11111111111 122233 5434335 543232222 BBBBBBBBBBB 23133444 7667688686 8786677868786 CCCCCCCCCCC 4564564564646 55555 ...
0
votes
1answer
60 views

How to move /var back to Root from a different filesystem

I need to move my /var (dev/sdc1) back to the / (dev/sda2) from a different file system. I've resized the / partition and want to move /var back to / partition and resize /dev/sdc1 filesystem to mount ...
0
votes
0answers
36 views

Making SMB/NFS/AFP shares unicode normalisation agnostic?

I have a linux host sharing an external drive over SMB, NFS and AFP with a macos client, but differences with handling non-english characters (atm I'm dealing with Korean, haven't tested Japanese yet) ...
0
votes
1answer
104 views

Can't resize ext4 partition

I have an 500GB HDD disk (480GB free) that I need to clone it to an SSD 240GB. I have read that cloning the HDD to the SSD should work for NTFS filesystems. But it isn't working for the ext partition....
8
votes
2answers
501 views

QEMU - incorrect real disk size of a virtual drive

df and ls report different sizes on my host machine because of the difference between the allocated size and the amount of space that's actually used in the EXT4 filesystem. The problem is that both ...
0
votes
1answer
15 views

Modern Filesystems and Small Files?

Do modern file systems, such as ext4, ntfs, and apfs, always start files in a new sector, or may some files share the space in the same sector?
1
vote
3answers
90 views

What does “dirty block” mean? Especially in RAID context

Just as in the title. I was unable to find reliable information about dirty blocks in software RAID, but I heard this term many times. Is it bad to have many dirty blocks? How to check the amount of ...
0
votes
0answers
25 views

Disk with no primary partition mounted on disk-name itself

I have a ec2-machine setup with an EBS attached of size 200 GB. I obtain the following with the commands I perfomed Screnshot for the lsblk and df -hT commands As I could figure out from these, there ...
0
votes
1answer
36 views

Very strange disk corruption error

I have a server, where I deleted a large file. Let's call it ~/tempfile.txt. Somehow, the deletion didn't work properly, and the disk got corrupted -- meaning, du -hs * doesn't show that file existing....
0
votes
0answers
17 views

Mounted file server slow

There is a file server with home accounts of users and that is NFS mounted on other servers on the network. All servers are running CentOS 6. Users login to these other servers(eg. server-19) where ...
1
vote
0answers
66 views

Why does `du` on CentOS 7 show 1 value, but it shows a different value on CentOS 8?

I just finished migrating a mail server from CentOS 7 over to CentOS 8. The mail store was in /var/vmail. The data was migrated with rsync: rsync -rltDPH /var/vmail/* root@new-hostname:/var/vmail/ I ...
1
vote
1answer
40 views

Should I turn indexing of a hard drive on or off on Windows Server 2019 with a HDD with millions of files on it?

Server is running Windows Server 2019 with IIS running. I have a standard spindle enterprise 8TB HHD with about 30 million JPEG image files on it. The amount of images grows daily. Each file is less ...
0
votes
0answers
95 views

btrfs bad tree block - cant mount filesystem

I'm hoping someone can help me, trying to recover a btrfs pool, that lost 1st drive. I tried to mount the 2nd drive and I've been having fs errors. I got the 1st drive readable again, but it appears ...
2
votes
0answers
235 views

Can't Disable SMB 2/3 Signing between Windows 10 and Windows Server 2019

I've been having some strange file copy issues between a Windows 10 client and Window Server 2019 system (DC/Fileserver). I don't want to explain that issue in detail here other than to say it ...
0
votes
1answer
54 views

Refresh disks on live system without rebooting

I have 4 drives in a server. This is a live server. One of these drives I replaced with a different drive and changed the mount point for the new drive so as to avoid confusion. After completing the ...
1
vote
2answers
34 views

How to shorten long names when performing folder to folder copy on server?

I am preparing to move about 500 GB of user's data to a new directory structure on a Windows Server 2012. (255 limit) Is there a way to automatically reduce the length of the filenames somehow during ...
0
votes
0answers
13 views

How to use Data Blocks for building an Extent Tree?

I am building an extent-based File System for a school project. I wanted to use an ext4-like design with its Extent Trees, but I don't understand how exactly the Extent Trees are built. As far as I ...
1
vote
0answers
72 views

vmkfstools --growfs returns no such file or directory

At a customers site we have 2 (+1 Backup and Test) ESXi server, working independently (without vSphere). The customers request is to replace an SSD RAID with 500GB with a 2TB one. ESXi is installed ...
0
votes
0answers
101 views

How to disable fsync on Linux

Is there a way to make fsync operations on Linux a no-op, ideally just for a single directory or mount point? I am running some software which unfortunately I cannot modify which is doing excessive ...
2
votes
0answers
57 views

Recovering a concatenated disk (ccd)

I need to recover data from an old filesystem, which was located on two small (by today's standards) drives -- using a concatenated disk driver (known as ccd in FreeBSD). I have the drives online (no ...
0
votes
3answers
74 views

Mass Delete 100m small files

I need to delete over 100 million small (8k-300k) files from an SMB share using Ubuntu Linux 18.04 These files are in the following folder structure: /year/month/day/device/filename_[1...10000].jpeg ...
4
votes
1answer
74 views

Creating ZFS pool from liveCD with ashift=9 becomes ashift=12 when rebooted into new OS

I have created a zpool while booted on a Linux Mint liveCD (with all the ZFS packages temp apt-installed) and created a zpool with command line containing ashift=9 because my ST4000NM0033 drives (8 ...
1
vote
2answers
31 views

Retrieve SVN data from File System

One of our virtual machines is down and cannot be restarted. Fortunately, I managed to access to the virtual disk file and got all my data back. I wonder now if there is a way to retrieve the ...
0
votes
2answers
29 views

Delaying creation of output files when running a longer command

Situation: I have a shell script running. Whenever a file appears in /etc/scripts, the shell script will chmod it to be executable, and then run it. It will then redirect it's error and output into 2 ...
1
vote
0answers
34 views

What is directory's blockmap? And how many disk I/Os will happen?

I am reading this paper from Facebook (Beaver). The paper says that We initially stored thousands of files in each directory of an NFS volume which led to an excessive number of disk operations ...
0
votes
1answer
19 views

What could prevent me from renaming a file locked?

I've run into a very weird issue on a build server where it won't let me rename any file 'locked' on the entire D drive as it throws a permissions error. I have local admin rights which allow me to ...
0
votes
1answer
52 views

Need advice on Hardware Raid, Filesystems and LVM

I have looked through many duplicate questions over the past few hours on here but none really shed light on the issues (confidence) I have been faced with in Work, not exactly. So we have a new ...
0
votes
1answer
34 views

What are common reasons of files integrity change in a file system? [closed]

Recently I had an error in an important include file for C++ in my Ubuntu Linux system. I detected it due to a compile error and run debsums to check it. Indeed there was a string changed probably due ...
0
votes
1answer
35 views

Run similar disk intensive tasks parallel or serial on regular Linux?

Scenario I'm on a regular Ubuntu 18.04 LTS with ext4 Filesystems. I'm using restic to backup my machines. Restic is a backup tool that support different backends (local, sftp, aws, gcs, ..) but only ...
0
votes
0answers
12 views

Reporting Azure File Usage

I'm looking for guidance on how I might get a report (or dashboard graph) showing the usage of Azure files by share. I know by default it shows the usage by storage account but I would like to see ...
0
votes
1answer
36 views

Beyond private-keys or passwords, why disable other=read/exec/write access file permissions for “system” (separate from user/application) files?

Summary In Unix, Linux, or BSD systems: Besides private-key or password files, user-private content, or any custom-application-specific reasons (like serving a database of private information for ...
1
vote
1answer
39 views

How to fingerprint (euclidian distance) a filesystem on linux?

I have a large number of systems (100s) managed by a small group of people which has changed over time. Each system is installed using a base image (which has its own version which is different ...
0
votes
3answers
98 views

In linux, Can a filesystem get full even though the volume is not full? [closed]

In linux, Can a filesystem get full even though the volume is not full, how do we differentiate filesystem and volume in terms of storage space ?
0
votes
0answers
33 views

Restrict user access to server files

I have 2 Windows Server 2012 R2 virtual machines that has about 250 logons. The Files Server has all the users files on D:\userdocs\(username). The Desktop Server has all the software and programs ...
0
votes
0answers
41 views

Save data from a corrupted file system with SCP

An instance I manage recently experienced file system block errors and passed in Read Only mode. Before any attempt to fix it, I wanted to save one specific docker volume. scp -r -v user@some_domain:...
1
vote
1answer
36 views

How is server root defined in this context?

I asked a question over at Information Security and received an interesting response which in part included the following: move them off the server root So in the context of moving uploaded files "...
7
votes
4answers
146 views

Any transparent filesystem for SunOS

Back before Solaris SunOS had a cool feature called transparent file system. The basic concept allowed disk files systems to be stacked like transparencies on an overhead projector. And allowed the ...
2
votes
3answers
104 views

Do file systems exist which can intelligently handle redundant blocks for saving disk space and instantaneous copying?

If I have a very large contiguous file in the gigabytes that I want to copy, my disk has to allocate all of the necessary space and write a duplicate of every block. Why can't a copy be "fast" in a ...
0
votes
1answer
34 views

What files in node.js do I need?

I am planning to download node.js onto my server. I already have all the node_modules I need elsewhere. Does this mean I can delete the folder called node_modules in nodejs?
1
vote
1answer
58 views

Copy/Snyc files with extended attributes between Linux and BSD

I would like to copy/sync files from a Linux box to a FreeBSD server. As the files tend to have extended attributes, I want to preserve these on the target file system. The source filesystems are ...
2
votes
3answers
120 views

How to avoid downtime when a need arises to check & fix a huge filesystem

I'm researching for ways to build and run a huge storage server (must be running Linux) where for all data arrays I can run consistency check and fix, while the usual applications using the arrays (...
1
vote
1answer
106 views

How to securely delete a file's NAME from the filesystem?

I want to delete a file on a linux ext4 file system such that the disk does not contain the name of the file anywhere on the disk (free space, file system metadata, or anywhere else). For example, I ...
1
vote
0answers
26 views

Browse files on partially formatted drive

So I had a customer come in for data restoration when they had an installation fail which resulted in partial data loss. When booting into a live USB on the machine the drive shows up with lsblk as ...
4
votes
3answers
403 views

How to write a sparse Linux (EXT4) disk image without writing gigabytes of zeros?

I have a 64 GB Linux disk image with ~50 GB of unused space across the partitions. The file is sparse, so it only takes ~14 GB on disk. But if I dd the image, it writes the full 64 GB, which takes ...
0
votes
0answers
8 views

Prevent group users from renaming files/directories because they have `rwx` on the parent directory

This is on Ubuntu 18.04 systems. I have a directory "parentDirectory" in which users need to be able to create subdirectories, and manage the permissions on these own subdirectories. I.e. The users ...
1
vote
1answer
57 views

Performance consideration for loading Images from S3 bucket

I am working on e-commerce website where users can upload images for the product that they want to sell on the website. The website is running on a windows/IIS server. At the moment I am using ...
0
votes
1answer
21 views

Remounting a Device with a Different Filesystem without reboot

I do have a device mounted as ext4 but actually it is ext3, is there a way that I can make it mount simply again as ext3 without rebooting.
0
votes
0answers
536 views

Docker overlay2 file system corruption

I have a small home server where I host a few services I like. Recently the server enters a read only state on the main LVM volume, this is the volume where Ubuntu is installed. I have very little ...

1
2 3 4 5
36