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

learn more… | top users | synonyms (2)

2
votes
0answers
14 views

What can I do with btrfs “profiles”?

Reading through the btrfs (sub) command documentation, it can "balance only block groups with the given replication profiles", and "convert selected blocks to a given profile", and apparently it ...
1
vote
3answers
65 views

Deleting an Impossible File

A picture is worth a thousand words, so I want to start with that: From the image you can see that I have a ~500GB hard drive. The filesystem is ext4. On this 500GB hard drive, I have a file that ...
12
votes
2answers
256 views

Is there anyway to automatically mount a filesystem when I open a symbolic link to a directory on that filesystem?

I am using Arch with Xfce. Recently, I have created a symbolic link to a directory on a filesystem. But I don't want to mount the filesystem during boot or manually mount it before I open the ...
2
votes
2answers
38 views

Unable to mount root filesystem rw with journal

Trying to understand the whole journalling setup and from what I've read and tried, it's eluding me somehow. The root filesystem is ext3. Examining it via tune2fs -l /dev/root shows that ...
3
votes
0answers
46 views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
0
votes
0answers
29 views

Permission to execute denied for every file in /tmp: [duplicate]

When I try to execute any program from the /tmp directory, it shows me /tmp/file_name: Permission denied. The same error is shown when I simply enter /tmp. The file system for /tmp is ramfs. I've ...
1
vote
0answers
14 views

Formatting btrfs for robust metadata

If I make three partitions on a HDD, it appears that the default (which is -m raid1) will only store two copies of each metadata block. Is there a way to store multiple copies, e.g. one on each ...
0
votes
1answer
35 views

Force Filesystem Reread / Remount

Is it possible to force a complete re-read of a mounted filesystem (EXT4) from disk in a blocking manner? I have a potential situation where independent and external hardware can modify a filesystem ...
4
votes
2answers
34 views

Can I mount a case-insensitive tmpfs/ramfs?

I would like to utilize the performance of tmpfs/ramfs for some file operations, but the programs/processes that use these files assume a case-insensitive file system. I cannot find any documentation ...
3
votes
2answers
14 views

How and where is file system meta data cached in Linux

My earlier question apparently had a wrong premise. I thought file system meta data was cached in the inode and dentry cache, but apparently not. When I do: # time find . > /dev/null real ...
3
votes
1answer
49 views

Remount a busy disk to read-only mode

I want to force a disk partition to read only mode and keep it read-only for more than 30 minutes. What I have tried: mount -o remount,ro (partition-identifier) (mount-point) -t (filesystem) ...
0
votes
0answers
24 views

find the cause of file corruption when copying files to a network share on an Ubuntu machine

I am copying files from my SD card to my Ubuntu server via Windows 7 using a network drive. The problem is that sometimes, 2 files out of 150, are corrupted during transfer. See here 2 example files ...
2
votes
1answer
12 views

Using resize2fs with file system offset

Mount has the option offset to specify that a file system does not start at the beginning of a device but some specific amount of bytes after. How can I use resize2fs, which does not have that option, ...
0
votes
1answer
29 views

What is the purpose of flag kern.geom.debugflags in FreeBSD?

My question is as stated above, on a FreeBSD system, what is the use of the kern.geom.debugflags ? I see it written before the command to write on to a disk. sysctl kern.geom.debugflags=16 What ...
-1
votes
0answers
27 views

store Unix file permissions on a VFAT partition

I want to use USB drives (DoKs as well as USB connected hard drives) to backup files from Linux systems in a way that: Does not require reformatting of the VFAT formatted drives, so space on them ...
0
votes
1answer
38 views

FIle hole - how is it represented? [closed]

The linux programming interface says, file hole don't take up disk space in general, I did google but didn't found answer to following question: If it don't take up space, then how the file system ...
2
votes
1answer
50 views

Are encrypted volumes more vulnerable to power loss?

I have some encrypted volumes that I use with my Xubuntu machine. One volume is a container file that is mapped to /dev/loop0 and encrypted using plain dm-crypt; another volume is a USB hard drive ...
0
votes
2answers
27 views

Can Symbolic Links span different file systems in Unix or Linux

Can Symbolic Links span different file systems in Unix or Linux ??? I.e consider different file systems like ext2 and ext3 can symbolic link span them?
2
votes
1answer
31 views

What does mtp://[usb:002,003]/Storage/ mean? [duplicate]

Recently that I connect my Windows phone mobile to my Xubuntu laptop I see mtp://[usb:002,003]/Storage/ alongside the other drives.It shows my phone media files! That actually I can not find it in ...
2
votes
4answers
63 views

Does the inode change when renaming or moving a file?

in PHP the fileinode() functions returns the inode of a file. I was wondering if I can use it to determine if a file was renamed, moved or modified. I did some tests and it seems the inode stays the ...
0
votes
1answer
28 views

Program to decrypt file for only one process

I looking for a program to encrypt and decrypt files (better if directory) on fly and for only one process via cli. In my mind it must work like sudo: If you run cat $crypted_file (also in superuser ...
2
votes
2answers
36 views

Several hard-links with different metadata in Linux using Ext4

Is it possible for Ext4 file systems (or maybe another one understood by Linux) to assign different metadata (like modification time, owner, access rights) to several hard-links that refer to the same ...
0
votes
1answer
53 views

du and ls commands reporting wrong directory size

I'm used to the du command. I often use it with -h option. I report the result in a text file which I use to track space consumers. But I was wondered today to see a directory being reported as using ...
4
votes
6answers
323 views

Which partition is mounted to where? [duplicate]

How can we check the mount points for partitions listed in /dev/sd*? For example, I would like know if the partition for my home is /dev/sda4.
0
votes
0answers
21 views

Possible to detect and alert when SMB writes cryptolocker to a share?

I need to make an alert,task, or action when cryptolocker uploads a specific app into the OS How can I hook into the filesystem in such a way so that I can detect this? For reference, I'm using ...
1
vote
0answers
11 views

shared filesystem with offline access

I would like a shared filesystem with offline access. I have two machines. One is a light laptop with a small amount of SSD storage that I carry with me. The other is a stay-at-home computer with much ...
0
votes
2answers
69 views

Ubuntu broken after power failure. How to fix?

I have Ubuntu 11.10. server which suffered from power failure today. Ever since the power went back on the unit works only partially. Some services work OK, some does not start, e.g. apache2ctl ...
1
vote
1answer
109 views

btrfs RAID1 array shows as two disks

I mounted 2 drives as a RAID1 btrfs array (btrfs v3.12, Ubuntu 14.04). Everything's working fine except nautilus and other GUI-based apps see two disks, both labeled "Raid1". One is mounted (the ...
0
votes
1answer
19 views

Smallest file block size (ext 3, 4)

I'm curious, what is the smallest size a file can really be on Linux? (Assuming Ext3 fs, so why not ext4 fs as well). Sure you can write a file that only contains one byte, or maybe even less; but ...
1
vote
1answer
45 views

how to read and write to a filesystem in linux?

I have a hard disk and partitioned it into several partitions. How can i read and write into the filesystem. What is the use of mountpoint? If a process has to write or read something from that ...
0
votes
1answer
32 views

Overhead when relocating a directory to a different file system using a symbolic link

I need to relocate some frequently accessed files to a different file system. The simplest way of doing this is to move the directory containing the files to the new file system and creating a ...
0
votes
0answers
23 views

Detecting filesystem changes without direct fs-support

How do I detect changes (additions, deletions, modifications) to a directory tree without filesystem support (like btrfs snapshots)? I want to list all changes to a specific directory tree on an ext2 ...
0
votes
2answers
20 views

file creation and acces monitoring app [duplicate]

I remember long time ago I had some antivirus on windows which had wile accesses monitor, and could tell you if any process accesses a file.I need to monitor every file in my home folder(or any other) ...
1
vote
1answer
26 views

Storing documents and backups on several different drives

Currently I have Ubuntu installed on a 120GB SSD. However I also have 3 more hard drives installed on the computer, 2 x 640GB in aRAID array and a 60GB SSD. What I am trying to achieve is to use the ...
1
vote
0answers
90 views

No space left on device, with 320 GB free

I'm a bit lost. I have a 500 GB external hard drive with its original filesystem still in place. The last command (dd writing to a file within this filesystem) failed with "no space left on device". ...
2
votes
2answers
49 views

Concatenate two files to loop-mount the filesystem inside them

I have two files diskimage.part1 and diskimage.part2 on an external slow (USB 2) hard drive and I need to do the equivalent of cat diskimage.part{1,2} > diskimage mount -o ro,loop diskimage ...
4
votes
1answer
38 views

ack.pl tool and ack.pl flags

I am using the ack.pl tool in order to search string or IP’s in files The official site of ack.pl is - http://beyondgrep.com/documentation/ Example of ack.pl CLI ( want to find the string ...
0
votes
0answers
33 views

How can I recovery data? Or how can I fix file system without deleting of data?

I have done fsck.ext4 -f /dev/sda5 but questions were too much and I close one several times. After that I used several times e2fsck. But it was very slowly and I stopped one several times too. ...
1
vote
0answers
21 views

Is there a way to backup and restore ACL file and folder permissions on linux the way that there is using icacls in Windows? [duplicate]

In Windows you can do this (backup and restore ACL permissions) can you do this in Linux? And to clarify, I mean ACLs in Linux, I do not mean the default permissions modified with chmod / chown.
2
votes
0answers
25 views

How to check if GRUB is password protected or not?

Is there any command to check whether GRUB boot loader is password protected or not? What is the file path? where it stores this information specially on Debian OS.
2
votes
1answer
39 views

What is in /dev /proc and /sys

After mount there are listed some filesystems. I need to know what's in the /dev, /proc and /sys. Some examples would be great!
1
vote
3answers
27 views

Should I put old projects in tarballs

I never really used tarballs/archived much, except for uploads (with compression). Now I've accumulated a huge list of software projects coding experiments -- basically directories with lots and lots ...
8
votes
1answer
419 views

mkdir: cannot create directory: Function not implemented

I am in college and have to submit my cs homework from a school Linux machine, but I like doing the homework on my laptop (Mac). So instead of copying my files over every time, then submitting them, I ...
1
vote
0answers
20 views

How to diagnose potential JFFS2 flash problems?

I have a large fleet of embedded ARM systems using the JFFS2 filesystem. Are there any particular commands or log file entries I can query to gauge whether they are having any corruption or other ...
2
votes
1answer
37 views

what is directory entry?

I have to use the dirent.h in some of my C projects. According to various different descriptions found online, I have come to a vague idea that directory entry is a data structure, which tells us ...
0
votes
2answers
83 views

Which file system is better for Ceph?

I've read the Ceph OS recommendations document, but still I have a question. Which file system is better for Ceph? XFS, ext4, or something else?
0
votes
1answer
22 views

unix2dos not recogonizing outfile

I typed unix2dos /path/to/filename_unix.txt /path/to/filename_dos.txt in the CentOS 7 terminal, but I got the following in response: unix2dos: converting file /path/to/filename_unix.txt to DOS format ...
1
vote
0answers
57 views

fopen problem when mounting ecryptfs filesystem

After an unrecoverable fsck problem the mount of my encrypted /home/me filesystem isn't possible any more. The visible effects are: a) logging in though most of the selectable GUI window managers ...
0
votes
1answer
59 views

Debian can't mount partition or external hd

I have recently installed a copy of Debian 7/Gnome in a partition along with Windows 7. Even though I am the sole user of this computer, during the installation two accounts have been created: a ...
0
votes
0answers
55 views

Live shrinking of root partition has failed on Linux Mint

Steps taken: *Used fdisk to delete the existing root partition and created a new root partition (PV) starting on the same block *Added the 'a' flag using fdisk to make it bootable as /boot is under ...