Sziasztok!
Telepítettem a gépemre (2.4G P4 debian squeeze) egy disztribbel szállított baculát. Csak ezt a gépet szeretném menteni ezért mindhárom démon ezen a gépen fut, és egy második winchre ment. Jelenleg próbaképp csak a /etc könyvtárat mentem (~4MB, ~2300 file), de ezt 16-20KB/s sebességgel menti. Iostat szerint 100% utilt csinál mentés közben a mentendő winyóról, de a másikat szinte nem is bántja.
Van valami ötletetek hogy miért ilyen tetü?
Hdparm adatok:
/dev/sda:
Timing cached reads: 1888 MB in 2.00 seconds = 944.31 MB/sec
Timing buffered disk reads: 172 MB in 3.02 seconds = 56.99 MB/sec
/dev/sdb:
Timing cached reads: 1878 MB in 2.00 seconds = 938.71 MB/sec
Timing buffered disk reads: 170 MB in 3.00 seconds = 56.59 MB/sec
Bacula log:
Build OS: i486-pc-linux-gnu debian squeeze/sid
JobId: 9
Job: Aliproba_mentes.2012-08-16_08.12.55_05
Backup Level: Full
Client: "aligepe" 5.0.2 (28Apr10) i486-pc-linux-gnu,debian,squeeze/sid
FileSet: "probaset" 2012-08-15 17:03:13
Pool: "alipool" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "File" (From command line)
Scheduled time: 16-aug-2012 08:12:40
Start time: 16-aug-2012 08:12:58
End time: 16-aug-2012 08:16:17
Elapsed time: 3 mins 19 secs
Priority: 10
FD Files Written: 2,369
SD Files Written: 2,369
FD Bytes Written: 3,760,822 (3.760 MB)
SD Bytes Written: 4,006,160 (4.006 MB)
Rate: 18.9 KB/s
Software Compression: None
VSS: no
Encryption: no
Accurate: no
Volume name(s): VolAli0008|VolAli0009|VolAli0010
Volume Session Id: 1
Volume Session Time: 1345097518
Last Volume Bytes: 569,666 (569.6 KB)
Non-fatal FD errors: 0
SD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Backup OK
- 5299 megtekintés
Hozzászólások
A db hol van/milyen? A batch insert be van kapcsolva?
- A hozzászóláshoz be kell jelentkezni
A db helyben van, az SQLite-ot telepíti, használja.
A batch insert beállítást hol találom?
- A hozzászóláshoz be kell jelentkezni
Közben megtaláltam hogy ez egy fordítási opció. Mivel az sqlite3-mal együtt szállítják (ami threadsafe) gondolom belefordították e opciót is. A doksiban tényleg írják a 10x-es sebességnövekmént bekapcsolt állapotában.
- A hozzászóláshoz be kell jelentkezni
Telepítettem egy 800-as p3-ra is baculát (squeeze, eredeti deb csomagból), ahol a mentési sebesség kb. arányosan csökkent a proc sebességével.
Itt:
hdparm szerint a winch: 30MB/sec-et tud
mentési sebesség: 6.7 KB/sec
Használja valaki egyáltalán a baculát nem szerver környezetben?
Bemásolom a directory konfigot, hátha valaki kiszúr benne valami hibát...
(Nem releváns részeket kiszedtem.)
Director { # define myself
Name = bacula-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 3
Password = "xxx" # Console password
Messages = Daemon
DirAddress = squeeze
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = aligepe
FileSet = "Full Set"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = File
Priority = 10
Write Bootstrap = "/var/lib/bacula/%c.bsr"
}
Job {
Name = "Aliproba_mentes"
JobDefs = "DefaultJob"
FileSet = "probaset"
Schedule = "WeeklyCycle"
Storage = File
Messages = Standard
Pool = alipool
}
Job {
Name = "Catalog_mentes"
JobDefs = "DefaultJob"
Level = Full
FileSet="Catalog"
Schedule = "WeeklyCycleAfterBackup"
RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup"
Write Bootstrap = "/var/lib/bacula/%n.bsr"
Priority = 11 # run after main backup
}
Job {
Name = "RestoreFiles"
Type = Restore
Client = aligepe
FileSet = "Full Set"
Storage = File
Pool = File
Messages = Standard
Where = /tmp/bacula-restores
}
FileSet {
Name = "probaset"
Include {
Options {
signature = MD5
}
File = /etc
}
Exclude {
# File = /home
}
}
FileSet {
Name = "Catalog"
Include {
Options {
signature = MD5
}
File = "/var/lib/bacula/bacula.sql"
}
}
Client {
Name = aligepe
Address = squeeze
FDPort = 9102
Catalog = MyCatalog
Password = "xxx" # password for FileDaemon
File Retention = 0 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
Storage {
Name = File
Address = squeeze
SDPort = 9103
Password = "123456789"
Device = FileStorage
Media Type = File
}
Catalog {
Name = MyCatalog
dbname = "bacula"; dbuser = ""; dbpassword = ""
}
Pool {
Name = alipool
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # one year
Maximum Volume Bytes = 3M # Limit Volume size to something reasonable
Maximum Volumes = 10 # Limit number of Volumes in Pool
LabelFormat = "VolAli"
}
- A hozzászóláshoz be kell jelentkezni