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

learn more… | top users | synonyms (2)

1
vote
2answers
497 views

Cannot mount eCryptfs

I tried to install eCryptfs on my server to open an eCryptfs I did on my home computer. I got these errors. $ sudo mount -t ecryptfs /home/(place)/enc/ /home/(place)/enc/ Unable to get the ...
0
votes
2answers
30 views

Installing new WD green hdd

I've purchased a new Western Digital Green Power 1TB 3.5 inch internal hard drive on eBay but I can't get any of my desktops to recognise it. Model number WD 10EURX. I'm using Linux Mint 17 Mate and ...
1
vote
1answer
13 views

Btrfs distribute files equally across multiple devices

I have a btrfs volume across two devices that has metadata RAID1 and data RAID0. In the event one drive would fail, practically all files above the 64KB default stripe size would be corrupted. As this ...
1
vote
0answers
24 views

How do I get new filesystem formats to use in mkfs?

I am currently attempting to run some benchmark tests using different filesystem formats. However, I can only use the ext family, cramfs, and msdos formats with mkfs since those are the only formats ...
0
votes
1answer
11 views

Btrfs RAID1 mismatched sized drives full

I have a 500 GB HDD and a 300 GB HDD. I have formatted them as btrfs raid1 between. The total size is 800 GB. If I copy 50 GB onto the filesystem, it causes 100 GB to be used. If I copy 300 GB onto ...
1
vote
1answer
27 views

How to avoid recursive directory traversal for syncing two directories? [on hold]

I see a lot of useless recursive directory traversal in: rsync unison owncloud All above application (and many more) do recursive directory traversal over and over again. Since the application ...
1
vote
1answer
23 views

Using Btrfs to eliminate corrupted archives

I am trying to get my personal filesystem in order I want to tar everything and get it organized into proper directories I have many HDDs and a few SSDs I want to use Btrfs with it's checksum and ...
2
votes
1answer
160 views

Mount linux mount in windows (without ftp)?

I successfully mounted my external hard drive (ntfs) to /mnt/seagate. I'm using debian and the server is connected over LAN to my PC. So how can I mount my hard drive in my windows explorer without ...
1
vote
1answer
19 views

Accessing root files on Ubuntu Phone from my eOS based on Ubuntu

I'm wondering if its possible to access the root files on my Ubuntu Phone E5 from my computer. I know I can access them from the terminal on the phone but its not ideal using that touchscreen to ...
2
votes
1answer
91 views

How can I (easily) map a block device node to the directory it's mounted on?

I need to find (in C or C++) the used space on a filesystem (Linux) when being provided only with the disk block device name and the partition number. For most filesystems I can go: Craft a dev ...
5
votes
1answer
9k views

Can't resize a partition using resize2fs

I recently resized the hard drive of a VM from 150 GB to 500 GB in VMWare ESXi. After doing this, I used Gparted to effectively resize the partition of this image. Now all I have to do is to resize ...
19
votes
9answers
1k views

How to tell what type of filesystem you're on?

Is there a command to tell what type of filesystem you're using?
1
vote
1answer
33 views

Delete the first n bytes of a file in O(n) time

I've been browsing around looking for a solution for a personal project (Read: a coding experiment), but nothing quite seems to fit. To be honest, I don't even know if it's possible. Now, there's ...
2
votes
1answer
578 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 ...
2
votes
1answer
24 views

Is there a simple way to move btrfs subvolumes to a different btrfs filesystem?

I have two separate btrfs filesystems which I would like to consolidate. The subvolume structure looks like this: / filesystemA |- subvolume1 |- subvolume2 |- ... |- subvolumeN / filesystemB |- ...
6
votes
1answer
335 views

Is btrfs suitable as backup filesystem?

Right now I have a pretty traditional backup filesystem structure on top of ext4. Every time a backup is made, a new folder backup-DATE is created to which files are rsync'ed (with hardlinks made ...
0
votes
0answers
15 views

How does rootfs.ext3 image file work?

I have a FriendlyARM mini6410 device and I have just hardly make it boot from sdcard. Now my sdcard uses "u-boot for mini" (u-boot.bin), "linux2.6.38 kernel" (zImage) and "rootfs qtopia fs" ...
0
votes
1answer
15 views

Create permissions for group to write and files created by owner are only writeable by owner

I have created a folder, /hello: it has the following permissions: Owner = rwx Group = rwx Others = r and the folder is owned by john and belongs to the group sales. I have created another user ...
4
votes
2answers
39 views

What is the difference in file size between Symbolic and Hard links?

I plan to keep all my movies in one giant folder, and then create other folders for the genres, while creating links for all the movies in the genre folder. This way I can organize movies into ...
5
votes
2answers
1k 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
19 views

filesystem not detected while booting after regular updating

I am using RHEL7. After a latest regular update, my computer not booting. I noticed that, during updating, the kernel also got updated. All my attempt with previous kernel version,which is listed in ...
22
votes
2answers
3k views

Where do the files go if you mount a drive to a folder that already contains files?

I just accidentally mounted a new drive to a folder that already contained files. I don't care about them and have them somewhere else, but that folder appears empty now. I'm curious what happened ...
0
votes
1answer
18 views

OracleSolaris 11.2 - delete a directory which is mount point

I removed a user from the syste, with userdel -r user however it still keeps its homedirectory /export/home/user, although the contents has been removed. The directory is mounted, but I don't know ...
1
vote
1answer
23 views

Copy BTRFS partition to external harddisk BTRFS partition including snapshots

I have a question about backuping BTRFS partitions. Assume I have a BTRFS partition on /dev/sda1 and an external harddrive with BTRFS on /dev/sdb1. I already found out I can make an initial backup ...
1
vote
1answer
22 views

Performance of `tar -xf` (block size related)

I'm recently working on optimizing the performance of tar -xf, i.e. untar a file. I notice that under default settings, tar -xf calls writes to write 10 KiB output at a time in chunks. However, this ...
24
votes
5answers
42k 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 ...
4
votes
2answers
8k views

Installing Android-x86 on a USB (not creating a Live USB)?

I want to carry around an Android OS install on a USB so I can have a Google Authenticator with me everywhere I go since I don't own any mobile devices. The idea being that I can run Android through ...
4
votes
2answers
40 views

btrfs filesystem end offset (image size)

I have a btrfs filesystem of about 7G in a 10G image file img.btrfs (I shrank it using btrfs fi resize -3G /mnt). How can I find the total size (end byte offset) of the filesystem, so that I can ...
0
votes
1answer
22 views

How To Induce RO To Linux FS

I've read in several places that during I/O error to system log file most linux distributions go to read only mode. Followed by how to recover from it. This is all fine, but I'm looking for a way to ...
0
votes
0answers
68 views

Completely hidden directory on ACFS imported via NFS

how is this possible: [root@oda001-d0 .ACFS]# pwd /OVS/Repositories/repo1/.ACFS [root@oda001-d0 .ACFS]# ls -la .. total 148 drwxr-xr-x 8 root root 4096 Jun 23 11:45 . drwxr-xr-x 5 root root 4096 ...
23
votes
8answers
9k views

Is there a file search engine like “Everything” in Linux?

On Windows there a nice file search engine called Everything, which is (unlike find) very fast and (unlike locate) always returns up to date results. AFAIK it works by filling a database from the ...
0
votes
2answers
31 views

Where should startup scripts for a specific user be installed?

I have one script that will run when a specific user logs in. Where should this script and its assets be placed? I was planning to put it in /usr or /bin or /var, but I was wondering if there's a ...
1
vote
2answers
58 views
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 ...
0
votes
0answers
22 views

Misc file corruption freebsd 10 and dns zone file

The computer is a VPS from Vultr. They tell me that "since it is loaded into RAM and not really a drive, nothing on the host would be causing this." One particular file, my zone file, will come up ...
1
vote
1answer
2k views

Proper way to delete contents of directory [duplicate]

What is the proper way to delete all the contents of a directory, without said directory? For example, I have the following directory structure: foo/ bar1/ bar2/ x.txt I want to delete ...
2
votes
3answers
2k views

How to determine what filesystem a directory exists on?

I have an NFS share which is shared across about two other machines. I recently realized that one of the servers isn't sharing the directory and is keeping files all for itself. Is there a way to see ...
0
votes
1answer
28 views

Can I find the filesystem a file is going to be installed to? [duplicate]

I have a list of files along with their filepaths, that I'm planning to copy into a server. Is there a way, I could figure out before I copy, which filesystem it actually would go into? assuming the ...
0
votes
0answers
14 views

Ext3 Journaling Question on inode and disk layout

I was going through Journaling and JBD and wanted to ask you a very basic question for which I was not getting an answer: 1.Why Journal Inode number comes as 8 when we do ./dumpe2fs? 2.So far my ...
3
votes
1answer
4k views

Mounting a multi-partition (GPT/HFS+) USB 2.0 harddrive on Debian

I have a 3TB USB 2.0 hard-drive which has two HFS+ (Mac) partitions using GUID partition table for the partition records. It was partitioned with Mac OS Disk Utility. How can I mount these partitions ...
0
votes
0answers
10 views

Load root partition on embedded linux system

I'm using a zynq-7000 SoC, running a custom petalinux build, which is on an SD card. The boot partition contains a boot.bin (the bootloaders etc) and an image (containing the kernel). The root ...
1
vote
1answer
27 views

How to trap an event when a file with a specific content (given by e.g. checksum) was created on the local file system?

I want to implement sort of trip-wire security mechanism, that tracks in real time events when user writes a file with a specific content on hard drive of his workstation (which will be managed by ...
1
vote
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 ...
2
votes
3answers
6k views

What is metadata, and how does it aid in the “fsck” process?

If I understand it correctly, "fsck" is used in UNIX systems to check for internal consistency within disks after there has been a crash. I was wondering, then, how it uses "metadata" to make sure ...
1
vote
1answer
36 views

Download small ZFS formatted image

I don't run Linux myself, so I'm the odd one out here, but I have hopelessly been searching for a small image file that contains ZFS (e.g. ZFS formatted media). I like to implement ZFS recognition in ...
2
votes
2answers
121 views

Transforming a disk from MBR to GPT

I have a disk with classic MBR and want to transform it to use GPT without data loss. I have seen several more or less useful tutorials, but most of them are dealing with the specific problems related ...
3
votes
3answers
57 views

How to format a partition inside of an img file?

I created an img file via the following command: dd if=/dev/zero bs=2M count=200 > binary.img It's just a file with zeroes, but I can use it in fdisk and create a partition table: # fdisk ...
1
vote
1answer
30 views

How to find directories whose size is greater than 4K?

When you have many files in one directory, the size of the directory file grows because it needs to store more entries. So, at some point it could look like this: # ls -ldh /var/log drwxr-xr-x 15 ...
0
votes
1answer
107 views

How to create an FS under SunOS?

So there is a global zone, and we need to create an FS on a non-global zone. Also we need the new FS in a new DG/Volume inside the DG of the zone (if we see it from the global zone). How to do it? ...
1
vote
1answer
12 views

Change the owner of an ntfs filesystem mounted via fstab

I want to mount a partition on boot and need it to have read, write and execute permissions. I'm using 64-bit Arch Linux and created the following /etc/fstab file: /dev/sda1 ...