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).

Filter by
Sorted by
Tagged with
2 votes
2 answers
2k views

Fixing , /var/snap/firefox/common/host-hunspell mount issue

I installed Firefox as a snap and it set my partition's mount point to , /var/snap/firefox/common/host-hunspell. Now, I'm trying to remove the snap installation of Firefox, and it will not completely ...
6 votes
4 answers
4k views

How to find files that do not have a duplicate in a separate directory

I have an old backup of documents. In my current Documents directory, a lot of these files exist in different locations with different names. I'm trying to find a way to show which files exist in the ...
2 votes
1 answer
184 views

Filesystem with encryption support

I need filesystem level encryption with the following features: directory encryption. being fast. being based on passphrase. has less overhead. only the user who decrypt it can access and see the ...
0 votes
0 answers
35 views

'LABEL=writable'

When I power up my desktop, Ubuntu 22.04, I get this message: findfs: unable to resolve 'LABEL=writable'. /etc/fstab does not contain any entry with 'LABEL=writable'. I have used both FSCK and E2FSCK ...
1 vote
0 answers
40 views

File system is very slow on both my drives

I'm having a strange problem with trying to load things off my drives on Ubuntu 22.04.3. My computer has a 2TB NVMe SSD as its boot drive and a 14 TB hard drive that I store data on. I'm not ...
3 votes
1 answer
1k views

On Ubuntu, which applications use binary file size units, and which ones use decimal units?

Applications on Ubuntu use different file size units. Binary units are multiples of 1024, whereas decimal units are multiples of 1000. Which applications on Ubuntu use which system?
3 votes
2 answers
13k views

How to mount UBIFS/MTD partitions?

I have a lovely mount: unknown filesystem type 'ubifs' error with Ubuntu 14.04. What package provides this functionality? It should be included in some previous versions of Ubuntu. The mtd-* ...
0 votes
1 answer
54 views

what is the difference between /proc and /sys directories in Linux, I still doubt it [duplicate]

along with the previous main Q, I also have another one why can't we write in /usr even though they can be new software packages added to our system, does that mean it only saves info and data on ...
0 votes
0 answers
18 views

root and efi mounted as external HDD - Ubuntu 20.04

After inserting a corrupted USB stick trying to format it, sometimes root and /boot/efi partitions were mounted as external HDD, as in this picture This problem isn't happening at any boot but only ...
0 votes
1 answer
4k views

Mount Internal drive Lubuntu

I am using Lubuntu 16.10 installed on 120 GB drive. However, I also have a secondary 1TB hard drive full of personal data and similar valuable information, yet I am unable to mount it: jan@Bondy:/$ ...
1 vote
1 answer
5k views

Input/output error when accessing a directory

I have ubuntu 14.04 installed on a 256Gb SSD (Sandisk). The drive is partitioned to 120 GB (with OS) and the rest as a secondary Data partition. The Data partition has started having I/O problems this ...
0 votes
0 answers
38 views

eMMC replaced with SD, showing incorrect storage size

I'm attempting to get an SD card to mount on boot for permanent storage and I'm pretty sure I screwed it up. This is my first time with Linux and I'm not a programmer. I've never even partitioned ...
12 votes
5 answers
25k views

How to convert ext2 to ext4?

I installed Ubuntu 12.10, and I don't know why, I have an ext2 partition. How can I convert this ext2 file system to an ext4? Will I lose all my data?
0 votes
0 answers
43 views

Unresponsive storage ssd

I have a ssd with very important data in my workstation. It has a ext4 and a ntfs partition. This morning, the ext4 partition (sda1) didn't mount, and the filesystem was listed as "unknown" ...
0 votes
0 answers
19 views

Does dosfsck -a log errors it found?

I have a question. Does dosfsck -a log the errors it found? Like, the specifics of the error? Because, since it's doing it all automatically, it doesn't let the user have input, so I wondered if it ...
0 votes
0 answers
74 views

ls and find give "invalid argument" when passing no argument

I have an external hard drive, formatted with NTFS. On it I have one folder with about 100,000 files, totalling about 140GB (excluding overhead). I'm finding that I can no longer list the files in the ...
0 votes
2 answers
6k views

Root filesystem check failed

While updating ubuntu my system crashed and after restarting and entering to ubuntu I get the message Root filesystem check failed.Very much similar to the post Ubuntu 13.04 to 13.10: Filesystem check ...
1 vote
1 answer
2k views

Download Ubuntu rootfs

Similar to what is possible with Alpine Linux is there a place where I can download some kind of official "core" rootfs of Ubuntu, mainly for chroot purposes?
1165 votes
14 answers
1.7m views

How do I determine the total size of a directory (folder) from the command line?

Is there a simple command to display the total aggregate size (disk usage) of all files in a directory (folder)? I have tried these, and they don't do what I want: ls -l, which only displays the ...
0 votes
0 answers
62 views

Linux boots into emergency mode Ubuntu 22.04

When I look at the journalctl, I see these two error messages related to time out waiting for the device: Here is a look at my fstb : Not sure what to do.
0 votes
0 answers
268 views

EXT4-fs error + ubsan array index out of bound

Suddenly this message started appearing every time I start my computer. When it appears, I have to restart the computer. What's the problem? Thanks
0 votes
0 answers
51 views

low disk space on file system root

I am working with Ubuntu 20.04. I had my ssd swapped for a larger one and had restored an image of the older one by a technician. It worked fine until recently the error "Low Disk Space on "...
6 votes
1 answer
7k views

Hard drive error : EXT4-fs error - Failed to write entry, ignoring: Read-only file system

I have a Asus R556L, running Ubuntu 18.04LTS on dual boot with Windows 10. The sata mode in the bios is AHCI. Ubuntu works fine, but after working for a while, it goes to the black terminal screen ...
1 vote
2 answers
6k views

How to resize / and add another logical volume without data loss

Ubuntu 16.04 installed with these settings "Erase Disk and install Ubuntu" with "Use LVM with the new Ubuntu installation". Now have 3 partitions: /dev/sda1 mounted as /boot/efi /dev/sda2 Linux file ...
393 votes
8 answers
529k views

How is the /tmp directory cleaned up?

How is the /tmp directory cleaned up? Is it automatic? If so, how frequently is it cleaned up?
0 votes
2 answers
4k views

Docker taking too much space, even after removing all the images and containers

I started using Docker recently and Docker was taking up too much space even after i prune all the dangling containers and images. When is try to run sudo docker system prune --all -f it shows "...
1 vote
2 answers
1k views

Hunting down qpaeq graphic equalizer preset files

I'm using pulseEQ on Ubuntu 20.04. I get qpaeq up and running and the GUI isn't great. I have sliders with no axis values. I download my equalizer preset from github/autoEQ, but there's no good way ...
0 votes
0 answers
95 views

I seem to have completely messed up my filesystem

Ubuntu 22.04 on a lenovo ThinkPad W520. I #think# I have an external disc mounted on /media/claus and the terminal finds it. In my sidepane though the "500 GB Volume" symbol that should ...
0 votes
0 answers
77 views

Gparted shows Linux filled less than it actually is. How to fix it?

I've had Ubuntu System with the size of 100 GiB. I've made some manipulations for repairing the system and, as a result, my Linux cannot boot, and GParted shows there are only 1 GiB filled on the ...
5 votes
3 answers
15k views

Extend LVM size

I recently cloned my ubuntu from a 250GB SSD to my new 2TB SSD. It automatically created an LVM with 248GB with my root filesystem in it. I would like to resize the LVM to full 2TB. nvme0n1 ...
1 vote
1 answer
90 views

Where does ubuntu store the address for the global proxy?

When you install an ubuntu server it asks: "If this system requires a proxy to connect to the internet, enter its details here." I decided to try throwing in a random local address with the ...
1 vote
0 answers
130 views

Why does "nautilus"(Gnome FIles) gives me so smaller size of directory, compared with "du"?

I have uncompressed a folder and if I right click in the folder and click properties, I get from nautilus (Gnome Files) Gnome Files output: but instead if I do: $ du -sh * 292M branches 236M ...
2 votes
2 answers
8k views

Unknown Filesystem - grub rescue after Windows 10 update?

About a week ago Windows 10 ran its automatic updates and after that I'm unable to boot to ubuntu the way I was doing it (pressing f12 and manually selecting Ubuntu partition). Now it takes me to a ...
2 votes
2 answers
3k views

Is BleachBit really necessary?

I've heard that the ext4 filesystem does not need to be defragmented because the way it stores information is engineered to avoid exactly that problem. At them same time, I have a program called ...
0 votes
2 answers
11k views

How to set a filesystem type without losing data?

I have my 2TB external HDD that was working perfectly. Now it won't auto mount or manually mount. I keep receiving errors telling me that I have the wrong filesystem type. Is there a way to set a ...
1 vote
1 answer
114 views

Samba share of 1.6TB Exfat partition only shows 215 GB

I recently set a samba share on my Ubuntu server. I have a partition which is 1.6T mounted to it, however it only shows 215 GB on both Windows and Mac machines connected to it. Partition is sda2: ...
9 votes
3 answers
970 views

Give multiple users transparent ownership of directory and contents

I've got a directory that I want to be owned by multiple users on the system. That is, I want any application running as oli to think those files are owned by oli, just as any application run by jim ...
-2 votes
1 answer
181 views

How to remove Virus Popup Alerts coming from Chrome? [duplicate]

I have downloaded a PDF book from a site after which every now and then this virus alert pops up as shown in the Image. How to get rid of it? Please suggest any Antivirus which disinfect the virus ...
12 votes
4 answers
58k views

Low disk space on Filesystem root despite having plenty of space in `home`

I just got this warning I tried to follow this and this questions, but I fail to understand why this is happening when I still have a lot of space available in home: df -h Filesystem ...
0 votes
0 answers
15 views

What is the field inside the struct ext4_inode responsible for providing pointers to where data is actually located on disk?

I've been reading the ext4 documentation on kernel.org and in the struct ext4_inode section it is show a field named i_block. It says "Block map or extent tree". Does this field contain ...
0 votes
0 answers
14 views

What is the use of "mke2fs -z undo_file" option?

-z undo_file Before overwriting a file system block, write the old contents of the block to an undo file. This undo file can be used with e2undo(8) to restore the old ...
0 votes
1 answer
255 views

Not able to delete a file even if using sudo command on ubuntu 22.04 LTS

I have a text file Summary_DataTypes.txt which was created by me earlier. It appears in lsand vs code. But does not show in the folder even if I do show hidden folder. I want to delete this file but ...
14 votes
4 answers
137k views

Can't mount ISO file as loop device: Error: “failed to setup loop device”

sudo mkdir -p /media/cdrom cd ~ sudo mount -o loop ubuntu-* / mount: ubuntu-*: failed to setup loop device: No such file or directory
4 votes
1 answer
987 views

sudo: /etc/sudo.conf is group writable

I've made a mistake. List of commands that I typed: sudo usermod -a -G root erp sudo chmod g+w /etc setfacl -R -m u:erp:rwx /etc Then ssh.service of the virtual machine stopped working and when I ...
0 votes
1 answer
127 views

How to fsck if the system always reports "/dev/sda1 is mounted" - Ubuntu 23.10

So my question is exactly as the title suggests... I want to verify no system errors as Ubuntu keeps falling over / blank screen during boot. Using the Disks utility the system reports that fsck ...
0 votes
0 answers
89 views

How to unmount read-only file system and resize it. Ubuntu 22.04

I need to resize /dev/nvme0n1p1 partition because it takes almost all memory from my SSD. And also I couldn't make dual boot for Windows as second OS, so I need help. I've tried this commands to ...
0 votes
1 answer
167 views

I am unable to access or write to etc/hosts file

I am attempting to edit theetc/hosts file. I am able to access it through the graphic file system to find that it is read only. When using sudo nano etc/hosts as many suggest, I see that the directory ...
644 votes
24 answers
750k views

How do I free up more space in /boot?

My /boot partition is nearly full and I get a warning every time I reboot my system. I already deleted old kernel packages (linux-headers...), actually I did that to install a newer kernel version ...
0 votes
2 answers
677 views

Can't read HDD partitions from Live USB

Hi got a problem with Linux today. At boot show a message: fsckd-cancel-msg: Press Ctrl+C to cancel all filesystem checks in progress And stay stuck. Trying to access the HDD from another Live USB to ...
0 votes
3 answers
7k views

Linux cannot find Documents Directory

One day I moved the Documents directory inside the Downloads directory. I could still access it as usual, but, eventually, I ended receiving this message (also see the screenshot): Oops! Something ...

1
2 3 4 5
57