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

learn more… | top users | synonyms (2)

0
votes
0answers
13 views

Badblocks, test read/write non-destructively on a mounted disk [on hold]

I started a test read/write non-destructively with badblocks, everything was going well until, by accident, a person mounted the file system and began to access Some video files in it for a few ...
0
votes
0answers
13 views

Not able to understand the output of FFSB (Filesystem benchmark) ON RAID-6

I'm trying to run FFSB benchmark (https://sourceforge.net/projects/ffsb/) a RAID-6 server and the output is really confusing to evaluate. Distribution - Red Hat Linux kernel version - 2.6.32-504.30....
0
votes
1answer
11 views

Configure NFS server to accept connections from unpriviledged ports

I'm working on custom-made NFS client and would like for the purpose of testing to allow connecting to my server from the ports that don't require elevated privileges. I'm sure there was a way of ...
3
votes
4answers
278 views

Delete file with filename that contain unallowed characters

In /tmp dir I have file with this filename: .<?php passthru($_GET['cmd']);echo 'm3rg3';?> I can't remove this file by normal means and have tried with quoting this filename with no results. ...
1
vote
0answers
18 views

Looking for a way to test how often filesystem data is flushed

I have an embedded system, which by it's nature, has power cut off with little warning to the system. The system writes log files to an SD card, and it is desired to have the filesystem flush to ...
1
vote
0answers
17 views

IO Error when trying to create a Btrfs snapshot

In Fedora 23, my / partition is formatted as Btrfs: /dev/nvme0n1p4 / btrfs rw,seclabel,relatime,ssd,space_cache,subvolid=257,subvol=/root 0 0 Full output: $ sudo cat /proc/mounts sysfs /sys sysfs ...
0
votes
1answer
28 views

Patching the kernel to allow booting without initrd

The first answer of 'Why does Linux use an Initial Ram Disk at boot?' states that the initrd/initial ram filesystem is used to provide drivers to mount the real root filesystem. It also says that it ...
1
vote
2answers
44 views

How to display the contents that give rise to the sizes that `ls -l` reports for directories?

I understand that the sizes that ls -l reports for directories reflects the space taken up by the "metadata" for those directories. Also, I imagine that this metadata exists in binary/non-human-...
0
votes
1answer
36 views

Split xls file into small xls files [closed]

I want to split the sample.xlsx (containing 3 sheets) file into the 3 different sheet1.xlsx sheet2.xlsx sheet3.xlsx files , I have John McNamara Perl package repositories VERSION = 2.37. I am adding ...
0
votes
1answer
16 views

Get back free space lost with resize2fs

I resized an EXT4 partition with resize2fs, but it was after the action completed that I found out it only shrinked the filesystem, not the partition. How can I grow the filesystem to be the size of ...
11
votes
5answers
688 views

Why are hard links only valid within the same filesystem?

I am reading this intro to the command line by Mark Bates. In the first chapter, he mentions that hard links cannot span file systems. An important thing to note about hard links is that they ...
0
votes
0answers
39 views

CentOS Virtualbox vdi to raw problem

So I had CentOS7 running on a virtual machine then I tried to move it to a physical hard drive using the commandline "D:\Program Files\Oracle\VirtualBox>vboxmanage clonehd --format RAW D:\Virtualbox \...
2
votes
1answer
26 views

ACL and plain old permissions

I have read a bunch of articles, but still cannot get an idea of ACL, so I have following questions. What are benefits of using ACL over old permissions (0777 for example) and changing file owner,...
3
votes
1answer
26 views

What does mounting a filesystem with user_xattr do?

SELinux documentation for Debian says that user_xattr is not the same as extended attributes. So what is it?
2
votes
3answers
52 views

What is an orphaned inode? [closed]

I understand what an inode is but what is the exact definition of an orphaned inode? I don't really get what that means. UPDATE There was a time that a server I was managing ran out of inodes but ...
0
votes
0answers
18 views

Find the process creating junk in my home folder [duplicate]

Some process keeps creating a folder called \~ in my home folder every time my computer boots up (and some other times, too) and it's really getting on my nerves. I guess this misconfigured app knows ...
0
votes
0answers
11 views

Image file and filesystem errors

Since several weeks I'm working on an image file of a file-system. It is composed of three partition (boot, rootfs, home). I did a lot of work inside with chroot and external tools. Then I used ...
33
votes
2answers
6k views

Why can't I remove the '.' directory?

I tried removing the '.' directory. I thought I could just delete my working directory without having to go into a parent directory. The point of my question is to look for some insight into how the ...
3
votes
1answer
103 views

set umask for sshfs-mounted filesystem

I have a remote sshfs filesystem mounted on /mnt/data. Following is the relevant line in /etc/fstab: www-data@192.168.1.10:/var/www/ /mnt/data fuse.sshfs rw,noauto,nodev,nosuid,noexec,_netdev,...
1
vote
1answer
18 views

how to get /log fS usage in two remote servers

how to trigger mail with below format by getting df -h /log fS usage server1 | server 2 75% | 50% Below are step how i check FS usage manually login to putty ssh server1 give the ...
1
vote
2answers
41 views

How to grow filesystem to use unallocated space in partition?

I duplicated a hard disk to a new larger one using the method suggested in Full DD copy from hdd to hdd. After doing that df -h reports the original and smaller partition sizes from the original disk ...
0
votes
1answer
22 views

Continue monitor web server and download newly added files

What are the best way to continuously monitor a web server (HTTP) and download newly added file with min. delay (ideally < 1min. delay)?
0
votes
1answer
93 views

How to Solve this Read-only file system error?

I do find /media/masi/FAT32/ -type f -name '._*' -delete but I get find: cannot delete '/media/masi/FAT32/._booklet.pdf': Read-only file system I do not know how to work with such situations ...
0
votes
1answer
18 views

Installing large package throwing “no space” error

Im trying to install unity3D on my persitsent Ubuntu linuy, the stick is 10+ gb and the persistent part about 4GB. But whenever i run dpkg -i unity-editor-5.3.5f1+20160525_amd64.deb it takes a while ...
1
vote
0answers
27 views

Does copying files to live usb damage the installation?

I've made myself a live Ubuntu stick (with persistence if that matters) but I can't boot into it from the PC I'm currently using (boot menu is restricted) Can I save files onto the USB without ...
2
votes
1answer
24 views

Identifiy file system for the device /dev/sdc1

I started an old Virtual Machine in the UAT environment. The output for uname -a is : Linux pawana 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux There 3 ...
1
vote
3answers
65 views

How to delete unknown file that doesn't have proper permissions

My co-worker sent me a theme in a tar.gz file and I tried unzipping it using the archive manager GUI as I usually do for any kind of zipped file. However, it produced a corrupt file/directory that I ...
2
votes
0answers
26 views

Are directory paths stored in UNIX filesystem? [duplicate]

How is the path of a directory retrieved in UNIX filesystems? Since directories are pointing to subdirectories it seems like the path need to be set together from the parent and parent parents etc. ...
2
votes
5answers
479 views

/dev holds all partitions, so what holds /dev?

I'm a little confused (even after reading this) post, about how *nix partitions work. From my understanding, sda usually refers to the disk and sda1, sda2, etc, refer to the first, second, and so ...
1
vote
2answers
37 views

What is filesystem.squashfs and why does it take so long to load on to bootable media?

When I use Unetbootin to put a Linux ISO on a USB drive, it proceeds quite quickly until it gets to filesystem.squashfs, which takes longer to process than absolutely everything else combined. Is ...
0
votes
0answers
51 views

Does `find` return directories that are not on the file system?

I'm trying to identify where the python site-package matplotlib is installed on my computer. I ran find ./ -name matplotlib at the top most directory (called the root, no?) and was returned the ...
5
votes
1answer
47 views

Why is fragmentation level so huge in files that contain other filesystems?

I've just found out what sparse files are and wanted to conduct some experiments on them. On wiki you can read that the files can get fragmented easily. I wanted to check how bad that is. I created a ...
1
vote
1answer
42 views

Root cannot remove file on ext4

I have on ext4 disc the following file: -r--r--r-- 1 root root 61440 20. pro 15.30 ldlinux.sys But rm, chmod and mv says permission denied even for root. Any ideas what could be the problem? FYI, ...
0
votes
1answer
26 views

To rsync -rtvuc in Two Filesystems?

I am newbie with rsync. Systems OS_X_Extended/Source/ FAT32/Destination/ I want to rsync everything from OSX extended to Fat32 directory and delete those files/directories which I deleted from ...
0
votes
1answer
20 views

Different filesizes on different computers [duplicate]

I have a file and I want to know its size. On computer 1, I get: $ ls -lh file > -rw-r--r--. 1 user group 441 May 30 15:41 file On computer 2, I get $ ls -lh file > -rw-r--r--. 1 user group ...
2
votes
2answers
44 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
29 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 it'...
0
votes
1answer
27 views

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

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" |...
1
vote
1answer
20 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 ...
1
vote
2answers
33 views

Copying Files before They're Finished Transferring [closed]

Using Ubuntu 16.04 ext4, especially for chrome downloads. Can you copy files while they are not finished transferring?
1
vote
1answer
52 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 [/dev/...
0
votes
1answer
53 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 ...
2
votes
1answer
46 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
16 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? it'...
0
votes
0answers
23 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
31 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: ...