Stack Exchange Network

Stack Exchange network consists of 175 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.

4
votes
3answers
460 views

How to resize main filesystem

on my centos server I mounted a new volume /dev/sdb. I would like to add space to root filesystem /dev/vda1. [user@prod current]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 ...
2
votes
0answers
20 views

File locked only for Developer that tries to deploy

Our Developers work with VisualStudio 2017 They use a Post-Build PowerShell function that I wrote, to publish the application to the correct destination. Sometimes (1 out of 100 times) they get the ...
0
votes
0answers
21 views

Lustre MDT full, rm: cannot remove No space left on device

I have a production server with lustre file system in it. It has 2 OSTs and one MDT. Now i my MDT is full. I can't delete my old files. Here a snapshot of my lustre file system. $ lfs df -i UUID ...
7
votes
1answer
491 views

Cannot shrink btrfs filesystem although there is still data and metadata space left : ERROR: unable to resize '/home': No space left on device

I cannot shrink btrfs filesystem although there is still data and metadata space left : $ sudo btrfs filesystem resize -11G /home;echo $? Resize '/home' of '-11G' ERROR: unable to resize '/home': No ...
1
vote
2answers
66 views

Resize partition using parted

There is a pretty big file-server(~85TB) running xfs file system, on Centos 6.9 which we use for our backups. We were out of space, so I added 10 new similar drives to the array and rebuilt RAID 6 ...
0
votes
0answers
5 views

Strange data corruption on HDD after switching from Windows to Linux [migrated]

After I have replaced Windows 10 (the laptop has been in use for some time witout any issues) with Kubuntu Cosmic (ext4 over lvm, kernel 4.18.0-16-generic) on a laptop, I have started experiencing a ...
-1
votes
1answer
24 views

What compatibility issues may arise when using a NAS vs a “normal” Windows file share?

I'm working with a group of Visual Studio developers who are using a server that has "NAS" in the name, and I'm unsure of the specific file sharing protocol in use between the windows client and ...
-2
votes
0answers
20 views

Is it save to delete /proc/… files?

I am somehow running out of discspace due to some /proc folders/files: merlin@rex:~$ sudo find / -type f -printf "%s\t%p\n" | sort -n | tail -1 [sudo] password for merlin: find: ‘/proc/2307/task/...
9
votes
3answers
3k views

Database accidentally deleted with a bash script [duplicate]

Edit: a follow-up question: Restore mongoDB by --repair and WiredTiger. My developer committed a huge mistake and we cannot find our Mongo database anywhere in the server. He logged into the server, ...
1
vote
1answer
41 views

BTRFS unmountable after cold reboot (total_rw_bytes is twice too big)

One of my users in research environment invoked out-of-memory on a server which mounts a 52TB btrfs partition. I had to power cycle the server. After the reboot my btrfs partition cannot be mounted in ...
2
votes
2answers
115 views

ZFS protection against bit rot and silent corruption without RAID

I have never encountered a disk failure in my whole life but I had a dozen of bit rot and silent corruptions. 'Normal' file systems and hardware RAID can do absolutely nothing about it. I have been ...
1
vote
1answer
48 views

Can we add more volumes/disks to an existing mounted ext3/ext4 mountpoint?

Have a quick question on adding space via a new disk/block device to a non-root/ext3 mount-point that has data and is mounted. I Have an ext3 mountpoint '/u01', which has a device '/dev/sdb' attached....
1
vote
0answers
22 views

How to disable the locate command, when used by an ordinary user, from printing file paths that belong to other users?

On Debian with mlocate installed, the locate command seems to print file paths matching a given pattern regardless of the owner. This is a bit privacy instruing. How can I prevent mlocate from ...
3
votes
2answers
50 views

Random empty files called “file*” are created on /tmp

I have two RHEL 6.10 servers where /tmp is constantly being filled up with thousands of files with the following names -rw-rw-r--. 1 root root 0 Feb 22 17:30 fileoQ1gE0 -rw-rw-r--. 1 root ...
2
votes
2answers
50 views

Failed XFS after resizing partition

I pretty much followed the same general idea as here: Resizing a partition -Resize VMware disk: Through vSphere, resize disk from 100GB to 300GB (Reboot VM) -Delete partition (fdisk /dev/sdb, d, 1) -...
0
votes
0answers
31 views

Windows Server: File verification check post un-dedupe vs. before (deduped)

We have a disk that was previously deduped (windows server 2012 dedupe), but we have since re-hydrated back out. There is still 5TB left in system\chunkstore which no amount of scrubbing/GC has ...
2
votes
1answer
42 views

AWS file system ID for disk on 'trial' server

I created a free trial AWS server a year ago, but am only getting around to using it and going through some of the tutorials. I'm trying to set up an initial httpd web server for practice and their ...
2
votes
0answers
54 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 Pings to the server are ~60ms, which is quite reasonable, yet any access to the mount is very slow. Copying ...
0
votes
1answer
41 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
176 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
46 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
42 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
50 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 ...
3
votes
1answer
27 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
79 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
1answer
126 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
102 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
80 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
25 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
23 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
56 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
82 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
54 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
17 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 ...
2
votes
3answers
147 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
190 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
39 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
257 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
34 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'...
1
vote
0answers
65 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
962 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
37 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
49 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
57 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
27 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
189 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 (...
3
votes
1answer
138 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
54 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
86 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 ...