Hello,
I recently found a folder in Dom0 file system, which is originally hidden. Seems strange. It has no read or write permission for root and the owner of the folder is Root.
Can anyone tell me what it is, and it’s purpose.
Hello,
I recently found a folder in Dom0 file system, which is originally hidden. Seems strange. It has no read or write permission for root and the owner of the folder is Root.
Can anyone tell me what it is, and it’s purpose.
Hi @Zaro ,
the dom0 filesystem gets two lost+found folders:
[user@dom0 ~]$ sudo find / -name "lost*" -ls
11 16 drwx------ 2 root root 16384 Jul 2 2020 /boot/lost+found
11 16 drwx------ 2 root root 16384 Jul 2 2020 /lost+found
owned by the root user and with read/write access for root (drwx------
).
These two directories are normal and linked to the EXT4 filesystem implementation, see the wikipedia simple explanation.
Check the content of these directories, if empty, all is good, else means that your filesystem gets some lost files.
EXT4 creates such lost+found directories for each partition, so it isn’t normal if you find a lost+found directory that isn’t in the root of a filesystem or with different access rights.
In my example, in fact, /
and /boot
are two separate partitions:
[user@dom0 ~]$ mount|grep ext4
/dev/mapper/qubes_dom0-root on / type ext4 (rw,relatime,discard,stripe=16)
/dev/nvme0n1p2 on /boot type ext4 (rw,relatime)
So check your dom0 filesystem(s) with the above information.
hello, @ludovic Thank you very much for the information.
The path for my Lost+found file is as we open the system storage, in Dom0. It is present along with all other folders like etc, Usr, and all.