Questions tagged [filesystems]

A filesystem is a way to organize and store computer files with their data.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

virt-sparsify: error: libguestfs error: security: cached appliance /tmp is writable by group or other (mode 40777)

I want to virt-sparsify --compress a file, but when I try to do it it says I need more space in /tmp/ I tried to create a directory on a NTFS partition where I have alot of free space and make it tmp ...
1
vote
0answers
10 views

Detect if filesystem supports FIEMAP ioctl

How can I query the kernel to find out if a mounted filesystem supports the FIEMAP ioctl? Is there a way to request the inode_operations struct for a given filesystem? As a workaround, I just test ...
0
votes
0answers
24 views

A question on page-management by the virtual file system?

I am trying to get a fairly low level understanding of what happens when a file is opened or changed in linux. Obviously only some of the pages of the entire file, ( i.e. after the blocks on the ...
0
votes
0answers
7 views

Too many levels of symbolic links on cluster

I have some simulation files on a cluster. When I type scp and the name of the files followed by * to copy all of them on my local machine, it copies only some files. If I type the name of the files ...
-1
votes
0answers
71 views

Deleted files on ext4 fs reappear after 2 hours

Files deleted (or moved or overwritten) on ext4 drive (this is backup partition) reappear after about 2 hours. There is no way the data is anyhow stored somewhere else to be restored from, because of ...
0
votes
1answer
52 views

Which filesystems contain data loss prevention mechanism?

im unable to google this one out: which filesystems are available, which contain any form of a data loss prevention in case the medium (hdd) itself will become faulty? and potentially automatically ...
0
votes
0answers
7 views

Is it possible to tell if file on tmpfs is swapped

According to wikipedia: tmpfs is supported by the Linux kernel from version 2.4 and up.[5] tmpfs (previously known as shmfs) is based on the ramfs code used during bootup and also uses the page ...
1
vote
0answers
15 views

Which file system copes 'better' with bad ejects of external USB HDDs?

Is there a disk format that copes well (or better than others) when end users physically disconnect USB-attached external drives without safely ejecting then? I have XFS, ext4, btrfs, exfat, and NTFS ...
1
vote
0answers
47 views

directory size inconsistent between “du *” and “du file” [duplicate]

Can someone help me understanding this ? # du -hs * 3,8M depmodwrapper-cross 712M linux-karo 211M u-boot-karo # du --apparent-size -hs * 3,6M depmodwrapper-cross 672M linux-karo 176M ...
1
vote
1answer
35 views

Emergency remount does not prevent damaged filesystem

I have following script that performs an emergency shutdown that needs to take 1-2 seconds. (halt takes too long) # Enable System Requests sudo echo 1 > /proc/sys/kernel/sysrq #sync sudo echo s &...
1
vote
0answers
12 views

deboostrap overlay-like/union filesystem and network boot?

I'll describe the situation first: I'm trying to create a network booted Linux (Debian) for about 200 workstations. Unfortunately, those workstations become hardware-heterogenous in previous years; ...
0
votes
2answers
34 views

fsck in recovery mode does not work

When I run fsck in recovery mode, it says that sda3 is mounted. /dev/sda3 is mounted e2fsck: cannot continue, aborting. However, when I try to umount sda3, it is busy. umount: /: target is ...
2
votes
1answer
40 views

Something is creating thousands of .svg files in /tmp and not deleting them

Apparently for months now, some process has been creating an empty .svg file in /tmp every minute and leaving it there. I now have 43,000 of these 262 byte files accumulated. I could just periodically ...
2
votes
0answers
26 views

tune2fs for f2fs

Is there a tool for editing (and viewing) the file system features for f2fs just like tune2fs for ext234? For instance you can get summarized info about the corresponding extX partition: # tune2fs -...
0
votes
0answers
13 views

find inode/file using specific block on running xfs filesystem

I know that block 12024039 is bad on sda1 and I want to find out what file in the xfs filesystem is using that block and is thus corrupt. How do I do that? When I run xfs_db -f -c 'blockget -b ...
0
votes
0answers
10 views

Cannot mount anything into directory (on ZFS)

I have a directory on a ZFSoL 0.8.1 filesystem into which I cannot seem to mount anything, and I am quite puzzled ... mypool/ => /mypool mypool/fs1 => /mypool/fs1 mypool/fs2/...
0
votes
1answer
62 views

Partition #3 contains a ext4 signature

When i use fdisk to create a new partition i get an error which says Partition #3 contains a ext4 signature Do you want to remove the signature? [Y]es/[N]o: This error is not a problem but i am ...
0
votes
0answers
23 views

Linux mkfs.f2fs Error: Device size is not sufficient for F2FS volume

I am trying to mount an F2FS file system on an Ubuntu 16.04 LTS machine running Linux version 4.4.178+. When I try to run: sudo mkfs.f2fs /dev/sda2 the system returns: F2Fs-tools: mkfs.f2fs Ver: 1....
0
votes
1answer
60 views

Recovering lost partition table with TestDisk

So, somehow the partition table on my disk went bananas: at the next boot the system would not start, I got repeatedly kicked in the BIOS and I had no viable boot options. The BIOS still detected the ...
0
votes
2answers
45 views

add / at the end of each line

I want to add this character at the end of each line in a file: sed -e 's/$/\/$/g' myfile.txt > myfile_new.txt The result add $/ with explicit $ in each line. but I do not want to add $. For ...
0
votes
0answers
17 views

How to apply updates to btrfs

Btrfs is still seeing non-trivial improvements with newer (kernel) versions. The easiest and most straightforward way to get some of them is to use an up-to-date linux kernel, of course, same with ...
0
votes
0answers
15 views

How to know the download date of a zip folder

I downloaded a zip file which contains a .csv file (DOS format, i.e. I needed to convert it using dos2unix). I need to check the data (at least the day/month/year) which I downloaded the file in. ...
0
votes
1answer
19 views

Compressing Folder Structure with specific filtering

I have a folder structure like this: /foo /foo/bar /foo/bar2 /foo/bar3 Within each folder (including /foo) I have files with names ending .txt. However, I want to exclude these files from /foo and I ...
1
vote
1answer
42 views

Mount unknown filesystem type - Debian

Using Debian 9.9 on a live USB, and try to mount a partition from de hdd mount -t ext4 /dev/sda1 /mnt I get mount: unknown filesystem type 'ext4' Well, the ext4, ext3, ext2 type are not in /proc/...
0
votes
0answers
25 views

F2FS feature-list

In the man page of mkfs.f2fs, I see the option: -O feature-list Specify a feature list in order f2fs filesystem will supports. e.g "encrypt" and so on I'd like to know how can I get the full list ...
-4
votes
2answers
48 views

Forgot to put a slash before download path, where were these files downloaded to?

I forgot to put a slash before my home folder when downloading some files and it seems that they downloaded successfully but I can't seem to navigate before / within my thunar explorer so I can't get ...
-1
votes
1answer
24 views

Kali on 32gb flash drive displays 67gb storage

I'm new to linux and how it works. I recently installed a kali linux image onto a 32gb flash drive and stuck it into my pc and booted from it. All went well, and so I ran the df command and got this ...
0
votes
1answer
22 views

Ubuntu lsblk drive size

I am setting up a ZFS NAS using Ubuntu 18 with 8 hard drives for storage. When I use sudo lsblk -P to check what the drive names are, I only see sdb-sdh. I know this is because it will skip over the ...
0
votes
0answers
16 views

Got stuck in Emergency mode with ACPI Error

I am using ubuntu 16.04. I probably have done sth which damaged the system file. After reboot, I am stucked in emergency mode. The error is about ACPI like below. I am not sure what is wrong here. ...
1
vote
0answers
30 views

I cannot delete files on IRIX 6.2

I started using IRIX 6.2 so I could do some Nintendo 64 Development for the IRIX community. WARNING: IT IS A VERY WEIRD SITUATION! Also, I am using root. The file manager GUI states that the files ...
1
vote
1answer
43 views

Get tar to save birth time

Is there anyway to make a tar archive that includes the creation times for the files/directories inside of it?
0
votes
0answers
18 views

Does BTRFS commit time influence benchmarking?

I have two NVME drives here and want to test their performance in different setups with BTRFS. (Mostly as an educational stunt) I'm going to use the Phoronix suite for the most part. What I wonder ...
-1
votes
1answer
44 views

How a file system recognized by an OS? What is the role of an OS in file-systems? [closed]

I want to understand the medium between a file system & an operating system. Does the operating system take care of any file manipulations?
2
votes
2answers
42 views

Debian btrfs filesystem shows a total of zero inodes total, zero used, zero free

This Debian server was running just fine until a week or so ago. Now it does not allow files to be allocated, despite there still being room. The root volume is configured with LVM. Kernel is ...
0
votes
1answer
24 views

Why can't my webserver write (PERMISSIONS ISSUE)

I have this filesystem $ ls -la /var/www/myapp/api/project/files/ total 12 drwxrwxr-x 3 me me 4096 Jun 17 14:28 . drwxrwxr-x 10 me me 4096 Jun 17 14:27 .. drwxrwxr-x 2 me me 4096 Jun 17 14:28 cache ...
0
votes
2answers
32 views

Convenient way to cd into a frequently-used dir? [duplicate]

A dir I cd into a lot has a really long path. I'd like to reduce keystrokes. I have tried this... sudo ln -s /mnt/c/Users/me/ho/hum/bin /mybin It works, but something about it seems wrong. Is ...
1
vote
2answers
82 views

Low disk space on “Filesystem root” 0 bytes disk remaining

I am struggling against disk space, regarding root location. Seems like I have reach 100% usage, and cannot find a way to regain space. I have used apg-get autoremove, apt-get clean, removed old ...
1
vote
1answer
26 views

A simple way to update the access time of multiple files

I have a folder with several sub-folders and files. I work on a server where any files that are older than 60 days are automatically deleted. What are some simple commands to update the access time (...
1
vote
0answers
13 views

Does the Linux Page Cache (Buffer Cache) only cache the files' clusters (pages) or does it also cache the Inodes (metadata)?

The Linux-Kernel implements a Page Cache (often also called Buffer Cache) to speed up the file systems of the underlying storage devices. Does the Page Cache only cache the pages or clusters of files ...
2
votes
1answer
46 views

Annotating any files

I have had this problem for a very long time, had several discussions with friends, and tried searching relating info online. All efforts were in vain so I decide to give a shot here. I have lots of ...
0
votes
1answer
22 views

Is there a way to create a (compressed) squashfs that contains an uncompressed file

We have a large file that needs to be uncompressed inside a compressed squashfs. Is this possible without patching mksquashfs? Something like this would be nice: $ mksquashfs existing_squash.sqsh ...
1
vote
0answers
22 views

Is mounting an ext4fs (any fs for that matter) on subdirectory of a linux FUSE file system allowed?

I have a FUSE mount point at /home/abc/fuse/ and it has few a directories and files inside. /home/abc/fuse/foo.txt, /home/abc/fuse/bar.out, /home/abc/fuse/logs/ etc. Now I want to mount an ext4 fs on /...
0
votes
1answer
21 views

Why does a file's Inode number change and nothing else?

Today I noticed that tripwire thinks that some Apache configuration files changed yesterday. I know I did not make any changes to those files. Looking at the info, it shows that only the Inode number ...
1
vote
1answer
38 views

Good filesystem to manage space efficiently

Quick question: is there a filesystem that let me automatically "resize" (up or down) partitions, share one partition between several devices, and make sure that some content only go to one device ...
1
vote
2answers
47 views

Are file system such as ext3 stored in SSD sequentially?

There are superblock, group descriptor table, inode bitmap, data bitmap , inode table ,etc. As I understood. these are stored in virtual memory sequentially. Are these metadata(superblock, group ...
0
votes
1answer
36 views

Hard links with MergerFS

If someone uses the command "cp -alr" on a directory located in a non-path preserving merged pool will it always create a directory on the same disk with all of its contents as hard links? For ...
1
vote
0answers
43 views

Why was every .git folder on my system modified?

I ran my semi-regular rsync backup on my personal laptop to an external drive today, and I noticed many .git/ folders had their backups updated, presumably because they were all modified. However, ...
0
votes
0answers
32 views

docker engine - What is backing file system?

In the below command, $ docker info .... Server Version: 18.09.5 Storage Driver: overlay2 Backing Filesystem: extfs ... init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662) ......
1
vote
2answers
51 views

Command for getting path to mount point of current partition/drive?

Is there an alternative command that does the same thing as findmnt -T . -o TARGET |tail -n 1? Example: If my current working directory is /media/username/HDD/subdir1/subdir2, that command would ...
0
votes
1answer
28 views

Applications loading slightly more slowly after shrinking Debian 9 root partition

I have a 250 GB Samsung Pro SSD in my Lenovo desktop. Initially Debian 9 was using the whole disk. Recently I decided to shrink my Debian partition and create two more partitions, one a shared data ...