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

learn more… | top users | synonyms (2)

9
votes
1answer
137 views

Why would a partition be in use by the system if it isn't mounted?

I've been migrating my system from btrfs to ext4 after running into performance issues with VMs. I have two hard drives in my laptop to work with. I've successfully moved my home partition, but the ...
0
votes
1answer
37 views

mv deleted my directory. Why?

I was trying to correct the spelling on a directory, issued a mv command, and the directory is now gone. I'd like to understand--specifically--what happened. Here's the command I ran: mv ...
0
votes
1answer
63 views

Why does df show Available 0 when 1K-blocks minus Used is greater than 0? [duplicate]

Why does it show 0 in the available column? [root@server log]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 4128448 4096484 0 100% / It's ...
1
vote
1answer
77 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 ...
2
votes
1answer
68 views

How to test Disk IO on VMs with iozone?

I want to test the disk IO performance like read, write, random read, random write and so on both in physical machine and VMs (with aufs file system). Also I want to test the throughput performance in ...
1
vote
1answer
73 views

How do you move files into the in-memory file system mounted at /dev/shm

Someone recently told me about /dev/shm. You all helped refine my understanding of what /dev/shm is What dev folder allows you tell the OS to cache something? The person who told me about /dev/shm ...
3
votes
1answer
420 views

Reading FreeBSD UFS formatted external drive in Mac OS X

I have an external USB drive with backup files formatted in FreeBSD's UFS file system. When I plug it into a computer running Mac OS X 10.9.4, I cannot read the drive's contents, and I don't have ...
0
votes
0answers
116 views

How to write to RAID 1 disks on Raspberry PI

I'm using Arch Linux on my Raspberry Pi, though I'm not sure that's relevant. I followed this tutorial to set up a RAID 1 array with 2 USB HDs. I then mounted the array (md0) in /media. What I ...
2
votes
2answers
55 views

Is reading a file on UNIX faster than writing a file?

Sorry for the sheer simplicity of this question. A rather obtuse performance bottleneck has boiled down to this very small query. I have done some empirical analysis and I think I might be getting ...
0
votes
0answers
20 views

Proper way to deploy my service on linux

I have a service that I wish to deploy on a Linux server. The service will be in the form of a number of executables that are started and stopped like a service using upstart of similar. Also, the ...
5
votes
1answer
62 views

Why does the mountpoint of my root filesystem change?

When I look at the output of lsblk it will usually show: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 298.1G 0 disk ├─sda1 8:1 0 1023M 0 part /boot └─sda2 8:2 0 ...
0
votes
1answer
40 views

how to access with Linux to the real block size info of a filesystem when it is mounted on nfs?

I have a Centos 6.5 and Solaris 5 machines. I'm trying to get the information about block size of a filesystem in the member f_frsize of statvfs. I tried first from Centos but when the filesystem is ...
0
votes
1answer
21 views

Multiple file systems on BeagleBone Black?

I'm trying to put together a BeagleBone Black using Debian on the EMMC, a separate MicroSD card and a flash USB disk (but could ostensibly be platter media on USB). My question, simply put: are there ...
1
vote
1answer
148 views

Determine if zfs is the actual filesystem [closed]

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 ...
1
vote
1answer
35 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
153 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
52 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
25 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
55 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
162 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
220 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
21 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
78 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
102 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
31 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
54 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
120 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
52 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
40 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
92 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
70 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
26 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
20 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
64 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
64 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
137 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
68 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
52 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
16 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
261 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
135 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
485 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
77 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
124 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
215 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
48 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
3k 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 ...