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

learn more… | top users | synonyms (2)

2
votes
1answer
26 views

warning: Filesystem seems to be mounted read-only

I have an old SGI indigo with an EFS file system (Extent File System ), and the password needs to be reset. I can mount the hard drive, but read-only. I need write permissions. # mount --rw -t efs ...
1
vote
2answers
46 views

Unix equivalent of smart folders

What I want to do is present a directory, the contents of which are sourced from a series of other directories on the file system. It would be like a soft-link, only a link to multiple directories at ...
0
votes
0answers
15 views

ecryptfs error leads to unknown filesystem on grub rescue

I have a Lenovo Thinkpad with a dual boot for Ubuntu and Windows 7. While in Ubuntu I closed the lid to the computer (which doesn't put Ubuntu to sleep) and went out to run some errands. I come back ...
1
vote
1answer
14 views

System claims my USB is mounted when I insert it and I cannot (un)mount it. How do I fix this?

I'm running Ubuntu 14.10 Server (headless). I have a group of USB flashdrives that I need to reformat for use across several devices. I've successfully mounted, formatted, copied files to, and ...
1
vote
1answer
39 views

pendrivelinux install on usb stick - only uses 5.8GB of a 14.7GB usb stick

I used http://www.pendrivelinux.com to build an installation of Linux Mint on a USB stick, so I could have a portable OS (mainly for work emergencies). It's installed, and works fine, but it's only ...
0
votes
0answers
16 views

Is there a way to change file/folder ownership on a server in Ubuntu/Kali-Linux? [migrated]

I accidentally changed file ownership of a folder in Windows 7 and now nobody can edit, copy, view, move it, etc. Not even the administrator account account can change it back. I tried icacls and ...
0
votes
1answer
13 views

Does Gparted change permissions?

Sometimes but not often, but many times, after formatting an SD card with Gparted, the SD card becomes unaccessible to normal user, so I go as root and change the permissions, happens especially when ...
-1
votes
2answers
29 views

How to make an existing directory (and sub-directories) to be suddenly writable by ROOT ONLY?

Let's say i have a directory, at: /tmp/uploads/ And inside got several recursive directories and files created by DIFFERENT USERS before. So now, suddenly how do i make that above directory to be ...
-2
votes
1answer
39 views

How to make a NON-WRITABLE directory?

Actually i'm aware of a "PHP Web Folder". There seems to be some potentials of incoming attacks. So that i want to make sure this whole directory is READ-ONLY (Only writable by ROOT). Let's say the ...
4
votes
1answer
115 views

Undeletable directory

Everything I've tried (always with superuser privileges) has failed: # rm -rf /path/to/undeletable rm: cannot remove ‘/path/to/undeletable’: Is a directory # rmdir /path/to/undeletable rmdir: failed ...
3
votes
1answer
26 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
29 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
18 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
67 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
30 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
17 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
45 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 ...
15
votes
3answers
950 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
71 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
30 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
52 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
118 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
12 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
38 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
35 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
25 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
28 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 ...
2
votes
2answers
55 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
42 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
21 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
19 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
29 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
36 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
28 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
24 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
34 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
28 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
38 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
23 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
42 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
22 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
26 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
71 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
32 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
66 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 ...