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

learn more… | top users | synonyms (2)

3
votes
1answer
30 views

Cache atime writes

Is there a way to set atime writes to be cached for a very long time? I need atime (that is to say, relatime won't cut it), but I don't want it to effect performance so much. Data loss in of atimes ...
0
votes
1answer
30 views

Mount a disk over another disk

I have a Drupal website on a VM (RHEL 7) and it works on an SSD storage both public and private directories: /storage/drupalpublic and /storage/drupalprivate. Now and in the future, I need to store a ...
1
vote
0answers
28 views

Recovering files with directory structure

EDIT: I am using Debian 8.1.0 So I somehow deleted my /etc directory. While I have not been able to recover the complete /etc directory hierarchy with all files, I have received different parts from ...
2
votes
1answer
97 views

ext3 vs ext4 - same disk size, less usable disk space under ext4 comparing to ext3. why?

Files copied from ext3 filesystem do not fit on same size ext4 filesystem. How to reproduce: create two 1GB files, setup loop device for each, create filesystem one ext3, one ext4, mount, rsync ...
0
votes
0answers
42 views

EXT4 Journaling - Problem

Basically my root (/) ext4 partition keeps being mounted as read-only when I apply internal journaling feature. I understand that this should be default, but today I had been trying to apply external ...
1
vote
2answers
29 views

VDI size increase not reflecting

I have a dynamically allocated virtual disk, which was initially 40GB. I increased the disk size from 40 GB to 100GB first and then also updated the partition using GParted as described here, ...
0
votes
1answer
46 views

Does Linux have any symlinks by default? [closed]

I have written a program that performs health checks on servers. One of its functions is that it can check whether or not a symlink exists. I am currently in the process of writing unit tests (for use ...
16
votes
3answers
999 views

Simple way to see the content of directories in Linux/UNIX file systems

In the past, I learned that in Linux/UNIX file systems, directories are just files, which contain the filenames and inode numbers of the files inside the directory. Is there a simple way to see the ...
4
votes
4answers
82 views

How do I create small disk image with large partitions

I am building a disk image for an embedded system (to be placed on an 4GB SD card). I want the system to have two partitions. A 'Root'(200Mb), and a 'Data' partition(800Mb). I create an empty 1GB ...
0
votes
0answers
67 views

Parallel vs Distributed vs Traditional File system

I am trying to understand the difference between these three file system at a very basic level. Distributed FS: HDFS Parallel FS : Lustre Tradational FS : ext4/ext3/ NTFS/FAT etc. I want to ...
-2
votes
1answer
23 views

Official resources about disc management on linux / distributions [closed]

My question is about official linux and common distributions (e.g. fedora/debian) on learning disk management in practice on linux / linux distributions. The layout, may be including the file system, ...
3
votes
1answer
80 views

Where are my inodes going?

My root filesystem is running out of inodes. If this were an issue of disk space, I'd use du -s to get a top-level overview of where the space is going, then head down the directory tree to find ...
0
votes
1answer
60 views

Operation of “mv” described in “Advanced Programming in the UNIX Environment”

In Advanced Programming in the UNIX Environment (book) Section 4.14, interpret the i-node and directory, there is a paragraph: When renaming a file without changing file systems, the actual ...
2
votes
2answers
123 views

How can I print current reads and writes to the filesystem on demand?

I am interested in getting statistics about filesystem reads and writes, specifically to an NFS mount. I know there are many tools such as iostat, nfsstat and inotifywait but there are issues I have ...
0
votes
1answer
21 views

To run once again mkfs.xfs quickly

I run mkfs.xfs -f -L /partitionname -d agcount=64 -l size=128m,version=2 /dev/sdb1 but noticed that enough without Label with UUID, while the old when RHEL used partition labels, as discussed here: ...
2
votes
1answer
48 views

What is a non-contiguous directory?

When I run fsck, I can see the following line: 182 non-contiguous directories (0.1%) What kind of directories are the non-contiguous ones? Is there a way to make them to be contiguous somehow. How ...
5
votes
1answer
46 views

How to change the extent size in the ext4 file system?

As you can read here , ext4 file system has an extent feature that groups blocks into extents. Each of them can have up to 128MiB contiguous space. In e4defrag , there are lines similar to the ...
1
vote
1answer
31 views

Why does first inode of the `/` mounted partition and inode of `/` is different?

[~]$ stat -c %i / 2 As you can see in above, the inode for / is 2. But the First inode of /dev/sda2 is 11. [~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 ...
0
votes
1answer
31 views

Which file system must be chosen for /home directory at a notebook? [closed]

For a time im reading about filesystems that should be better for me but i still can't find my filesystem for /home.My criterias as follows: 1.Battery life 2.Reliability 3.Fastness which fs do you ...
3
votes
2answers
57 views

Why do people choose different file systems for different directories? [closed]

Why is this done by the users? For what purpose? Doesn't it slow down the system? example:jfs for / ext2 for /boot reiser4 for /var so you see this there will be an interaction between different file ...
0
votes
2answers
46 views

Installing new WD green hdd

I've purchased a new Western Digital Green Power 1TB 3.5 inch internal hard drive on eBay but I can't get any of my desktops to recognise it. Model number WD 10EURX. I'm using Linux Mint 17 Mate and ...
0
votes
1answer
27 views

Btrfs RAID1 mismatched sized drives full

I have a 500 GB HDD and a 300 GB HDD. I have formatted them as btrfs raid1 between. The total size is 800 GB. If I copy 50 GB onto the filesystem, it causes 100 GB to be used. If I copy 300 GB onto ...
1
vote
1answer
33 views

Btrfs distribute files equally across multiple devices

I have a btrfs volume across two devices that has metadata RAID1 and data RAID0. In the event one drive would fail, practically all files above the 64KB default stripe size would be corrupted. As this ...
1
vote
1answer
30 views

How to avoid recursive directory traversal for syncing two directories? [closed]

I see a lot of useless recursive directory traversal in: rsync unison owncloud All above application (and many more) do recursive directory traversal over and over again. Since the application ...
1
vote
1answer
56 views

Using Btrfs to eliminate corrupted archives

I am trying to get my personal filesystem in order I want to tar everything and get it organized into proper directories I have many HDDs and a few SSDs I want to use Btrfs with it's checksum and ...
1
vote
0answers
29 views

How do I get new filesystem formats to use in mkfs?

I am currently attempting to run some benchmark tests using different filesystem formats. However, I can only use the ext family, cramfs, and msdos formats with mkfs since those are the only formats ...
1
vote
1answer
35 views

Accessing root files on Ubuntu Phone from my eOS based on Ubuntu

I'm wondering if its possible to access the root files on my Ubuntu Phone E5 from my computer. I know I can access them from the terminal on the phone but its not ideal using that touchscreen to ...
1
vote
1answer
35 views

Delete the first n bytes of a file in O(n) time

I've been browsing around looking for a solution for a personal project (Read: a coding experiment), but nothing quite seems to fit. To be honest, I don't even know if it's possible. Now, there's ...
0
votes
0answers
43 views

How does rootfs.ext3 image file work?

I have a FriendlyARM mini6410 device and I have just hardly make it boot from sdcard. Now my sdcard uses "u-boot for mini" (u-boot.bin), "linux2.6.38 kernel" (zImage) and "rootfs qtopia fs" ...
2
votes
1answer
84 views

Is there a simple way to move btrfs subvolumes to a different btrfs filesystem?

I have two separate btrfs filesystems which I would like to consolidate. The subvolume structure looks like this: / filesystemA |- subvolume1 |- subvolume2 |- ... |- subvolumeN / filesystemB |- ...
0
votes
1answer
16 views

Create permissions for group to write and files created by owner are only writeable by owner

I have created a folder, /hello: it has the following permissions: Owner = rwx Group = rwx Others = r and the folder is owned by john and belongs to the group sales. I have created another user ...
0
votes
0answers
26 views

filesystem not detected while booting after regular updating

I am using RHEL7. After a latest regular update, my computer not booting. I noticed that, during updating, the kernel also got updated. All my attempt with previous kernel version,which is listed in ...
4
votes
2answers
45 views

What is the difference in file size between Symbolic and Hard links?

I plan to keep all my movies in one giant folder, and then create other folders for the genres, while creating links for all the movies in the genre folder. This way I can organize movies into ...
0
votes
1answer
26 views

OracleSolaris 11.2 - delete a directory which is mount point

I removed a user from the syste, with userdel -r user however it still keeps its homedirectory /export/home/user, although the contents has been removed. The directory is mounted, but I don't know ...
1
vote
1answer
33 views

Performance of `tar -xf` (block size related)

I'm recently working on optimizing the performance of tar -xf, i.e. untar a file. I notice that under default settings, tar -xf calls writes to write 10 KiB output at a time in chunks. However, this ...
0
votes
1answer
23 views

How To Induce RO To Linux FS

I've read in several places that during I/O error to system log file most linux distributions go to read only mode. Followed by how to recover from it. This is all fine, but I'm looking for a way to ...
0
votes
0answers
84 views

Completely hidden directory on ACFS imported via NFS

how is this possible: [root@oda001-d0 .ACFS]# pwd /OVS/Repositories/repo1/.ACFS [root@oda001-d0 .ACFS]# ls -la .. total 148 drwxr-xr-x 8 root root 4096 Jun 23 11:45 . drwxr-xr-x 5 root root 4096 ...
0
votes
2answers
34 views

Where should startup scripts for a specific user be installed?

I have one script that will run when a specific user logs in. Where should this script and its assets be placed? I was planning to put it in /usr or /bin or /var, but I was wondering if there's a ...
1
vote
2answers
73 views

What are the “root”, “home” and “swap” block devices and how do I remove them?

Anyone know how to remove these block devices? I want everything in one partition.
0
votes
1answer
28 views

Can I find the filesystem a file is going to be installed to? [duplicate]

I have a list of files along with their filepaths, that I'm planning to copy into a server. Is there a way, I could figure out before I copy, which filesystem it actually would go into? assuming the ...
0
votes
0answers
25 views

Ext3 Journaling Question on inode and disk layout

I was going through Journaling and JBD and wanted to ask you a very basic question for which I was not getting an answer: 1.Why Journal Inode number comes as 8 when we do ./dumpe2fs? 2.So far my ...
4
votes
2answers
62 views

btrfs filesystem end offset (image size)

I have a btrfs filesystem of about 7G in a 10G image file img.btrfs (I shrank it using btrfs fi resize -3G /mnt). How can I find the total size (end byte offset) of the filesystem, so that I can ...
0
votes
0answers
20 views

Load root partition on embedded linux system

I'm using a zynq-7000 SoC, running a custom petalinux build, which is on an SD card. The boot partition contains a boot.bin (the bootloaders etc) and an image (containing the kernel). The root ...
1
vote
1answer
33 views

How to trap an event when a file with a specific content (given by e.g. checksum) was created on the local file system?

I want to implement sort of trip-wire security mechanism, that tracks in real time events when user writes a file with a specific content on hard drive of his workstation (which will be managed by ...
1
vote
1answer
46 views

Download small ZFS formatted image

I don't run Linux myself, so I'm the odd one out here, but I have hopelessly been searching for a small image file that contains ZFS (e.g. ZFS formatted media). I like to implement ZFS recognition in ...
1
vote
1answer
42 views

How to find directories whose size is greater than 4K?

When you have many files in one directory, the size of the directory file grows because it needs to store more entries. So, at some point it could look like this: # ls -ldh /var/log drwxr-xr-x 15 ...
3
votes
3answers
79 views

How to format a partition inside of an img file?

I created an img file via the following command: dd if=/dev/zero bs=2M count=200 > binary.img It's just a file with zeroes, but I can use it in fdisk and create a partition table: # fdisk ...
1
vote
1answer
16 views

Change the owner of an ntfs filesystem mounted via fstab

I want to mount a partition on boot and need it to have read, write and execute permissions. I'm using 64-bit Arch Linux and created the following /etc/fstab file: /dev/sda1 ...
2
votes
0answers
19 views

How are the reserved GDT blocks used after online resizing in ext3 file system

I am working on Ext3 and after looking at FS layout - ext3 reserves ~1024 blocks as Reserved Group Descriptor Table (reserved GDT blocks are between Group Descriptor blocks and Bitmap blocks). These ...
1
vote
1answer
42 views

Open source OS/File Backup solution [closed]

There are quite professional "OS/File" Backup solution from many vendors like Symantec BackupExec/Veeam. But those solutions aren't free & requires license. I am planning to build a open source ...