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

learn more… | top users | synonyms (2)

0
votes
3answers
27 views

Why is /dev a subdirectory of / (the root)?

Why is /dev a subdirectory of / (the root)? I ask because isn't everything in the file system also mounted from the computer's hard disk which show up in /dev? Then why isn't dev the root directory ...
0
votes
0answers
19 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 ...
0
votes
0answers
13 views

How to refresh/reload file/directory table of a FAT partition?

I mount my FAT memory card present in my Android device on my computer as a virtual file system (using FUSE) (basically, in USB Mass Storage Mode as a removable disk).. After making changes in it ...
2
votes
1answer
9 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)
2
votes
1answer
31 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
37 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
55 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
17 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 ...
-1
votes
0answers
21 views

Editing windows system files from linux boot disk [closed]

Could you explain to me why I can't edit Windows system files by just booting from a live OS? What protects the files, and why is it that I can format the drive but can't edit particular segments of ...
0
votes
1answer
25 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 ...
36
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
25 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
12 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
41 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
34 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?
-3
votes
0answers
38 views

Zfs linux derivative to make license compatibility [closed]

Ubuntu 16.04 already launched. As we know that lots of arguments that zfs's cddl can't comply with linux's gpl. Let say it's not compatible, why we do not make derivative of openZFS. LibreZFS let say ...
0
votes
0answers
13 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
2
votes
0answers
17 views

How to find the code segment of a Linux driver in tmpfs? (in real-time) [migrated]

I have a character driver called drv1, and a user application uses ioctl to communicate with it, which will transmit the parameter struct file *filp. Now I want to find out the address of the code ...
0
votes
0answers
20 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
75 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 ...
3
votes
1answer
22 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
18 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 ...
-1
votes
0answers
13 views

Mindi module from Mondo Rescue can't find Kernel

I'm trying to recover from an accidental format of a 1TB HDD using Mondo Rescue. Mindi's log is reporting FATAL ERROR. Please use -k <path> to specify kernel. Tried to use all below: sudo ...
1
vote
1answer
37 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
37 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
45 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
39 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
16 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
53 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
37 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
60 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
244 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 ...
0
votes
3answers
35 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
26 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
12 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
30 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
9 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
24 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
67 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
26 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
100 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
28 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
25 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
34 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 ...
-1
votes
0answers
14 views

Initrd configuration

I'm making a small linux distro from scratch, but I ran into some problems. I'm making my own initrd filesystem and I don't know how to correctly compress it to make my kernel recognize it. Do I have ...
0
votes
1answer
53 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
20 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
16 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
33 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 ...
0
votes
1answer
21 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 ...