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
0 votes
0 answers
19 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 ...
0 votes
0 answers
28 views

I want to use toilet to modify hook_function [closed]

I need to use toilet to modify hook_function,when I use hook than result can produce colorful output. Appreciate your response. Thanks in advance. #include <stdio.h> typedef long (*syscall_fn_t)(...
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
38 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
37 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?
1163 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
55 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
150 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
38 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 ...
392 votes
8 answers
528k 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
85 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
76 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 ...
4 votes
3 answers
14k 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 votes
0 answers
111 views

Can't pinpoint cause of "disk quota exceeded" error

I'm trying to pinpoint the reason for a "disk quota exceeded" message and not having much luck (or skill). I first noticed the issue when trying to save a file in vim, then confirmed it with ...
1 vote
1 answer
78 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
126 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
111 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: ...
8 votes
3 answers
936 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
153 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
57k 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
12 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
211 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 ...
13 votes
4 answers
136k 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
866 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
100 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
68 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
126 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 ...
643 votes
24 answers
748k 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
655 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 ...
0 votes
0 answers
50 views

Ubuntu 22-4.3 Boot Issue [duplicate]

I'm not technical but have been using the above for some time now without any issues. However I just tried to start my desktop and got a message at boot up stage talking about "Unexpected ...
453 votes
3 answers
375k views

Mount error: "unknown filesystem type 'exfat'"

When trying to mount an exfat filesystem, I get the following error: Error mounting /dev/sda6 at /media/gkp/Backup: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda6" "/...
2 votes
2 answers
124 views

My western Digital hard disk was failed to be recognized by Ubuntu system recently. It seems have error sectors. How to recover data from it?

I have a 6T internal hard drive in my Desktop with Ubuntu 20.0.4 system. It works well before, but very recently it happened twice that it can't be recognized by the system (unmounted). The first time ...
0 votes
1 answer
4k views

How to make read-only file system writable on Ubuntu 16.04?

I am trying to delete some files from my microSD card on my Ubuntu 16.04 (I am using MircoSD adapter in order to access my files). However the file system has been changed to 'read-only' and hence I ...
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 ...
0 votes
0 answers
76 views

Trash folder in /tmp?

I just installed Xubuntu 22.04 on a new machine. My old machine running 18.04 died. On both machines, I have /tmp setup as a ram drive. On 18.04, /tmp had a trash folder (I think it was .Trash-1000). ...
56 votes
6 answers
38k views

Can I modify a bash script (.sh) file while it is running?

Suppose I have a script script.sh, which takes some time to execute. I execute it, ./script.sh. While it is running in a terminal window, I modify the file script.sh. Will this have any effect on the ...
29 votes
3 answers
46k views

Howto free up space properly on my /var/lib/snapd filesystem when snapd is unavailable?

I'm using Ubuntu 20.04 LTS. My snapd service is unavailable : $ systemctl status snapd.service ● snapd.service - Snap Daemon Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor ...
2 votes
1 answer
4k views

mount apple filesystem using fsapfsmount

I'm trying to mount a 5TB external USB disk into an Ubuntu 20.04 LTS. Among other things the utility expects a container with the apple FS and a mount point. Maybe I should mention that it is an ...

1
2 3 4 5
57