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

learn more… | top users | synonyms (2)

1
vote
1answer
21 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
56 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
26 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
124 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
21 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
37 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
30 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
86 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
491 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
50 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
50 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
54 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
21 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
50 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
68 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
29 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
21 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
34 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
57 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
87 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
76 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
20 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
25 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
42 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
56 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 ...
0
votes
1answer
42 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
1
vote
1answer
58 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
18 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
40 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 ...
4
votes
4answers
63 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 ...
-1
votes
1answer
30 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 /...
2
votes
1answer
25 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 ...
1
vote
2answers
75 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 ...
1
vote
2answers
31 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
15 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 ...
1
vote
0answers
34 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
78 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 ? ...
1
vote
0answers
68 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
49 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 ...
2
votes
2answers
41 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 ...
3
votes
0answers
54 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 ...
0
votes
2answers
33 views

Man directory layout — why the subdirectories?

Man expects the man directories listed in $MANPATH or $(manpath) to be split by section into directories named "man$section". This duplicates the section information that is already available in the ...
6
votes
1answer
65 views

Is there filesystem that allows me to insert some block in the middle of file in O(1)?

Assuming we have huge file F. we like to put "around" seek s a new empty (filled with zeros) block in O(1) time (i.e. without rewriting all remining part) "around" means we can round s to nearest ...
0
votes
2answers
28 views

How does ext4 decide number of blocks of a file?

I'm playing with stat command which basically shows the inode information. Though I'm showing the information of a small file (146 characters), it shows 8 blocks. I was wondering why is that? Since ...
1
vote
1answer
27 views

Is it reasonable to use a journaling FS on a filesystem image that is stored on a filsystem that already provides journaling?

I need a filesystem image to put 150k files there, so they should be easily relocatable, i.e. mounted as a folder, when in use, unmounted and copied somewhere when needed. Due to the large number of ...
0
votes
2answers
21 views

Transmission keeps seeding after downloaded file has been deleted

I'm using Transmission 2.82 on Xubuntu 14.04, and I noticed that after I deleted the downloaded file permanently from files manager, the job in Transmission was still active and kept seeding, and ...