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

learn more… | top users | synonyms (2)

1
vote
0answers
32 views

Is there a way to mount two folders into one mounting point, so that folders are mirrored?

I want some tool like $ mirroring_mount ~/first_location ~/second_location ~/mount_point So, when I edit file in ~/mount_point, it is edited in both locations, and if ~/first_location and ~/...
3
votes
1answer
22 views

White-list certain binaries and scripts inside a noexec/nosuid mount?

Just like the question. Is it possible to white-list certain executables from a noexec mounted FS? for instance, mine looks like this: /dev/vg/lv on /tmp type ext4 (rw,noexec,nosuid)
3
votes
1answer
33 views

File execution is denied

I just can't execute any file. For example: And I use zsh now,bash has the same problem.
0
votes
2answers
51 views

How to see information inside inode data structure

I can do an ls -li to see a file's inode number, but how can I list information inside a particular inode by using that inode number.
5
votes
3answers
133 views

How filesystem atomically writes a block to disk?

Block is an abstraction provided by filesystem, block size is integer multiples of disk sector size. Suppose a filesystem uses 4K as its block size, and the disk sector size is 512B, when the ...
1
vote
0answers
27 views

Determine affected file given logical block number [duplicate]

Given the logical block number from these log lines in /var/log/messages, is there a way to determine what file was affected? ...Buffer I/O error on device sdd1, logical block 203953715 ...lost page ...
0
votes
1answer
36 views

How can I share an internal disk via NFS? (What am I doing wrong?)

I have an NFS server (machine A) that mounts a 4TB internal hard drive at /data/Storage, and exports /data to client (Machine B). If I put a regular file in MachineA:/data, you can see it in MachineB:/...
38
votes
3answers
5k views

Is an ISO image file a filesystem in its own right?

I am trying to understand what the relationship a xxx.iso file has to the other aspects of a block device, e.g. partitions and a file system. It's common for people to describe accessing or making a ....
-3
votes
1answer
32 views

How does ext[n] delete files?

I know that a lot of deleted files can theoretically be recovered, which suggests that "deleting" doesn't actually remove the information. So how do the various extN (e.g. ext4) filesystems delete ...
1
vote
0answers
16 views

Partition on raid array incorrectly states it is full

Sorry if this is the wrong place to post this question. I have a small home media (samba) server, which has a software (mdadm) raid10 array, with 4 disks, each being 3TB. It has only one xfs ...
4
votes
1answer
49 views

File permissions on Linux?

I am surprised that /mnt, /media or even /opt are not writable by myself on my own system (Linux-Ubuntu). Should I always use sudo for any action on these paths? Or would it be better to add myself ...
3
votes
3answers
60 views

Is CentOS using synchronous or asynchronous write

Is CentOS using synchronous or asynchronous write? Is ther any way to check or to change this?
0
votes
0answers
16 views

Is it possible to format a disk within an iPXE script?

I can mount a disk in the script, but it has to be formatted. I can't seem to find a way to format a disk within an iPXE script. Is it possible? How? Thanks
0
votes
0answers
21 views

Performance of FS directory structures

Given a large (hundreds of thousands objects) fs-based database of uniquely identified objects with potentially a large number of long prefixes with many objects sharing the same prefix are treeish ...
4
votes
1answer
92 views

What is using trillions of inodes on my almost empty server? [closed]

I have 18446744069923968593 inodes (which seem really too much) and much more problematic: I have 18446744069414835186 used so the system won't create any other file (even if the disk is almost empty)....
3
votes
1answer
34 views

How does Linux manage “simultaneous” writes to swap/disk partitions in virtual memory?

I'm currently working on an educational operating system called Pintos. While implementing virtual memory, one of the issues that I'm having is writing data to swap in a page fault that happened while ...
0
votes
0answers
22 views

Unable to create a filesystem on /dev/sda2 on a virtual machine , device showing busy, Kernel can't read partition table

This question has been asked several times on this platform, but none of the solution resolves my issue. Linux OS: RHEL 6.5 I created a partition /dev/sda2. # fdisk -l Device Boot Start ...
2
votes
1answer
66 views

Is it safe to mount same ext4 filesystem at different mount points?

I know there is option "--bind" for multiple mount operation to handle such case. But ext4 can be directly mounted at different mount points, without option "--bind". So, I wonder whether it is safe ...
0
votes
1answer
186 views

Need permission for Windows client to access linux NFS [closed]

I have a linux NFS the /etc/exports is like below: /opt/nfs 10.8.0.0/20(no_root_squash, rw, sync) I can r/w files from other linux machines. However, I only have read permission on Windows client. ...
2
votes
2answers
128 views

Why does df show negative available space?

Filesystem Size Used Avail Capacity Mounted on /dev/ada0p2 1G 624M 302M 67% / devfs 1.0k 1.0k 0B 100% /dev /dev/ada0p4 503M 20k 463M 0% ...
0
votes
1answer
50 views

lvreduce : “No directory, logging in with HOME=/”

I wanted to reduce my home LVM size so I executed the following commands : sudo umount -fl /dev/ubuntu-vg/home lvreduce --size -4G /dev/ubuntu-vg/home As the last command didn't work (apparently ...
0
votes
0answers
21 views

How do I check what mode my filesystem is in?

According to this answer regarding the shred command, the efficacy of the command depends on the mode the filesystem is in (e.g., journaled, ordered, writeback). How can I check what mode my Linux ...
0
votes
1answer
101 views

Struggling to remove a faulted ZFS pool on Centos 7 using zpool

I have been doing lots of testing of ZFS recently on a new server. I'm ready to move this server into production now, but I'm wondering if I can get rid of my old 'faulted' diskpools before I do, ...
1
vote
1answer
44 views

Fast filesystem for virtual backup environments

I know filesystem supporters war is behind the corner and there are plenty of fine tuning guide for each filesystem in the wild, so please stick to the specifications: I'm asking what would you ...
3
votes
2answers
67 views

Defer *all* disk writes, keep them in memory

How to temporarily stop synchronizing of dirty data with disk, instead just keeping it in memory. Clarification: I want to sync it later.
2
votes
2answers
274 views

why Inode file size is different than actual size

I noticed one log file having less size than what's mentioned in inode. $ ls -lhtr /var/log/test/fk-3p-kafka/kafkaServer-gc.log -rw-r--r-- 1 fk-3p-kafka fk-3p 11G Apr 10 18:27 /var/log/test/fk-3p-...
0
votes
3answers
50 views

Filesystem kernel API

Assuming that all filesystems are specific, how tools like ls, touch, cat, etc interacting with them? I suppose that 'ls' doesn't know specifics about btrfs for example, but it reads directory entries ...
0
votes
1answer
32 views

Cat won't access file in openSuse Tumbleweed ('Invalid argument' error)

I have just installed the latest version of openSuse Tumbleweed and was going through the file system familiarising myself with it when I found a file in /dev/lightnvm called 'control'. I attempted to ...
0
votes
1answer
37 views

Generic debugging / logging / tracing filesystem directory & file access? [duplicate]

This is my particular problem: I'm trying to set up git on a server, for which I'm doing a test on a locally installed apache on Ubuntu 14.04; for instance, I can do git clone fine over HTTP, but git ...
1
vote
0answers
33 views

Is there a way to interleave two filesystems of the same structure?

I have a large networked file system whose backup routine sees some file systems as higher priority than others and are given more redundancy with backups. At present those file systems are visible as ...
1
vote
0answers
18 views

Different partition after upgrade of OPENWRT

I have just updated the firmware of my olinuxino rt5350f to the last release of chaos calmer 15.05.1 (website, image). After having finished the installation via tftp I noticed that the free space is ...
1
vote
2answers
26 views

Is it bad practice to call scripts from a users home dir from root tasks (eg. dhcp hooks)? [closed]

I have some small script that run at startup and on other events (for example, one that updates a dynamic dns hostname based on the machines IP changing). I would like to keep everything in my home ...
1
vote
1answer
84 views

How can fsck be so fast?

Is it normal, that fsck on an SSD takes a second or two? I am on Linux Mint 17.3 and I called sudo touch /forcefsck EDIT: ext4 filesystem
0
votes
2answers
28 views

What File System for a slow drive?

I was planning a fresh Linux install on an old computer with a not-so-powerful hard drive. I read that different file systems (due to different internal data structure and architecture) might perform ...
1
vote
0answers
271 views

Wrong inode: corrupted f2fs, fsck.f2fs cannot repair

A f2fs partition on my Android phone has recently become corrupted. It will still mount fine; however, I completely lost access to one directory (/data/media/0), which now shows as empty. Yet the disk ...
0
votes
2answers
44 views

File Size Limit

What is the maximum file size limit in rhel 32 bit OS, is there any OS limitation for the file size , if there is any limitation set then please tell me what will be for root & oaa.
0
votes
0answers
28 views

Internal fragmentation of a file

One of the exercises which I have to do is to show the appearance of internal fragmentation in a file system by calculating in bytes the size of stored space by a non-empty regular file, but not used ...
0
votes
2answers
52 views

Cannot cleanup ghost mount points

'mount' command shows several mount points across several disk devices that I had previously setup: $ mount ... /dev/sdf1 on /mnt/<mp1> type xfs (rw) ... /dev/sdd1 on /mnt/<mp2> type ...
0
votes
1answer
155 views

Replacing a failed disk in a ZFS pool

I've got a large ZFS disk pool; 3 nested RAIDZ2 vdevs. I am documenting the process for replacing a failed disk for my colleagues and so simulated a disk failure by removing a disk from the host. ...
0
votes
1answer
21 views

Checking for a failed drive in a ZFS pool

I'm testing a large ZFS pool at the minute and am documenting the process for replacing a failed drive before our environment moves into production. I've built the ZFS volume 'diskpool', which is 3 ...
1
vote
0answers
17 views

Bash holding onto lock of usb drive, bug?

I notice that bash seems to want to hold locks on my Truecrypt USB drive that has been accessed, even when no access process is actually occurring. When I try to mount the drive I get various "device ...
1
vote
1answer
112 views

How to discover unknown file system type from disk

I pulled the hard drive from a *nix-based CCTV DVR so I could look at the contents and mount points, with the explicit intention of mounting a separate drive at the folder wherever the video is stored....
0
votes
1answer
45 views

distributed file system that works well with multiple small files [closed]

Hi my use case is quite specific. I have 20 Windows 7 machines constantly creating files in my storage; around 98% of these files are 2.1 MB. On average we create 24 million files every 3 days, and ...
0
votes
0answers
11 views

Difference between symlimk and link? [duplicate]

What is the difference between a "symlink" and a "link".
0
votes
0answers
59 views

Arch linux filesystem permission read-only

I've just installed Arch Linux and done some installations and thought I'm done, but I figured out that I have no permission to write to my file system or do anything. It's just read-only as in the ...
1
vote
0answers
15 views

Files (e.g. music) on secondary drive can't be found by programs

I'm dual booting elementary OS with Windows 10. Each has its main file system on a 128gb SSD, with shared data on a 1TB HDD. I'm very new to Linux so sorry if this is a dumb question. I can access ...
3
votes
1answer
69 views

How to list all inodes and blocks in file system which are available for unprivileged user

I'm trying to list all inodes and blocks in certain file system which are available and unused for unprivileged user. I tried stat -f but from what I've read it list nodes and block available for all ...
0
votes
1answer
49 views

Any concerns with mounting a JFS2 filesystem under an NFS mount?

We have many instances where we mount JFS2 filesystems underneath other JFS2 filesystems (eg. /fs1, /fs1/fs2, etc...) but we've never done it with NFS. Is there anything to be aware of when doing ...
1
vote
1answer
80 views

What is the number at the top for the results for ls -l? [duplicate]

When you type in ls -l, there is a number on the first line labeled "total 22037"? What does this number mean? I am attempting to write my own version of ls -l( in C), and how do I get this value or ...
-4
votes
1answer
87 views

Why nobody is using /opt directory? [duplicate]

In the Linux FHS, it says all third party packages should use /opt. However, I didn't see anybody is using /opt. Also, /opt is not in $PATH in anyway, so I think the OS is not intended to let us use /...