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

learn more… | top users | synonyms (2)

1
vote
0answers
24 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
150 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
231 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
38 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
54 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
46 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
33 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
22 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
30 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
224 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
60 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
40 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
67 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
51 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
78 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
30 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 ...
7
votes
2answers
1k views

How to make a temporary file in RAM?

I have a script that will pipe its output to |tee scriptnameYYMMDD.txt. After each cycle of the for loop in which the output is generated, I'll be reversing the file contents with tac ...
8
votes
1answer
1k 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
1answer
40 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 ...
3
votes
1answer
120 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
250 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
43 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
105 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
220 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
128 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 ...
3
votes
2answers
100 views

How can I test if my /tmp “works”?

I had to delete some files and whatever, long story, I ran sudo rm -rf /tmp/. Now, on mac (might be universal, I'm not sure) it is a symlink to /private/tmp/. But my /tmp/ folder has a thumbnail ...
0
votes
1answer
128 views

Disparity between output of `fsck` and `df`

fsck shows /dev/sda1 is okay, and uses 3811/49152 inodes and 105570/171776 blocks. df -i and df show that /dev/sda1 uses 443/239944 inodes and 0/959776 KiB. GParted shows /dev/sda1 uses ...
2
votes
0answers
75 views

How do I layer compression on top of encryption on top of BtrFS, per-file?

BtrFS should support this really, but it doesn't. So ECryptFS looks like it will fill the gap. The only thing is, how would I layer compression on top of this? Reasons for compression on top of ...
1
vote
1answer
76 views

What does `clean, x/y` mean in fsck output?

When I run fsck, I see output like: fsck from util-linux 2.25.2 e2fsck 1.42.12 (29-Aug-2014) /dev/sda1: clean, 3811/49152 files, 105570/171776 blocks Which I understand means everything is okay ...
5
votes
3answers
582 views

How do I move all the files with the same name scattered through the file system into one folder?

I have a file system tree and on different locations within it are files with the same name. I tried the following command on the command line: find / -name "HAHA" -exec mv {} /home \; It only ...
3
votes
0answers
36 views

Look at the bytes in a directory? [duplicate]

I would like to see what the actual contents of a directory file are (not the files that are contained within that directory). Specifically I would like to be able to do something like: od -c . ...
1
vote
2answers
110 views

/etc/fstab/ rw option is being ignored for mircosd card partition in ArchLinux

I have ArchLiinux Linux comp001 3.18.7-1-ARCH #1 PREEMPT Wed Feb 11 11:38:34 MST 2015 armv6l GNU/Linux for Arm installed on rPi and here is my /etc/fstab file: # # /etc/fstab: static file system ...
0
votes
0answers
26 views

How to pass local directory as drive in Windows+VirtualBox

Setup: Linux host + VirtualBox + Windows 7 guest. Currectly I use shared folders feature but it is too fragile, I see all phantom effects and on the other hand Windows have change file notification ...
2
votes
0answers
82 views

On which disk is a file located in a btrfs RAID-1 array/filesystem?

I have a btrfs array with 5 disks in RAID-1 mounted on /mnt/array: # btrfs filesystem show /mnt/array Label: 'nicefilesystem' uuid: censored Total devices 5 FS bytes used 4.95TiB ...
3
votes
1answer
70 views

“Ghost” files in ext4? (ktorrent allocated disk space)

I'm downloading with KTorrent, and have noticed that when I select "allocate disk space before starting torrent", it creates all the files at start, presumably empty, to avoid fragmentation. When I'm ...
1
vote
2answers
117 views

Device files and drivers of a disk, partition, and filesystem?

In Linux, For a hard disk, there is a device file such as /dev/sda or /dev/hda depending on the interface type of the hard disk. Does the existence of its device file mean that the driver for the ...
3
votes
0answers
202 views

What is the meaning of the contents of /proc/net/unix?

On my Android device there is the file called /proc/net/unix who's content does not conform to that of any standard linux distribution (which show the unix domain sockets.) First few lines: Num ...
0
votes
0answers
18 views

Calculating a File Offset [duplicate]

I would like to know how I could calculate the offset of a certain file in a certain partition. I have spent quite some time looking for an answer but couldn't find anything concrete. What I mean is ...
1
vote
1answer
260 views

ext4 corruption found in superblock, but filesystem can be mounted

After a crash, I've got an Ext4 filesystem (on an LVM LV) that gives the following error when running fsck.ext4 -nf: e2fsck 1.42.12 (29-Aug-2014) Corruption found in superblock. (blocks_count = 0). ...
0
votes
1answer
570 views

xfs_repair does not repair the filesystem according to xfs_repair -n

I've got a filesystem that, after a crash, is corrupted according to xfs_repair -n. As stated in the xfs_repair man page, xfs_repair -n exists with a return status 1 if corruption is detected. So I ...
1
vote
1answer
51 views

What is this data that keeps reappearing after partition delete + new partition creation?

I deleted a big extended partition containing an ntfs logical partition with high percentage of occupied space and from that extended partition I made a new, smaller extended part. In it I ...
0
votes
2answers
70 views

Linux File System for an External HDD

I'm looking for a file system for an external HDD which will be basically used for backups. It will only be used with Linux machines, so I don't mind having a Linux-specific file system. I may ...
1
vote
1answer
47 views

Can a hard link break the file system structure?

I want a very simple example of how can a hard link break the file system structure. I saw somewhere that people say it's because of loops, however, I can make a loop with a soft link and so I still ...
0
votes
0answers
1k views

Device already mounted on resource is busy

Issue ::: I install Redhat 5.10 x64 on server which had faulty hdd . I removed the old faulty hdd and installed new one with 500GB capacity and after installation i need to copy some data from old ...
2
votes
1answer
50 views

What is /proc/filesystems supposed to be and why is it different from /lib/modules/linux_ver/kernel/fs?

The very little documentation about /proc/filesystems says it is a "list of supported file systems". I see a lot of file system modules in /lib/modules/linux_ver/kernel/fs, most of which do not appear ...
2
votes
1answer
51 views

Don't I need to move a shrunk filesystem before resizing the partition?

I have a partition of size X GB filled by an ext4 filesystem. Now, I want to shrink this partition (and the filesystem) to only take up the latter X/2 GB. I'm using command-line tools and no parted. ...
2
votes
1answer
51 views

lsof misses files

Why does lsof fail to list files I have open. For example I open with the text editor some file in my home directory. $ gedit ~/.python_history lsof does not even work as root $ sudo lsof | grep ...
2
votes
0answers
97 views

How do I speed up recovering “stuck” cifs mount?

I have a cifs mounted like this: mount.cifs -o uid=myuser,user=...,dom=... //IP/Share /some/mountpoint/ When I try to access it after period of inactivity (or when the network is inaccessible), it ...
0
votes
2answers
242 views

Creating and mounting a new file system on CentOS

On my CentOS machine I have to create a new partition/file system, not sure which one I need to be honest I am a little bit confused about it all. If someone could explain it and walk me through it ...