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
0
votes
1
answer
828
views
What is the delete target of "echo 2 > /proc/sys/vm/drop_caches" command
sync
echo 2 > /proc/sys/vm/drop_caches
After I execute above command, available memory is significantly increased than below consumed Slab memory.
cat /proc/meminfo | grep Slab
Slab: 6169212 kB
...
1
vote
0
answers
224
views
How to solve read only in file system for a windows drive in ubuntu
I am using Ubuntu 18.04. Recently I added a ssd in my pc. The SSD used for a long time in windows. When I start using that I can't create any file and folder on that drive but I can read all the files....
1
vote
0
answers
154
views
Cannot use dpkg or update anything due to kernel
since today I have noticed that I cannot install gparted or even check for updates because of unknown error. All I understand is that kernel does not allow to be removed and stops any process that I ...
0
votes
0
answers
26
views
How to boot Ubuntu 22.04.1 as read-only? [duplicate]
Trying to figure out how to boot Ubuntu 22.04.1 installed to internal SSD as read-only (similar to Tails).
0
votes
1
answer
994
views
mkdir can not create directory, no such file or directory after installing ubuntu and removing windows
So I recently installed ubuntu. Before this I had Windows installed with 3 drives i.e 'C:/','Studies:/' etc.
I only tried to remove the C drive and installed ubuntu there, which I did successfully. ...
2
votes
1
answer
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 ...
-1
votes
2
answers
117
views
Storage 100% full [duplicate]
I don't have much experience in system administration. I have installed a Mastodon instance on a VPS running Ubuntu 20.04. After ten days the server has been completely filled, which seems very rare ...
1
vote
0
answers
584
views
Open file limit is not Changing in Ubuntu
I need to increase the open file limit size in my system,
I have made changes in the following files,
file:-/etc/security/limits.conf
changes:-
* soft nproc 990000
* hard nproc ...
0
votes
0
answers
211
views
Whole File System is not getting open in Ubuntu 22.04
file system is only loading
Most Of the time when I try to open the file system , it does not get open and only try to load it till I turn off the computer or restart the computer.
I should mention it ...
0
votes
1
answer
2k
views
How to install F2FS mounting capability on Ubuntu 22.04?
The title basically says it all.
The reason is that I want to access a userdata partition dump of an Android phone from my WSL2 installation.
As understand this, I need to build an f2fs.ko file and ...
0
votes
3
answers
2k
views
What is the need of multiple users in linux? [duplicate]
I am pretty much confused about the creation of users!
Because if anyone wants to make a new user he will require my (real id password) when setting their own password using (sudo passwd username)!
...
3
votes
0
answers
357
views
Mounting Old HDDs - Not sure filesystem, RAID or not, Linux or Windows
In a bit of a pickle trying to see what's on some old hard drives sitting around in the basement. I set these up years ago and have no memory of whether they were in a Linux or Windows desktop, QNAP ...
0
votes
0
answers
444
views
How do you figure out what rm -rf deleted
I've accidentally executed rm -rf ~ because I failed to autocomplete a directory and it stayed with my home directory.
I was quick enough to kill the command in time, so no real damage (I think) was ...
4
votes
1
answer
5k
views
What is the purpose of an bpool partition in ZFS and what does it contain?
With an installation of Ubuntu-Cinnamon with ZFS as file system, the following partitions are created:
/dev/sda1 (efi)
/dev/sda2 (swap)
/dev/sda3 (bpool)
/dev/sda4 (rpool for data)
What is the ...
0
votes
0
answers
89
views
Comparision of methods for implementing directory size quota in Linux?
I came across two solutions for implementing directory size quotas in Linux.
One was using making images using the dd/fallocate/etc command and mounting it using loopback interfaces, resizing can be ...
1
vote
0
answers
29
views
Name cannot be changed on save dialogue
Minimum required condition for recreation.
Ubuntu 20.04
kernel 5.15.0-53-generic
Model XPS-13
Chrome 07.0.5304.121 (Official Build) (64-bit)
note that this occurs not just in chrome, but any ...
0
votes
1
answer
516
views
How can I implement quotas in samba?
I want to create smb shares that are limited by a given quota size also I want to be able to modify the quota size in the future. While searching for a solution I came across the setquota command but ...
3
votes
1
answer
122
views
How can I list files in category - with streaming, so command starts showing something quickly also if folder has millions of files
I have folder that apparently has millions of files inside it.
As result, dir command is running for minutes already without displaying anything.
I checked dir --help and tried to search for solution.
...
1
vote
1
answer
96
views
File system not working after installing CTParental on Ubuntu 22.04 LTS
After installing CTParental on Ubuntu 22.04 LTS, file system hangs; no longer works. Is there a fix for this? Thank you!
1
vote
2
answers
9k
views
How to change a folder's permissions and owners?
I just simply want to give the same attributes I have for "cars" directory to "animals" directory. In other words, how can I de-privilege that specific file in terms of permissions?...
0
votes
0
answers
168
views
Problem with RUN command in Dockerfile on Ubuntu 22.04.1 LTS
I am new with docker.
I have the following Dockerfile and docker-compose.yml file
FROM python:3.9-alpine3.13
ENV PYTHONUNBUFFERED 1
COPY ./requirements.txt /tmp/requirements.txt
COPY ./app /app
...
0
votes
0
answers
503
views
File system becomes (read-only?) on an NVMe SSD seemingly at random
I am currently running a somewhat fresh Kubuntu 22.04 install on a relatively new M.2 NVMe drive.
However, I have a problem where my computer drive (I think) turns read only, causing the system to ...
1
vote
1
answer
742
views
How to be sure about which version of ISO 9660 filesystem has been used to format a CD/DVD?
Note: Current version of UDisks I have: gnome-disk-utility 3.36.3
UDisks 2.8.4 (built against 2.8.4))
I have a several empty DVD+RW disks. When I insert them in the disk player and use UDisks (the ...
0
votes
0
answers
305
views
Output of e4defrag
e4defrag - the only defragmentation tool I know for Linux - outputs a lot of information not covered by its manual. I assume that if a command outputs something, it is important thus I would like to ...
2
votes
1
answer
87
views
Accidently removed pictures folder
Hello I accidently deleted the pictures folder and retsored it but now it is not appearing in navigation bar.
Attaching the image The folder is restored but it is not showing in navigation bar along ...
2
votes
3
answers
3k
views
How can I completely defragment ext4 filesystem
I want all my files in an ext4 filesystem not fragmented because of reasons. Sadly e4defrag (advised here: How to defrag an ext4 filesystem) fails to defragment several files. What are my ...
0
votes
1
answer
176
views
Certain apps cannot "see" a drive mounted at /projects, but mainstream linux apps are fine
I have a second HDD set up that automounts to /projects (a linux-nonstandard location but one used by some CAD tools). Point being to make the design self contained and transportable.
Basic Linux apps ...
0
votes
0
answers
418
views
kern.log consuming all my disk space(entry_SYSCALL_64_after_hwframe)
I get a warning that I am running out of disk space. I find that it is the syslogs, especially the kern.log(s) that are eating up disk.
It seems like my system is writing message over and over ...
0
votes
0
answers
88
views
Set a size limit in a directory and utilize the unused space
I want to set a size limit in a directory.
There is an answer already in this question,
https://askubuntu.com/a/841306/1644693
But this example creates 2Gb file, I want to utilize the unused space if ...
0
votes
0
answers
236
views
Deleted x86_64-linux-gnu
I accidentally deleted usr/lib/x86_64-linux-gnu using rm -rf. Do I need to re-install the OS or can I repair it somehow?
Ubuntu 20. something
0
votes
0
answers
2k
views
Flash drive lsblk says 0B
A friend asked for help with this USB stick, which we can't open. Ubuntu won't auto mount the USB, and this is the output of the lsblk command.
We are trying to recover the pictures of his son, that ...
1
vote
0
answers
124
views
remove read-only ISOFS file system created by startup disk creator
I created a bootable Ubuntu-20.04 USB disk using startup disk creator by Ubuntu. The boot is working fine and installed Ubuntu too. But, it has left my USB derive unusable. Whenever I try to format/...
0
votes
0
answers
54
views
Cant format sdcard other than ntfs - want ext2
When i try to format 64gb sd card as ntfs it works fine but if I try ext3 or ext2 creating the file system will take hours and it throws IO error when saving superblocks, Tried multiple sdcards all ...
1
vote
1
answer
670
views
Lost /home partition after resizing with kde partition manager
The disk name is /dev/sdd and the partition table was as it follows:
Partition
Type
Label
Size
Used
First Sector
Last Sector
Number of sectors
/dev/sdd1
unknown
Microsoft reserved
15.98MiB
----
34
...
0
votes
0
answers
141
views
How to share files via a shared drive across multiple VM's running Ubuntu 18.04?
I am trying to share a single disk across multiple VM's. The VM's are hosted in Azure and the disk is an Azure Managed Disk. I've attached the disk to both VM's and have mounted them. I can see the ...
6
votes
1
answer
10k
views
How to locate and clean /dev/nvme0n1p2?
When I execute df -H I get:
/dev/nvme0n1p2 63G 42G 18G 70% /
I'd like to clean this partition as it has 70% used space, but how do I locate it? Where are the files?
If I do disc space check ...
1
vote
1
answer
161
views
Removing Ubuntu from a previous install, leaving the data
Ubuntu 22.04.1 LTS is installed as dual-boot with Windows 11 onto a 1 TB SSD. An internally-attached 8TB hard drive contains a 6TB partition with Ubuntu 18.04 LTS installed, which has my Shotwell ...
1
vote
0
answers
195
views
File system corruption on ubuntu
My computer crashed while I was developing a C++ program. When I rebooted my computer everything seemed fine until I ran my C++ program. Everything acted... weird and wrong, I've tried some stuff, ...
0
votes
1
answer
67
views
system monitor file systems strange behaviour
when I open the system monitor app a strange thing happens. The folder /var/snap/firefox/common/host-hunspell 20 GB is a bit strange I do not understand what this
folder is
enter image description ...
1
vote
0
answers
104
views
OS on SSD says it's full but not
Been using Ubuntu for years but with old computers with big hard drives. New computer has a standard hard drive and a solid state as well. After install(Ubuntu 22.04.1 LTS) it put OS on the SSD which ...
1
vote
1
answer
297
views
Help decide between Fuse or Kernel module for exFAT filesystem
I have a program that writes encoded video into external storage with moderate bandwidth. I find that exFAT is a good filesystem for such storage since it enables linux/mac/windows platforms; ...
0
votes
0
answers
1k
views
trying to format a partition, troubled by invalid blocks
I'd be grateful for any suggestions on how to proceed with a self-made problem:
I had a perfectly fine SSD connected to my NUC desktop running Ubuntu, then I tried to make it readable by a Windows ...
-2
votes
1
answer
41
views
Intended location for personal code
For my entire Ubuntu life I've put code directories, usually git repos, in ~/Documents. According to https://help.ubuntu.com/community/HomeFolder, all personal files can go here. Ostensibly however, ~/...
-1
votes
1
answer
2k
views
how do i find the total size of BTRFS snapshots
I have a btrfs volume /shares that is snapshotted daily into /.snapshot folder.
I need to find out the real disk use of my /.snapshot folder. Currently it seems misleading becasue it lists each ...
0
votes
0
answers
210
views
Ubuntu 22.04 running on VirtualBox keeps redirecting me to the password display
I also get a recurring warning stating that I have "Low Disk Space on Filesystem root". Is there a way to fix that issue? Is it a factor in my not being able to access the program? I have ...
0
votes
1
answer
358
views
Dual boot: File system errors on startup: "RUN fsck MANUALLY" - how to prevent in the future?
I've recently had an SSD disk problem after booting Ubuntu 20.04 Linux:
The file system had errors, but fortunately, after running fsck the machine is working again. The fsck fixed many errors, ...
1
vote
0
answers
76
views
Confused about disk growth and usage
This is my first question ever posted, so I hope I will provide what you need up front.
The quick question is: why is my 2TB drive showing almost completely full when all df -h, du, or sudo du -hsx ...
0
votes
1
answer
42
views
Is there a way to "fake-install" Ubuntu filesystem into a directory or a tar from an old .img installation medium?
Long story short, I'm trying to create an ARM architecture docker image of Ubuntu 10.04 (don't ask me why) because Docker Hub only contains the amd64 version.
The furthest I got is finding that the ....
0
votes
1
answer
320
views
Repeating problem with root filesystem on SSD becoming read-only randomly
I replaced system SSD drive 1TB with a larger one 2TB and cloned the content using CloneZilla utility. Then in the OS the drive still appeared 1TB but I was able to extend it to 2TB. All the data ...
-3
votes
1
answer
326
views
Filename aux not allowed in NTFS filesystem?
In Ubuntu version 20.04.4 LTS i cant put characters like ? or " in my filenames and write them to my external hardrive because the NTFS filesystem doesn't allow them to be in the filename.
In ...