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

learn more… | top users | synonyms (2)

3
votes
4answers
113 views

mount info for current directory

I can do df . to get some of the info on the mount that the current directory is in, and I can get all the info I want from mount, but get to much info. I can grep it down, but am wondering if there ...
2
votes
1answer
38 views

Installing a new OpenBSD kernel “safely”: why does `make install` go through these extra hoops?

After building a new OpenBSD kernel, the install target of the kernel Makefile does the following: rm -f /obsd ln /bsd /obsd cp bsd /nbsd mv /nbsd /bsd I understand that the first two lines remove ...
1
vote
2answers
55 views

Can the Operating System access a particular filesystem after it has been unmounted?

I have mounted a filesystem at a particular directory and I replace a file present in the filesystem.I now unmount the filesystem. Is there any possibility of Operating system accessing the replaced ...
0
votes
0answers
17 views

Proper file system for an External Hard Drive to work well on Linux [duplicate]

I have a External Hard Drive (EHD) I want to use to backup the data on my Linux laptop. I want to know how I should format my EHD for it to work correctly with Linux. Thanks.
2
votes
1answer
183 views

ext4 filesystems frequently corrupting

We have occasional power outages in our environment which seems to cause data corruption on our Ubuntu machines with ext4 filesystems. To my understanding ext4's default is to use data=ordered ...
1
vote
2answers
77 views

With “find /”, skip directories like “/proc”, “/sys” and similar

There are some directories that can cause problem with find, and especially find /. These are directories in which the OS creates files which are not really files. Among these directories are /proc ...
1
vote
0answers
60 views

How to use Reiser4 on Debian Wheezy?

Is there an easy way to use Reiser4 on Debian Wheezy? I installed reiser4progs but obviously I need a patched Kernel as well to use it. Is there some semi-officially maintained kernel to install ...
0
votes
1answer
109 views

NFS mounting wrong File System

I have followed this How To ( https://help.ubuntu.com/community/SettingUpNFSHowTo ). My machine has a file system 30GB and other File System of 1TB mounted on /backup As this How To says to create a ...
0
votes
2answers
78 views

Use/See whole the flash memory space

When we bought a N Giga Byte flash memory, the free space that the OS provide for us, is less than N GigaBytes. For example, for a 2 GB flash memory, total space that we can use, is 1.86 GB. As far ...
0
votes
1answer
25 views

Unix filesys reserved space [duplicate]

I've read that in Unix, you can configure the file-system to reserve certain amount of space for root. Which configuration property is it?
1
vote
0answers
33 views

How can I unveal files on my external hard drive?

I copied a big folder (around 110 GB) from my (Mac 10.7.5) computer onto a hard drive (exFAT). It took quite some time and afterwards I even checked that the files were actually there. After more ...
2
votes
1answer
21 views

Get allocation status of a file's range in an FS which supports delayed allocation

For a very large file with delayed-allocation, some sectors may have been allocated and some may not. Delayed allocation is supported by ext4/xfs/etc.. For example, create an empty file and set to ...
1
vote
2answers
19 views

Is the content of a file always stored continuously?

In ext filesystems, Is the content of a file always stored continuously? Or the file conent can be partitioned into different parts, with each part stored continuously, and all the parts stored not ...
1
vote
0answers
81 views

Cannot mount second 1TB harddrive in Linux, works fine in Windows 8.1

So I have this problem with my second hard-drive that I have been trying to fix for quite awhile now with no luck. I have searched around to try to find solutions to my problem but nothing seemed to ...
0
votes
1answer
69 views

Relation between the filename and inode of a file

For a file, it is said that its "filename" points to its inode. Does it mean that its "file name" is a data structure that has or is a pointer pointing to its inode? It is also said that its ...
0
votes
1answer
188 views

Debian file's permissions for secondary's group of user

I am installing a proftpd server on a debian dedicated server, In order to be able to update some website files in this folder : /var/www/website I have added a new user : my-ftp-user This user's ...
2
votes
1answer
89 views

What is advisory locking on files that Unix systems typically employs?

I read that Unix like system typically use advisory locking for file IO vs mandatory locking used by Microsoft OS's. If I understood correctly in mandatory locking file lock is enforced by the OS ...
4
votes
2answers
66 views

Create new temporary directory

What's an effective way of creating a new /tmp directory, that behaves just like /tmp (purged on reboot, etc.), but in a different location? In my case, I want to create a ~/dev/tmp directory where I ...
1
vote
1answer
18 views

big-scale tracker alternative for server filesystems

I'm using 8tb RAID storage (XFS filesystem) filled witch lots of files. By default Suse had installed tracker for file indexing/searching but: It's constantly reading HDDs (like for half a year now ...
5
votes
4answers
272 views

Ways to organize and access frequently visited directories and files?

In my Ubuntu, I have added some frequented directories to the bookmarks of Nautilus, for visiting them quicker. Nautilus can consume a lot of memory, when it has been kept open for long and there ...
6
votes
1answer
309 views

What filesystem should I choose for an SSD? [duplicate]

I am going to set up a new Linux system on an SSD drive. Does the filesystem choice make a difference for them? Should I go with the default ext4, maybe try XFS, or does it just not matter?
6
votes
1answer
991 views

Difference between 'sync' and 'async' mount options

What is the difference between sync and async mount options from the end-user point of view? Is file system mounted with one of these options works faster than if mounted with another one? Which ...
3
votes
1answer
83 views

Does “mount -o remount,ro” flush filesystem buffers?

On Linux, does mount -o remount,ro flush filesystem buffers/cache, or should I also run sync to achieve that?
0
votes
0answers
142 views

Is it safe to use lvresize -r to reduce LVM

I know I can increase the size of file system and LV in one go using lvresize -r but is it safe to use the sam approach to reduce a LV file system ? here is the man page of -r -r, --resizefs ...
1
vote
1answer
287 views

What Causes Maintenance Shell Segmentation Fault?

I'm running Ubuntu 14.04 Trusty Tahr in a Microsoft Hyper-V virtual machine on Windows Server 2012 R2. I've stopped the VM, replaced an EXT4-formatted virtual disk volume (/dev/sdb) with a new ...
3
votes
1answer
54 views

How do I find out what filesystem drivers are compiled-in into the linux kernel?

On a running linux system, what is a portable (among linux distributions) way to find out what filesystems the current kernel has compiled-in (not through modules) support for? Consider for example ...
1
vote
1answer
7k views

read only root filesystem

Somehow my Debian went to read only in root file system. I have no idea how this could have happened. For example when I am in /root folder and type command nano and after that press Tab to list ...
1
vote
0answers
72 views

Busybox compilation fails - networking/nslookup.c Error [closed]

I'm trying to compile Busybox with Buildroot Cross-Compiler. Here are the steps: Download Busybox and untar it wget http://www.busybox.net/downloads/busybox-1.22.1.tar.bz2 && tar xjf ...
2
votes
0answers
56 views

how to migrate a squashfs system to another filesystem that's read/write

Well, basically what i want to do is copy all of my router's files (even the dev file (because i'm running busybox)) to my usb flash drive and let my router by default boot from the usb device. it ...
3
votes
3answers
184 views

Files are missing and I want to know what happened to them

Somehow some files are missing in a directory and I would like to know what happened to those files. Who has moved/deleted them? How can I investigate? Can we get a history on a directory? These are ...
1
vote
1answer
141 views

Formatting an external HDD with Bash script

At my workplace we have an external HDD connected to a NAS device (Synology). There is a backup tasks which runs weekly and fills the external HDD after a while. Unfortunately the Linux-based OS of ...
3
votes
2answers
402 views

Why can I access to my C: or D: drives from Ubuntu?

Why can I access to my C: or D: drives from Ubuntu when I install Ubuntu 14.04. Why does this happen?
0
votes
1answer
30 views

How the contents of a directory are impacted when a file system is mounted on that directory [duplicate]

How the contents of a directory are impacted (and when and/or if they are available for use) when a file system is mounted on that directory.
2
votes
2answers
265 views

dd to clone to smaller sdcard

One of my Raspberry Pi's is using a 4GB SDcard for the root/boot filesystem. As seen when mounted on another system: Disk /dev/sdc: 3904 MB, 3904897024 bytes 121 heads, 62 sectors/track, 1016 ...
1
vote
1answer
396 views

Recover an overwritten file [duplicate]

I had a linux plain text document file with close to 100000 lines, a size of 10 Mb. I accidentally overwrote the file via python code. But I got an exception in the middle of the code and think the ...
0
votes
0answers
364 views

Trouble getting Exfat formatted drive to mount

I've just performed a new install of arch linux (3.15.3-1) on a macbook pro 8.2 All of my data is on an exfat drive, and I've installed exfat-utils. However, when I try mount -t exfat /dev/sdb1 ...
2
votes
1answer
5k views

Too many levels of symbolic links

I created this file structure: test/src test/firefox When I run this command: ln -s test/src test/firefox I would expect a symbolic link test/firefox/src to be created pointing to test/src, ...
1
vote
1answer
69 views

Do files with equal name conflict in unionfs (aufs)?

I just tried to mount two folders in one using aufs on Debian 7 wheezy. The command I issued is the following: mkdir /test1 mkdir /test2 mkdir /test mount -t aufs -o dirs=/test1:/test2 none /test ...
-2
votes
2answers
27 views

Check multiple files with string

i.e. for each .csv file, do the following: Check if the file contains the string “HEADER” in the first line. If its missing, do the following: Display, “ERROR: Missing HEADER record for ” Rename ...
4
votes
4answers
151 views

Mount filesystems after boot to avoid fsck delay for sshd

I'm trying to optimise the overall downtime and improve availability in case of system failure. I'm specifically concerned about the reboot (e.g. after a kernel panic) taking so long that I don't ...
3
votes
1answer
138 views

What makes fsck so slow on big filesystems?

I have over a dozen of filesystems on my OpenBSD server with 12GB DDR3 and several 1.5TB HDDs. All filesystems themselves are generally between 8GB and 64GB in size. I've noticed that even by ...
4
votes
1answer
32 views

batch rename files

I have multiple photo files with inconsistent name format. beach north.JPG beach south sm.jpg Bryce windsurfing sm.jpg DSC01031 1024x.jpg DSC02652 ed sm.jpg DSC03229 sm.jpg Kayak kids 2.jpg Maui ...
4
votes
1answer
202 views

Filesystems and Partitions

I have been reading up more on UNIX and have brushed up on different filesystems and partitioning HDs. In the book it mentioned that filesystems are very much different than partitions and one ...
0
votes
0answers
15 views

Mount (or makefs or tunefs or cap or…) option to disallow symlinks?

(Other than mkfs.vfat, that is.) Is there a way in Linux to have a filesystem mounted but to prevent symlinks from being made on it? It's fine if this needs to happen at the time the filesystem is ...
-1
votes
2answers
50 views

Does tar create new inodes to be archived?

When tar is asked to archive a directory, does it create a new inode for each file system object? If yes, how does it query and save the meta-data? Won't the format of storing this inode metadata vary ...
0
votes
1answer
229 views

Difference between a distributed and a cluster file system

I have been reading some articles and I didn't find the answer for which I am looking for. What I understand is the following: Both systems span over a network. A distributed file system features ...
1
vote
1answer
41 views

How to discard/TRIM a range in an open file ?

For an SSD, I can open the row device and discard a range of pages using ioctl() with BLKDISCARD command. My question is for an open file, how to discard a range of data? and Is that depends on the ...
1
vote
1answer
1k views

Give read-only access to specific folders?

I would like to give read-only access to a user but I want him/her to see only the exact folders I give access. for example he/she shouldn't travel around all the server and browse to all users ...
1
vote
1answer
49 views

Directories are missing in recovery mode

My service provider booted my virtual server in the recovery mode and now I'm a little bit lost. I'd like to save some files from my web-directory but I can't find /var/www. Though there are files in ...
2
votes
1answer
3k views

Can't resize a partition using resize2fs

I recently resized the hard drive of a VM from 150 GB to 500 GB in VMWare ESXi. After doing this, I used Gparted to effectively resize the partition of this image. Now all I have to do is to resize ...