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
1 answer
2k views

Nautilus does not auto refresh after creating new files in directory [duplicate]

I have a python program that creates some .csv files in the same directory as the python script. I navigate the directory containing the script in nautilus and then run the program. The new files do ...
2 votes
2 answers
343 views

How do I separate my boot partition from my storage partition?

I have a dual-boot Windows 7 and Ubuntu 14.04 system. The windows partition is on my larger 1 TB HDD, but my Ubuntu was installed onto my significantly smaller 32 GB SSD. Without completely ...
1 vote
0 answers
73 views

Command in Ubuntu 18.04 that returns tabular information about external drives like the old `fdisk` did

In the good old days before the output format of fdisk was changed, as illustrated in this link, I could obtain the file system type of an external drive with a command like sudo fdisk -l | grep sd ...
0 votes
1 answer
60 views

How can i make a partition sharable to windows in the given options

I am unable to find my files in D drive of Windows. I have make a partition of that drive in ubuntu which is working properly but not the old one. It's showing some file system error and there is no ...
8 votes
1 answer
5k views

2nd drive fills up storage space on root file system

Running Ubuntu 18.04 of a 256GB SSD with full disk encryption and an additional 1TB harddisk mounted for larger files. I keep getting "Low on space" notifications because "The filesystem root /" is ...
0 votes
1 answer
38 views

Format Filesystem to work with separate boot and data drives

I am building a PC and was going to use a small SSD to hold my OS and a larger hard drive to store my files on. I was wondering if there was any way for me to move my home folder or mess with my ...
0 votes
2 answers
548 views

Why does Gparted leave a spare used space after formating for all File Systems(ntfs,fat32,ex4)?

I have maybe a theoretical question about file systems or how gParted works. After when I deleted some patritions and then format into some file systems(ntfs, fat32, ex4). I noticed that some spaces ...
1 vote
1 answer
90 views

Which folders are in /dev/sde3?

How to see which folders are in /dev/sde3 ? df -h /dev/sde3 39G 32G 4.8G 87% / Doing: cd / sudo du -d 1 -h | sort -hr Also shows me folders like: /dev/sde4 ...
1 vote
1 answer
411 views

Am I using the "ln" and "unlink" commands correctly?

I have several JavaScript projects that use the same set of utility scripts. Today after copying (cp) the library folder for the dozenth time, I did some research I found the ln && unlink ...
116 votes
2 answers
203k views

How can I use RAM storage for the /tmp directory and how to set a maximum amount of RAM usage for it?

After seeing the comment by Anonymous on the question How is the /tmp directory cleaned up?, I found that it would be a great idea to implement on my system, since I have 16GB of RAM and I never used ...
0 votes
1 answer
237 views

EF file extension

How can I open Easy-firmware's EF file extension? The tool they provide is windows only and they will not provide a supposed password to open in Linux. They started this crap extension after I had ...
5 votes
1 answer
20k views

How to uninstall a snap package manually?

I am trying to remove a snap package, leagueoflegends, but i am getting this error: error: cannot perform the following tasks: - Disconnect leagueoflegends:desktop-legacy from core:desktop-legacy (...
0 votes
0 answers
342 views

Cannot paste folder to system files - error read only

I'm not sure if this is a duplicate - i tried searching for answers to this problem but the solutions seems to only governs flash drives or virtual machines. I am trying to paste a folder from my ...
6 votes
1 answer
926 views

'rm' (delete) thousands of files selectively

I created a cache system in my web server which stores the HTML files of each webpage, instead of dynamic producing them. As a consequence, I have 50,000+ files within a directory in a Linux server. ...
1 vote
1 answer
2k views

What creates /tmp/fileRandomName log files and how do I disable it or redirect to /dev/null?

There are files in /tmp created on each user login that look like .xsession-errors or some other log. Current name for example is /tmp/filercrEUk. I don't see them getiting erased after logout and I ...
3 votes
1 answer
857 views

How do I cd the remote server directory mounted through File/Nautilus? [duplicate]

I mount my server drive through Nautilus as What is a program similar to WinSCP? describes, then how do I cd the directory in Terminal? I don't want to double click a folder again and again.
16 votes
3 answers
5k views

Disk slowly filling up but no visible file size changes

df Filesystem 1K-blocks Used Available Use% Mounted on /dev/vda1 30830588 22454332 6787120 77% / none 4 0 4 0% /sys/fs/cgroup udev ...
44 votes
5 answers
180k views

Read Only usb stick that won't let me do anything to it

Somehow I messed up and accidentally made my usb stick into a read only file system. I have tried a bunch of things to delete the files, including the basic (rm -f myfile) and attempting to allow ...
3 votes
1 answer
938 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 ...
1 vote
1 answer
396 views

How to display number of items in sub-directories from command line

In Ubuntu graphical user-interface, I can list the sub-directories in a directory where one column represents the number of items in these sub-directories. As shown here: Is there a way to get the ...
0 votes
1 answer
114 views

Will windows 10 partitions work on ubuntu without data lose [duplicate]

If I install Ubuntu 18.04 LTS on Windows partitions will it remove my media files? If it removes them, then how to get rid of this problem?
2 votes
2 answers
3k views

tmpfs filesystem on the output of `df -h` on Ubuntu 16

I recently upgraded one of my set-up to Ubuntu 16 from Ubuntu 14. On doing df -h I am seeing output like below udev 7.9G 0 7.9G 0% /dev tmpfs 1....
0 votes
2 answers
5k views

Why have all my files become read-only?

I was trying to install Spotify onto my ubuntu...and I don't know what I did wrong, but I do not have Spotify and all of my files have become read-only (everything in the file system has a padlock on ...
2 votes
1 answer
8k views

How does External HDD with NTFS format works on Ubuntu?

I connected my external HDD which is formatted in NTFS file format, I was able to read as well as write to it. I have read that Linux can only read NTFS drives but can't write to them. How does this ...
0 votes
2 answers
1k views

What is a good location for a server-like application to save its permanent data?

I have an application that needs to save some session information etc permanent data. What would be a good system directory for this? Something under var/ ?
2 votes
1 answer
673 views

Does chown or chmod generate write reques when they need not change anything?

Do utilities chown and chmod perform actual writing to the file when the settings they were instructed to set are already what file has? For example: > ls -l ... gooduser gods ... state_secrets ...
2 votes
1 answer
2k views

Mount a ramdisk with user permission

I try to mount a ramdisk which does not require root permission to work with. I used sudo mount ramfs -t ramfs /media/typicalramdisk/ Which requires root. So, I tried: sudo mount ramfs -t ramfs /...
1 vote
0 answers
1k views

Is XFS supported as the root file system on Ubuntu 18.04?

Does Ubuntu Server 18.04 support XFS for the root filesystem? The Ubuntu wiki says GRUB-Support is in an early stage, therefore using xfs as boot-filesystem can be a bad idea I plan to use a ...
1 vote
1 answer
39 views

default link to $USER/desktop which works in every language

Is there any static link (and I'm sure there is, but I couldn't find it) which defaults to $HOME/desktop if I've changed the language. My problem is, I'm writting a little program and want to put ...
0 votes
0 answers
1k views

USB stick with read-only file system

I have a USB stick, and I just want to format it. But when I try to do it with Nautilus or Gparted, there is an error because the USB stick file system is read-only... I found some posts about it, ...
1 vote
1 answer
232 views

Dropbox objects to Ubuntu's file system [duplicate]

I kept getting notifications from Dropbox that I needed to move my Dropbox to a supported filesystem. Not quite sure what that meant. The syncing has now stopped. I removed the old version of Dropbox ...
0 votes
0 answers
34 views

How do I remove all of the data on a harddrive partition without removing/altering the filesystem?

I have a drive that has corrupted data on it. I need to wipe all of the data on that hard drive partition without altering the filesystem because I cannot rebuild the filesystem (It'd a very old ...
4 votes
0 answers
2k views

Identifying the file system of an img file and mount it

I have downloaded an SD image loader from nxp website. The name of the downloaded item is O8.1.0_1.4.0_ANDROID_TOOL_7ULP_GA (This is not an Android question btw). The image loaded on my SD is inside ...
10 votes
3 answers
38k views

Delete the parent folder keeping the contained files?

Is it possible that if I have this: /folder1/folder2/folder3 /folder1/folder2/file1.txt Can I delete folder2 but keep its content? So the result would look like: /folder1/folder3 /folder1/file1....
19 votes
4 answers
19k views

Why does lsof complain about tracefs?

Every execution of lsof issues a warning about the TraceFS: $ lsof any-file lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing Output information may be incomplete. $ ...
4 votes
2 answers
3k views

Where's the best place to share files from?

I've got Samba installed on Ubuntu 10.04 and am about to configure it using webmin, but I just realized I don't know the best place to create a file share on a Linux system. I want to use best ...
2 votes
1 answer
85 views

Which partition is which? (Installation help) [duplicate]

I am trying to install Ubuntu 18.04 alongside Windows on this new hard drive (not new but I never used it before). Here's how I formatted the disk (from Windows disk management) Partition 1: 25GB ...
0 votes
2 answers
236 views

Is there a way to access a folder and it's files from a different network?

I am migrating my photo library from Google Photos to my local Pictures directory on my Ubuntu 18.04 LTS system. However, I was wondering if there was a way to view those photos on a different ...
0 votes
1 answer
88 views

Files not seen in terminal

Today I started experiencing a unique problem on my external drive. The file manager pcmanfm is able to show all files. I am able to edit and save files from gedit or other such programs. But when I ...
2 votes
1 answer
112 views

What is the file /etc/crack? Should it be there at all?

Does anyone else have a crack sub directory in /etc (ie /etc/crack)? I'm worried my computer's been hacked.
2 votes
0 answers
592 views

Why does System Monitor show so many File Systems? [duplicate]

When I opened System Monitor for the first time just after installing, it only showed three or four records, now after a week it shows a bunch of them, some 100% full. What does that mean?
-1 votes
3 answers
2k views

Will backing up the /usr folder backup all my programs?

Say I want to back up the "apps" (software, but I guess everything is software) of my system. Some of them are in /opt, some are in my home folder, but where do most go? For those installed via ...
2 votes
1 answer
8k views

Unable to mount ext4 file system, it says mount: unknown filesystem type 'ext4dev'?

I am trying to mount an ext4 file system in Ubuntu terminal, but I get the error message mount: unknown filesystem type ext4dev $ lsblk -f /dev/sdb1 NAME FSTYPE LABEL sdb1 ext4dev ext4 The ...
0 votes
1 answer
170 views

Filesystem resize after Gparted?

I resized a /dev/sda5 which is a "[Encrypted] lvm2 pv" file system. The size is now 91.13G with Unused 28.76G. However, df -h is not showing this: Filesystem Size Used Avail ...
1 vote
3 answers
5k views

Linux dropfolder where users can't delete files

I am working on a file server project for school and I am using samba to share the folders. I have been playing around with the folder permissions but I can't seem to figure out how to make a drop ...
0 votes
1 answer
3k views

Low disk space in root

EDIT= added information requested by users Space > root > 20gb swap > 8gb /home > 300gb I'm unable to figure out why I have no space whatsoever. I was able to find some commands to list, and this ...
2 votes
2 answers
3k views

Editing rc.local for Ubuntu Core

I am trying to create a startup script on Ubuntu Core to enable usb_modeswitch to change the mode of one of the devices connected to the device. I am running Ubuntu Core on the Dragonboard410c. As in ...
0 votes
1 answer
3k views

Error: No such device and Error: unknown file system

I was installing Lubuntu on an external flash drive (not wise) and then when I go to boot back up on Ubuntu this pops up.
0 votes
2 answers
9k views

Emergency mode due to filesystem check

On bootup, filesystem check occurs and it stops at 61% and I am redirected to a page with the message you are in the emergency mode. I don't know what to do next. This is the message that I get at ...
2 votes
1 answer
701 views

File size differs between ls and ncdu

I'm a little confused. With ls -laght a file with the size 1,0T is displayed: -rw------- 1 nogroup 1,0T May 6 14:01 nextcloud-flat.vmdk with ncdu only 9,1 GB: /mnt/backup/backup/nextcloud/nextcloud-...

1
19 20
21
22 23
57