LVM size in Linux avoiding to open documents in Libreoffice?

I’m having an issue while trying to open documents with Libreoffice writer, these documents were working fine up to a week ago, everytime I try to open a document now it gives error:
problem opening file

If I try to create a new one, it creates, but gives this error:
error creating files

I tried to update the Libreoffice package didnt solve, tried to completely uninstall and install the latest version didnt solve either. Checked the permissions for the user are ok, so i decided to look at the disk space. It gives me the following messages:

[root@localhost ~]# df -h

Filesystem           Size  Used Avail Use% Mounted on
devtmpfs             3.8G     0  3.8G   0% /dev
tmpfs                3.8G   18M  3.8G   1% /dev/shm
tmpfs                3.8G  9.8M  3.8G   1% /run
tmpfs                3.8G     0  3.8G   0% /sys/fs/cgroup
/dev/mapper/ol-root   48G   28G   20G  59% /
/dev/sda7           1014M  444M  571M  44% /boot
/dev/mapper/ol-home   23G  1.9G   22G   9% /home
tmpfs                766M   92K  766M   1% /run/user/1000

[root@localhost ~]# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes, 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xeb1feb1f

Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    26626047    13312000   27  Hidden NTFS WinRE
/dev/sda2   *    26626048    26830847      102400    7  HPFS/NTFS/exFAT
/dev/sda3        26830848   457055465   215112309    7  HPFS/NTFS/exFAT
/dev/sda4       457056254   625141759    84042753    5  Extended
/dev/sda5       457062400   457816063      376832   83  Linux
/dev/sda6       457818112   459915263     1048576   83  Linux
/dev/sda7       459917312   462014463     1048576   83  Linux
/dev/sda8       462016512   625141759    81562624   8e  Linux LVM

Disk /dev/mapper/ol-root: 50.5 GB, 50524585984 bytes, 98680832 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/ol-swap: 8321 MB, 8321499136 bytes, 16252928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/ol-home: 24.7 GB, 24666701824 bytes, 48177152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[root@localhost ~]# pvs
PV         VG Fmt  Attr PSize  PFree
  /dev/sda8  ol lvm2 a--  77.78g 4.00m    

So, if there is available space as seen with the command df-h, why with the command pvs it says the /dev/sda8 has only 4M free? I’m working with other programs in the same directory without problem.
Tried to change permissions, putting 777 to everything, still no luck.

[flavio@localhost ~]$ ls -l
total 40
-rw-rw-r--.  1 flavio flavio  392 Sep 26 08:00 assessm_mod2.sql
-rw-rw-r--.  1 flavio flavio    1 Sep 22 16:10 assessm_mod.sql
-rw-rw-r--.  1 flavio flavio 1688 Oct 24 11:43 audit_proj_bloco.sql
-rw-rw-r--.  1 flavio flavio 8984 Sep 22 13:18 datamodeler.log
drwxrwxr-x.  2 flavio flavio    6 Oct 12 19:05 Desktop
drwxrwxr-x. 16 flavio flavio 4096 Oct 25 09:08 Documents
drwxrwxr-x.  4 flavio flavio 4096 Oct 24 14:24 Downloads
drwxrwxr-x.  2 flavio flavio    6 Aug 26 21:03 Music
drwxrwxr-x.  4 flavio flavio   36 Oct 17 11:30 NetBeansProjects
drwxrwxr-x.  3 flavio flavio 4096 Oct 23 16:12 Pictures
drwxrwxr-x.  2 flavio flavio    6 Aug 26 21:03 Public
drwxrwxr-x.  2 flavio flavio    6 Aug 26 21:03 Templates
drwxrwxr-x.  2 flavio flavio    6 Aug 26 21:03 Videos
[flavio@localhost ~]$ chmod 777 *
[flavio@localhost ~]$ ls -l
total 40
-rwxrwxrwx.  1 flavio flavio  392 Sep 26 08:00 assessm_mod2.sql
-rwxrwxrwx.  1 flavio flavio    1 Sep 22 16:10 assessm_mod.sql
-rwxrwxrwx.  1 flavio flavio 1688 Oct 24 11:43 audit_proj_bloco.sql
-rwxrwxrwx.  1 flavio flavio 8984 Sep 22 13:18 datamodeler.log
drwxrwxrwx.  2 flavio flavio    6 Oct 12 19:05 Desktop
drwxrwxrwx. 16 flavio flavio 4096 Oct 25 09:08 Documents
drwxrwxrwx.  4 flavio flavio 4096 Oct 24 14:24 Downloads
drwxrwxrwx.  2 flavio flavio    6 Aug 26 21:03 Music
drwxrwxrwx.  4 flavio flavio   36 Oct 17 11:30 NetBeansProjects
drwxrwxrwx.  3 flavio flavio 4096 Oct 23 16:12 Pictures
drwxrwxrwx.  2 flavio flavio    6 Aug 26 21:03 Public
drwxrwxrwx.  2 flavio flavio    6 Aug 26 21:03 Templates
drwxrwxrwx.  2 flavio flavio    6 Aug 26 21:03 Videos

When you create an LVM volume, the corresponding disk space is allocated on the physical disk filesystem so that no other activity on the computer will “borrow” from it and damage LVM processing. This is why fdisk shows the partition as “full” because fdisk only considers the filesystem on the physical disk.

pvs scans inside the OS-filesystem allocated file to report what’s happening in the LVM layer and reports the LVM usage.

LO is compatible with ANY filesystem known to the OS. I’m working with LVM without problem. LO accesses files through high-level interface and the OS translates this into low-level primitives.

That said, the error messages alludes to insufficient user rights. You should check the permissions of the directory into which you create your files and the directory above. Check also which user/group owns the directories and the files. You may also bump into SELinux access control restrictions.

If you still can’t solve the issue, edit your question (do not use an answer) to provide more info about ls -l or ls -lZ for SELinux check.

EDIT (after your question edition)

File permissions did seem to be correct in your home directory. I suppose your documents are stored in Documents/ directory. Have you checked it?

Note: it is not a good idea to add “x” permission on files because it makes them executable. Remove “x” from your .sql “and” .log "files.*

@ajlittoz I save everything under Documents, just creating new subfolders under it. Is it possible that something that I installed on the computer changed Libreoffice permissions? It is installed under group/user: root/root, but as my Documents folder and everything under it has permissions to write and read and execute for owner, group and others, it should work.
On the last week I have installed Netbeans, Gfortran compiller, Intel fortran compiler, and GCC compiller.

@flavio.mesquita: it’s perfectly OK to install packages under root. LO doesn’t change permissions; it is dependent on the system: if access is enabled r/w, LO can read and write according to OS rules (using first user permissions, then group then others). Installing compilers has no impact on user (at least in principle) unless you explicitly change settings.

Check along LO private user directory in ~/.libreoffice/ and below.

@ajlittoz: LO has the same privileges as the other programs that are under /opt
[flavio@localhost ~]$ cd /opt
[flavio@localhost opt]$ ls -l
drwxr-xr-x. 4 root root 34 Oct 11 10:19 cwp
drwxr-xr-x. 19 root root 4096 Aug 27 15:54 datamodeler
drwxr-xr-x. 13 root root 4096 Oct 10 19:10 intel
drwxr-xr-x. 7 root root 4096 Sep 20 12:03 libreoffice6.1
drwxr-xr-x. 4 root root 48 Sep 20 12:14 LibreOffice_6.1.2.1_Linux_x86-64_rpm

The ones below it:
[flavio@localhost opt]$ cd libreoffice6.1/
[flavio@localhost libreoffice6.1]$ ls -l
-rw-r–r–. 1 root root 1501936 Sep 20 12:12 CREDITS.fodt
drwxr-xr-x. 3 root root 4096 Oct 23 09:59 help
-rw-r–r–. 1 root root 430288 Sep 20 12:12 LICENSE
-rw-r–r–. 1 root root 946493 Sep 20 12:12 LICENSE.fodt
-rw-r–r–. 1 root root 586363 Sep 20 12:12 LICENSE.html
-rw-r–r–. 1 root root 5026 Sep 20 12:12 NOTICE
drwxr-xr-x. 7 root root 80 Oct 23 09:59 presets

drwxr-xr-x. 7 root root 80 Oct 23 09:59 presets
drwxr-xr-x. 10 root root 16384 Oct 23 10:00 program
drwxr-xr-x. 2 root root 26 Oct 23 10:00 readmes
drwxr-xr-x. 31 root root 4096 Oct 23 10:00 share

@flavio.mesquita: I meant the LO-private directory in your home directory. This is where LO store user information, profile and settings. If it can’t access it, things go really bad. Pay attention to the dot preceding the name; it makes the directory invisible to ls -l. You need ls -al to see it.

@ajlittoz: Ok, it was under /.config/libreoffice . It seems ok, anyway I changed the permissions on this folder and all subfolders, still doesnt work. I really dont see what can be going wrong. If it not a permission it is some folder that is full.
[root@localhost ~]# pvscan
PV /dev/sda8 VG ol lvm2 [77.78 GiB / 4.00 MiB free]
Total: 1 [77.78 GiB] / in use: 1 [77.78 GiB] / in no VG: 0 [0 ]
What I dont understand is that if the system is full, why other applications keep runn

@flavio.mesquita: I compare with my computer. Your ol is full. Try to delete unused files or move some to other virtual volumes. Maybe LO requirement in temp files is rather high.