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

learn more… | top users | synonyms

6
votes
1answer
131 views

Resized VirtualBox VM disk, but when partitioning can't use all new available space

yesterday I've resized a VM Virtual disk from about 15 GB to about 26 GB. If I run fdisk I can check that disk is resized: Disk /dev/sda: 26.2 GB, 26214400000 bytes 255 testine, 63 settori/tracce, ...
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 ...
5
votes
1answer
1k views

Ubuntu installer thinks my drive is empty, does not see windows paritions

I am trying to install Ubuntu10.10 64bit. I just installed Windows 7 64bit moments ago. My drive is currently partitioned like so: 100MB Boot partition (automatically made by windows 7 installer) ...
3
votes
1answer
69 views

How can two files on a CD-ROM have the same inode number yet have a link count of 1?

As I was doing some sorting of my collection of CDs, I found out that processing the output of a find with sort -u was giving me a smaller list than plain sort, so I investigated. Using diff on the ...
3
votes
1answer
179 views

How can I prune my BTRFS backups?

I have a BTRFS backup system where I take daily snapshots (btrfs subvolume snapshot) and serialize them into incremental change files based off the previous days backup (btrfs send -f backup.date ...
3
votes
1answer
231 views

Inconsistent parent directory of all symlinks

A large portion of my system depends on symbolic links, so this is a very serious problem. I do something like the following cd mkdir test mkdir other cd test ln -s ../other/ # So ~/test contains a ...
3
votes
1answer
197 views

Is file permission secured when it transferred from Ubuntu to Windows?

I am having 9GB text file which is encrypted . This file contains some confidential data . Which is on my system(Ubuntu) and my external HDD (ntfs) . This file get daily updated and then encrypted . ...
2
votes
1answer
165 views

Unable to write to disk but disk isn't full

I can't write to any file, even as root, or do any other operation that requires writing. Neither can any process that needs to write, so they're all failing. df says I've got plenty of room: ...
2
votes
1answer
92 views

To transfer the present ubuntu image to other system

I want my Ubuntu with all installed applications and local files to be transferred to other system, which I ll be dual booting. My present system is also dual booted. I wanted to know if that ...
2
votes
1answer
39 views

I rm -rf'd /var/!

I recently rm -rf'd all of /var/ on my box and I've made a VM with the same OS/bit, I plan to upload all of the contents from the fresh VM and replace my messed up /var/ on my box with it. What's a ...
2
votes
1answer
161 views

Accidentally partitioned media drive as ext3 during install (was ext4), how can I recover?

I recently did a fresh install of ubuntu on a system with an old ubuntu install. I have a separate hard-drive which used to have a single ext4 partition, but during the install I accidentally selected ...
2
votes
1answer
136 views

Large discrepancy between df and du

My / partition which holds everything (including /home), was suddenly using 100% of disk space. I removed a few files and now df shows $ df -h /dev/sda1 Filesystem Size Used Avail Use% Mounted ...
2
votes
1answer
1k views

Double click not working as expected in file manager

I have Ubuntu 14.04 installed on my laptop. I have a Dell XPS l502x which works very good. I just noticed this (possible bug?) with Ubuntu 14.04 while in the file manager in the home folder. When I ...
2
votes
1answer
807 views

Deduplication using SDFS file system

I am trying deduplication with sdfs.(ubuntu 13.10 on Vm). (http://opendedup.org/quickstart) followed the same steps as this mounted the file system on /media/pool0/ When copied a directory ...
2
votes
1answer
681 views

GParted bricked my USB Drive

I tried to use GParted to rename my USB Drive. Everything appeared to run smoothly, but when I removed the drive and reinserted it, it wouldn't mount. I can see the USB initialisation in dmesg, and ...
2
votes
1answer
454 views

Files saved with Ubuntu is not visible in Windows 8

I have dual booted my laptop with ubuntu 12.10 and windows 8. When I download some file via ubuntu (e.g a pdf) and save it on a windows partition(NTFS), I do not see it through windows 8. Even when I ...
2
votes
1answer
529 views

Grub corrupted and etc directory missing

I have a dual installation with Ubuntu 10.04 and Windows 7. I was in windows, I had to restart my machine and my grub was not loading. I used boot-repair to load my grub. However, my linux ...
2
votes
1answer
516 views

Moving Kubuntu from hdd to ssd

I bought a new SSD to install it in my HTPC. Before, I had an HDD with Kubuntu. I would need to copy the files from the / partition from HDD to SSD. To do this, I booted from the Kubuntu livecd, ...
2
votes
1answer
1k views

How do I interpret the output of the filefrag command?

I have a dump file in my system that has confidential data in it. I tried using the filefrag command to open it. The output is: root@sateesh935-SVE15115ENB:/home/sateesh935/Desktop/g3# filefrag -v ...
2
votes
1answer
685 views

Ubuntu Server 12.04 start fails after update

I did an system update on Ubuntu Server 12.04, which requested a reboot. Since that, the system never reaches the login. It hangs on: mount: mounting /dev on /root/dev failed: No such file or ...
1
vote
1answer
54 views

My normal user file system only works in read-only mode and i don't have the password for the root user

I have Ubuntu Server V14.10.the administration of this system disappears with a former employee. I do not have the root password and apparently the file system for the user that I use is protected and ...
1
vote
1answer
44 views

Allowing an OS to use unclaimed free disk space on other partitions for temporary purposes?

Let's say you have something like the following situation: three partitions, one small with OS, and several bigger ones, let's assume all are ext4: / - 10 GB size, 9 GB used, 1 GB free ...
1
vote
1answer
101 views

ext4 broken file system on ubuntu 14.04.4

I have a desktop computer with Ubuntu Desktop 14.04.4 LTS 64-bit with an attached HDD USB 3.0 4TB Intenso 1 partition ext4 data drive only (no OS or Apps). After a sudden power failure I am unable to ...
1
vote
1answer
65 views

How to format a FAT32 USB as EXT4

I have a USB device /dev/sda1 and I want to format it as ext4. I have tried sudo mkfs.ext4 /dev/sda1 It gives warning, goes ahead and completes formatting without error. But when I check it using ...
1
vote
1answer
76 views

After update chrome won't open desktop is read only

I'm running Ubuntu 15.10 and just did a software update via the software update manager. Now chrome will not open neither will Firefox and if I try to copy anything to my desktop I get an error ...
1
vote
1answer
122 views

Disk allocation

I installed ubuntu 15.04 and used entire space(640 GiB) for ext4 partition but now it is showing that used space = 30.91 GiB, free space = 24.96 GiB and 536.40 GiB unallocated space. I tried to extend ...
1
vote
1answer
150 views

Re-install and keep home partition with btrfs - lost files

So, I was running Arch Linux with separate / and /home. Both were btrfs partitions, but the whole drive was not managed by btrfs. I decide to install Ubuntu 14.04. I carefully select to format / and ...
1
vote
1answer
333 views

Why are the MBR and GRUB present as files in the Linux filesystem?

A computer's master boot record consists of raw binary and does not reside on any sort of partition. Legacy GRUB and GRUB 2 are installed to the sectors inbetween the end of the MBR and the start of ...
1
vote
1answer
3k views

Sanddisk drive write protected

My sanddisk usb write protected i tried ashokkrishna@ashokkrishna-Lenovo-B560:~$ sudo mount -o rw /dev/sdc1 /mnt mount: block device /dev/sdc1 is write-protected, mounting read-only # sudo mkfs -t ...
1
vote
1answer
26 views

Minimizing effects of large number of files

I need to manage a filesystem with a large number of files (hundreds of thousands). This filesystem is rsynced periodically. The vast majority of files don't change often, but since there's so many, ...
1
vote
1answer
3k 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
60 views

How can I get rid of /etc/../run?

For some reason (most probably happened during an upgrade more than one year ago), my system has a directory called /etc/../run (strange, right?). It is empty but I cannot remove it: $ ls ...
1
vote
1answer
22 views

file missing, help with recovery

I have Ubuntu 12.04 LTS with Windows 7 as dual boot. While on Ubuntu, I was using files and folders from the windows partition. I made a folder in the windows partiton, copied in it a ".docx" document ...
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 ...
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 ...
1
vote
1answer
60 views

Where can I find a unified explanation of lower-level filesystem structure in Ubuntu?

This is not a duplicate question about file-system hierarchy that can be answered by pointing me toward man hier, ubuntu-policy, or something. I've looked at those questions. My problem is that I ...
0
votes
0answers
19 views

Ext3 Journaling Questions

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

Filesystems not mounting on boot?

I'm getting this fail after rebooting: I tried the instructions here and no dice. I also found a thread about getting rid of Btrfs but I'm not sure if that's a good idea to try. This is all on ...
0
votes
0answers
22 views

How do I remove syslog after centralizing to a remote server?

How do I remove syslog from a client after I have centralized it to a sever? Here are my syslog configurations of the client server $ModLoad imtcp $InputTCPServerRun 514 @@:192.168.0.101 I want to ...
0
votes
0answers
55 views

How many number this file has been modified before?

I suppose this is not that easy, but for that I'm asking here. So my question is how to record all modifications have done to certain file. In other words I would know how many times a given file is ...
0
votes
0answers
82 views

Ubuntu 14.04, ext4 remounts read-only 10-30 minutes after hibernate

After waking the laptop from hibernate, it successfully resumes. There are no errors in /var/log/pm-suspend.log and the filesystem is mounted read-write. After 10-30 minutes of regular use including ...
0
votes
0answers
23 views

How to prevent Truectypt volumes from appearing on the launcher panel?

I am using Truecrypt for some purposes (yes, I know it is considered compromised but I believe it's enough for my case and I find it very convenient) and I don't want the volumes I mount with it to ...
0
votes
0answers
258 views

Ext4 file system creation failed

Every time I try to install it gives me the error file system creation failed, or failed to mount. I'm trying to install Ubuntu as the sole OS. I was trying to install alongside Windows 7 but clicked ...
0
votes
0answers
58 views

fsck took only two seconds to report “clean”. What did I do wrong?

I booted a LiveCD (Ubuntu 14.04.2) and opened a terminal window. I used sudo lshw | more to determine that my usual boot volume was logically named /dev/sda1 . It's the primary partition on a 1 ...
0
votes
0answers
48 views

/proc/fs/jbd2/partition/history - how to enable?

I have the /proc/fs/jbd2/partition/info file that produces the summary of what happened in the partition's journal so far, but I am not able to see the history file. It doesn't exist. What should I do ...
0
votes
0answers
64 views

How to allow only one program to read/write to a file at a time in Ubuntu?

Is there any way in the OS, to issue read/write lock on file? I mean, the file itself should not open, if a lock is issued! NOTE: Don't give me programming solutions.
0
votes
0answers
2k views

Errors during start-up: “Scanning for Btrfs filesystems”

I have installed Ubuntu 12.10 desktop on three systems and one virtual machine. On every system I have opted for a single Btrfs partition. During start-up I get the following two error messages. It ...
-1
votes
0answers
16 views

Need to know whether a named pipe stores data in them

I got a situation where i need to select and option from a switch case.For each option there is a text related to it which needs to be stored in a file descriptor.For this process my senior gave a ...
-1
votes
0answers
590 views

Read only filesystem?

Whenever I try running apt-geti get this error: mike@mike-ubuntu:~$ sudo apt-get upgrade [sudo] password for mike: sudo:unable to open /var/lib/sudo/mike/1: No such file or directory W: Not using ...
-1
votes
0answers
40 views

Ubuntu hard reboot. Failed to power

I was told to do a hard reboot on my ubuntu 14.04.2 Ubuntu Desktop. Once i did it didn't turn completely back on. So i got prepared to run fsck, So i put in the recovery disk and rebooted my computer ...