Filesystem structure not working.

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Filesystem structure not working.

Postby laidlaws » Mar 2nd, '24, 14:51

{I must be getting too old. The answer to this question should be obvious, but I cannot see it.}

I am running a standard installation of Mageia 9. It has the usual top-level "/" directory containing only the main folders. iT is normally a few GB but is only 14 MB.

But that isn't my problem. Every file in each of those subdirectories, including /home, is counted as being in /, which fills up very quickly. This seems to be a natural consequence of the directory structure, but it has worked that way for years. What am I missing?
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: Filesystem structure not working.

Postby doktor5000 » Mar 2nd, '24, 16:04

Some more information would be necessary. How do you measure the size for / ? How do you check if a file/subdirectory is located in / filesystem ?
The output of
Code: Select all
df -PhT

would be helpful
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Filesystem structure not working.

Postby laidlaws » Mar 2nd, '24, 16:43

df -PhT:
The size of / is the same. /dev/sdc is a USB key.
Code: Select all
# df -PhT
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  3.9G     0  3.9G   0% /dev
tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
tmpfs          tmpfs     3.9G  1.6M  3.9G   1% /run
/dev/sda14     ext4       48G   46G     0 100% /
/dev/sda9      ext4       20G  6.1G   13G  33% /usr
efivarfs       efivarfs  256K   60K  192K  24% /sys/firmware/efi/efivars
/dev/sda11     ext4      260G  258G  1.5G 100% /home
/dev/sda13     ext4       20G  288K   19G   1% /tmp
/dev/sda12     ext4       15G  4.6G  9.4G  33% /var
tmpfs          tmpfs     790M   88K  790M   1% /run/user/1000
/dev/sr0       iso9660    14M   14M     0 100% /run/media/doug/rEFInd_0.12.0
/dev/sdc1      vfat      512M  266M  247M  52% /run/media/doug/LIBREELEC
/dev/sdc2      ext4       28G  3.5G   24G  13% /run/media/doug/STORAGE


added code tags ~Germ
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: Filesystem structure not working.

Postby doktor5000 » Mar 2nd, '24, 20:36

Seems you missed one question.
doktor5000 wrote:How do you check if a file/subdirectory is located in / filesystem ?


Apart from that your / and /home is 100% full. Not sure you you cam to that 14 MB but / is currently 46GB in size.
On an unrelated note, any particular reason why you have separate filesystems for /usr, /tmp and /var ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Filesystem structure not working.

Postby laidlaws » Mar 3rd, '24, 17:43

I still can't give a mechanism for this, but I cansee now why it happened when it did. A few months ago, I bought and added to my machine a drive in M.2 format to hold backups. In the M.2 format, it was a rather tiny PCB rather like a stick of RAM. Ther is a place on the motherboard to mount it physically. Because there were no cables involved, I had to accept thed rive letter the BIOS gave it, which was /dev/sda. Both Windows and Linux saw it as the first drive, and that was where Mageia installer put the installation, noton thje hard drive, which was now /dev/sdb That caused the confusion. I eventually forced the installer to use the original partitions on the hard disk, and it all came together
Sho mark this thread as SOLVED or INVALID, following Bugzilla classification?
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: Filesystem structure not working.

Postby doktor5000 » Mar 3rd, '24, 17:46

Just mark it as DONE as there is no real solution.

Hint: you can use lsblk to more easily see the disk/partition hierarchy including the filesystem mounts.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18042
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron