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

learn more… | top users | synonyms (2)

0
votes
1answer
39 views

Specify a fallback file for a broken symbolic link

I want to create a symlink, foo.txt, needed at system startup, to another file, bar.txt on a different mount point. The mounted partitions are different physical drives as well. ln -s /baz/bar.txt ...
3
votes
1answer
35 views

link count of deleted files

I am reading in man lsof that +L enables the listing of file link counts. A specification of the form "+L1" will select open files that have been unlinked. I don't understand why deleted files ...
2
votes
1answer
121 views

How can I get write access to my usb drives?

I have trouble writing to external drives. They are monuted automatically in Nautilus, but I can not copy anything there ('Paste' and 'create Folder' are just greyed out). Does Anyone have ideas what ...
3
votes
3answers
171 views

Using a unix filesystem on an external hard drive?

After repeated trouble with my NTFS formatted backup/media hard drive (undeletable files, etc.), I decided to reformat it with a unix file system (ext4 preferred). I do not intend to use it from a ...
2
votes
2answers
242 views

Merging /usr/bin and /usr/sbin into /bin (GNU/Linux)

I've read quite a number of discussions about people wanting to merge /bin and /sbin into /usr/bin. The same cannot be said for doing it the other way around. Is there any technical reason why one ...
2
votes
1answer
61 views

How to link the unlinked files?

When you rm a file it will call unlink(), and unlink() will remove the file from the Directory entry and its inode is freed. But, the actual content of the file is still in the disk. Is there any way ...
3
votes
2answers
215 views

File system that never breaks (data loss acceptable)

There're several existing topics revolving around this issue, but what I seek is slightly different. I have an sd card on an embedded Linux and it suffers from power loss. I might be able to modify ...
1
vote
0answers
44 views

Citrix XenServer, all packages appear to be 32bit

I'm hoping to use Citrix XenServer for a group of 4/5 machines. One of these machines has 18TB of storage (after RAID5 is taken into account). I've installed XenServer and mkfs.ext3 is the only ...
1
vote
1answer
56 views

Filesystem unmounted after weekend

I have a problem with an AIX server what I manage. I had some filesystem created to store the structure of an Oracle instance. But after the weekend scheduled reboot the filesystems are unmounted when ...
3
votes
1answer
271 views

rootfs.jffs2 files system won't fit in mtd3

I have a files system that I am trying to put in flash memory mtd3 partition. I first boot using uboot and then do run sdboot to boot using SD card as shown below: U-Boot-PetaLinux> ...
9
votes
2answers
471 views

On system memory… specifically the difference between `tmpfs,` `shm,` and `hugepages…`

I've been curious lately about the various Linux kernel memory based filesystems. Note: As far as I'm concerned, the questions below should be considered more or less optional when compared with a ...
1
vote
0answers
82 views

How to use fslint (in particular findnl) on the command line to actually mimic the behavior of the fslint-gui?

So I am trying the fslint tools. However, the help included in those tools as well as the man page don't indicate that the cleanup actions offered by the fslint-gui are also available through fslint ...
3
votes
1answer
73 views

ext4, why 70k file takes 88 blocks

[root@xx]# cat -n create_extents.sh 1 #!/bin/bash 2 3 if [ $# -ne 2 ] 4 then 5 echo "$0 [filename] [size in kb]" 6 exit 1 7 fi 8 9 ...
42
votes
1answer
1k 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 ...
0
votes
0answers
31 views

How not to boot from RAMDISK?

My all files and folders get disappeared after a system reboot. I am running petalinux on zynq chip by xilinx. I got some hint why is this happening. Actually my entire system is booting from RAM. ...
4
votes
3answers
272 views

Hidden Files&Directories in user's home directory [closed]

I am in my user's home directory, I do: ls -a Then it shows me large number of hidden files and directories in my user's directory. Which of them I am allowed to remove? Which ones are necessary ...
1
vote
0answers
13 views

What forms of discretionary access control are there?

I know it's kind of an unguided question, but just so I have a broader sense of how things are I was interested in getting a reasonably complete list of discretionary access controls available on Unix ...
2
votes
1answer
360 views

jdb2 keeps Hard Disk busy all the time

My system became too slow last few days. The hard disk indicator is on all the time. To discover which process is keeping the disk busy i run this command: # while true; do date; ps auxf | awk ...
0
votes
0answers
461 views

CentOS 6.5 File system permission?

I am wondering, i have installed CentOS 6.5 Live-DVD in my company PC. After all the LAMP installation is done, am having a trouble with the File System permission settings. In the File system ...
3
votes
1answer
102 views

Finding unallocated disk space (partitioning)

Another (hobbiest) sys admin on they same system as me, pointed out that there is 30Gb of unallocated space on the system. I have need of that space to create a new partition. (I'm going to make a ...
2
votes
4answers
521 views

Bash script to output path to USB flash memory stick

How would I return (output) the path to any USB flash memory stick(s) connected to the local computer using bash (Ubuntu and Linux Mint)? Background: I'm providing users with an automated backup ...
0
votes
2answers
49 views

Are there any tools to recover files from a previously formatted WinNT drive?

I scratched the previous Windows NT filesystem, now I'm running Ubuntu. I've created the whole disk as EXT4. Are there any tools to locate and save some previous Windows files from the original ...
8
votes
4answers
141 views

Virtual write-only file system for storing files in archive

I have an embarrassingly parallel process that creates a huge amount of nearly (but not completely) identical files. Is there a way to archive the files "on the fly", so that the data does not consume ...
8
votes
1answer
366 views

What does it mean to “quiesce” a filesystem?

Actually, I don't care whether you talk about filesystems or any other thing that might be Quiesce'd in a software setting. I'm just looking for some more clarification about what this bit of ...
0
votes
0answers
27 views

What do the number in the file metadata mean [duplicate]

I typed ls -l in the terminal to get the file metadata of all files in the current folder What do the circled number : 1 & 2 represent in regard to the file metadata ???
6
votes
1answer
453 views

preserving extended attributes with cp/rsync

When copying with cp, the extended attributes are not preserved, even with explicit cp -a --preserve=all /source /dest or cp -a --preserve=xattr /source /dest The same is with rsync, i.e. ...
-8
votes
2answers
85 views

File System in Linux [closed]

Why we need a filesystem. Can we use OS without file system because our kernel has already in build module. For example if we doesn't need /lib/modules directory .So why we need file system
3
votes
1answer
44 views

understanding the “chunk size” in context of RAID

Am I correct that chunk size in context of RAID is essentially the same thing as cluster in file-system context? In other words, chunk size is the smallest unit of data which can be written to a ...
0
votes
4answers
109 views

What's the advantage of mounting a file system in the same file system

RE-EDIT: We can usually see mounting a file system to a mountpoint, like: /usr/bin/truncate -s 128M /tmp/foo chmod 0700 /tmp/foo mke2fs -t ext4 -m 1 -F /tmp/foo mount -t ext4 -o loop /tmp/foo /mnt ...
4
votes
2answers
2k views

HDD no longer able to mount after editing /etc/fstab

I have an SSD which holds / and my home directory, but I also have a 1TB HDD with most of my music on. I tried to edit /etc/fstab to automatically mount the HDD to save me time. I am running Kubuntu. ...
2
votes
1answer
75 views

How use tune2fs in with dd?

In this tutorial is written To regain unique UUIDs, use tune2fs /dev/sdbX -U random on every partition. Ok, but how can I use it with this command? dd if=/dev/sda of=/dev/sdb bs=4096 ...
18
votes
2answers
1k views

Where is filename stored on a filesystem?

Where is filename stored on a filesystem? It's not in inode or with the actual file content since we have hard link that two filenames can point to the same inode.
1
vote
1answer
99 views

File monitoring to pre-empt hacker

We have a hacker occasionally attempting to hack a site, and so far unsuccessful, but I would like a way to determine if the site has been compromised (i.e., files edited). The type of attacks are LFI ...
12
votes
4answers
2k views

Find where inodes are being used

So I received a warning from our monitoring system on one of our boxes that the number of free inodes on a filesystem was getting low. df -i output shows this: Filesystem Inodes IUsed ...
2
votes
2answers
114 views

How was ntfs-3g created?

Since NTFS is a proprietary file system created by Microsoft, how did the ntfs-3g developers manage to create an open source version of the NTFS drivers without referring to the NTFS source code? Or ...
1
vote
0answers
76 views

How can i determine the block size of an vxfs filesystem?

I am looking for a way to see what the current blocksize of an filesystem is. Normaly i would use tune2fs -l | grep "Block size", but that doesn't work on vxfs. I googled a bit and found fstyp -v ...
3
votes
3answers
138 views

Is it mandatory to have a file system and MMU in Linux? [closed]

Suppose I do not need a filesystem and I have only applications where data reloading may not be required - so MMU may be redundant. Can I remove these two items from Linux, and boot the OS ...
0
votes
1answer
82 views

Recovering truncated file

I'm in a peculiar situation. While editing a Perl program I accidentally truncated the file to zero length (using an Emacs lisp code I was developing). I need to recover that program... How do I that ...
3
votes
2answers
53 views

Difference between running mke2fs and setting FS type in cfdisk?

When I run cfdisk (or fdisk) to partition a storage device, there's a point where I can specify the file system type. Does this do anything with respect to the actual file system? Suppose I want to ...
2
votes
3answers
164 views

Filesystem surprisingly large

I'm running a dual booted Windows 7 with Linux Mint right now and I just checked my filesystem size and it jumped from quite small (about 30 GB) to 200 GB recently (no clue what triggered this, I just ...
0
votes
1answer
43 views

Copy a file that is in the middle of being written

I have a program that writes to the standard output. It does not write all info at once, it does computation and then writes new bits. The output of the program is being stored in a file. $ ...
0
votes
1answer
45 views

Partitionning disk for installation, what size should I give to filesystem? [closed]

I am planning to install debian on dual boot, I have 250GB free for that, but I d prefer answer for any size. I want to separate filesystem on different partition (/, /boot, /root, /home, /var), but ...
4
votes
2answers
2k views

Fix EXT4-fs bad geometry (block count exceeds size of device)

I have a micro SD card which has a FAT32 partition and an EXT4 partition. The EXT4 partition will no longer mount. dmesg shows the following error: EXT4-fs (sdb2): bad geometry: block count ...
5
votes
1answer
420 views

Cannot delete broken symbolic link

I have a symbolic link formerly pointing to a Dropbox directory. I don't know what I did wrong, but apparently now it points to itself. hyper@mypi:/home/hyper/test$ ls -l total 1024 lrwxrwxrwx 1 ...
1
vote
0answers
58 views

Optimization for an SSD?

I am running Fedora 20 on a Laptop ( Lenovo Ideapad Yoga 2 Pro ) with an SSD. My filesystem is LVM with ext4 as the format option. I am now running Fedora as the only OS on the system with Legacy BIOS ...
0
votes
1answer
44 views

mke2fs difference between -i and -I options

sudo mke2fs Usage: mke2fs [-c|-l filename] [-b block-size] [-C cluster-size] [-i bytes-per-inode] [-I inode-size] [-J journal-options] [-G flex-group-size] [-N number-of-inodes] [-m ...
2
votes
1answer
39 views

Ignore file changes

I have a process, which generates a file with configuration data and then calls a subprocess with this data as parameter. I'd like to override the configuration data, which is passed. The problem is, ...
3
votes
0answers
69 views

How does fsnotify setting affect system performance?

Occasionally a software package I install complains that the default fsnotify setting is far too low for decent performance. Intellij IDEA or crashplan are two examples. They suggest using fsnotify ...
0
votes
1answer
53 views

Find total file size of a disk

I have a corrupted NTFS volume. I ran rsync to copy everything from it, which reported a total # bytes transferred at the end. What's another tool I can use to verify the total # bytes on the disk ...
4
votes
3answers
160 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, ...