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

learn more… | top users | synonyms (2)

0
votes
0answers
58 views

Unable to mount 3TB GPT HDD

I have a little Problem, my Home-Server didn´t mount my 3TB GPT. Yesterday all was fine, this morning I realize that i cant go in my Network-Storage. First i thinked it was a network isue, but now i ...
3
votes
2answers
39 views

Mountpoint to different partitions and different filesystems

While reading on mount point, I think of file management in Linux as followed : / is the main body of a tree /a is a branch from the main body, /a/b is a branch from /a branch To mount a partition c ...
10
votes
6answers
881 views

File systems vs partitions vs directories

I am new to Linux so pardon me for the possible confusion you may encounter in this question. From what I understand, filesystem specifies how a partition stores/manages file, with standards such as ...
9
votes
1answer
97 views

Space-efficient Linux filesystem for music disk?

I have an older SSD in my laptop full of static data, mostly FLAC and a few zip files, there's very few files less than 10MB and likewise writes are weekly rather than multiple per second. I'm ...
0
votes
0answers
54 views

Files Just Go Missing On ext4 Partition (within TrueCrypt Volume)

There are spooky things happening on one of my external hard drives. It's a 3 TB hard drive with: one big partition taking up basically all the storage space there is, and a pretty small partition ...
0
votes
1answer
49 views

How to partition my hard disk [closed]

How to partitioning hard disk for two different linux system on the GPT/UEFI. Size of disk 500gb. I ask because of the fact the disk is limited to 4 primary partition. I want to have 2 partitions on ...
3
votes
0answers
61 views

Replacing a running binary on read-only file system

I have a simple updater bash script, which replaces files by removing the incident old files and copying new files from an archive to the running embedded target root file system. This way, the script ...
3
votes
2answers
147 views

Debian 8 install in QEMU/KVM guest failing due to ext4-fs / “read only filesystem” errors

I am on Debian 8.2 and trying to install a Debian 8.2 QEMU/KVM guest. I created a virtual disk image file and booted into the Debian installer ISO with the following commands: jesse@deb:~/vms$ ...
1
vote
2answers
52 views

Weird disk usage on Enterprise Linux

I'm little bit worried about this (note the 99% used space in the root): $ df -h File System Size Used Free Use% Mounted To /dev/mapper/scientific-root 50G 50G 735M ...
4
votes
2answers
253 views

How can I tell if a directory is mounted with noatime or nodirtime?

I work with an NFS partition on a mac. Commands like du take a very long time, and I was considering unmounting the NFS and remounting it with noatime and nodirtime. The partitions have been mounted ...
0
votes
0answers
192 views

Unable to mount FAT32 USB (wrong fs type)

I am trying to mount a USB stick that is formatted with FAT32. After the drive did not auto-mount, I created a mount point /media/external and then tried the following to mount it: $sudo mount ...
1
vote
2answers
24 views

How to migrate a file on Linux server?

I have renamed a shell script on my linux server and uploaded a new file through FTP tool like WinScp. Now, I am trying to execute this file through Terminal but I am getting Permission Denied ...
0
votes
0answers
11 views

What is realtime section and realtime files of xfs?

http://man7.org/linux/man-pages/man5/xfs.5.html The realtime section is used to store the data of realtime files. These files had an attribute bit set through xfsctl(3) after file creation, before ...
4
votes
1answer
57 views

Can I install GNU/Linux on a FAT drive?

Out of curiosity, is this possible nowadays? I remember some old Slackware versions did support FAT root partition but I am not sure if this is possible with modern kernels and if there are any ...
1
vote
0answers
75 views

tune2fs filesystem not clean

I've read in some forums that sometimes if you check tune2fs on a mounted device, it's OK that it says filesystem state: not clean. Can someone give me a complete explanation when this is true?
0
votes
1answer
47 views

Are there two inode tables used in locating the inode of a file in ext2?

From Tanenbaum's Modern Operating Systems, when trying to access a file in a ext2 file system in Linux, and then reaching the parent directory of the file, If the file is present, the system ...
2
votes
1answer
37 views

Any way to help “visualize” the superblock, filesystem, group descriptors, etc

I've been reading a lot about filesystems, trying to learn all I can in depth, but I'm having trouble really visualizing some of it, especially when it comes to things like the superblock, group ...
1
vote
0answers
25 views

Are the links between the inode and data blocks of a file removed when deleting the file?

Suppose there is only one hard link to a file. When rm the hard link, the inode and data blocks of the file will be marked as unused. But are the links from the inode to the data blocks of the file ...
3
votes
1answer
86 views

Performance differences when writing into /dev/sda and into /mnt/sda/tempfile

I am testing my new PCI-E SSD in Linux. I am using the following command to test its performance (reference: https://www.thomas-krenn.com/en/wiki/Linux_I/O_Performance_Tests_using_dd) (1) dd ...
1
vote
1answer
56 views

Unmountable XFS filesystem

I'm a bit hysterical right now because I am unable to mount my external hard drive. I formatted it to XFS about a month ago and moved some files there this morning (a virtual hard drive, among others, ...
0
votes
0answers
17 views

How are the sizes of Linux directories determined? [duplicate]

The results of ls -lh provides, among other things, a listing of subdirectories and their sizes. As the directories' sizes are not determined by the sum of the files within them, how are they ...
1
vote
2answers
86 views

`du -b` shows different size than `ls`

I have a directory with a few hundred files (real files, no symlinks, no subdirectories). When I use ls -la and sum up the sizes in Excel I get 287190 bytes(?). When I use du -b or du ...
1
vote
0answers
68 views

Untar a filesystem to device as normal user but maintaining the correct UID and GID

I'm doing quite a bit of development using Yocto to target an embedded system. As its final output, Yocto generates a tarball of the filesystem, which I then untar onto an ext4 partition of an SD ...
0
votes
1answer
19 views

How to create a disk image with a partition table that can be easily resized to the target device?

I want to create a disk image with two partition, boot partition and rootfs partition. I want boot to be a fixed size and rootfs to be easily resizeable to fill the target device after the image is ...
0
votes
0answers
8 views

Access images in Mint 17.2

Linux Mint 17.2 has lots of magnificent images that appear on the login screen. I would like to use these images for other things, such as the desktop background. Can anyone tell me where I might ...
2
votes
3answers
212 views

How can I identify the filesystem/partition type

My hard drive got corrupted at some point after mounting an mtpfs system. I would ask how to fix that, but I'm not confident about the partition and file system types. My OS is new Fedora Core 23, ...
0
votes
1answer
27 views

Linux storage database access methods - Hash and recno

There are plenty of other better file system organization methods but why does linux use these in specific ?
1
vote
1answer
45 views

Linux - wrapper to monitor an application's file access?

Are there any user-level wrapper-like scripts/programs that can watch what files an application accesses, without impacting performance? I'm trying to capture what files are produced by an automated ...
1
vote
1answer
28 views

What is the order in which physical volumes are used in a volume group?

I have a volume group which contains 2 physical volumes 400g on a 7200rpm hdd 250g on an ssd. Can I ensure that the ssd is used first/ the hdd is only used when the ssd is full? Note I will have var ...
1
vote
1answer
138 views

Linux root on F2FS

I have my Linux root on an F2FS USB flash drive. The kernel is on another device accessible by the bootloader. I'm trying to start it with the parameters root=/dev/sda1 rootwait rootfstype=f2fs, but I ...
1
vote
2answers
149 views

What kind of data is stored in the ext4 file system's journal?

The ext4 file system has a feature called has_journal. In the dumpe2fs output, we can see something like this: # dumpe2fs /dev/sda2 | grep -i journal Journal inode: 8 Journal backup: ...
0
votes
0answers
11 views

Folder Permission on Storage Mounted by User [duplicate]

I'm having trouble with an external hdd. Let us say there're two users; user, guest. Let the external storage be called hdde. User has automagically mounted hdde in Ubuntu (for some reason it's ...
26
votes
5answers
2k views

How does Linux differentiate between real and unexisting (eg: device) files?

This is a rather low-level question, and I understand that it might not be the best place to ask. But, it seemed more appropriate than any other SE site, so here goes. I know that on the Linux ...
2
votes
1answer
81 views

How do you determine filesystem availability from a bash script?

If I have a script that relies on one of the following being present: overlayfs, aufs, unionfs - what is the best way to determine which is available from a bash script? I would like to use ...
0
votes
1answer
51 views

Is ctime on linux always greater or equal as mtime?

I'm trying to clear out how the timestamps of a file on linux work. In this answer is stated: Modify - the last time the file was modified (content has been modified) Change - the last time ...
2
votes
2answers
60 views

Having trouble making sense of the df command

uname -a Linux CentOS01.localdomain 3.10.0-229.14.1.el7.x86_64 #1 SMP Tue Sep 15 15:05:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Here is the output of lsblk on the centos VM I'm playing with: ...
6
votes
2answers
541 views

Gparted says disk is full but it isn't

I'm on Manjaro and today I woke up to find my computer having problems due to a full disk. I have deleted many things but this did not solve the issue. I have no idea what is happening. Is there a ...
0
votes
0answers
29 views

Disadvantages of certain filesystems when using a HDD in a Samba server?

I have found that using an NTFS drive in a CentOS 7 based Samba/FTP server is not so good, as after a few months of use, I was greeted with numerous read errors which required me to manually remove ...
4
votes
2answers
60 views

Permission bit of 730 for a directory? what does this mean?

I know its rwx-wx---- but what does -wx for the group mean? Can they write and execute the file but not see them? Can they overwrite file with same name or delete the file?
0
votes
1answer
65 views

How to find files that were most recently created on file system?

I am trying to track the completion of a silent installer by detecting the presence of the last file created by it, but in order to do that I need to find out which file that is. Is there any way to ...
2
votes
1answer
70 views

Disappearance of files in all ext4 filesystems of a Debian server

Apparently the disappearance of files and directories occurred in all ext4 filesystems, including files and directories usually "read-only" in /var and /usr, like binaries installed for gcc, and ...
0
votes
1answer
52 views

dd and USB - how does it work?

When you do: dd if=somefile of=/dev/sdX bs=1024 count =10 with a magnetic Hard Disk, and if the disk has say R/W multiple sector transfer: Max = 16 one can estimate that 16 * 512 = 8192 so setting a ...
4
votes
1answer
127 views

Why is the directory /lost+found 16K instead of 4K bytes?

I was in the root direction, /, and I did ls -lah for whatever reason and looked at the folder sizes. I noticed that the folder lost+found has a size of 16K, while all of the other directories has a ...
1
vote
1answer
185 views

How to get more info about socket file?

For a socket file likes this: # ls -alti socket 14112 srw------- 1 root root 0 Nov 15 20:03 socket # cat socket cat: socket: No such device or address Since cat command is useless here, is there ...
2
votes
1answer
559 views

LVM filesystem is full, cannot update system amongst other things

I am running a RHEL 7 server with a license from my university. I am running it on a bare metal server in a local place on my university. I originally installed RHEL 7 with LVM on my hard drive (there ...
3
votes
1answer
44 views

How can you write to a file system before booting using VirtualBox?

I'm reading the TurnKey Linux 14 documentation and it states that in order to preseed values for an appliance, you have to write them to the file system before the machine boots for the first time. ...
0
votes
0answers
26 views

Why Labelling an XFS device doesn't accept spaces

I tried to label my external USB device to "USB DISK" using the following command: xfs_admin -L "USB DISK" /dev/sdb1 but was greeted with a usage screen. Then I tried: xfs_admin -L USB\ DISK ...
0
votes
1answer
38 views

Accounting of filesystem accesses

Is there any way to keep track of number of times each file system is accessed through system calls? I know that the super block will contain the details about the file system. But how can we access ...
0
votes
1answer
35 views

Using `tree`, how do I output files before subdirectories?

I tried to combine --dirsfirst and -r, but directories still show up on top, only in reverse alphabetical order. It seems like -r is applied first, which is also indicated by the man pages. Any other ...
1
vote
2answers
52 views

Undeletable symbolic link on smbfs/simfs

During a software installation, the configure script created a symbolic link with what seems to be ln -s foo foo on a smbfs filesystem mounted with the options ...