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

learn more… | top users | synonyms (2)

1
vote
3answers
185 views

Having a host with ZFS system, how to make it available to other hosts on local network?

Having a Linux (RHEL 6) host with ZFS system, how to make it available to other hosts on local network (over LAN or InfiniBand if possible)? what shall be done to ZFS pool to make it sharable? how ...
0
votes
1answer
31 views

Verify file permissions

I did a fresh installation of OpenSUSE and copied all my files from the old home directory. The user and group names hadn't changed, and all the files seem to have proper permissions. However, I ran ...
1
vote
3answers
209 views

Circumvent permissions of filesystem on an external drive

Suppose that I have only non-root access on a desktop Linux machine. I want to work with an external, pluggable storage device (hdd, flash drive or memory card) with an ext{2,3,4} file system. Since ...
2
votes
2answers
34 views

Incorrect permissions on special files

I've noticed a lot of special files on Linux have what appears to be incorrect permissions: E.g.: $ ls -l /dev/fuse crw-rw-rw- 1 root root 10, 229 May 29 09:59 /dev/fuse appears writable but in ...
0
votes
1answer
22 views

How To Copy Lossless from OSX ext to FAT32 without Ownership/Permissions? [on hold]

I sudo-copied documents from OSX extended filesystem to FAT32. Now, I see that two trees are different by size and by Stephen's command here vimdiff <(find /Volumes/fat32/ -printf "%P %u:%g %m\n" ...
0
votes
1answer
11 views

Creating F2FS volume with specified size on Android

My smartphone is booted to the TWRP recovery and I'm running the ADB Shell as root on Windows. I have fully unmounted /data with the following command: umount /dev/block/mmcblk0p36 Then checked ...
-3
votes
0answers
17 views

FS Usage errors [on hold]

I am getting this notification from a health monitoring script that runs on the server. It's regarding the FS Usage. / 19G 17G 2.8G 86 / /dev 19G ...
11
votes
3answers
2k views

How to check if two directories or files belong to same filesystem

What's the best way to check if two directories belong to the same filesystem? Acceptable answers: bash, python, C/C++.
0
votes
1answer
23 views

taking snapshots of a BTRFS volume mounted with nodatacow?

I plan to create two subvolumes on a BTRFS-formatted spinning disk. I plan to mount one of those subvolumes with nodatacow so that I can efficiently store virtual machine images and database files ...
1
vote
2answers
32 views

Copying Files before They're Finished Transferring [on hold]

Using Ubuntu 16.04 ext4, especially for chrome downloads. Can you copy files while they are not finished transferring?
1
vote
0answers
14 views

Error when attempting to mount NFSv4 file system

I am having a problem mounting an NFS v4 share on a RHEL6 system, when attempting to mount the file system with the command "mount -t nfs4 nfsserver:/home /media/home" I receive the following error ...
32
votes
3answers
31k views

How can I edit symlinks?

My basic understanding of a symlink is as a special file, a file that contains a string path to another file. The kernel's VFS abstracts a lot of that away but is there any reason why symlinks seem to ...
0
votes
0answers
10 views

What are btrfs generation_errs?

I have a btrfs file system that I've scrubbed a few times and found some errors. If I check the device status I see that I have generation_errs: $ sudo btrfs device stats /dev/nvme0n1p5 ...
1
vote
1answer
28 views

Understanding sparse files, dd, seek, inode block structure

At work we use sparse files as part of out Oracle VM environment for the guest disk images. After some questions from a colleague (which have since been answered) I am left with more questions about ...
0
votes
0answers
12 views

Pacman -Syu fails because /usr/bin/easy_install exists in filesystem

Pacman -Syu fails because /usr/bin/easy_install exists in filesystem Now I read on google plus that if you move easy_install out of the bin, it will work, I don't want to do that, why doing that? ...
0
votes
0answers
22 views

Recover content of a directory when the block where directory file is located is corrupted?

A user has a Personal folder in it's /home/user folder. Bad sectors appeared on the hard drive. If I vi the Personal folder file it's empty and if I go into it and I do an ls, the system gets stuck ...
1
vote
1answer
22 views

How can I tell when my file system was last fsck-ed at all?

I know of various ways in which to check when the last fsck occurred on a file system. e.g. $ sudo dumpe2fs -h /dev/sda1 | grep 'Mount count' -A3 dumpe2fs 1.42.12 (29-Aug-2014) Mount count: ...
1
vote
2answers
50 views

How to determine which files are necessary in /bin, /lib, /var, etc.?

I'm currently trying to get an image working for a network boot using somebody else's file contents. The previous images I made keeping all original files present were way too big, so I need to shrink ...
7
votes
2answers
2k views

Can virtfs/9p be used as root file system?

Is it possible to use a folder shared from the host to the guest via virtfs/9p as the root file system inside the guest? Loosely related to my previous question: Can virtfs/9p be used to share the ...
0
votes
1answer
18 views

How to use puppet to format a partition with a file system

With a filesystem such as ext4 or xfs. But how can we make sure it doesn't do it again and again on each run. I want it to do just on the First Run
4
votes
4answers
57 views

Most efficient way to thin out a backup which uses hardlinks

I have a backup disk which contains hundreds of backups of the same machine from different dates. The backup was made with rsync and hardlinks, i.e. if a file doesn't change the backup script just ...
2
votes
1answer
3k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
45
votes
3answers
16k views

What is the difference between procfs and sysfs?

What is the difference between procfs and sysfs? Why are they made as file systems? As I understand it, proc is just something to store the immediate info regarding the processes running in the ...
1
vote
1answer
39 views

Filesystem: How to find block of file represented by inode? [closed]

I am writing a file system for my operating system and am doing research on existing file systems before I start designing my own. I came across some slides about the System Five File System and am ...
1
vote
1answer
13 views

Using chroot to restore Kubuntu 14.04

I have accidentaly purged some system files and now Kubuntu 14.04 won't boot past the start up logo. I read online that I can perform changes on my system through my LiveUSB and the BASH chroot ...
1
vote
0answers
20 views

what's the best filesystem for small files on mdadm RAID10? [closed]

I need to setup a RAID on my Linux server and I am looking for advise about which filesystem I shall use. These are the type of files I am going to be writing/storing into my system. File size ...
0
votes
0answers
3k views

Device already mounted or 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
2answers
1k views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf ...
-1
votes
1answer
25 views

RHEL 6 filesystem

I'm reading about RHEL 6 and getting confused about a knowledge check. It tells me that not to use a computer to give an answer for this but the question is on a RHEL 6 system, mount /dev/sda12 ...
11
votes
2answers
29k views

What's the easiest way to resize an ext4 partition from the command line?

What's the easiest way to resize an ext4 partition (or any type partition depending on the method) from the command line (potentially with the fewest commands, but also the easiest to understand)? ...
2
votes
1answer
23 views

Windows safe characters from Linux

I've been copying large amounts of files from a Linux backup to a NTFS partition. The purpose is to have all files accessible from Windows. From this experience I've learned the following. NTFS ...
7
votes
1answer
722 views

Aufs Whiteout removal

I'm using AUFS for merging 100+ branches for a project. At runtime, I frequently add or remove few branches. Now, If I have a branch named "firefox-21.0" and If I update/modify one of it's file then ...
2
votes
1answer
940 views

How can I get write access to my usb drives?

I have trouble writing to external drives. They are monuted automatically in Nautilus, but I can not copy anything there ('Paste' and 'create Folder' are just greyed out). Does Anyone have ideas what ...
1
vote
2answers
59 views

How to move from one filesystem to another without changing directory structure?

/dev/xvda1 is full so I want to move its contents onto my 30GB udev filesystem. Filesystem Size Used Avail Use% Mounted on udev 30G 4.0K 30G 1% /dev tmpfs 5.9G 768K ...
12
votes
4answers
5k views

How can I determine the fs type of my current working directory?

I need a platform-independent and lightweight way of detecting the mount type of my CWD. Specifically, I need to determine if my CWD is in an SSHFS, NFS, CIFS, SMB, or local block store mount. I need ...
1
vote
2answers
25 views

Mount(8) with mount(2)

I have a software that will unmount a partition programatically (if it's not busy) and mount it again after all of the work is done. If I run this in the terminal: sudo mount /dev/sdb1 /mnt/fat32 -o ...
0
votes
0answers
13 views

Some doubts about disk inconsistency

I have a system with 3 elements: An embedded system with this FAT lib that makes several operations in the FAT filesystem (e.g. add/remove file/dir, append to file). The sector read/write functions ...
2
votes
2answers
2k views

File system CRC check

I know that before running the kernel, u-boot (the boot loader) will check the kernel image CRC. Only if it is correct it will go further, else it will give a "Bad CRC" error. I want to do same thing ...
1
vote
2answers
16k views

Why is my file system mounted as read-only?

I've put together a small system with busybox, a Linux kernel, and a small file system, putting stuff in as it seemed necessary -- I don't know if I've been learning much from this, but I started out ...
1
vote
0answers
33 views

after running chown -R on home system is in read-only-mode [closed]

Unfortunately I run the following command: sudo chown -R m:m /home/m whereas m is my username. The intention was to fix some right issues for another problem, however it caused the whole system ...
1
vote
0answers
41 views

FUSE Overlay filesystem for “too long filenames”

Is there FUSE overlay filesystem, that: * resolve on it's own "too long filenames" for underlying filesystem * otherwise (for filenames fitting into limits of underlying filesystem) just proxy 1:1 ? ...
0
votes
0answers
48 views

What is a “file header” in Linux file systems?

The following sentence appears in an article in the web: All cryptographic metadata is stored in the headers of files, so encrypted data can be easily moved, stored for backup and recovered. ...
1
vote
0answers
17 views

How do I open access (+x) to a directory behind symlinks in one move?

For example, to open access to /sys/bus/usb/devices/1-1/, the following need to be done: chmod a+x /sys/bus/ chmod a+x /sys/bus/usb/ chmod a+x /sys/bus/usb/devices/ # files in "devices" are ...
3
votes
1answer
29 views

mount: Unrecognised segment type thin

So my Fedora Linux machine crashed during an update, and now refuses to start properly. I'm using SystemRescueCD to try to recover the contents of the hard drive. Following the steps in this post, I ...
7
votes
4answers
4k views

Case-insensitive file system for production server?

The initial situation looks like this: The corporate software is PHP-based. It is delivered by Apache 2 on a Windows 2003 Server. It is big. It is a legacy of rather unprofessional developers who ...
5
votes
4answers
3k views

Why is writing SLOW on raw device, and FAST on filesystem (USB key)?

I have a USB key (PQI U822V-Speedy 32G) that I am trying to benchmark quick'n'dirty on Linux. I'm testing write bandwith. dd on raw partition I created a partition starting at sector 2048, then did ...
2
votes
2answers
28 views

Embedded device, log partition, what file system is more resilient and uses less reads/writes?

I have an embedded Linux device with a read-only file system. I have another partition that is used to store an archive of logs. This partition will be written to a lot. What linux partition should I ...
1
vote
0answers
26 views

Union mount on Linux

A union mount presents a combined view of multiple directories (branches) in a single hierarchy. Ok, but how do I use one in practice, and which one? Many union mount technologies are available on a ...
3
votes
2answers
33 views

“Junctioned” symbolic links

Does Linux have the capability to use "junctioned" symbolic links? I'm not sure if this is an actual term or not, so let me explain the concept. I have a git repository containing all my ...
1
vote
2answers
992 views

Check the filesystem format with BusyBox (stat -f and df -T do not work)

I am using latest BusyBox v1.22.1 in my target. I want to check the filesystem type using stat -f or df -T but busybox doesn't support such commands. busybox help shows stat command as supported but ...