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

learn more… | top users | synonyms

4
votes
3answers
3k views

recover LVM after hdd crash

Yesterday, one hdd of my LVM crashed (smart-error) The Machine has the following setup: - 4 hdds - 1 Partition Raid10 (System, 4*50GB) - 1 Partition normal (/boot, 200MB, sda) - 1 Partition LVM2 ...
0
votes
0answers
22 views

GUI for managing persistent network filesystem mounts

Is there a GUI for managing persistent network filesystem mounts? I presume it would be a thin GUI layer on top of /etc/fstab file?
3
votes
2answers
422 views

Utility says there's no more free disk space, when there's plenty

Somehow my system is in a pickle. $ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The ...
7
votes
6answers
773 views

How to count the total number of files/folders on a system?

How can I count the number of all files/folders that exist on a system, using the command-line? I can find it out using a GUI, simply by opening the properties window for the entire / folder, but it ...
0
votes
1answer
19 views

is there anything else to fix ext4 14.04 encrypted root? should I stay with ext4 or is another more likely to last longer?

I can't get 14.04 to boot but from a 15.10 partition I can: ~$ sudo fsck.ext4 -v /dev/mapper/vgcrypt-lvroot e2fsck 1.42.12 (29-Aug-2014) /dev/mapper/vgcrypt-lvroot contains a file system with ...
0
votes
3answers
65 views

Is it safe to use a disk after a successful fsck?

I had not used my venerable ThinkPad T400 for about 2 weeks. I booted normally but was told to run fsck manually because of errors. I'm using 12.04 and the disk in question is ext4, a Samsung Evo ...
1
vote
1answer
39 views

Why doesn't my dvd/cd-rom show up with the “mount” command?

So, mount is supposed to show all file systems mounted in the OS file system. However, this is not the case for my system: the drive is called cdda//:sr0/, and no part of this is revealed in the mount ...
0
votes
2answers
20 views

Two Linux OSes on same machine - can edit files on the other OS safely?

I originally had an Xubuntu 14.04 (32 bit) on my machine. I have now also installed a Ubuntu 14.04 (64 bit) on the same machine and plan to migrate eventually there. In both OSes I have access to ...
0
votes
2answers
69 views

Cleared and Unformatted partitions in GParted

I was formatting my drive and found a partition system named cleared and unformatted. What are those partitions and why they are in GParted app ?
13
votes
8answers
11k views

How to create an encrypted partition?

I am trying to create an encrypted partition, and while I format it I get the option to choose the partition type (fat/ext2/ext3/ext4/xfs/reiserfs/minix/ntfs). Is there any benefit of choosing one ...
2
votes
1answer
29 views

how can I read the specific block of a file

Suppose I have a file /foo/bar. stat /foo/bar can show the inode information of it -- something like this: Size: 9511068 Blocks: 18584 IO Block: 4096 regular file Device: ca01h/51713d ...
8
votes
3answers
500 views

How to run a script when a directory is changed by another user?

I know has been a bit of discussion about topics similar to this. But here is what I am basically trying to do. I have a watch directory called watched and whenever a file is added to that directory, ...
29
votes
3answers
22k views

Can I disable updatedb.mlocate?

On ubuntu server here and I'm trying to unpack 300M image files from a compressed file format using Java. My unpack rate is 0.5Mbytes/sec, abysmal (34 days to unpack 1.5TB at this rate). I'm trying ...
1
vote
1answer
1k views

What will be the default filesystem in 16.04?

Has it been decided what the default filesystem for Ubuntu 16.04 LTS will be? Will it still be ext4? ext4 is great, but it was already great in ancient Ubuntu 9.10. Ironically, Wikipedia states ...
0
votes
0answers
18 views

Where is the device for this folder?

Im trying to mount my smart-phone, and transfer some files, but when caja opens the disk it never does it right, and certain functionality like search doesn’t work right. So I just want to mount the ...
0
votes
0answers
45 views

Server partition problem /boot full

we are using a 1un1.de server which comes with a very strange arrangement of partitions. I need to reallocate the space from /data to / because / has only 4GB in total and /data has all the space in ...
5
votes
6answers
781 views

Search files by name instantly

Under Windows there is a smart software "Everything" listening to changes in NTFS that allows it to search files by names instantly - for a second or less. Is there such ability for Ubuntu?
5
votes
1answer
229 views

How to create a directory users can't delete (but can delete files in it)?

Is it possible to create a directory that ordinary users cannot delete, but they could create and delete files and subdirectories inside this directory? i.e. for /share/permanent/ users could ...
0
votes
1answer
101 views

Building a light weight home server/NAS. Question on RAID and filesystems

I'm planning a build that will be using Ubuntu Server 14.04. I have been trying to learn as much as possible and practice in virtualbox before actually installing any hardware. I am really enjoying ...
13
votes
3answers
4k views

Display folder sizes in file manager

In nautilus (or nemo) file manager, the "Size" column shows the filesize for files and the number of items contained in a folder for subdirectories: Number of items is not that important for me, it ...
0
votes
2answers
4k views

Value too large for defined data type

I need to burn a ISO (3.3GB in size) using Brasero using my Ubuntu machine, however when I try to do it which the ISO is saved in my Portable USB Drive with NTFS file system, Ubuntu 64-bit says: ...
0
votes
0answers
23 views

How to chmod /cdrom to 777 on USB trial install file system

I have done a USB install of Ubuntu 14.04 I try to sudo chmod 777 /cdrom/temp mode of /cdrom/temp changed from 0755 (rwxr-xr-x) to 0777 (rwxrwxrwx) ubuntu@ubuntu:/$ ls -ld /cdrom/temp drwxr-xr-x 3 ...
0
votes
3answers
7k views

Get the access to the folder file system/root

I am using a live version of Xubuntu on USB for a extraordinary maintenance of my PC. I have to copy a single file inside the folder file system/root. Currently I can browse the complete folder file ...
0
votes
1answer
824 views

How to remove system files that are marked read-only?

I have a pendrive which is full of viruses. These viruses are .js files. Using linux, I can open the pendrive and see which folders they are in. But when I try to remove them by pressing Del button or ...
90
votes
4answers
191k views

How to get a drive formatted with exfat working?

In Ubuntu 13.04 there was an option to use the PPA by Relan in order to get ExFat functionality. Seeing that in Ubuntu this functionality is now available from the repositories without the PPA I tried ...
1
vote
2answers
172 views

Is there anyway to undo wipefs?

So I (very stupidly) performed a wipefs on my XFS formatted 4tb Linux (software) raid 5 array in trying to convert over to a bcache setup (I was following some instructions online and should have paid ...
1
vote
1answer
46 views

I have lags when I'm deleting files from desktop with Xubuntu

I have Xubuntu 14.04 and I am experiencing some lags when I work with desktop icons, especially when I'm deleting them. Haven't notice that with Thunar filemanager and in System Monitor couldn't ...
12
votes
6answers
31k views

How to mount HFS+ drive and ignore permissions

I installed Ubuntu and Windows on my MacBook and Ubuntu is my primary OS; however, all of my media stays on my OSX partition. I want to be able to access it (at least my OSX user's home folder) from ...
0
votes
0answers
22 views

How to keep track of files/applications opened? [duplicate]

I want to make a script which when running can log the details of files or applications being opened manually by the user. Any clue about how to go about it. I tried inotify, couldn't find relevant ...
1
vote
1answer
295 views

Accidentaly formatted boot partition

I accidentally formatted the partition that contained the GRUB loader, so I cannot boot into Ubuntu 14.04 LTS. Background to the saga: I have an iMac with OSX and Ubuntu 14.04 LTS installed side by ...
12
votes
3answers
19k views

Why does Ubuntu refuse to execute files from an NTFS partition?

I mount an NTFS partition (where I've got some Linux binaries and scripts alongside with Win32 and data files) with the following fstab line: /dev/sda5 /mnt/dat ntfs-3g ...
1
vote
3answers
63 views

How can I print the breakdown of disk usage by directory?

My cloud instance (running a web app) disk usage went up inexplicably, I suspect there is something like a storage leak there. Is there any way to the breakdown of disk usage by directory, in order ...
4
votes
2answers
4k views

SD card is recognized but won't mount “can't read superblock”

When attempting to look at the files on my SD card I get the following message. ## Unable to access “16 GB Volume” ## Error mounting /dev/mmcblk0p1 at /media/automat0n/6366-3430: Command-line `mount ...
0
votes
0answers
41 views

I have put my app icons to /usr/share/icons/hicolor/*x*/apps but referencing them by the name alone doesn't work - why?

I have put an icon (appropriate resolution versions of it) for a custom application of mine to /usr/share/icons/hicolor/16x16/apps/myapp.png /usr/share/icons/hicolor/22x22/apps/myapp.png ...
0
votes
0answers
35 views

Why are there SVG files in /usr/share/icons/hicolor/*x*/apps?

I thought SVG icons are meant to be placed in /usr/share/icons/hicolor/scalable/apps/ but ls -1 /usr/share/icons/hicolor/*x*/apps/*.svg gives ...
0
votes
0answers
49 views

How to configure assigned floppy disk ownership for Unity 14.04?

The floppy disk device I've recently added to a previously installed Ubuntu 14.04 desktop seems to be functioning correctly in GNOME Files on the unity desktop; however, media inserted into this ...
3
votes
1answer
832 views

System without /tmp dir?

Running df -h gives: Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 385M 6.2M 379M 2% /run /dev/sda2 113G 27G 81G 25% / ...
0
votes
1answer
25 views

copy files from/to usb drive containg a running live distro

let's suppose I have one (or multiple) live distro within a usb key, When I run this live distro, I want to access to the usb key's file system (e.g. get files and copy to the usb drive or copy ...
2
votes
1answer
936 views

how to set owner and permission to a cryptsetup made device?

I have an encrypted loopback volume. I need to mount and umount the volume manually, so I use cryptsetup luksOpen and cryptsetup luksClose . However, under all sessions (gnome/xfce/kde/unity), when I ...
0
votes
1answer
56 views

Samba: check file for completeness

I have a device (with Ubuntu on it) with Samba installed. There is also a cron job that copies files out of the Samba share every 60 seconds. I am now running into a situation where the cron job ...
12
votes
5answers
10k views

How do I clean up my harddrive?

Not to long ago I was using only 35% of my HD. Just recently it shot up to 54% and my diskspace is 16gb so that's more then 3gigs that have been taken. From what I remember I failed to build mysql, I ...
0
votes
1answer
35 views

Where is my software installation?

I'm kind of new to Linux. I installed a program (Sublime Text) and now I need to see the folder it is in. I can't find it under usr/bin, so, is there any other place wher I should look? Or ... how can ...
1
vote
1answer
17 views

while moving to a new server, is it ok to create system accounts?

I should move all the data, installations from server A to server B. Both are Ubuntu 14.04 LTS. There is a much-used instruction set here. One thing I don't understand is You should never ever ...
0
votes
1answer
39 views

How to recover tmp folder and problems with apt lockfile [duplicate]

I accidentally deleted tmp folder. than I was unable to visit browser neither could update/upgrade from terminal. I somehow managed to give 777 permissions to tmp. but When running sudo apt-get ...
1
vote
0answers
59 views

Find a file activity

I need to find what are all files opened yesterday in my system.I didn't installed GNOME activity. Is there any way i can see the activity a file when are all a file opened and how many times ...
0
votes
0answers
30 views

At the beginning of installation: “Please correct this from partitioning menu”. but I don't have partitioning menu?

I have windows 7 And I downloaded Ubuntu from the official website And I installed via wubi.exe And restart And I get a message something "Root file system not defined. Please correct this from ...
0
votes
0answers
15 views

Proper way to install debian packages on filesystem extracted on host machine not directly on development board

I am customizing linux filesystem based on ubuntu, the filesystem is extracted on my development machine in which i can install custom binaries, libraries and scripts which is fairly easy enough. But ...
0
votes
2answers
30 views

Keeping track of filesystem changes

I am looking for a way to find changes made to filesystem on Ubuntu. Like so: make some kind of a snapshot i.e. scan given folder (files, subfolders), save files names and sizes. install whatever, ...
0
votes
0answers
16 views

How to change the physical location of predeterminated user folders [duplicate]

Is there a way to change the physical location (real HDD partition) of the predeterminated user folders? I'm talking about the folders the system put automatically into the main system partition: ...
103
votes
9answers
328k views

How do I view all available HDD's/partitions?

I found a 6 GB IDE HDD in my basement. I want to plug it in and see what might be on it. The drive seems to be recognized in BIOS. I can't find it in Ubuntu to view files, and Ubuntu is the only OS ...