Questions tagged [filesystem]
The general filesystem in Ubuntu is arranged in a single tree with everything under /. This tag should be used for questions dealing with Ubuntu's layout of files, permissions, and files that reside in special locations on disk. Questions related to a particular filesystem should instead use the specific tag for that (for instance: ext4, btrfs, zfs).
2,847
questions
3
votes
2
answers
6k
views
What is the difference between /usr/locale and /usr/local?
After entering into root mode in /usr, I found the following directories.
swapnil@swapnil-Inspiron-3541:~$ sudo su
[sudo] password for swapnil:
root@swapnil-Inspiron-3541:/home/swapnil# cd /usr
root@...
0
votes
1
answer
118
views
Browse Ubuntu Server 16.04 LTS Filesystem from a Ubuntu 17.04 Desktop
I am afraid my Linux experience is very limited. Although not afraid to try new things ;)
I have setup a 16.04 LTS Server and setup a few services.
I would like to be able to browse the Server OS ...
0
votes
0
answers
100
views
My harddrive is not accessible in ubuntu
I have taken back of my all previous work of client and projects in my personal portable harddrive 2 week ago but right now I am not able to access it in my system on Ubuntu or in Windows either. My ...
1
vote
1
answer
2k
views
How to add more space to fileroot folder Ubuntu
OK so my Home folder has 166gb of free space but my fileroot folder has max capacity of 8gb and its almost full how do I take from the Home folder and add space to the root folder?
0
votes
0
answers
944
views
Files and config suddenly disappeared
Today a lot of files in my Home folder suddenly disappeared after a reboot. Also, it seems like all my configurations made to the system were resetted (e.g. my color scheme and config files for fish ...
4
votes
1
answer
902
views
Error while copying files from Windows to Ubuntu after Windows update
I have a dual boot system with windows 10 and Ubuntu 16.04.
Until now I could freely copy and paste things from Windows to Ubuntu while accessing Ubuntu.
After a Windows update I can't do it.
I ...
0
votes
1
answer
121
views
Ubuntu installation: "file systems with errors" message
I installed Ubuntu on my computer but after the restart I can not start Ubuntu. I get this message:
/dev/sda2 contains a file system with errors, check forced.
Later on it asks me to run fsck ...
1
vote
0
answers
2k
views
Moving installed program different directory
I'm fairly new to linux (only because the programs I typically use are not supported by it, such as AutoCAD, SolidWorks, Visual Studio, etc..) but I'm a big fan of old school DOS (when it was actually ...
3
votes
0
answers
54
views
How to choose a specific FileSystem to work on?
I've an EC2 instance running, here's version:
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
NAME="Amazon Linux AMI"
VERSION="2017.03"...
0
votes
2
answers
2k
views
I accidentally used `sudo mv /*` [duplicate]
I have a wordpress site and my current directory was wp-content
I just wanted to backup and move the current files of the wp-content/ folder to a folder called wp-content-backup20170907 and clone a ...
2
votes
1
answer
9k
views
Ran out of inodes - 100% Full [duplicate]
I am using Ubuntu 16.04 on AWS EC2 instance which has been working fine until this problem.
My problem is that I've used 100% of available inodes, as I discovered with this command:
$ df -i
...
1
vote
1
answer
89
views
Unable to free diskspace by removing files and not restarting the computer (hibernation possible)
I have a similar problem to the one mentioned here: Unable to free up space in df but I can not reboot (I have important data in the memory).
The output of df -h / is:
Filesystem Size Used ...
1
vote
1
answer
3k
views
How to create a DATA partition accessible by multiple users and multiple linux OS?
In my disk I have many linux Operating Systems installed with many different users each (with different uid). I want to create a DATA partition which will have music, videos and movies, torrents, ...
8
votes
2
answers
5k
views
About to install Ubuntu 16.04 on a M.2 harddrive. Which file system should I use for speed? [closed]
About to install Ubuntu 16.04 on a Samsung M.2 harddrive. (using a USB-drive)
Which file system should I use?
Fat32
ext4
ext3
ext2
NTFS
another one I haven't mentioned?
My harddrive is:
1TB ...
1
vote
1
answer
2k
views
How can I write user data to the root partition?
Another developer created partitions, one with mount point as root and another with mount point as home. Home is full, so I have no option other than to store new files in root.
Problem is, folders ...
3
votes
2
answers
3k
views
Accidentally moved /usr/bin
I'm using Ubuntu 14.04 and I've accidentally moved /usr/bin to another location.
Now most of the commands don't work anymore: sudo, cp...
The OS is not booting and I can't put the directory back as ...
5
votes
3
answers
86k
views
How do I enter a directory on a different hard drive using cd in the terminal? [duplicate]
I have Ubuntu 16.04 installed on my SSD and I have a HDD where I keep all of my C++ files and programs. Ubuntu recognizes that I have the HDD. When I am in the terminal and want to access my c++ files ...
1
vote
0
answers
80
views
deb file not found after install [duplicate]
I installed nmon on Ubuntu 16.04 as below.
At the time of installation, I can see the file nmon_14g+debian-1build1_amd64.deb downloading, unpacking and installing. After the installation nmon is ...
2
votes
4
answers
23k
views
Create loop device for ext4 filesystem
I created and formatted a file as an ext4 file system and I am trying to mount it as a loop device. Initially, there were no loopX entries in /dev, so I created one like this:
root:~# mknod -m640 /...
10
votes
1
answer
559
views
Why should I avoid having differents filesystem for / and /home?
As stated here
it's ok to have two partitions on for Linux system files and another for home files in the same disk but they should be both the same filesystem.
Now, on one of my machine I'm ...
2
votes
0
answers
38
views
Add ext4 support to mkfs [duplicate]
I got a VPS running Ubuntu 14.04.5 LTS:
# uname -a
Linux host.xyz 3.13.0-042stab123.9 #1 SMP Thu Jun 29 13:01:59 MSK 2017 x86_64 x86_64 x86_64 GNU/Linux
The kernel itself seems to support ext4:
# ...
1
vote
0
answers
2k
views
Does the root filesystem mounting happen in /init (initramfs)?
Device drivers and device initialization starts when the kernel goes through the initramfs bridge; the initramfs contains the initial modules needed to set up the devices including the storage device ...
0
votes
1
answer
1k
views
Unable to disable Cramfs & vfat using /etc/modprobe.d/ conf file
I have a security requirement that calls for me to disable several file systems that are not being used to lower attack surface.
I have created a file in /etc/modprobe.d/ and some of the file systems ...
0
votes
1
answer
8k
views
changing ownership of Read-only file system - i cant move, delete , rename any file
I have a problem with my Ubuntu 17 machine, I can't rename or delete any file on my hard drive, I get this error:
0
votes
1
answer
166
views
Read only filesystem after ISPconfig instalation
I installed ISPconfig on my Ubuntu Desktop 16.04. When I rebooted, it booted into command line instead of gui and the system is read only so i cannot make changes or uninstall what I did. The ...
3
votes
1
answer
8k
views
Name of first file in directory obtained in optimal way
Ordinary when I want to show name of first file from directory I type:
ls raw/all | head -n 1
But it takes long time when in directory there any many files
Eg for dir with near to 900 k files we ...
3
votes
1
answer
26k
views
Attribute "partition" not found - error when formatting USB flash drive
I have a USB flash drive that's become unrecognisable in Windows 7, as detailed in my question on SuperUser here. I was advised to use Ubuntu, and was able to see the flash drive using it, although ...
1
vote
1
answer
367
views
What is the best practice for preventing /boot going to 100% full?
There are several good answers here regarding how to fix problems caused by a full /boot partition. What I'd like to know is if there is any best practices for proactively managing this issue before ...
0
votes
0
answers
160
views
Which filesystem should I use for camera and linux distro?
My SD card is formatted to msdos filesystem but I have a 5.7 GB file and Nautilus messages that the size is too big so it can't be copied to the card.
I also want to use the card in my camera, but I ...
4
votes
2
answers
13k
views
Asus ROG Zephyrus Keyboard Backlight not working [duplicate]
I'm having quite the time getting my keyboard backlights to work on my ROG Zephyrus laptop. Some of the F# keys do not respond their dedicated function when holding the Fn key. Specifically the key ...
2
votes
1
answer
3k
views
Ext4 filesystem corrupted overnight
I've been using ubuntu 16.04 on a new ssd drive for 4 months, and so far I'd had no problems. But last night I left my computer on and when I woke up this morning, everything was read-only. I run ...
0
votes
1
answer
814
views
will installing Xubuntu on C drive erase all other partition drives?
I'm totally new to Linux world. I'm going to install Xubuntu on my laptop, it has 3 drives C,D and E, all these 3 are of NTFS type. Currently C has Windows 10 installed in it.
Now before going on ...
0
votes
0
answers
615
views
Btrfs automatically bitrot correction with snapshots?
I want to set up a notebook (debian) with 1 SSD and 1 HDD each with Luks and Btrfs on it. Because the SSD and the HDD doesn't have the same speed, i don't want to use Btrfs' Raid-1 on it, but i also ...
1
vote
0
answers
746
views
No space left on device even with only 44% usage and 3% inode usage
Recently I downloaded a large dataset (~100GB) containing lots of images and small txt files in a .zip file. When I try to unzip it using unzip dataset.zip, the first 30% unzipped fine but then it ...
5
votes
1
answer
899
views
Does cancelling the operation while copying a .mkv file split it into 2 parts?
I was copying a movie (.mkv) file from pen drive to PC (Ubuntu) and it showed error while copying, so I had to cancel it. The file size was 3.2 GB. Now the file on Pen drive still shows size 3.2 GB ...
0
votes
0
answers
187
views
corrupt folders on ext3 file system, that I cannot open/chown/chmod
Everything, that I do is under root:
When I try to enter (cd) or look inside (ls) of mentioned, problemmatic folders, it gives an error: Operation is not permitted.
So, I checked FS for errors:
...
0
votes
1
answer
295
views
btrfs sub volume "Could not chdir to home directory /home/movie: No such file or directory"
I get "Could not chdir to home directory /home/movie: No such file or directory" when trying to login. It looks like something with btrfs subvolume not mounting right.
$ cat /etc/fstab
/etc/fstab: ...
3
votes
1
answer
946
views
How safe is it to run fsck on faulty HDD?
Our system recently stopped working--we can still SSH, but most programs on our server result in an Input/Output error, so we can't SSH out of the server, open FTP to it, etc.
I have a MySQL database ...
0
votes
0
answers
379
views
file system with errors
I am trying to run Ubuntu on a SBC (single board computer),so that it consumes minimal resources while still having a GUI to work with. The board vendor provides a Ubuntu 16.04 Server image that I ...
2
votes
1
answer
593
views
I've accidentally overwritten my partition table
I was supposed to run a command on /dev/sdb which is a flash drive to create a new GPT table. Accidentally, I've not noticed that I was working on /dev/sda and I've created a new GPT table using fdisk ...
1
vote
2
answers
2k
views
How do I add make a directory like a variable?
Sorry for my weird question, I am very new to Linux and I am not sure what the correct terminology is.
I am writing a bash script, and I want to be able to add some directories to... I don't know ...
1
vote
1
answer
175
views
Symlink becomes copy after saving it
I have the issue that if I make a symlink to a PDF, then open the symlink and make any sort of change to it, if I save the symlink becomes a hard copy of the changes rather the changes happening to ...
1
vote
1
answer
1k
views
How to increase Ubuntu partition on AWS?
Once I got AWS EC2 instance, it had 8Gb drive. I expanded it in control panel from 8Gb to 16Gb and I was not required to do anything else: once I restarted instance, I got 16Gb drive. Next I have ...
3
votes
2
answers
5k
views
Is changing a block device's ownership/permissions equivalent to changing a filesystem's ownrshp/perms? Is this something one would want to do?
I was trying to answer this question: Cannot fsck a disk due to no r/w access. To which I replied:
The answer is implied in fsck's output.
Change ownsership with:
# chown username /dev/sdb5
$ ...
0
votes
0
answers
3k
views
External HDD not mounting
So, basically, from one day to another, my external HDD is not being auto mount in Ubuntu 16.04
I did not make any change in the OS
The only change I've made it's that I bought a new cable for the ...
0
votes
0
answers
704
views
16.04 Desktop wallpaper is broke after gnome 3 install
I tried gnome 3, and after my desktop wallpaper is just black.
I've tried many fixes so far. There were other problems like my login screen was broken. Uninstalling gnome, and reinstalling ubuntu did ...
0
votes
1
answer
744
views
Move to Trash is not working in different partition
move to trash works in /home, but not in the root directory /.
I want to delete a file from /opt/lampp directory, but I get the question of whether I'd like to delete the file permanently.
Here is ...
2
votes
2
answers
3k
views
Folder Permissions for External Hard drives
I am trying to set up an Emby server with libraries located on different internal hard drives. Emby requires that I give the user it creates (emby) access to folders/files when I want it to read them. ...
0
votes
1
answer
2k
views
Deleted hosts file - how do I move or copy a file to the /etc folder?
I pasted saiarcot895's code from here:
Modify Hosts File
Now my /etc/hosts file us gone with nothing in the trash either.
How do I move or copy my custom hosts file from my desktop into the /etc ...
0
votes
1
answer
100
views
Symlink breaks after usage
I have OpenERP 7 and I am trying to get the attachments to be saved on the local file system
Configurations on OpenERP are done and are working, but it would only save the files to the installation ...