Re: [Bacula-users] Bacula for QNAP?

2022-01-03 Thread Gary R. Schmidt

On 04/01/2022 05:47, David Brodbeck wrote:
[SNIP]


I found bacula-sd and NFS were not a very happy combination. It was very 
quick to react to network glitches by marking the entire volume as 
failed, then trying and failing several more volumes before things 
finally got moving again. I was constantly having to manually recycle 
failed volumes.


That can sometimes be fixed by setting the mount to be soft rather than 
hard, or vice-versa, but the Linux implementation of NFS leaves a lot to 
be desired, at both ends.  (Speaking as a person who was a tech lead at 
SGI's "File Serving Systems" and wrote many, many tests for NFS and 
really developed a distaste for the subtle gotchas in NFS.  If I ever 
hear someone defending the, "Oh, it can't fall back from v4 to v3 
because they're different protocols", again, I will strangle the 
.)


Or carefully sequentially re-booting all the systems, in the right 
order, so that the NFS state is nice and fresh before you start 
hammering it.  (And what about a circular mount state?  This server 
mounts that server mounts another server mounts this server.  Fun.  Not.)



I could see iSCSI maybe working better, but I haven't tried it.

iSCSI is not the same as NFS (or SMB), it shares a "raw device" which 
the mounting system then formats and uses, the device can't be shared 
on/from the iSCSI server.  (Well, it can be shared by simulating 
sneaker-net, mount-fiddle about-umount-mount elsewhere-fiddle 
about-umount-etc.)


Cheers,
GaryB-)


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula for QNAP?

2022-01-03 Thread Heitor Faria

> I did consider completely wiping the thing and installing either Gentoo
> Linux or Solaris x86.  But I hesitate to do that on a brand new unit
> still under warranty.

"Warranty does not apply, if

the warranty period is expired,
the warranty label is broken or removed,
the serial number label is missing or unrecognizable,
the product has been modified or repaired by any unauthorized service center or 
personnel,
the defect was subject to abuse, improper use not conforming to product manual 
instructions, or environment conditions more severe than those specified in the 
manual and specification.
the defect was subject to Force Majeure, such as acts of God, flood, lightning, 
earthquake, war, vandalism, theft, brownouts or sags (damage due to low voltage 
disturbances)". Ref.: 

Also, on 

 page 44:

"You can revert to QuTS hero operating system anytime. For details, see QuTS 
hero user guide."

So... Is it kind of optional?
There is a Telegram TrueNAS user group with more than 700 users. I would 
definitely install TrueNAS over the Hero OS.
 
Rgds.
-- 
MSc Heitor Faria (Miami/USA) 
Bacula LATAM CIO 

mobile1: + 1 909 655-8971 
mobile2: + 55 61 98268-4220 
[ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ] 
[ http://www.bacula.com.br/ ] 

América Latina 
[ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | 
bacula.com.br ]


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula for QNAP?

2022-01-03 Thread David Brodbeck
On Sun, Jan 2, 2022 at 7:09 AM Heitor Faria  wrote:

> Hello Phil,
>
> > (a) trying to figure out how to get a Bacula sd and fd installed on it
>
> The happiest days of my life were after I got dedicated equipment for home
> network modem, routing, and wireless mesh accessing points.
> That said, I never understood this very common user fetish of installing
> Bacula components in the NAS. OK: you avoid one more network node but the
> hardware is not designed to handle the extra workload.
> Just backup the exported disk volumes with regular bacula-fds where they
> are mounted, preferrably with the ACL support.
> If you want to write backups to the NAS, NFS or iSCSI if supported.


I found bacula-sd and NFS were not a very happy combination. It was very
quick to react to network glitches by marking the entire volume as failed,
then trying and failing several more volumes before things finally got
moving again. I was constantly having to manually recycle failed volumes.

I could see iSCSI maybe working better, but I haven't tried it.

-- 
David Brodbeck (they/them)
System Administrator, Department of Mathematics
University of California, Santa Barbara
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula for QNAP?

2022-01-03 Thread Phil Stracchino

On 1/3/22 07:56, Heitor Faria wrote:

These providers do that because they think it would be very hard or even 
impossible to give support to a NAS with an OS that the user can freely modify.
Therefore, you could try TrueNAS , which is based on 
FreeBSD, or build your own (e.g.) 
.
 There are a lot of recipes also on YouTube. You can usually also erase proprietary NAS' OS 
and install TrueNAS.
But returning to the main thread, I still think the best solution for Phil's 
situation would be to use a NAS built-in virtualization capabilities. I hope he 
has success anyways.



This entire discussion is starting to become moot because I am 
increasingly discovering that the QNAS unit is so terribly, horribly, 
appallingly buggy and crippled and broken that I'm beginning to doubt 
how I can possibly in any good conscience use it.  It feels as though I 
would just be storing up years of daily headaches, and I'm looking for 
alternatives that I have full control over.


I did consider completely wiping the thing and installing either Gentoo 
Linux or Solaris x86.  But I hesitate to do that on a brand new unit 
still under warranty.



--
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: +1.603.293.8485
  Mobile:   +1.603.998.6958


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Packet size too big (NOT a version mismatch)

2022-01-03 Thread David Brodbeck
I'm curious if anyone has moved away from Bacula on macOS and what
alternatives they're using. Even before this, it was getting more and more
awkward to set up -- bacula really doesn't play well with SIP, for example,
and running "csrutil disable" on every system is not a security best
practice.

On Wed, Dec 8, 2021 at 4:46 PM Stephen Thompson <
stephen.thomp...@berkeley.edu> wrote:

>
>
> Disappointing...  I am having the same issue on BigSur with the 11.0.5
> release as I had with 9x.
>
> 08-Dec 15:42 SD JobId 878266: Fatal error: bsock.c:530 Packet size=1387166 
> too big from "client:1.2.3.4:8103". Maximum permitted 100. Terminating 
> connection.
>
>
>
> Setting 'Maximum Network Buffer Size' does not appear to solve issue.
>
> Are there users out there successfully running a bacula client on Big Sur??
>
> Stephen
>
>
>
>
> On Wed, Dec 1, 2021 at 3:25 PM Stephen Thompson <
> stephen.thomp...@berkeley.edu> wrote:
>
>>
>> Not sure if this is correct, but I've been able to at least compile
>> bacula client 11.0.5 on Big Sur by doing before configure step:
>>
>> LDFLAGS='-framework CoreFoundation'
>>
>> We'll see next up whether it runs and whether it exhibits the issue seen
>> under Big Sur for 9x client.
>>
>> Stephen
>>
>> On Tue, Nov 23, 2021 at 7:32 AM Stephen Thompson <
>> stephen.thomp...@berkeley.edu> wrote:
>>
>>>
>>> Josh,
>>>
>>> Thanks for the tip.  That did not appear to be the cause of this issue,
>>> though perhaps it will fix a yet to be found issue that I would have run
>>> into after I get past this compilation error.
>>>
>>> Stephen
>>>
>>>
>>>
>>> On Mon, Nov 22, 2021 at 9:22 AM Josh Fisher  wrote:
>>>

 On 11/22/21 10:46, Stephen Thompson wrote:


 All,

 I too was having the issue with running a 9x client on Big Sur.  I've
 tried compiling 11.0.5 but have not found my way past:


 This might be due to a libtool.m4 bug having to do with MacOS changing
 the major Darwin version from 19.x to 20.x. There is a patch at
 https://www.mail-archive.com/libtool-patches@gnu.org/msg07396.html



 Linking bacula-fd ...

 /Users/bacula/src/bacula-11.0.5-CLIENT.MAC/libtool --silent --tag=CXX
 --mode=link /usr/bin/g++   -L../lib -L../findlib -o bacula-fd filed.o
 authenticate.o backup.o crypto.o win_efs.o estimate.o fdcollect.o
 fd_plugins.o accurate.o bacgpfs.o filed_conf.o runres_conf.o heartbeat.o
 hello.o job.o fd_snapshot.o restore.o status.o verify.o verify_vol.o
 fdcallsdir.o suspend.o org_filed_dedup.o bacl.o bacl_osx.o bxattr.o
 bxattr_osx.o \

 -lz -lbacfind -lbaccfg -lbac -lm -lpthread  \

 -L/usr/local/opt/openssl@1.1/lib -lssl -lcrypto-framework IOKit

 Undefined symbols for architecture x86_64:

   "___CFConstantStringClassReference", referenced from:

   CFString in suspend.o

   CFString in suspend.o

 ld: symbol(s) not found for architecture x86_64

 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)

 make[1]: *** [bacula-fd] Error 1



 Seems like this might have something to do with the expection of
 headers being here:

 /System/Library/Frameworks/CoreFoundation.framework/Headers

 when they are here:


 /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/
 but that may be a red herring.

 There also appears to be a 'clang' in two locations on OS X, /usr and
 xcode subdir.  Hmm

 Stephen

 On Tue, Nov 16, 2021 at 12:00 AM Eric Bollengier via Bacula-users <
 bacula-users@lists.sourceforge.net> wrote:

> Hello,
>
> On 11/15/21 21:46, David Brodbeck wrote:
> > To do that I'd have to upgrade the director and the storage first,
> right?
> > (Director can't be an earlier version than the FD, and the SD must
> have the
> > same version as the director.)
>
> In general yes, the code is designed to support Old FDs but can have
> problems
> with newer FDs. In your case it may work.
>
> At least, you can try a status client to see if the problem is solved
> and
> if you can run a backup & a restore.
>
> Best Regards,
> Eric
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


 --
 Stephen Thompson   Berkeley Seismology Lab
 stephen.thomp...@berkeley.edu  307 McCone Hall
 Office: 510.664.9177   University of California
 Remote: 510.214.6506 (Tue) Berkeley, CA 94720-4760


 ___
 Bacula-users mailing 
 listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lis

Re: [Bacula-users] Bacula for QNAP?

2022-01-03 Thread Andrea Venturoli



On 1/3/22 14:55, Dmitri Maziuk wrote:


True (formerly known as Free) NAS is FreeBSD,


I know.

it's just everything you 
need for the NAS conveniently pre-packaged, and comes with a web GUI.


That's the reason I would prefer plain FreeBSD: no GUI at all; just use 
SSH (which is what I do on NASes everytime I can avoid the GUI).


Their target hardware is a bit higher than QNAP-type devices: 


And that comes to my original question: "a NAS (not as expensive as a 
proper server)"... :)


 bye
av.


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula for QNAP?

2022-01-03 Thread Dmitri Maziuk

On 1/3/2022 7:23 AM, Andrea Venturoli wrote:


On 1/3/22 13:56, Heitor Faria wrote:

Therefore, you could try TrueNAS , which is 
based on FreeBSD


Then I'd use FreeBSD directly, as I do for servers :)



True (formerly known as Free) NAS is FreeBSD, it's just everything you 
need for the NAS conveniently pre-packaged, and comes with a web GUI.


Their target hardware is a bit higher than QNAP-type devices: x64, 8+GB 
RAM ECC highly recommended, stay away from Marvel SATA chips, etc. It'll 
probably run on a low-end microATX setup for home NAS just fine... but 
not on a Pi yet. :(


https://github.com/dmaziuk/naspi

Dima


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula for QNAP?

2022-01-03 Thread Andrea Venturoli



On 1/3/22 13:56, Heitor Faria wrote:


Therefore, you could try TrueNAS , which is based on 
FreeBSD


Then I'd use FreeBSD directly, as I do for servers :)

 bye & Thanks
av.


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula for QNAP?

2022-01-03 Thread Heitor Faria

>> (I note that the ENTIRE REASON this problem arises in the first place is
>> because QNAP sees fit to ship the device with a fully ...  well, MOSTLY
>> functional Linux OS *with no system compiler installed*.)
> 
> So do all the other brands I ever saw :(
> 
> If you know a NAS (not as expensive as a proper server) who provides its
> compiler, I'd be interested in knowing the brand/model.

These providers do that because they think it would be very hard or even 
impossible to give support to a NAS with an OS that the user can freely modify.
Therefore, you could try TrueNAS , which is based on 
FreeBSD, or build your own (e.g.) 
.
 There are a lot of recipes also on YouTube. You can usually also erase 
proprietary NAS' OS and install TrueNAS.
But returning to the main thread, I still think the best solution for Phil's 
situation would be to use a NAS built-in virtualization capabilities. I hope he 
has success anyways.

Rgds.
-- 
MSc Heitor Faria (Miami/USA) 
Bacula LATAM CIO 

mobile1: + 1 909 655-8971 
mobile2: + 55 61 98268-4220 
[ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ] 
[ http://www.bacula.com.br/ ] 

América Latina 
[ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | 
bacula.com.br ]


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula for QNAP?

2022-01-03 Thread Andrea Venturoli


On 1/2/22 21:42, Phil Stracchino wrote:

(I note that the ENTIRE REASON this problem arises in the first place is 
because QNAP sees fit to ship the device with a fully ...  well, MOSTLY 
functional Linux OS *with no system compiler installed*.)


So do all the other brands I ever saw :(

If you know a NAS (not as expensive as a proper server) who provides its 
compiler, I'd be interested in knowing the brand/model.


 bye & Thanks
av.


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users