Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
20 views

Is my NFS mount actually using async? Diagnosing very slow response time

I have the following NFS mount: server:path /mnt/path nfs rw,hard,intr,nfsvers=4,async 0 0 Recently, packet routes to the server started taking 60 ms instead of <10 ms, but this is still quite ...
0
votes
1answer
18 views

Is it possible to browse files from HDD containing OS esxi?

my office have a broken esxi server that suddenly doesn't want to boot up. I am suspecting it is caused by motherboard. I am trying to access the server's Hard drive to get some VM files inside the ...
4
votes
1answer
101 views

How do I expand the root's volume size?

I have Ubuntu Server 18.04 LTS running off a 16GB SanDisk USB pendrive in my server. From what I can remember, when I installed Ubuntu on there I had enabled LVM support. For some reason, when I ssh ...
0
votes
0answers
19 views

XFS Realtime (CONFIG_XFS_RT), Is it really usefull for high i/o servers?

Recently we got more crashes and i/o errors from XFS filesystem. The reason what we thinks about it because of high disk i/o. We are uploading several GB's of data and deleting per week for big data ...
0
votes
1answer
7 views

GFS2: How rename clustername / lockspace / fsid / locktable name in Ubuntu 18.04

Some time ago I created my first GFS2 to do tests: mkfs.gfs2 -t cluster-test:gfs-vol1 -p lock_dlm -j 3 /dev/vg2/gfs-vol1 From mkfs.gfs2(8) man: -t clustername:lockspace The "lock table" pair ...
0
votes
0answers
21 views

Linux deny access to written file

Is it any possibility for linux file system wrapper that deny access to file that is currently written? I'm tkinking about functionality embeded on windows. When any process write some file, it by ...
1
vote
1answer
26 views

Why is UUID missing after creating ext4 filesystem on RHEL7 ec2 instance

I'm using Ansible to configure a server. This server is running on AWS Ec2 and I'm attaching to it four EBS drives. When I run my ansible playbook it will fail about 50% of the time. The failure is ...
2
votes
1answer
21 views

Is a hard reset equivalent to power loss for storage devices and file systems?

There are trade-offs regarding data safety vs performance when configuring storage. Some faster settings are only recommended when one does not expect power outages, e.g. because the server has a ...
3
votes
0answers
68 views

Does the ReFS filesystem reserve space for itself?

I recently formatted a single disk from the line of new 14TB Seagates on Windows 10 with ReFS, with a 4K block size, to use the full capacity available and noticed that out of the approximately 12.7TB ...
2
votes
0answers
34 views

mkfs -O ^64bit,^metadata_csum -t ext4 in 2019

Thomas Krenn recommends creating ext4 partitions like: https://www.thomas-krenn.com/de/wiki/FSCK_Best_Practices mkfs -O ^64bit,^metadata_csum -t ext4 what does this mean? does this have anything ...
0
votes
1answer
99 views

Overwrite directory creation mode using linux acl

I try to give specific user(for example "test") right to read any new created directory. I do that using: undefine@undefine-ThinkPad-T430s:~/test$ getfacl . # file: . # owner: undefine # group: ...
1
vote
2answers
73 views

Monitor File Server for transient file locking

I have an IIS webservice (commercial product) that writes files to a remote Windows file server using UNC. From time to time, particularly when writing a large number of small files in a batch, the ...
-1
votes
1answer
22 views

live server disk image backup data integrity

I've been looking for a way to do a disk image backup of a running linux server. There are several questions which answer this, like How to make a disk image, Mirror Live Linux (Debian) Server, Linux ...
0
votes
1answer
20 views

virtualmachine lvm reduce size KVM Debian9

I have got 4 6TB HDD's, each is divided into 5 partitions: 1) ESP - 250mb 2) raid - rootfs 14gb raid1 3) swap - 5gb 4) raid - 70gb raid1 LVM's for VM's 5) raid - 16tb raid5 LVM for storage And ...
0
votes
1answer
45 views

ext4 mysterious “No space left on device” error

Im having trouble with my ext4 filesystem. Im using this with NFS to make it available to remote machines. Now its showing a mysterious "No space left on device" error when im trying to mkdir $name ...
3
votes
1answer
53 views

Why docker container is able to check the host's filesystem?

When inspecting the filesystem of a docker container I used df -h to check filesystem from the point of view of the container: $ docker run -it busybox sh / # df -h Filesystem Size ...
0
votes
2answers
40 views

Delete a log while is written using SED - /var/log/messages

I had a filesystem that was over 60%. I found that the file /var/log/messages had more than 4 million lines so I decided to delete 2 million lines in order to clear some space. I executed the command ...
0
votes
0answers
11 views

Disk change corrupted volume - MegaCLI

I recently changed disk on one of our servers using MegaCLI, it actually uses Dell controller with perccli utility, but it has some issues and this swap could not be done with it. At one point, i ...
1
vote
3answers
102 views

Can I create a compressed loop-device filesystem that can expand to fit the data size?

I have large numbers of small log files that are essentially write-only, unless I have to look at them for some reason. Right now, they accumulate in day-specific subdirectories in a logging folder (e....
0
votes
1answer
58 views

“stat” says “permission denied”, even though all the permissions are in place

I have this: ls -al /home/my_user/dir1/dir2/file1.txt -rwxr-xr-x 1 http http 2798 Dec 30 18:18 /home/my_user/dir1/dir2/file1.txt However, I can't stat it: sudo -u http stat /home/my_user/dir1/dir2/...
-1
votes
1answer
32 views

Recover filesystem after resize FAT32 [closed]

I recently resized one partition inside an LVM on my disk using gparted. No errors were given, but now the filesystem is corrupted and I'm trying to recover it. When I mount it, no errors appear but ...
0
votes
0answers
158 views

How to prevent 416 and 206 when creating mp4 files on the fly

I have a site that uses multiple servers - main, database, images, ffmpeg/video files. The main server uses wordpress that has a front end form which users use to create posts. They can choose a ...
0
votes
0answers
27 views

How to bind mount a subdir of a RO file system as R/W, and keep it as R/W

I have a read-only root file system and I want to make a subdir (let's say /home) writable. For this I do the following: mount --bind /home /home mount -o remount,rw /home This works fine. Now let'...
0
votes
0answers
27 views

How do filesystem commit interval options interact with vm.dirty_expire_centisecs?

Question How do filesystem "commit interval" options interact with vm.dirty_expire_centisecs? What happens when one is shorter than the other? Does it ever make sense to set these differently? My ...
0
votes
1answer
260 views

How to recover an ext4 signature deleted with fdisk?

While resizing an EBS volume on Amazon AWS I accidentally deleted the ext4 signature. root@server:~# fdisk /dev/xvdf Welcome to fdisk (util-linux 2.31.1). Changes will remain in memory only, until ...
-1
votes
1answer
36 views

speeding up deleting a large directory by running rm -rf on multiple terminals

I have this very large directory that I'm deleting with : rm - rf . It is taking very long, so I opened up another terminal and try deleting the same directory with rm -rf parallely. Is this ...
0
votes
1answer
45 views

How to add a user to a group?

Self-mockery : Fantastic question. I followed sudo usermod -a -G grp uzr in order to add uzr into grp. When I type groups uzr I get uzr : adm cdrom ... grp and when I'm logged in with uzr I type ...
2
votes
1answer
49 views

BTRFS, out of space, but there is plenty of space

I am facing No space left on BTRFS. What I already tried myself: After remount RW: btrfs filesystem resize max /mnt/hdd I ran balance (for weeks ;-) ) with different parameters btrfs balance start /...
0
votes
0answers
24 views

Why do i see a lot of deleted, but still open file handles to system files?

Partial output of lsof command. There're a lot more handles (# lsof 2>&1 | grep DEL.*\.so$ | wc -l shows 725), but they're ~ same as in provided part. Why is this happening and should i be ...
4
votes
1answer
138 views

Whats the best filesystem for managing millions of images?

I am designing a system capable of working with 15 million (and growing) image files ranging from 100k to 10mb. I am looking for some opinions on what may be the best filesystem to support the (...
2
votes
1answer
83 views

Using SNMP for detecting filesystem anomalies (read-only, etc.)

Usually when there is a problem, the filesystem mounts itself read-only: [449551.919049] EXT3-fs (dm-2): error: ext3_journal_start_sb: Detected aborted journal [449551.919056] EXT3-fs (dm-2): error: ...
2
votes
0answers
46 views

Which attributes/descriptors are changed by hardlinking a file on Windows?

I'm working on a little backup script using robocopy and hardlinks. My aim is to have differential backups using similar concept as rsync's --link-dest without having to resort to 3rd party tools. For ...
1
vote
3answers
62 views

Setting recursive permissions: how to increase performance?

We have a huge directory tree, many levels deep and with a (very) large number of small files at each level. From time to time we have large file data changes where parts of the tree are replaced and ...
0
votes
1answer
155 views

Btrfs check repair give device busy. How to see what it keeps busy?

I am in a chicken-egg situation for my secondary harddrive (non boot): My BTRFS mount has gone readonly because no space left. btrfs filesystem resize only works on mounted volumes. I needed to ...
0
votes
1answer
49 views

Linux create file system with nonexisting owner/group for foreign (embedded) system

I want to create a file system image for a foreign Linux system on a local Linux. First of all, the foreign system could have different CPU architecture, such as ARM, MIPS, rather than my local PC ...
1
vote
0answers
26 views

KVM: Is it possible to detect guest disk was mounted RW?

Let's assume I have a KVM-based virtual machine. There is a volume that contains the operating system and the data. I know it is possible to access from host at least READ-ONLY the filesystem which ...
1
vote
1answer
25 views

cross OS file system that works on Windows 10+, Linux, and OS X

First, I realize there are many duplicate questions but they are all quite old and their answers may not be relevant anymore. I would assume (or hope) that in our constantly evolving technology ...
0
votes
2answers
147 views

Logical Volume /dev/centos/root is extended but /dev/mapper/centos-root is not

New to Linux Fileservers and trying to extend /dev/mapper/centos-root This is a test server The Logical Volume /dev/centos/root is 27.99GB large: --- Logical volume --- LV Path ...
1
vote
1answer
122 views

Set default file permission mode without ACLs

I have an AWS EFS share, which does not support filesystem ACLs. How can I set a folder inside the EFS share to default to mode 664?
0
votes
1answer
113 views

I deleted all the contents of /boot and now server is not booting

I did something stupid. My thinking was that /boot directory is empty and contents come to /boot each time the computer starts. My /boot drive was giving me error messages no space left so I thought ...
0
votes
2answers
228 views

Cant access Windows Server via NetBIOS but FQDN works

2 Windows 10 machines. Machine1 can access \\Server1 via NetBIOS. Machine2 can not. However Machine2 can access \\Server2 via NetBIOS and Machine1 can not. If you use the FQDN it works without issue ...
2
votes
1answer
95 views

rsync file size discrepancies [duplicate]

I have a few PC's with an ext4 filesystem that I want to backup to a file server which is also ext4. Problem is there are some discrepancies in file sizes when using rsync, and I have noticed this is ...
1
vote
1answer
79 views

Hide folder structure on server for images with nginx

I have the following folder hierarchy on my server: /var/images/d/d8/d82fa6c3eed/image.png The directory structure is created from an MD5 hash and broken up into sub-folders. I would like to ...
1
vote
1answer
107 views

File system, that handles over 2 million files

I'm going to store files in one folder in my server. The amount of files will exceed 2 million. Each file size will have range between 5MB - 100MB. What kind of file system can handle well that ...
-1
votes
1answer
32 views

Changes in fs.* after rebooting?

After rebooting my machine, sysctl -a gave me different outputs (some of changes like kernel.sched_domain.cpu0.domain0.max_newidle_lb_cost is expected): 16c16 < fs.dentry-state = 37641 15280 ...
0
votes
1answer
119 views

how to create ramfs or tmpfs that won't be existed after reboot?

For security reasons I want to setup a temporary directory or partition that will be removed if the system rebooted or in case of power outage. I tried to create a tmpfs but the files where there ...
-1
votes
2answers
198 views

Centos 7 Move storage space from one filesystem to another

I have a server using Centos 7, and with the storage capacity allocated as such: What I would like to do is take some of the space from the /dev/mapper/centos-home file system and give it to /dev/...
0
votes
0answers
83 views

zombie file under linux

When trying to unininstall cups from a linux machine some kind of "schrödingers file" was left behind: ls shows it, but otherwise its not there. System is ubuntu 17.10 / kernel 4.13, filesystem is ...
0
votes
3answers
46 views

Union multiple mounts to a single point, but keep them all read write

I've got over 1,000 directories, spread out over 6 servers. Technically they are home folders. It's guaranteed that there will never be any duplicate folder names. What I'd like to do is to mount ...
0
votes
1answer
1k views

Understanding XFS inode limits

I reached the inode limit on my XFS partition. There are plenty of questions about this. Some suggest the answer is to increase the maximum percentage of space allocated for inodes. Or, as the ...