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

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
49 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
116 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
25 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
67 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
97 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
75 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
89 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
46 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
44 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
49 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
405 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
34 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
84 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
19 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
56 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
45 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
66 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
108 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
17 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
112 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
252 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
39 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
66 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
41 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
455 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
45 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
32 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
40 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
69 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
143 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 ...
1
vote
0answers
76 views

Home server bottleneck (filesystem server)

I am trying to set up a filesystem server, so that I can use my various laptops to transparently mount a directory containing many VirtualBox VMs, some of which run full graphics environments. I will ...
0
votes
4answers
95 views

How does one inspect the directory structure information of a unix/linux file?

In Unix file systems directories are just special files with special directory structures that hold the child filename, filename size and inode reference number. The actual file metadata beyond ...
1
vote
1answer
62 views

Group member cannot list files in directory made by group

I am using Centos 6.6. I made a group with the following call sudo groupadd www-OtagoHarbour sudo usermod -G www-OtagoHarbour apache sudo usermod -G www-OtagoHarbour OtagoHarbour When I enter ...
0
votes
1answer
486 views

Why does my RAID 1 NAS have to “synchronize”?

I have a new QNAP TS-451 NAS with two new 3TB drives, installed as a RAID 1 pair. As I copy data on to it, it seems to spend the next few hours "synchronizing" the RAID group. (The web console shows a ...
-1
votes
1answer
34 views

ITEAD Core A20 cant load or Proceed to the FileSytem

i have an ITEAD CORE AW2041, which i wanted to deploy some image on it, i got the image on an sd card but when i deploy it on the device, the booting process gets stuck at the kernel level, any heads ...
2
votes
1answer
65 views

Should I increase inode count for a rsync backup volume?

Considering rsync used for incremental OS backup creates hardlink farms for all non-differing files, if I use it to backup a large, slowly-changing system regularly to a dedicated volume, I'm worried ...
1
vote
1answer
155 views

“First orphan inode” in tune2fs output

I ran tune2fs -l /dev/sda on my production server today and got the following output: tune2fs 1.42.9 (4-Feb-2014) Filesystem volume name: <none> Last mounted on: / Filesystem UUID: ...
1
vote
1answer
65 views

Tiny directory on ext4 file system taking up 2024 blocks? [closed]

I have an ext4 file system on my work computer and I came across a directory that is taking up >1 mb of space. There are 7 entries in the directory. The directory hasn't ever contained more than 20 ...
1
vote
1answer
25 views

Is the directory that a file-system is mounted on (mount point) a device file of the file system's type?

A device file is an interface to the device driver of the device. When we mount a file system to a directory, is the directory considered a device file (of the file system's type)? If the ...
1
vote
0answers
60 views

Is file creation atomic?

I have a problem to solve: I just can make one CURL operation each second, but this operation can send up to 40 parameters. Those parameters are Id's. I have one web site that may sometimes ask for ...
14
votes
6answers
609 views

Showing only “interesting” mount points / filtering non interesting types

I used mount to show mounted drives, I don't want to see the not so interesting ones (i.e. non-physical). So I used to have a script mnt that did: mount | grep -Ev 'type (proc|sysfs|tmpfs|devpts) ' ...
0
votes
2answers
43 views

Are the size of a memory page and the size of a file system cluster always the same?

From http://en.wikipedia.org/wiki/Page_%28computer_memory%29 A page, memory page, or virtual page is a fixed-length contiguous block of virtual memory, described by a single entry in the page ...
1
vote
2answers
64 views

How do I know ACLs are supported on my file system?

Is it enough to see getfacl giving no error, or do I have to check some other place to see whether or not ACLs are supported by the file systems?
1
vote
1answer
60 views

Replacing a partition within a .img with another one

I have 2 .img files (embedded Linux images, each with 2 partitions- a boot partition and a rootfs). I need to replace the rootfs partition in one with the other's. How can I do this In the .imgs ...
2
votes
1answer
54 views

Meanings of defragmentation and when it is needed

There seem to be two meanings of defragmentation: Defragmentation is a process that reduces the amount of fragmentation. Fragmentation occurs when the file system cannot or will not allocate enough ...
1
vote
2answers
67 views

What and Why? - File Descriptors [closed]

What is a file descriptor? Why do we need them?
0
votes
2answers
383 views

What file system should a GRUB 2 boot partition use?

I want to install GRUB 2 to its own, comparatively small (500 MB), partition. Are there any requirements on what file system type it has to be? Are there any that, although possible, are not ...
1
vote
1answer
277 views

Mount Solaris Partition in Linux

I have a USB disk which when connected to a CentOS 6.5 system shows this as the output in fdisk -l. Disk /dev/sdn: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = ...
0
votes
0answers
17 views

Which tuning I should do to install an Ubuntu into a flash drive?

My goal is to have a portable Linux, preferably kubuntu, installed in a flash drive so I can have all the software I need to university always with me. Must have: Debian KDE Updatable in a usual ...