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

learn more… | top users | synonyms (2)

0
votes
2answers
11 views

How does ext4 decide number of blocks of a file?

I'm playing with stat command which basically shows the inode information. Though I'm showing the information of a small file (146 characters), it shows 8 blocks. I was wondering why is that? Since ...
1
vote
1answer
505 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 ...
2
votes
2answers
10k views

Read-only file system error while creating a directory?

I have one of our production Ubuntu machines set up by PRODUCTION Unix team here in our company, but somehow when I am doing like this - root@machineA:/test01# ls -lt ls: reading directory .: ...
5
votes
2answers
779 views

zerofree verbose returns what?

zerofree -v /dev/sda1 returned 123642/1860888/3327744. The man page does not explain what those numbers are: http://manpages.ubuntu.com/manpages/natty/man8/zerofree.8.html I found some code on ...
1
vote
1answer
15 views

Is it reasonable to use a journaling FS on a filesystem image that is stored on a filsystem that already provides journaling?

I need a filesystem image to put 150k files there, so they should be easily relocatable, i.e. mounted as a folder, when in use, unmounted and copied somewhere when needed. Due to the large number of ...
0
votes
2answers
18 views

Transmission keeps seeding after downloaded file has been deleted

I'm using Transmission 2.82 on Xubuntu 14.04, and I noticed that after I deleted the downloaded file permanently from files manager, the job in Transmission was still active and kept seeding, and ...
1
vote
1answer
463 views

Backup Files on ext4 to external NTFS drive

Would there be any problems in copying files on my Linux system with ext4 filesystem to an external drive that is formatted in NTFS? I'm reinstalling my OS and intend to copy these files back to my ...
43
votes
3answers
15k views

What is the difference between procfs and sysfs?

What is the difference between procfs and sysfs? Why are they made as file systems? As I understand it, proc is just something to store the immediate info regarding the processes running in the ...
0
votes
0answers
13 views

Resize system partition

I would like to re-size xvda1 to 300G. I am using aws ec2 with Ubuntu 14.04. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 300G 0 disk `-xvda1 202:1 0 8G 0 part / xvdb ...
0
votes
1answer
34 views

Incorrect used/free space

I've encountered this issue. I have a VM with Debian 8 on it. I gave that disk 350gb, /dev/sda1 is 344gb, used is 330gb and it's 100%. Situation is as follows, I'm importing huge mysql dump (300gb in ...
1
vote
1answer
17 views

What are the pros and cons of badblock's two non-destructive tests?

I use badblocks to test my 32GB class-10 microSD card that I use to boot my RPi. I already have a functioning file system on it, so I don't want to scan it with the -w option (destructive read-write ...
0
votes
3answers
33 views

Why is /dev a subdirectory of / (the root)? [on hold]

Why is /dev a subdirectory of / (the root)? I ask because isn't everything in the file system also mounted from the computer's hard disk which show up in /dev? Then why isn't dev the root directory ...
6
votes
2answers
968 views

linux: How to determine the best filesystem format?

About a year ago I changed from running Windows as dual boot to very rarely running Windows as a VM. As a result most of my partitions are in ntfs ( so I had access on both sides of the boot ). I have ...
4
votes
1answer
1k views

What are the different ways to set file permissions etc on gnu/linux

On Unix, a long time back, I learned about chmod to set permissions, and to allow programs to gain privileges (using setuid, setgid). I have recently discovered some newer commands, on GNU/Linux: ...
1
vote
0answers
22 views

Is there a way to mount two folders into one mounting point, so that folders are mirrored?

I want some tool like $ mirroring_mount ~/first_location ~/second_location ~/mount_point So, when I edit file in ~/mount_point, it is edited in both locations, and if ~/first_location and ...
3
votes
1answer
17 views

White-list certain binaries and scripts inside a noexec/nosuid mount?

Just like the question. Is it possible to white-list certain executables from a noexec mounted FS? for instance, mine looks like this: /dev/vg/lv on /tmp type ext4 (rw,noexec,nosuid)
3
votes
1answer
31 views

File execution is denied

I just can't execute any file. For example: And I use zsh now,bash has the same problem.
5
votes
3answers
60 views

How filesystem atomically writes a block to disk?

Block is an abstraction provided by filesystem, block size is integer multiples of disk sector size. Suppose a filesystem uses 4K as its block size, and the disk sector size is 512B, when the ...
0
votes
2answers
38 views

How to see information inside inode data structure

I can do an ls -li to see a file's inode number, but how can I list information inside a particular inode by using that inode number.
1
vote
0answers
20 views

Determine affected file given logical block number [duplicate]

Given the logical block number from these log lines in /var/log/messages, is there a way to determine what file was affected? ...Buffer I/O error on device sdd1, logical block 203953715 ...lost page ...
0
votes
0answers
245 views

What's the problem with fsck.ext3?

It seems there is some problem with my HDD in my satellite box. The box records to and plays video from the HDD, but occasionally it hangs (it was stable before). It's Linux version ...
0
votes
2answers
1k views

Unknown btrfs error, partition won't mount

a day or so ago my btrfs partition just stopped working, which means i can't mount it anymore which is why my Fedora Linux doesn't boot anymore. I don't really have much information, but Gparted ...
1
vote
1answer
262 views

Problem after deleting a system partition on another HD

While installing Debian Wheezy, I decided to use my another HD as /home/igor/Documents/, and the system installed correctlly nothing wrong happened, but later I decided to delete that partition so I ...
0
votes
0answers
49 views

Ubuntu file system corruption error won't boot

my digital ocean droplet is going through some tough errors and I can't find any help. Perhaps someone here could point me the way. I was using the droplet normally, after running a failed DeployBot ...
5
votes
1answer
542 views

What is the meaning of the contents of /proc/net/unix?

On my Android device there is the file called /proc/net/unix who's content does not conform to that of any standard linux distribution (which show the unix domain sockets.) First few lines: Num ...
36
votes
3answers
5k views

Is an ISO image file a filesystem in its own right?

I am trying to understand what the relationship a xxx.iso file has to the other aspects of a block device, e.g. partitions and a file system. It's common for people to describe accessing or making a ...
0
votes
1answer
35 views

On-the-fly Textfile template engine

Is there a dynamic/on-the-fly textfile template engine that works on the filesystem level, e.g. via fuse, in a similar fashion to web-server html template engines? Imagine you have, e.g. a ...
0
votes
1answer
26 views

How can I share an internal disk via NFS? (What am I doing wrong?)

I have an NFS server (machine A) that mounts a 4TB internal hard drive at /data/Storage, and exports /data to client (Machine B). If I put a regular file in MachineA:/data, you can see it in ...
-3
votes
1answer
25 views

How does ext[n] delete files?

I know that a lot of deleted files can theoretically be recovered, which suggests that "deleting" doesn't actually remove the information. So how do the various extN (e.g. ext4) filesystems delete ...
13
votes
2answers
22k views

How do you make samba follow symlink outside the shared path

This is Ubuntu server 10.04 64 and samba 3.4.7. I have a shared directory /home/mit/share and another one /home/temp that I link into the shared one: ln -s /home/temp /home/mit/share/temp But on ...
2
votes
1answer
2k views

/etc/fstab is mounting rw filesystem as read-only

A partition of my internal hard drive (not the root partition) I want to mount automatically on boot. I've been using /etc/fstab to mount my external backup drive automatically read-only, so this is ...
1
vote
0answers
13 views

Partition on raid array incorrectly states it is full

Sorry if this is the wrong place to post this question. I have a small home media (samba) server, which has a software (mdadm) raid10 array, with 4 disks, each being 3TB. It has only one xfs ...
4
votes
1answer
44 views

File permissions on Linux?

I am surprised that /mnt, /media or even /opt are not writable by myself on my own system (Linux-Ubuntu). Should I always use sudo for any action on these paths? Or would it be better to add myself ...
3
votes
3answers
35 views

Is CentOS using synchronous or asynchronous write

Is CentOS using synchronous or asynchronous write? Is ther any way to check or to change this?
0
votes
0answers
13 views

Is it possible to format a disk within an iPXE script?

I can mount a disk in the script, but it has to be formatted. I can't seem to find a way to format a disk within an iPXE script. Is it possible? How? Thanks
2
votes
0answers
17 views

How to find the code segment of a Linux driver in tmpfs? (in real-time) [migrated]

I have a character driver called drv1, and a user application uses ioctl to communicate with it, which will transmit the parameter struct file *filp. Now I want to find out the address of the code ...
1
vote
1answer
37 views

Fast filesystem for virtual backup environments

I know filesystem supporters war is behind the corner and there are plenty of fine tuning guide for each filesystem in the wild, so please stick to the specifications: I'm asking what would you ...
0
votes
0answers
20 views

Performance of FS directory structures

Given a large (hundreds of thousands objects) fs-based database of uniquely identified objects with potentially a large number of long prefixes with many objects sharing the same prefix are treeish ...
2
votes
1answer
920 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 ...
4
votes
1answer
81 views

What is using trillions of inodes on my almost empty server? [closed]

I have 18446744069923968593 inodes (which seem really too much) and much more problematic: I have 18446744069414835186 used so the system won't create any other file (even if the disk is almost ...
11
votes
4answers
6k views

How can I delete a folder with lots of subfolders fast?

I have a folder with 266778 subfolders. How can I delete it? I have tried cd ~/.local/share/Trash/ sudo rm -rf * but it takes much time. After 1 minute 25 seconds real time and 0.072 seconds user ...
3
votes
1answer
23 views

How does Linux manage “simultaneous” writes to swap/disk partitions in virtual memory?

I'm currently working on an educational operating system called Pintos. While implementing virtual memory, one of the issues that I'm having is writing data to swap in a page fault that happened while ...
-1
votes
0answers
15 views

Mindi module from Mondo Rescue can't find Kernel

I'm trying to recover from an accidental format of a 1TB HDD using Mondo Rescue. Mindi's log is reporting FATAL ERROR. Please use -k <path> to specify kernel. Tried to use all below: sudo ...
11
votes
3answers
45k views

How can I expand ext4 partition size on debian

I have a drive with this configuration: fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
0
votes
0answers
18 views

Unable to create a filesystem on /dev/sda2 on a virtual machine , device showing busy, Kernel can't read partition table

This question has been asked several times on this platform, but none of the solution resolves my issue. Linux OS: RHEL 6.5 I created a partition /dev/sda2. # fdisk -l Device Boot Start ...
9
votes
2answers
2k views

Linux File Versioning?

We are migrating from A VMS environment to a Linux environment for some old alpha servers we are decommissioning. The one challenge I have not been able to overcome is file versioning. VMS keeps ...
2
votes
2answers
1k 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
38 views

Is it safe to mount same ext4 filesystem at different mount points?

I know there is option "--bind" for multiple mount operation to handle such case. But ext4 can be directly mounted at different mount points, without option "--bind". So, I wonder whether it is safe ...
2
votes
2answers
46 views

Why does df show negative available space?

Filesystem Size Used Avail Capacity Mounted on /dev/ada0p2 1G 624M 302M 67% / devfs 1.0k 1.0k 0B 100% /dev /dev/ada0p4 503M 20k 463M 0% ...
0
votes
1answer
45 views

Need permission for Windows client to access linux NFS [closed]

I have a linux NFS the /etc/exports is like below: /opt/nfs 10.8.0.0/20(no_root_squash, rw, sync) I can r/w files from other linux machines. However, I only have read permission on Windows client. ...