>> 
>> But there is still the problem with the 70000 files. Maybe its better 
>> to manage them with a database
> 
> where can this be a real problem?
> 
> even the 4 GB ext4 of our SIP machine has 384000 inodes
> with 29000 used fpr the complete operating system and
> /boot has 128000 inodes for a 500 MB partition
> 
> sorry, but the last time i faced an issue with out
> of inodes was 2008 by create a 2 TB ext3 partition
> with defaults instead adjust them leading the autotune
> the FS for large but not too many files

Well, first i didn’t even see the problem with the inodes.
The server admins told me that its a default installation from RHEL and they 
never had a problem with the inodes on about 500 server.
So they won’t change the installation...

$ df -i

Filesystem            Inodes  IUsed   IFree IUse% Mounted on
/dev/mapper/rootlv
                      196608  86267  110341   44% /
tmpfs                 240303      1  240302    1% /dev/shm
/dev/sda1              32768     46   32722    1% /boot
/dev/mapper/homelv
                       32768     30   32738    1% /home
/dev/mapper/optlv
                       32768     22   32746    1% /opt
/dev/mapper/tmplv
                       65536     21   65515    1% /tmp
/dev/mapper/usrlocallv
                       32768    187   32581    1% /usr/local
/dev/mapper/varlv
                       65536   2143   63393    4% /var    ### here was the 
problem...
/dev/mapper/varcachelv
                       65536    145   65391    1% /var/cache
/dev/mapper/varloglv
                       32768    137   32631    1% /var/log
/dev/mapper/vartmplv
                       32768     17   32751    1% /var/tmp
/dev/mapper/openvaslv
                     2097152 105753 1991399    6% /opt/openvas

First i just moved /var/lib/openvas on the filesystem (fs), but then i got 
problems deleting the report-formats, because /usr/share/openvas was on the 
other fs! then i moved both files on the fs and used symbolic links. but after 
that, i can’t find any reports and could not create credentials, so i moved all 
the openvas directories on the fs and linked them.

/usr/share/openvas
/etc/openvas
/var/lib/openvas
/var/log/openvas
/var/cache/openvas

Now everything is running as far as i can see, but i am not very happy with my 
solution.

The trashcan of openvas is in /usr/share/openvas, but by default /usr/share 
should be a read-only directory, right?

Regards

René Behring
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to