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

learn more… | top users | synonyms (2)

0
votes
1answer
39 views

Linux File System for an External HDD

I'm looking for a file system for an external HDD which will be basically used for backups. It will only be used with Linux machines, so I don't mind having a Linux-specific file system. I may ...
4
votes
2answers
3k views

USB Media filesystem problem

My USB is not detected recently, I tried mount, fdisk, dd, gparted, mkfs.vfat :~# tail -f /var/log/syslog Oct 27 12:54:29 mohammad-Inspiron-N5110 kernel: [18843.105772] usb 3-2: New USB device ...
4
votes
2answers
8k 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
29 views

Can a hard link break the file system structure?

I want a very simple example of how can a hard link break the file system structure. I saw somewhere that people say it's because of loops, however, I can make a loop with a soft link and so I still ...
3
votes
1answer
613 views

How do I mount a UFS disk in read-write mode?

I have a system drive that has filled up to the last sector, so that it doesn't boot anymore. The file system is UFS (it's an old Freenas 0.7 installation), but since UFS write support doesn't appear ...
36
votes
9answers
36k views

Mount Google Drive in Linux?

Now that Google Drive is available, how do we mount it to a Linux filesystem? Similar solutions exist for Amazon S3 and Rackspace Cloud Files.
1
vote
1answer
578 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
votes
1answer
25 views

ITEAD Core A20 cant load or Proceed to the FileSytem

i have an ITEAD CORE AW2041, which i wanted to deploy some image on it, i got the image on an sd card but when i deploy it on the device, the booting process gets stuck at the kernel level, any heads ...
23
votes
5answers
3k views

How to tell which file is original if hard link is created

For example, I have a file myold_file. Then I use ln to create a hard link as mylink: ln myold_file mylink Then, even by using ls -a, I cannot tell which is the old one. Is there anyway to tell?
5
votes
2answers
984 views

Querying an overlayfs

I'm looking for a way to query a mounted overlay filesystem (overlayfs) in order to check it's upper and lower directory, but until now I haven't found any suitable command for that. Is there is a way ...
0
votes
0answers
39 views

Device already mounted on resource is busy

Issue ::: I install Redhat 5.10 x64 on server which had faulty hdd . I removed the old faulty hdd and installed new one with 500GB capacity and after installation i need to copy some data from old ...
2
votes
1answer
36 views

What is /proc/filesystems supposed to be and why is it different from /lib/modules/linux_ver/kernel/fs?

The very little documentation about /proc/filesystems says it is a "list of supported file systems". I see a lot of file system modules in /lib/modules/linux_ver/kernel/fs, most of which do not appear ...
1
vote
1answer
176 views

Unreadable backup directory on a USB drive

The title pretty much sums it up. I was editing a script I wrote some time ago to automatically backup the contents of my Raspberry Pi SD card, and in the course of editing, I missed a "/", and so ...
1
vote
1answer
2k 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 ...
0
votes
0answers
50 views

What are the File Systems in UNIX? [closed]

On Windows I know that we can format disc volumes with two filesystem types: FAT and NTFS. I'm interested in what filesystem types one can format hard disc volumes with and use for file storage on ...
2
votes
0answers
6 views

Don't I need to move a shrunk filesystem before resizing the partition?

I have a partition of some size X GB filled by an ext4 filesystem. Now, I want to shrink this partition (and the filesystem) to only take up the latter X/2 GB. I'm command-line tools and no parted. ...
2
votes
1answer
28 views

lsof misses files

Why does lsof fail to list files I have open. For example I open with the text editor some file in my home directory. $ gedit ~/.python_history lsof does not even work as root $ sudo lsof | grep ...
0
votes
2answers
15 views

Creating and mounting a new file system on CentOS

On my CentOS machine I have to create a new partition/file system, not sure which one I need to be honest I am a little bit confused about it all. If someone could explain it and walk me through it ...
50
votes
1answer
2k views

Why are there so many different ways to measure disk usage?

When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many ...
2
votes
3answers
383 views

How to know if /dev/hda2 is Primary partition or Extended partition

If all four primary partitions exist on an IDE drive, they are numbered as follows: /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda4 We have also the partitions on a disk with one primary partition and ...
1
vote
0answers
14 views

How do I speed up recovering “stuck” cifs mount?

I have a cifs mounted like this: mount.cifs -o uid=myuser,user=...,dom=... //IP/Share /some/mountpoint/ When I try to access it after period of inactivity (or when the network is inaccessible), it ...
2
votes
4answers
1k views

Why is writing SLOW on raw device, and FAST on filesystem (USB key)?

I have a USB key (PQI U822V-Speedy 32G) that I am trying to benchmark quick'n'dirty on Linux. I'm testing write bandwith. dd on raw partition I created a partition starting at sector 2048, then did ...
6
votes
3answers
11k views

how to find the type of img file and mount it

I have to mount a .img file but I don't know what type of .img it is. How can I figure out what type of .img file it is? # mount -t auto -o ro,loop gmapsupp.img /mnt/iso/ mount: you must specify the ...
1
vote
0answers
40 views

Home server bottleneck (filesystem server)

I am trying to set up a filesystem server, so that I can use my various laptops to transparently mount a directory containing many VirtualBox VMs, some of which run full graphics environments. I will ...
0
votes
4answers
52 views

How does one inspect the directory structure information of a unix/linux file?

In Unix file systems directories are just special files with special directory structures that hold the child filename, filename size and inode reference number. The actual file metadata beyond ...
0
votes
2answers
6k views

How to force drop all partitions and erase disk from terminal?

My question is in fact related to OS X, however I'm using Linux tools to resolve my problem. I'm trying to delete all the partitions on my SSD drive and create new GUID (HFS+) partition table. Native ...
2
votes
2answers
1k views

Sphinx Search shutting down after `FATAL: accept() failed: Too many open files`

I'm running Sphinx Search Server V2.06 ( the latest stable release ) on an Amazon EC2 with Linux CentOS. In general it is running fine, but the searchd.log is showing this error over and over with ...
1
vote
1answer
40 views

Group member cannot list files in directory made by group

I am using Centos 6.6. I made a group with the following call sudo groupadd www-OtagoHarbour sudo usermod -G www-OtagoHarbour apache sudo usermod -G www-OtagoHarbour OtagoHarbour When I enter ...
0
votes
1answer
40 views

Why does my RAID 1 NAS have to “synchronize”?

I have a new QNAP TS-451 NAS with two new 3TB drives, installed as a RAID 1 pair. As I copy data on to it, it seems to spend the next few hours "synchronizing" the RAID group. (The web console shows a ...
0
votes
2answers
770 views

File system CRC check

I know that before running the kernel, u-boot (the boot loader) will check the kernel image CRC. Only if it is correct it will go further, else it will give a "Bad CRC" error. I want to do same thing ...
2
votes
1answer
27 views

Should I increase inode count for a rsync backup volume?

Considering rsync used for incremental OS backup creates hardlink farms for all non-differing files, if I use it to backup a large, slowly-changing system regularly to a dedicated volume, I'm worried ...
1
vote
1answer
31 views

“First orphan inode” in tune2fs output

I ran tune2fs -l /dev/sda on my production server today and got the following output: tune2fs 1.42.9 (4-Feb-2014) Filesystem volume name: <none> Last mounted on: / Filesystem UUID: ...
1
vote
1answer
57 views

Tiny directory on ext4 file system taking up 2024 blocks? [closed]

I have an ext4 file system on my work computer and I came across a directory that is taking up >1 mb of space. There are 7 entries in the directory. The directory hasn't ever contained more than 20 ...
14
votes
7answers
894 views

Is it bad to have filesystems nearly full?

Example I have large/small sized filesystems JFS2/EXT3, whatever (and various OS, Linux, AIX), but some of them are on ex.: 90%, 95%, 98% usage. Questions: Having filesystems nearly full does ...
2
votes
2answers
877 views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf ...
1
vote
1answer
22 views

Is the directory that a file-system is mounted on (mount point) a device file of the file system's type?

A device file is an interface to the device driver of the device. When we mount a file system to a directory, is the directory considered a device file (of the file system's type)? If the ...
5
votes
2answers
42 views

How to find the number of bytes rewritten to a folder hierarchy?

I want metrics for how much writing and reading have been done to a folder. vmstat -d gives metrics at the whole disk level. iotop will give per process rw stats. But how can I find out how much ...
1
vote
0answers
44 views

Is file creation atomic?

I have a problem to solve: I just can make one CURL operation each second, but this operation can send up to 40 parameters. Those parameters are Id's. I have one web site that may sometimes ask for ...
13
votes
6answers
493 views

Showing only “interesting” mount points / filtering non interesting types

I used mount to show mounted drives, I don't want to see the not so interesting ones (i.e. non-physical). So I used to have a script mnt that did: mount | grep -Ev 'type (proc|sysfs|tmpfs|devpts) ' ...
42
votes
4answers
30k views

Reserved space for root on a filesystem - why?

I understand that by default, newly created filesystems will be created with 5% of the space allocated for root. I also know you can change the defined space with: tune2fs -m 1 /dev/sdXY What I'm ...
0
votes
2answers
26 views

Are the size of a memory page and the size of a file system cluster always the same?

From http://en.wikipedia.org/wiki/Page_%28computer_memory%29 A page, memory page, or virtual page is a fixed-length contiguous block of virtual memory, described by a single entry in the page ...
4
votes
3answers
236 views

Linux file system that ages off older files when partition is full

I am wondering if there is a file system equivalent to a round-robin database, which for a fixed size, ages off the oldest files. It is pretty easy to implement with a simple cron job, which I have, ...
1
vote
1answer
41 views

Replacing a partition within a .img with another one

I have 2 .img files (embedded Linux images, each with 2 partitions- a boot partition and a rootfs). I need to replace the rootfs partition in one with the other's. How can I do this In the .imgs ...
1
vote
2answers
29 views

How do I know ACLs are supported on my file system?

Is it enough to see getfacl giving no error, or do I have to check some other place to see whether or not ACLs are supported by the file systems?
2
votes
1answer
44 views

Meanings of defragmentation and when it is needed

There seem to be two meanings of defragmentation: Defragmentation is a process that reduces the amount of fragmentation. Fragmentation occurs when the file system cannot or will not allocate enough ...
1
vote
1answer
77 views

Mount Solaris Partition in Linux

I have a USB disk which when connected to a CentOS 6.5 system shows this as the output in fdisk -l. Disk /dev/sdn: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = ...
2
votes
2answers
2k views

Command not found problem in Linux-Ubuntu terminal

My friend is having problem in trying to call make to compile an application which both me and a second friend have previously successfully compiled. The file uses a "linux-devkit" pack that possess ...
1
vote
2answers
56 views

What and Why? - File Descriptors [closed]

What is a file descriptor? Why do we need them?
1
vote
4answers
435 views

Fast incremental searching of files from shell

I like the command-t script in vim editor that is able to intelligently and incrementally search for files. Is there some similar program that is able to search from shell? It would be great if it ...
-1
votes
0answers
30 views

Access Windows's data on a dual-boot computer

I installed Ubuntu by making a partition in my PC. I want to access my data that is present in the Windows OS (Windows 8) in my laptop through Ubuntu. How can this be done? My windows OS is showing ...