Search found 5 matches

by fumok
Mon Apr 09, 2018 9:38 am
Forum: Troubleshooting
Topic: Pihole db on usb disk
Replies: 3
Views: 1578

Re: Pihole db on usb disk

A little mod to speed up boot: while [ ! -d /data/pihole ] ; do sleep 1 done systemd-analyze critical-chain graphical.target @7.887s └─multi-user.target @7.887s └─pihole-FTL.service @1.460s +6.426s └─basic.target @1.457s └─sysinit.target @1.438s └─systemd-update-utmp.service @1.390s +46ms └─systemd-...
by fumok
Thu Apr 05, 2018 3:04 pm
Forum: Troubleshooting
Topic: Pihole db on usb disk
Replies: 3
Views: 1578

Re: Pihole db on usb disk

Partially solved with a dirty hack, added sleep 30 before su -s /bin/sh -c "/usr/bin/pihole-FTL" "$FTLUSER" I am not at all satisfied with this solution for several reasons. In a next update there is a good chance that the file /etc/init.d/pihole-FTL will be overwritten. There ar...
by fumok
Thu Apr 05, 2018 2:48 pm
Forum: Troubleshooting
Topic: Pihole db on usb disk
Replies: 3
Views: 1578

Re: Pihole db on usb disk

I confirm that usb disk is not mounted when pihole starts. In /etc/init.d/pihole-FTL I've add the following code: su -s /bin/sh -c "/bin/df -h 2>&1 > /etc/pihole/debug.log" pihole before su -s /bin/sh -c "/usr/bin/pihole-FTL" "$FTLUSER" And /data in not present: /de...
by fumok
Thu Apr 05, 2018 12:55 pm
Forum: Troubleshooting
Topic: Pihole db on usb disk
Replies: 3
Views: 1578

Pihole db on usb disk

Hi, I'm trying to move the pihole database from standard location (/etc/pihole/pihole-FTL.db) to external usb disk (/data/pihole/pihole-FTL.db), where /data is the mount point accordig to my fstab LABEL=data /data auto defaults,noatime,nofail 0 0 ll /data/pihole/pihole-FTL.db -rw-r--r-- 1 pihole pih...
by fumok
Wed Jun 07, 2017 12:21 pm
Forum: Troubleshooting
Topic: temporary samba mount
Replies: 1
Views: 1679

Re: temporary samba mount

@pakikje you can do a better job activating rsync server on qnap, then you can sync with:

Code: Select all

rsync -av --delete rsync://user@qnap_ip_address:/rsync_share_name /mnt/3442c4c1-5fda-4168-9920-7d72800ef363/Multimedia