I've just set up 2.4-2 & Samba 2.2.2 on RH7.1 with STT20000A IDE 10Gb Travan
tape.

It seems to work fine, once I realised you had to enable the ide-scsi kernel
module and use /dev/nst0 instead of /dev/nht0... (this would be a good
addition to the FAQ).

I have a few problems, all relating to the Samba end.  The most pressing
follows:

I would like to exclude a list of file types, indicated by extension.  My
"exclude.lst" file for the Linux disks looks like:

core
*.o
*.odb
*.res
*.stt
*.fil

It seems to work well.

The "exclude list" feature is not available through Samba, but I wondered if
I could specify a list of file types, something like:

exclude "core,*.o,*,odb,*,res,*.stt,*.fil"

My current setting for samba shares is:

exclude "*.stt"

aimed at excluding a single, particularly profligate, file type.

I've tried to test this by running the smbclient command as issued by
amdump, and found that my current setting has no affect whatsoever, since
this type of globbing requires the "-r" swith in smbclinet:

Without -r:

[root@wayne /usr]# smbclient \\\\GULF\\Projects -U amanda -E -W
KWUK -d0 -TXqcg - *.stt > /tmp/test.tar
added interface ip=192.168.0.10 bcast=192.168.0.255 nmask=255.255.255.0
Password: tar: dumped 132 files and directories
Total bytes written: 17424896
[root@wayne /usr]# tar tvf /tmp/test.tar|grep stt
-rw-r--r-- 0/0          184320 2001-12-12 19:47:12 ./FRF/utbsf01.stt
-rw-r--r-- 0/0          184320 2001-12-12 20:39:53 ./FRF/utbsf02.stt
-rw-r--r-- 0/0          167936 2001-12-13 09:05:19 ./FRF/utbsf03.stt
-rw-r--r-- 0/0          167936 2001-12-13 10:34:38 ./FRF/utbsf04.stt
-rw-r--r-- 0/0          167936 2001-12-13 10:09:57 ./FRF/utbsf04v.stt
-rw-r--r-- 0/0          167936 2001-12-13 10:46:30 ./FRF/utbsf05.stt
-rw-r--r-- 0/0          167936 2001-12-14 17:36:38 ./FRF/utbsf08lb.stt
-rw-r--r-- 0/0          671744 2001-12-07 18:01:12 ./Pipe31/model14.stt
-rw-r--r-- 0/0          688128 2001-12-07 17:10:26 ./Pipe31/model14b.stt

With -r:

[root@wayne /usr]# smbclient \\\\GULF\\Projects -U amanda -E -W
KWUK -d0 -TXqcgr - *.stt > /tmp/test.tar
added interface ip=192.168.0.10 bcast=192.168.0.255 nmask=255.255.255.0
tar_re_search set
Password: tar: dumped 123 files and directories
Total bytes written: 14852096
[root@wayne /usr]# tar tvf /tmp/test.tar|grep stt
{no files found by grep - i.e. it worked)

Could someome tell be if this type of exclude directive is possible, and if
so how.

Thanks

Phil

Philip Cooper
K W Ltd.
Fetcham Park House
Lower road
Fetcham, Leatherhead
Surrey KT22 9HD
http://www.kwltd.com
mailto:[EMAIL PROTECTED]
Tel. +44 (0) 1372 371122
Mob. +44 (0) 7850 140538
Fax. +44 (0) 1372 371123



Reply via email to