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

learn more… | top users | synonyms (2)

4
votes
2answers
5k views

How to repair a corrupted HFS+ partition from a damaged hard-disk?

I have a friend's Mac OS X disk that comes with an HFS+ partition. I am supposed to recover the personal data from this disk, and I'm not yet sure if the filesystem is corrupted or the disk is dying). ...
3
votes
1answer
99 views

Something like VMware “Changed Block Tracking” (CBT) in linux

I'm wondering if is there any possibility to track changed blocks in linux with an ext3/ext4 filesystem (or a specific one supporting it). I mean a feture like the Changed Block Tracking (CBT) ...
2
votes
1answer
91 views

Linux Equivalent of Windows Reparse Points?

I've recently become aware of a neat feature of Windows file systems called a reparse point. My understanding is that they are files whose contents when read are not the contents on the actual disk, ...
1
vote
2answers
50 views

Machine keeps backups of files that I have already deleted

I recently found out that my machine keeps backups of files that I have already deleted. For example, a file called a.svg that I have deleted in the past, still exists in the directory it was deleted ...
8
votes
2answers
342 views

Why does the Linux kernel report “out of disk space” when in reality it is out of i-nodes

A friend of mine who likes programming in the Linux environment, but doesn't know much about the administration of Linux recently ran into a problem where his OS (Ubuntu) was reporting "out of disk ...
2
votes
2answers
512 views

How to clean journals in ext3/ext4 filesystem? [closed]

Some preamble: I'm taking bitwise copy of disk devices (via dd command) from twin hosts (i.e. with the same virtualized hardware layout and software packages, but with different history of usage). To ...
3
votes
1answer
298 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 ...
0
votes
0answers
14 views

Recover deleted Directories in centos [duplicate]

How can we recover deleted directories in CentOS 64 bit. I have tried it with test-disk but unable to update. Can anyone let me know the solution?
0
votes
1answer
75 views

where is the user content on a Mac OS X disk?

I have a friend's Mac OS X disk that comes with an HFS+ partition. I am supposed to recover the personal data from this disk (it's not yet clear if the FS is corrupted or the disk dying), but for the ...
2
votes
1answer
32 views

How to prepare a new MicroSDXC card for use with Android?

After buying a 64 GB MicroSDXC card and plugging it into my Android phone, it wasn't recognized. What do I need to do to use the space on this device? Many articles suggest installing closed source ...
2
votes
0answers
64 views

How to restrict directory name creation to pattern?

I have FreeNas CIFS share. Mount command result: /dev/ufs/VSPHERE on /mnt/VSPHERE (ufs, NFS exported, local, soft-updates, nfsv4acls) I want to restrict users from creating directories that do not ...
0
votes
3answers
228 views

How are filesystem snapshots different from simply making a copy of the files?

by doing this, # btrfs subvolume snapshot /mnt/1 /mnt/1/snapshot # tree /mnt/1 /mnt/1 ├── a ├── snapshot │ ├── a │ └── subv └── subv └── b 3 directories, 3 files We can create snapshot ...
3
votes
1answer
181 views

Running du command reports infinity as disk usage

I'm trying to get the total size of what's stored in my home directory. To my surprise, it reports infinity after a few seconds: /home/user $ du -sh . Infinity Huh? I'm pretty sure there are no ...
3
votes
1answer
163 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 ...
3
votes
1answer
337 views

How can I Allocate More Space to a Filesystem Mounted on /?

I am new to Linux so please forgive the incorrect use of vocabulary. My company has a private cloud that provisions VM's in a KVM. I received a RHEL 6.4. When I provisioned it, I asked for 50GB of ...
1
vote
1answer
124 views

Behavior of filesystem when mount option has been specified as error=panic

Background I have a debian system on which I have something like the following in the fstab file. /dev/sda1 / ext3 defaults,noatime,errors=panic 0 0 The option I wish to focus on is the ...
0
votes
0answers
43 views

Big file overwriten with a 0B file

I just opend for write (by mistake) a big file with data (about 200 MB). Now I have this file and it has 0B. I want to know If I can find raw data on disk for recovery... ?
2
votes
1answer
336 views

Temporary files problem

Recently my server started to behave weird and I have two issues which I believe to be related. In Vi : When I try to save a file I get : E509: Cannot create backup file and I need to save ...
1
vote
1answer
33 views

Monitoring PHP file access with loggedfs - access denied

I am trying to see how many files are included for each page call on my site. When I run: sudo loggedfs -f /path/to/webroot I get a printout of files - I think from a cron job that might be ...
-1
votes
2answers
48 views

Find files systemwide that are created within a date range [duplicate]

Can someone let me know how to use command line to find files systemwide (from root) that are created within a specific date range? Many thanks
2
votes
2answers
344 views

Meaning of Crossing filesystem boundaries, --one-file-system, etc

I'm planning to use rsnapshot to backup my whole Linux system, though I'm confused by -x option (same of one_fs in rsnapshot.conf). The man page says: -x one filesystem, don't cross partitions ...
0
votes
2answers
37 views

How to make file system on DVD

I ran the below command to check file system on a few DVDs. sudo file -s /dev/sr0 The DVDs which were working had responded properly to this command. But the DVDs which were not getting burnt (by ...
4
votes
1answer
53 views

How overwriting works for non-contiguous files?

In ext4 (or ext*, ntfs, fat) file system, if I overwrite a non-contiguous file will the same non-contiguous storage spaces be used or there's a different way to handle such?
2
votes
2answers
332 views

How to know file system of any medium like hard disk, CD/DVD, flash drive? [duplicate]

Is there any command or any way to know what file system is there on a medium like hard disk or CD/DVD or flash drive etc. From GUI gparted one can know the type on hard disks/pen drive but not of ...
4
votes
1answer
270 views

How can I dump the contents of a filesystem's superblock?

I understand that I can list the location of a filesystem's superblocks using the following commands. Example First get the device handle for the current directory. $ df -h . Filesystem ...
12
votes
1answer
728 views

What is the relationship of inodes, LBA, Logical Volumes, blocks, and sectors?

I'm a bit embarrassed to ask this question but I'd like to see a diagram that shows how the following things are related. It would be nice if the diagram also included any transforms required to map ...
6
votes
2answers
539 views

How can I find out a file's range of LBA's using its inode?

While answering this U&L question titled: What command do I use to see the start and end block of a file in the file system?, I tried to figure out if it was possible to determine a file's LBA ...
2
votes
3answers
202 views

What command do I use to see the start and end block of a file in the file system?

Is there any command that will output the beginning and ending blocks of any file?
1
vote
1answer
65 views

Running 'diff 'command after the 'find' command

I'm running this code on shell mv -f ~/sites/text1.txt ~/sites/text2.txt;find ~/sites/ -type f -exec sha1sum {} >> ~/sites/text.txt \;diff ~/sites/text1.txt ~/sites/text2.txt; However every ...
3
votes
2answers
102 views

Explanation for mount -t and mkfs

What is the purpose of specifying which type of file system will be mounted with argument [-t] if you previously already used mkfs.[whatever] to format your HDD/flash drive? I have no problem in ...
0
votes
0answers
277 views

touch: setting times of No such file or directory

I got strange issue with TeamCity server (from log-file): [2013-12-26 16:48:52,915] WARN - jetbrains.buildServer.SERVER - Failed to save custom data to the file: ...
0
votes
0answers
115 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
1answer
2k views

Granting all users access to mounted CIFS shares

I'm trying to set up a debian server that will run several network-based services. These services need access to an external network drive to store their data. For security reasons, I have set up each ...
1
vote
1answer
421 views

How to change swap partition from primary to logical?

I was installing Mint on dual boot with Win8 and I accidentally created primary swap partition. Is there any way I can change the partition type from primary to logical? Or do I have to delete those ...
0
votes
1answer
444 views

Elementary OS System Settings has disappeared

I don't know how this happen. Part of the system setting has disappeared. How have any idea to restore them ?
0
votes
1answer
1k views

How to create a volume group, logical volume and a file system on AIX?

I'm getting some difficulties to create a file system on an AIX server. In Linux the task is easy and takes four commands, but I cannot figure out how to do it in AIX. On Linux I'd do the following: ...
0
votes
3answers
245 views

noexec on /tmp and /var/tmp directory

Our client servers are running old version of jboss (Jboss 4.0) which has lots of known vulnerabilities. Result is that the server is hacked and we are seeing some unknown executables running from ...
2
votes
1answer
97 views

Relation between “Block Size”and “Upper Limits” in ext2

A similar looking question asks for the reason why the upper file limit could be 2 TB in ext2. I am trying to understand but the Documentation on ext2 but find this hard. Please correct me if I'm ...
6
votes
2answers
243 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 ...
3
votes
2answers
128 views

How to fake a filesystem that cannot be mounted by others

I'm currently working on a project. There's an Ubuntu Linux system installed on a disk, DA, mounting the other disk, DB. What it requires is that DB can be only mounted by DA in order to prevent data ...
7
votes
2answers
165 views

what does a “deleted file” entry look like in the journal

I hope I've got this right: A file's inode contains data such as inode number, time of last modification, ownership etc. – and also the entry: »deletion time«. Which made me curious: ...
0
votes
0answers
23 views

File systems or services that facilitate self updating, variable symbolic links [duplicate]

I'm curious if there are any implementations provided as a file system or a service/daemon that facilitate the following: Symbolic links that can be specified to update if the target is moved ...
2
votes
4answers
604 views

How do I find the offset of an ext4 filesystem?

I have a failing hard drive that is unable to write or read the first sectors of the disk. It just gives I/O errors and that is all there is. There are other areas on the disk that seem (mostly) fine. ...
0
votes
3answers
279 views

Software RAID 1 with dissimilar size and performance drives

Background I was experimenting with a home server setup in a small box I had that was supposed to be a media centre but never found much use. I installed CentOS 6.5 in a software RAID1 configuration ...
3
votes
3answers
83 views

How do I search all subdirectories to find one with a certain name?

Let's say I have a top level directory called /dir and many sub directories. How do I search the subdirectories of /dir to find the one called x/x/dir/x/x/x/target? This question is similar to, but ...
2
votes
2answers
64 views

Once you mount a file system, how do you read and write the files?

I understand that a file system can be visualized as a "tree" of files and directories. I also understand that "mounting" a file system means to placing or rooting that tree within an existing ...
1
vote
1answer
43 views

Accessing other folder

I'm having difficulty with groups and permissions. I have user A part of group A that manages a folder F. A second user B part of group B must access folder F and its content. I added user B to ...
3
votes
2answers
107 views

Does using full-disk encryption affect the probability of losing data in case of storage errors?

So.. if there is a bad block on the HDD, what can survive better? not using FDE (full disc encryption) using FDE - since the whole disk has "1 partition" - the encrypted one, isn't it more likely to ...
2
votes
2answers
90 views

What are the differences between split and rar?

I am used to raring files -- but I am looking for something faster. I see that there is a "split" command. How does this command compare to rar? What is are the differences between split and rar?
2
votes
1answer
88 views

Process overwrite access restriction

I want to run a program so that it can only create new files and not overwrite existing ones. Does something like this exist? $ fsaccess --can read,write --not overwrite --command bash -c 'echo ...