A filesystem is a method of storing and organizing computer files and their data.

learn more… | top users | synonyms (2)

1
vote
1answer
67 views

Determine if zfs is the actual filesystem

With Solaris 11 the default filesystem should be zfs, but following the official guide I obtained (with cat /etc/default/fs) LOCAL=ufs Is this an error? I thought that the same information was in ...
0
votes
1answer
17 views

why doesn't iozone generate output file?

I'm using iozone3 for tesing, on Xamin (an Debian-based OS). When I enter iozone command, for example iozone -Rab output.xls, the test runs successfully. But after running the test (after displaying ...
1
vote
1answer
34 views

harddisk not recognized / filesystem too large to mount safely on this system / hdparm shows garbage

I have a 4 TB Verbatim external hard disk with ext4. It can be successfully mounted at my Raspberry Pi. I am trying to plug it at my WD Mybook Live Duo device where I have SSH root access. When I ...
3
votes
2answers
40 views

How to copy to a formatted image without root privileges?

I have formatted an image file using the mkfs command, and I would now like to copy files to that image file without root privileges. I have already tried to mount the image to a local directory, ...
2
votes
1answer
23 views

Regarding identical copies of gedit files

When ever I save a gedit file in a directory, two copies of it get saved with identical content. Ex: If the gedit file is named as file_name and saved in Home directory then when u ls the Home ...
0
votes
0answers
39 views

Avoid infinite loops in file operations

In many programs, such as in this example filezilla, when I go to use certain directories they get stuck in an infinite loop. So I might be uploading a folder to an FTP server, but this folder links ...
6
votes
1answer
117 views

monitor file permission changes

How can I figure out which process is changing the permissions of a file? on a Debian server, I have the problem that something is changing the permissions on /dev/null every day at 6:20 (since 3 ...
1
vote
2answers
42 views

How to format a 1GB USB stick to FAT32 with 512 bytes sector?

I am trying hard to format a 1GB USB stick so that I can use it to install a new linux OS. Because the Disk utility has failed me when creating the file system. I tried to do it manually using fdisk ...
2
votes
0answers
18 views

Defining Languages Available at boot - LiveCD

I am trying to create a refined version of the buggy uck for customizing Ubuntu LiveCD ISO, here it is if you're interested in helping. NOTE: The process is straight-forward, except when customizing ...
3
votes
0answers
49 views

Why are block sizes limited by page size in Linux?

In many (all?) file systems that Linux uses, including ext2/3/4, the maximum block size is the page size of the architecture Linux is running on, ie. 4KiB on x86. Why is there this limit? Might this ...
3
votes
4answers
81 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
19 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 ...
0
votes
2answers
49 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
15 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
70 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
0answers
18 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
0answers
51 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
47 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
19 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
votes
0answers
51 views

Sum of all files does not add up to used disk space. Why?

A big folder on my external hard drive is missing and I am trying to find out where it went. When looking at the properties of my volume I found this weird difference between the sum of all files and ...
1
vote
0answers
19 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
12 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
29 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
43 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
31 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
39 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
32 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
11 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
232 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
59 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
80 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
56 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
25 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
94 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
33 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 ...
0
votes
1answer
233 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
24 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
19 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
161 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
58 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
152 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
19 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
52 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
33 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
61 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 ...
1
vote
1answer
121 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
33 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
20 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 ...
3
votes
4answers
102 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 ...