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

learn more… | top users | synonyms (2)

2
votes
1answer
33 views

How to mount a filesystem by 2 operating systems simultaneously?

I was wondering, is it possible to have my Raspberry Pi mount the SD that is also mounted by an digital camera? I have a scenario where I take pictures relatively fast (Raspberry Pi triggers the ...
0
votes
0answers
12 views

Difference between fsarchiver and dump

What is the difference between dump and fsarchiver? Are there features in dump which are not covered by fsarchiver? Can both backup to tape storage for example?
8
votes
1answer
289 views

How do case-insensitive filesystems display both upper and lower case file names?

This question occurred to me the other day when I was working on a development project that relies on an opinionated framework with regard to file names. The framework (irrelevant here) wanted to see ...
2
votes
1answer
34 views

“mount: wrong fs type..” error when mounting USB

I'm stuck trying to mount a USB drive on a Raspberry Pi (Wheezy). I've reformatted it (ext4) and tried re-mounting it in /media/owncloud (following sudo chown -R pi:pi /media/owncloud), but hit an ...
1
vote
1answer
28 views

Is it possible to store data directly inside an inode on a Unix / Linux filesystem?

According to this Red Hat bug report (which I am trying to reproduce) it looks like the Netapp filer is able to store data directly in the inode, in case of very small files. Considering I had a FS ...
0
votes
0answers
22 views

What could be the output of command `lsblk -f -r | grep ' /' | grep -v ' /boot'` on encrypted drives?

Suppose we have drives which are encrypted, what could be the output of following command in Debian based (specially Ubuntu OS)? lsblk -f -r | grep ' /' | grep -v ' /boot'
0
votes
2answers
44 views

How to you force fsck at reboot on FreeBSD10?

I need to force a file system check on reboot to try and fix my mounted file system. All the commands/methods I find are obsolete in FreeBSD10 [\u@vader:/root] # tune2fs -c 1 /dev/vtbd0p2 tune2fs: ...
0
votes
0answers
24 views

usbfs: process 25093 (pool) did not claim interface 0 before use

I recently got a new phone, a Moto G 2nd Gen. I am running Debian Jessie on kernel 3.16.0-4-amd64 libmtp 1.1.8-1 libusb-1.0-0 2:0.1.12-1 gvfs 1.22.2-1 When I plug it in, it appears to be fine. ...
2
votes
2answers
79 views

how to create multi tar archives for a huge folder

I have a large folder with 30M small files. I hope to backup the folder into 30 archives, each tar.gz file will have 1M files. The reason to split into multi archives is that to untar one single large ...
14
votes
5answers
1k views

How is a directory a “special type of file”?

I am reading this Unix tutorial and came across this quote... We should note here that a directory is merely a special type of file. ...but no explanation or details are provided. How is a ...
2
votes
1answer
45 views

Moving /usr/lib without breaking everything

I want to move this directory in following way: sudo mv /usr/lib /tmp/bad_files/ sudo mkdir /usr/lib sudo mv /tmp/bad_files/lib/* /usr/lib/ Why do I want do do this? I have filesystem-related ...
3
votes
0answers
14 views

Where do I put my web services? [closed]

I'm administrating my server since a few year but I'm looking for good practice like: What is the best place web service like my wordpress website files? My etherpad-lite instance? Which user shall ...
2
votes
0answers
16 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 ...
13
votes
2answers
313 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
46 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
49 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
30 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
16 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
37 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
35 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
17 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
52 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
28 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
13 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
33 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
51 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
28 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
36 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
73 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
29 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
61 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
326 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
24 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
12 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
72 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
116 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
20 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
24 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
99 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
50 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. ...