Questions dealing with Ubuntu's layout of files, permissions, and files that reside in special locations on disk.

learn more… | top users | synonyms

0
votes
0answers
4 views

How to install packer system-wide?

Where can I install packer in filesystem for system-wide usage in Ubuntu 16.04 Xenial? Where should I place its binary to be available system-wide since it is not part of the OS?
-3
votes
1answer
24 views

Help with FUSE filesystem

I am new to Ubuntu and I need to create a FUSE based file system. I've seen many examples online, but I can't understand the differences between the examples. Some examples from what I've seen so far ...
3
votes
2answers
6k views

Why does my root filesystem keep becoming read-only?

I've lately been having an issue with my root filesystem becoming readonly. It happens some amount of time after boot. I don't know exactly when it happens, as I don't usually notice it until ...
3
votes
1answer
35 views

Ubuntu does not correctly display non-ASCII characters in Windows folder names

If I save folders in windows with special characters like ä/ö/ü or chinese characters, they will be displayed with question marks in Ubuntu. But if I write it directly in Ubuntu, it will be displayed ...
0
votes
1answer
27 views

How can I install things on a mounted filesystem?

If I have a directory which contains a bare filesystem(ie bin, dev, home, lib, opt, media, etc) but without any of the drivers or programs or anything on it you might expect, how do you go about ...
2
votes
1answer
93 views

Unable to copy files from linux server

While copying files from a Linux server to external hard drive, it shows the error message insufficient space in hard disk The hard disk is 2TB and the copying data size is 460GB. Why does it ...
0
votes
0answers
21 views

error unknown filesystem. grub rescue issue on booting ubuntu 14.04

I have installed Ubuntu 14.04.4 on my WD my passport 1 tb external hdd on a 150 GB partition newly created. I have used live USB for it. When I boot the computer using external hdd it gives unknown ...
1
vote
1answer
359 views

Many files in /var/lib/dpkg/info/ corrupted; how to recover

When I run sudo apt-get (anything), I invariably get this error: dpkg: unrecoverable fatal error, aborting: files list file for package 'thunderbird-gnome-support' is missing final newline E: Sub-...
1
vote
1answer
35 views

Ubuntu 15.10 doesn't seem to support sparse files

On Ubuntu 15.10 using ext4 when I perform truncate -s 512M test.img du -h test.img the output is 513M test.img however if I run du -h --apparent-size test.img the output is 512M test....
1
vote
1answer
4k views

mtp usage: how to mount and transfer files to and from a Samsung: Galaxy model Android phone

how do I use mtpfs to read/write to a USB connected Android phone, connected as a mass storage device: thufir@dur:~$ thufir@dur:~$ mkdir phone thufir@dur:~$ thufir@dur:~$ sudo mtpfs -o allow_other ...
1
vote
1answer
26 views

How to find all volumes that btrfs df prints out?

i don't understand where the second data "container" comes from: ocean@nas:/mnt$ sudo btrfs filesystem df / Data, RAID1: total=3.00GiB, used=1.70GiB Data, single: total=1.00GiB, used=0.00B <-- ...
11
votes
5answers
35k views

Not enough space on /tmp

Im not being able to run update manager as I get the error saying that there is not enough free space in the /tmp directory. I've practically cleaned out the tmp directory but the error persists. Any ...
1
vote
1answer
13 views

Is adding device to subvolume the same as adding device to main filesystem in btrfs?

When I add a device to a btrfs sub-volume with btrfs device add /dev/sdb /path/to/subvolume is the added device then only used for the sub-volume or is it used by the whole file-system ? Or the ...
6
votes
4answers
21k views

Very large log files, what should I do?

(This question deals with a similar issue, but it talks about a rotated log file.) Today I got a system message regarding very low /var space. As usual I executed the commands in the line of sudo ...
0
votes
0answers
37 views

Which Cluster Filesystem / Distributed Filesystem for Ubuntu 16.04

I have 5 servers, 16 threads running on each of them, producing a total of 80 files at the same time, which should finally be available for every other server in the same folder (it is a MPI ...
3
votes
0answers
651 views

Strange output of btrfs fi df after converting from RAID0 to RAID1

I just converted my 3 disk btrfs filesystem from RAID0 to RAID1 and balanced it. At first the data was all in the RAID0 filesystem, so running btrfs filesystem df showed something like this: (XX are ...
0
votes
0answers
31 views

Deleted single file, after reboot it's back

I have a file "Zkousky.ics" (calendar file, exams) on my desktop. Whenever I remove it, however, after reboot the file is back. I used several methods of removing, but the file is always coming back ...
2
votes
2answers
228 views

Best underlying file system type and configuration for HDFS

I would like to reformat a local drive partition and turn it into a partition for HDFS. Which file system would be most performant for running HDFS on top of it? Any optimizations I should take care ...
106
votes
12answers
162k views

How can I securely erase a hard drive?

I'm planning on selling a USB external hard drive that currently contains an old Ubuntu installation with stored passwords and banking information. How can I securely erase the drive before selling ...
0
votes
1answer
175 views

Why does lsof complain about tracefs?

Every execution of lsof issues a warning about the TraceFS: $ lsof any-file lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing Output information may be incomplete. $ ...
0
votes
0answers
17 views

reallocating memory across filesystems

Recently, I started receiving "cannot create temp file for here: No space left on device" error messages. The hard drive itself still has plenty of space, i.e. there are 4.8T remaining on the /dev/...
28
votes
3answers
12k views

How to find the creation time of a file?

I need to find the creation time of a file, when I read some article about this issue, all mentioned that there is no solution like Site1, Site2. When I tried stat command it state Birth: - So how ...
18
votes
4answers
2k views

“physical block size is 2048 bytes, but Linux says it is 512” when formatting a usb stick after using it as installation media

I was using: dd if=/path/to/my/ubuntuiso/ubuntu.iso of=/dev/sdb1 bs=4M && sync In order to create bootable Ubuntu USB drives on older Ubuntu versions. It was working perfectly. ...
3
votes
2answers
4k views

btrfs and missing free space

I converted my ext4 partition to btrfs and deleted the save subvolume after doing so. Then I enabled the compression (lzo) of the filessystem in the fstab file and everything is correct so far. Then ...
2
votes
0answers
66 views

Where do I stand with btrfs?

First off, I understand btrfs is experimental and I should still have valid backups of all my data etc etc. No problems. I have setup a btrfs RAID5 array across 4x 3TB drives; Overall: Device ...
6
votes
3answers
57k views

Mount USB drive with write permissions for everyone or specific user

I know there are similar questions but I get some specific problem I can't overcome. I have: HDD split into two partitions. /dev/sdb1 and /dev/sdb2. sdb1 is NTFS and I don't need it. I need sdb2 ...
6
votes
5answers
1k views

How to get a larger root partition on Touch

I'm trying to make Touch (14.10) work as an Ubuntu server. However the root partition is only 2 GB and is insufficient for the packages I need to install. Is there any way to get more space on the ...
2
votes
0answers
35 views

Why is ubuntu installer failing to create and mount encrypted partitions?

Before running ubuntu 16.04 installer I made myself a simple partitioning scheme for encrypted home, encrypted /, and encrypted swap. After selecting the proper settings in the "installation type" ...
0
votes
3answers
167 views

Installation on a ZFS filesystem missing in the installer

There is no ZFS file system option while creating file system but as per release note it supports ZFS. So why this option not available. Please help.
0
votes
1answer
30 views

How do I recover my data on Windows machine?

I had some problems on my laptop,so we have taken HD from it and now we are trying to recover the data on Windows machine.Ubuntu 14.04 was installed on my laptop. How to do this? Are there any ...
0
votes
1answer
42 views

I'd like to fully grasp Linux to make the most out of it [closed]

I have a basic idea of how to fix basic stuff like update issues, how to nano a file spotted with cd and ls in terminal, etc. but I would like to thoroughly learn the File System and how to explore ...
142
votes
6answers
56k views

How to understand the Ubuntu file system layout?

In Windows there’re perhaps only a couple of important folders (by important I mean important in my logical picture of the Windows file system) in the installation drive (in my case C:\). Namely ...
0
votes
1answer
33 views

Brown out reset

Is it possible under brownout situation can we reset the processor(running Linux (Ubuntu/Fedora Os))which is called as BOR(brown out reset) ?? I want to reset the processor when it will face ...
2
votes
3answers
158 views

How to prevent Ubuntu from mounting a partition it finds?

Adding a static fstab record for a particular partition effectively prevents automatic mounting logic from handling it and this works great when I want the partition to actually be mounted (in a place ...
20
votes
6answers
55k views

Command line option to check which filesystem I am using?

Is there a command that will show which file system (ext3, ext4, FAT32, ...) the various partitions and disks are using? Similar to how sudo fdisk -l lists information about disks and partitions?
1
vote
1answer
4k views

13.10 to 14.04: Filesystem mount failed: How get to maintenance shell?

While upgrading from 13.10 to 14.04 we got a power cut: When we restarted the machine we got a system fail; I'm getting the readout below: 'Filesystem check or mount failed. A maintenance shell will ...
2
votes
1answer
52 views

Nautilus Cannot Move Files to Trash When Trash is in eCryptfs / Files are on a Different Drive

I used to just press the Delete key on selected files on Nautilus, and then it would trash the file(s) without confirmation. That was very convenient. I later decided that my Trash may contain ...
0
votes
0answers
15 views

Use a network mounted /var/cache/apt/archives folder

I want to make it, so that after one computer on the LAN has already downloaded the package, it's available for other computers with Ubuntu (with the same version, of course). There are several ...
0
votes
0answers
17 views

copy to ext4 formatted drive HDD until 99.9% full, preventing fragmentation?

In general I do understand how ext4-fs manages it to avoid fragmentation, but one question remains after intense investigations... Situation: I have to copy many files of very different sizes to an ...
1
vote
1answer
35 views

Installer offers ext2 as a filesystem for main partition in Ubuntu Server 16.04

I'm installing Ubuntu Server 16.04. When it comes to the partitioning after using the "guided LVM" option Ubuntu will offer the following filesystems for the partitions: ext4 for root swap for swap (...
0
votes
2answers
28 views

How to delete all files in current directory but keep files in subfolders

I have a structure like this file_1 file_2 ... file_n folder1/ sub_file_1 sub_file_2 I only want to delete file_1, file_2 and file_n but keep all folders and files in them.
5
votes
1answer
461 views

Why do some some files in /etc have a numeric prefix?

For example look in /etc/apt/apt.conf.d/ all files have a numeric prefix. What is the reason? I have seen this many times and always wonder. Is it just for the sake of ordering?
3
votes
1answer
88 views

Cannot mount some partitions

About two weeks ago I had a problem with my PC that my brother wrote a question about at PC not booting after using Windows 7 auto-repair. I still haven't solved the problem, so my PC is unusable now....
0
votes
1answer
27 views

Read data from SD card of ds150e

Ubuntu does not recognize SD card of delphi ds150e. GParted sees SD card, but filesystem is not marked. How to read data from SD card? I don't know which filesystem uses ds150e device. Sorry for my ...
1
vote
1answer
2k views

Ubuntu 13.10 - No Ext2/Ext3 Available

I need to make a DCP (digital cinema package) for a short film of mine. Digital projectors read ext2 or ext3 formatted drives best, so using a Mac I put Ubuntu on a CD and have been booting up the ...
0
votes
0answers
9 views

ACL issue. Not getting correct mask

I got a problem with my ACL rules. The mask is not being followed, even though its defaulted to rwx root@WinterFell:/mnt/backup/test# getfacl ./ # file: . # owner: root # group: root user::rwx group::...
77
votes
5answers
44k views

Why is defragmentation unnecessary?

Why is defragmenting unnecessary in Ubuntu?
0
votes
1answer
20 views

Can TestDisk utility recover data

Actually I want know , can Testdisk recover data after fresh installation of new Ubuntu OS 16.04 from a deleted partition.
0
votes
0answers
57 views

correctly setting up Gradle for IntelliJ

After installing gradle via sudo apt-get install gradle, where DO I find the gradle home directory that I need to feed IntelliJ to open my project? cat $GRADLE_HOME never terminates echo $...
73
votes
4answers
475k views

How do I remount a filesystem as read/write?

I'm trying to mount an hfsplus filesystem in a Xubuntu 12.04 VM (kernel version 3.2.0-23-generic) but when I type mount -o remount, rw /dev/sdb3 in command line it returns not mounted or bad option. ...