Exclude hidden files/folders from backup

Dene Stringfellow yellowdog-general@lists.terrasoftsolutions.com
Sun Apr 4 04:13:00 2004


Thanks again for your replies Michael and Ron.

In answer to your questions Michael:

1)

> There is no additional driver needed, just the kernel level scsi-tape
> driver, most likely loaded as a module (lsmod would list st).
>
When I run the command lsmod I get the following:

# lsmod

Module                  Size  Used by    Not tainted
dmasound_pmac          75856   1  (autoclean)
dmasound_core          15488   1  (autoclean) [dmasound_pmac]
i2c-core               19968   0  (autoclean) [dmasound_pmac]
soundcore               6920   3  (autoclean) [dmasound_core]
appletalk              28116  12  (autoclean)
autofs                 13376   0  (autoclean) (unused)
tulip                  45948   1
ipt_REJECT              3888   6  (autoclean)
iptable_filter          2544   1  (autoclean)
ip_tables              16496   2  [ipt_REJECT iptable_filter]

2)

> When you are doing your tests, is are you in X11 or from a console/text
> session?
>
I have tried running tar, cpio, dump, etc from the command line and have
also tried from a terminal session under X11.

3)

> My guess would be SCSI termination problems, or just a bad tape drive.
>
Why then when I boot the machine into MacOS 9 do the backups run without
any problems using Retrospect?

> A test backup of 367Mb under MacOS 9 using Retrospect 3.0i completed
and
> verified without any problems in 26 minutes and 32 seconds!

In answer to your questions Ron:

4)

>   I was able to pass a boot-time option to the scsi driver
> to disable deselection/reselection.  It was brute force, but
> it worked.  Your scsi driver may or may not support such an
> option.
>
How do I do this? The SCSI adapters are:

SCSI Bus 0 - Apple Computer MESH
SCSI Bus 1 - Apple Computer NCR53c96

The SCSI configuration shown from SCSI Probe under MacOS 9 is:

SCSI Bus 0 - ID=0 Vendor: SEAGATE   Model: ST32550N          Rev: 3705 -
Hard drive

SCSI Bus 1  - ID=2 Vendor: ARCHIVE   Model: Python 02830-XXX  Rev: 5.76
- Tape Drive
ID=3 Vendor: MATSHITA  Model: CD-ROM CR-8005A   Rev: 4.0i - CD-ROM Drive

ID=4 Vendor: FUJITSU   Model: M2684S-512        Rev: 2026 - Hard drive
ID=5 Vendor: COMPAQ    Model: ST15150N          Rev: 5217 - Hard Drive
ID=6 Vendor: COMPAQ    Model: ST15150N          Rev: 5217 - Hard Drive

5)

>   You may also take a close look at drive placement on the bus as
> well as termination (active vs. passive, etc. ).
>
>
Again, when I boot the machine into MacOS 9, why then do the backups run
without any problems using Retrospect?

> A test backup of 367Mb under MacOS 9 using Retrospect 3.0i completed
and
> verified without any problems in 26 minutes and 32 seconds!

Does this mean that even though SCSI termination may work fine under
MacOS it may not under Linux?

6)

The command dmesg returns the following:

# dmesg

Memory BAT mapping: BAT2=64Mb, BAT3=16Mb, residual: 8Mb
Total memory = 88MB; using 256kB for hash table (at c0340000)
Linux version 2.4.20-8d (dburcaw@skyfox.terraplex.com) (gcc version
3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a)) #1 Sat Mar 15 19:38:12
EST 2003
Found a Grand Central mac-io controller, rev: 2, mapped at 0xfddd0000
PowerMac motherboard: PowerMac 8500/8600
Cache coherency enabled for bandit/PSX
Found Bandit PCI host bridge at 0xf2000000. Firmware bus number: 0->0
hose bandit, pci_mem_offset: 00000000, start0: f3000000
  io_base_virt: fd5cd000, io_base_phys: f2000000, isa_mem_base: 00000000

Found Chaos PCI host bridge at 0xf0000000. Firmware bus number: 1->1
hose chaos, pci_mem_offset: 00000000, start0: f1000000
  io_base_virt: fcdcb000, io_base_phys: f0000000, isa_mem_base: 00000000

On node 0 totalpages: 22528
zone(0): 22528 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/sda9
System has 32 possible interrupts
GMT Delta read from XPRAM: 0 minutes, DST: off
via_calibrate_decr: ticks per jiffy = 110000 (660004 ticks)
Console: colour dummy device 80x25
Calibrating delay loop... 263.78 BogoMIPS
Memory: 85468k available (1964k kernel code, 1052k data, 172k init, 0k
highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Scanning bus 00
Found 00:58 [106b/0001] 000600 00
Found 00:68 [11ad/c115] 000200 00
Found 00:80 [106b/0002] 00ff00 00
Fixups for bus 00
Bus scan for 00 returning with max=00
Scanning bus 01
Found 01:58 [106b/0003] 000000 00
Found 01:68 [106b/0004] 00ff00 00
Fixups for bus 01
Bus scan for 01 returning with max=01
PCI:00:10.0: Resource 0: f3000000-f301ffff (f=200), vd: 106b, dev: 0002
PCI:00:0d.0: Resource 0: 00000400-000004ff (f=101), vd: 11ad, dev: c115
PCI:00:0d.0: Resource 1: 80800000-808000ff (f=200), vd: 11ad, dev: c115
PCI:01:0b.0: Resource 1: 90000000-9000ffff (f=200), vd: 106b, dev: 0003
PCI:01:0b.0: Resource 2: 94000000-97ffffff (f=200), vd: 106b, dev: 0003
PCI:01:0d.0: Resource 0: 90000000-900003ff (f=200), vd: 106b, dev: 0004
resource conflict with: 90000000..9000ffff (200), name: Apple Computer
Inc. Control Video
PCI: Cannot allocate resource region 0 of device 01:0d.0
PCI:  parent is c0337068: 90000000-9fffffff (f=200)
Macintosh CUDA driver v0.5 for Unified ADB.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Thermal assist unit not available
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
controlfb: VRAM Total = 2MB (2MB @ bank 1, 0MB @ bank 2)
controlfb: using video mode 6 and color mode 2.
Console: switching to colour frame buffer device 80x30
fb0: control display adapter
MacOS display is /chaos/control
input0: Macintosh mouse button emulation
pty: 256 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
fd0: SWIM3 floppy controller
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
eth0: MACE at 00:05:02:f4:09:6d, chip revision 25.64
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
mesh: configured for synchronous 5 MB/s
mesh: performing initial bus reset...
scsi1 : MESH
mesh: rejecting message from target 0: 1 1 3
mesh: bs0=2f in msg_out
mesh: rejecting message from target 0: 32
mesh: bs0=2f in msg_out
mesh: rejecting message from target 0: f
  Vendor: SEAGATE   Model: ST32550N          Rev: 3705
  Type:   Direct-Access                      ANSI SCSI revision: 01 CCS
scsi2 : 53C94
  Vendor: ARCHIVE   Model: Python 02830-XXX  Rev: 5.76
  Type:   Sequential-Access                  ANSI SCSI revision: 02
  Vendor: MATSHITA  Model: CD-ROM CR-8005A   Rev: 4.0i
  Type:   CD-ROM                             ANSI SCSI revision: 02
  Vendor: FUJITSU   Model: M2684S-512        Rev: 2026
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: COMPAQ    Model: ST15150N          Rev: 5217
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: COMPAQ    Model: ST15150N          Rev: 5217
  Type:   Direct-Access                      ANSI SCSI revision: 02
st: Version 20020805, bufsize 32768, wrt 30720, max init. bufs 4, s/g
segs 16
Attached scsi tape st0 at scsi2, channel 0, id 2, lun 0
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi2, channel 0, id 4, lun 0
Attached scsi disk sdc at scsi2, channel 0, id 5, lun 0
Attached scsi disk sdd at scsi2, channel 0, id 6, lun 0
SCSI device sda: 4194058 512-byte hdwr sectors (2147 MB)
Partition check:
 sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 sda10 sda11
sda12
SCSI device sdb: 1039329 512-byte hdwr sectors (532 MB)
 sdb: [mac] sdb1 sdb2 sdb3 sdb4 sdb5
SCSI device sdc: 8386000 512-byte hdwr sectors (4294 MB)
 sdc: [mac] sdc1 sdc2 sdc3 sdc4 sdc5
SCSI device sdd: 8386000 512-byte hdwr sectors (4294 MB)
 sdd: [mac] sdd1 sdd2 sdd3 sdd4 sdd5 sdd6
Attached scsi CD-ROM sr0 at scsi2, channel 0, id 3, lun 0
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
PowerMac Z8530 serial driver version 2.0
tty00 at 0xc6948020 (irq = 15) is a Z8530 ESCC, port = modem
tty01 at 0xc694f000 (irq = 16) is a Z8530 ESCC, port = printer
Macintosh non-volatile memory driver v1.0
apm_emu: Requires a machine with a PMU.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
adb: starting probe task...
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
(recovery.c, 254): journal_recover: JBD: recovery, exit status 0,
recovered transactions 6657 to 6660
(recovery.c, 256): journal_recover: JBD: Replayed 16 and revoked 0/0
blocks
adb devices: [2]: 2 5 [3]: 3 1
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ISO, swapping keys.
input1: ADB HID on ID 2:2.05
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 172k init 8k chrp 8k prep
ADB mouse at 3, handler set to 2
input2: ADB HID on ID 3:3.01
adb: finished probe task...
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,9), internal journal
Adding Swap: 180216k swap-space (priority -1)
Adding Swap: 180216k swap-space (priority -2)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,10), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,36), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,52), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,7), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ip_tables: (C) 2000-2002 Netfilter core team
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Enabling device 00:0d.0 (0084 -> 0087)
eth1: Lite-On PNIC-II rev 37 at 0xc698d000, 00:00:94:B5:FC:56, IRQ 23.
NET4: AppleTalk 0.18a for Linux NET4.0
st0: Block limits 1 - 16777215 bytes.
i2c-core.o: i2c core module
dmasound_pmac: Awacs/Screamer Codec Mfct: 1 Rev 2
PowerMac AWACS rev 2  DMA sound driver rev 016 installed
Core driver edition 01.06 : PowerMac Built-in Sound driver edition 00.07

Write will use    4 fragments of   32768 bytes as default
Read  will use    4 fragments of   32768 bytes as default

Thanks again for your assistance.

Dene

 ---------------------------------
 Dene Stringfellow