Tagged: open-source
Samba fileserver and Mac OS X Clients
February 19, 2009 Posted by mitch | open-source, work | 0 Comments
I ran into a slight issue today with OS X (Leopard), where it would ignore the file permissions forced by my samba file server... In order to maintain users and groups with the correct permissions, I have shares setup like:
[share]
comment = share Volume
path = /srv/SHARE
browseable = yes
writeable = yes
Valid Users =@DOMAIN+"Domain Users"
create mask = 0660
force create mode = 0660
directory mask = 0770
force directory mode = 0770
force group =@DOMAIN+Domain Users
hide files = /__TMP__/.DS_Store/lost+found/
so, I should get files that look like:
-rw-rw---- 1 root root 0 Feb 19 15:07 test1
But the default umask on OS X is 022, so I would get files showing up like:
-rw-r--r-- 1 root root 0 Feb 19 15:07 test2
On the above share... This would prevent other users from changing the files....
Turns out, Apple started pushing for more POSIX compliance and as a result their files would turn up with the permissions assigned to the file on the local system or with their default umask as its created. In a shared world... not always ideal, but I don't want to have to change the umask on all of the OSX clients.... found an option in samba that I added under the [global] section as follows:
[global]
.....
# Make OS X Leopard play nice with others
unix extensions = off
This fixed my problem.
Bacula with a Sony Storstation LIB-162
January 17, 2009 Posted by mitch | open-source, work | 0 Comments
I'm a computer systems consultant by profession... and I've come across the need to setup a backup system. I've used Bacula before, and I rather like it. I've used various different libraries with it, an MSL from HP and a StorVault from Dell, but this is my first time using a Storstation from Sony. I started setting it up, and I almost had it setup and a tried to start labeling the media... and I got this:Sending label command for Volume "A0BJ3B" Slot 1 ... 3307 Issuing autochanger "unload slot 7, drive 0" command. 3304 Issuing autochanger "load slot 1, drive 0" command. 3992 Bad autochanger "load slot 1, drive 0": ERR=Child died from signal 15: Termination.I was setting this up on an Ubuntu 8.04 LTS server and it all had gone well until this. Turns out the library is to slow and I had to make some modifications with the config. In the bacula-sd.conf and make the drive config look like this: (its counter intuitive I would think it should have been in the AutoChanger config... but its part of the Drive config.
Device {
Name = Drive-1
Drive Index = 0
Media Type = AIT-4
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
Maximum Changer Wait = 600
}
The key is the Maximum Changer Wait. Default is 120 seconds... I tried 300 and that didn't work... but 600 is working for me.
I thought I'd post it tho, because I didn't find anyone talking(in english) about this library with bacula...
Random Quote:
If you can't have faith in what is held up to you for faith, you must find things to believe in yourself, for a life without faith in something is too narrow a space to live.
- George E. Woodberry
Tags
accord android apple books cacti cars cbr cisco civic cliq comcast-sucks debian django dog entertainment family fedora funny games gentoo glenn-beck house hp HTC hyperic inernet internet jon-stewart juniper legal lenovo life linux lyrics media microsoft monitoring Motorola movies mythtv nagios net-neutrality networking open-source pandora politics programming projects ps3 python redhat school technology thoughts twisted ubuntu vacation web-development website work wrx zenoss
Archives:
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004

