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
votes
1answer
30 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
41 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
30 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
20 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 ...
0
votes
0answers
11 views

Circular directory structure NTFS filesystem [closed]

I get the following errors many many times when I try to run a command related to a folder in a Windows NTFS partition in GNU/Linux. rm: WARNING: Circular directory structure. This almost certainly ...
4
votes
1answer
101 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
49 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: ...
0
votes
0answers
30 views

fstrim cron job blocks the disks and requires reboot

I encounter a serious error doing fstrim on a volume which is a raid5 on normal SATA, cached by bcache on SSD. Second time the process remained in uninterruptible state, and I had to reboot the server....
2
votes
0answers
41 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
57 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
48 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
43 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
21 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
23 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
56 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
68 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
87 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
0answers
68 views

Converting btrfs to zfs without using a different hard drive/partition

I know that in the general case you can't just change your filesystem on the fly but some close filesystems do support such conversions, like ext2 to ext3. I'm wondering if it is the case between a ...
0
votes
2answers
110 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
75 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
69 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
88 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
30 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
69 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
128 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
58 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
26 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
610 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 ...
1
vote
1answer
130 views

Master-Master File Sync between DataCenters

My problem is regarding a master-master (3 master nodes) file synchronization setup, where each node is in a different DataCenter. I have three application servers where users can create/modify/delete ...
0
votes
1answer
197 views

CentOS: eror when removing file: “rm: cannot remove '.viminfo': No such file or directory”

I have a file named .viminfo in home directory. I can see that the file is there by ls -lh: $ ls lh ... drwxr-xr-x. 2 mt1022 1091 4.0K Oct 12 2016 .vim -?????????? ? ? ? ? ...
0
votes
0answers
109 views

How to recover [unknown] disk from LVM2 on Proxmox

On my server, i have 5 disks. The disks are configured as follows: Raid 1 (Disk 1 + Disk 2) [320gb each] - Proxmox installed Raid 1 (Disk 3 + Disk 4) [1tb each] + HDD (Disk 5) [1tb] = totalizing 1....
-1
votes
1answer
33 views

How to diagnose/fix slow file management on Windows Server 2012?

The setup is: FUJITSU PRIMERGY TX300 S7 RAID Ctrl SAS 6g 5/6 512mb (d2616) Windows Server 2012 64 bit Volume C: RAID 1 (2 HDDs) Volume D: RAID 5 (8 HDDs) The problem is: When we do ...
-1
votes
2answers
352 views

How to copy user permissions in Windows server 2012 r2?

I have windows server 2012 r2 and two storage drive. lest say A and B. I have created users and given files and folder access in drive A but now it is crashed and now I want to give all the same user ...
0
votes
0answers
15 views

OpenShift: Restrict pod/container size

We have the following, somewhat hypothetical scenario: An application, running in a container. This application does not follow the design guidelines and doesn't log to stdout, but into a file. If ...
5
votes
2answers
765 views

what is the relation between block size and IO?

I have been reading about disk recently which led me to 3 different doubts. And I am not able to link them together. Three different terms I am confused with are block size, IO and Performance. I ...
0
votes
0answers
22 views

Gluster: how to setup distributed replicated volume with different size

Say I have 4 servers, each with ZFS volumes. Two servers with 36GB each. And two servers with 60GB each. I want to use glusterfs to setup two replicated volumes between the similar sized ZFS volumes. ...
1
vote
1answer
53 views

Re-allocate space from one Volume Group to another Volume Group - Linux CentOs

I have a dedicated server provided to me by 1and1. I started migrating websites to the server only to realise that I am running out of disk space. I had to clear my backups in order to continue ...
0
votes
0answers
15 views

Resize (enlarge) filesystem to partition size [duplicate]

I've got an 16GB SD card with Raspbian on it. $ lsb_release -a No LSB modules are available. Distributor ID: Raspbian Description: Raspbian GNU/Linux 8.0 (jessie) Release: 8.0 Codename: ...
0
votes
1answer
63 views

glusterfs client mount point fails with 'Client quorum is not met'

Assume a basic replica 3 arbiter 1 configuration, glusterfs-server 4.0.2 and glusterfs-client 4.0.2. glusterfs-client is installed on Ubuntu 18.04. In order to verify that write / read ops are ...
0
votes
1answer
246 views

Tool to track folder changes recursively in ubuntu 16.04

Is there any tool with which I would be able to track any changes happening recursively inside a particular folder? I have used inotifytools and fswatch but both are hitting the server performance ...
0
votes
1answer
234 views

How to verify checksum after copying 2 TB of 6 million files over USB?

I have a situation where I need to move over 2 TB of data from one server to another server in another data center. There are over 6 million files to copy. The plan is to move data in phases. For ...
0
votes
2answers
392 views

File system keeps becoming read-only

After working for a while, my filesystem (EXT4) becomes read-only. I then use my live USB to boot into live mode and I run fsck on the corrupted partition (and others too, to be safe). I run fsck -y ...
0
votes
1answer
39 views

I want to delete exiting partition on a ssd and then create a partition and then a file system on the same

I want to delete existing partition on an ssd and then create a partition and then a file system on the same. How can I do it using a single command based on fdisk?
0
votes
1answer
29 views

extend file system size on cloud server

On my 1and1 root cloud server I'm trying to extend my file system size after an upgrade. I should have 120gb instead of 70gb. I'm not very experienced with filesystem extending I'm on Ubuntu 16.04.3 ...
1
vote
0answers
63 views

Root cause for having a number of zero bytes in regular files

We have corrupt files that contain a number of zero bytes. I wonder what the root cause could be. What I know is: All kinds of files that were recently written are affected, they contain a number of ...
0
votes
1answer
282 views

Data Deduplication and ReFS

I have read a number of posts stating that only NTFS and CSVFS is supported with Data Deduplication, specifically not ReFS. However in this article, which is quite new, it states that it is supported:...
6
votes
3answers
366 views

Disabling ext4 write barriers when using an external journal

I'm currently experimenting with different ways of improving write speeds to a fairly large, rotating disk-based, software-raid (mdadm) array on Debian using fast NVMe devices. I found that using a ...
1
vote
0answers
59 views

I got a power loss and my directory became a file (ext4, ssd), what to do?

After a power loss 1 directory (maybe more, I don't know) just became a file on my SSD (ext4 fs): -rw------- 1 postgres postgres 16K May 15 20:06 stolon It was a directory! How could it ...
0
votes
1answer
54 views

Corrupt `reverse i-search` database: why and how?

I made a recording of this as it's never happened to me before and seemed pretty weird: https://asciinema.org/a/qVSUzkIX2wLia7EzCFhCYHb9Q Under which conditions would the bash completion database ...
3
votes
0answers
74 views

Alpine Linux - root mounted as ro iso9660 filesystem how can I remount as rw overlay? [closed]

The root filesystem is an iso9660 mount. / # mount |grep iso /dev/sr0 on / type iso9660 (ro,relatime) Is there a way to remount root, using aufs in order that I can install packages, compile code, ...