Hi,
appeared to be an issue with the combination of LVM and DRBD.
Not solved yet, but not an BackupPC issue.
Greetings!
Am 29.12.2016 um 10:59 schrieb chrischan AT knebb DOT de:
> Replying to myself. ;)
>
> It is really strange. I re-formated the data storage, mounted it from
> scratch and set permissions:
>
> [root@backuppc lib]# ls -alh /var/lib/| grep B
> drwxrwxrwx. 4 backuppc apache 4,0K 29. Dez 10:51 BackupPC
>
> The directory itself is plain:
>
> [root@backuppc BackupPC]# ls -alh
> insgesamt 28K
> drwxrwxrwx. 4 backuppc apache 4,0K 29. Dez 10:54 .
> drwxr-xr-x. 29 root root 4,0K 25. Dez 10:27 ..
> drwx------. 2 root root 16K 29. Dez 10:25 lost+found
> drwx------. 2 backuppc backuppc 4,0K 23. Dez 13:04 .ssh
>
> As user backuppc I can create files and directories in the $TopDir:
>
> [root@backuppc BackupPC]# su - backuppc
> -bash-4.2$ mkdir test
> -bash-4.2$ exit
> [root@backuppc BackupPC]# ls -alh
> insgesamt 36K
> drwxrwxrwx. 5 backuppc apache 4,0K 29. Dez 10:55 .
> drwxr-xr-x. 29 root root 4,0K 25. Dez 10:27 ..
> drwx------. 2 root root 16K 29. Dez 10:25 lost+found
> drwx------. 2 backuppc backuppc 4,0K 23. Dez 13:04 .ssh
> drwxrwxr-x. 2 backuppc backuppc 4,0K 29. Dez 10:55 test
>
> The filesystem itself is ext4:
>
> /dev/mapper/vg_backuppc-backuppc on /var/lib/BackupPC type ext4
> (rw,relatime,seclabel,data=ordered)
>
> And there is still enough space on it as it has been formated:
>
> df-h
> /dev/mapper/vg_backuppc-backuppc 1,4T 77M 1,3T 1% /var/lib/BackupPC
>
> df -i
> /dev/mapper/vg_backuppc-backuppc 91750400 18 91750382 1%
> /var/lib/BackupPC
>
> But as soon as I try to start BackupPC it stops immediately complaining
> about not able to create hardlinks:
>
> Dec 29 10:50:41 backuppc BackupPC: 2016-12-29 10:50:41 Can't create a
> test hardlink between a file in /var/lib/BackupPC/pc and
> /var/lib/BackupPC/cpool. Either these are different file systems, or
> this file system doesn't support hardlinks, or these directories don't
> exist, or there is a permissions problem, or the file system is out of
> inodes or full. Use df, df -i, and ls -ld to check each of these
> possibilities. Quitting...
>
> So what else can it be? I am totally clueless currently.
>
>
> Any ideas?
>
>
> /Christian
>
>
>
> Am 29.12.2016 um 08:10 schrieb chrischan AT knebb DOT de:
>> Hi,
>>
>> I have an issue I have no clue what is wrong.
>>
>> I set up a new BackupPC 3.x server and copied existing config files from
>> an old BackupPC 3.x server. Everything seems to be running fine. I can
>> see backups starting an I can see in the Web-GUI status "Done" and all.
>> But it still says: No Backups for host... And this is for all hosts.
>>
>> If I want to see logfile it tells me "Can't open log file". When I
>> check the pc/ dir I cann see the log file. It tells me backup
>> successfullt. But Web-Gui still does not show the backup....
>>
>> So I thought it might be a permission issue. I already set permissions
>> on on files to 0664 and dirs to 0755. Still no chance. Owner is backuppc
>> and group as well (tried with group apache, no change)
>>
>>
>> Anyone having a clue what goes wrong?
>>
>>
>> Thanks!
>>
>>
>> Christian
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> BackupPC-users mailing list
>> BackupPC-users AT lists.sourceforge DOT net
>> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki: http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki: http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|