View Issue Details

IDProjectCategoryView StatusLast Update
0000237bareos-corestorage daemonpublic2013-11-08 16:49
Reporterjurgeng Assigned To 
Status acknowledgedResolutionopen 
PlatformLinuxOSCentOSOS Version6
Product Version12.4.5 
Summary0000237: bscan is slow when creating catalog from volume
DescriptionI use bareos with mysql.
When I want to import the contents from a tape into the catalog, this takes a long time.
Steps To ReproduceUpgraded from bacula 5.2.13 to bareos on CentOS 6 x86_64
- Load a tape in the tapedrive that was created with bacula
- Issue the following command:

bscan -s -m -B mysql -V tape-04 -v /dev/nst0

Tape travels back and forth (shoe shining)

top shows the system is idle:

top - 11:16:57 up 140 days, 14:49, 2 users, load average: 0.97, 1.02, 0.93
Tasks: 232 total, 1 running, 231 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.9%us, 0.7%sy, 0.0%ni, 95.4%id, 2.9%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3716440k total, 3586612k used, 129828k free, 145044k buffers
Swap: 2048276k total, 592688k used, 1455588k free, 1307712k cached

 4792 mysql 20 0 2176m 39m 4364 S 2.7 1.1 133:37.30 mysqld
 2123 qemu 20 0 945m 518m 1048 S 1.3 14.3 3596:40 qemu-kvm
10481 root 0 -20 2465m 115m 5880 S 1.3 3.2 2298:50 mythfrontend

Additional InformationWithout the -s and -m this process is going much faster.

I know that this problem has also been reported with bacula 5.2
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action




2013-11-08 16:49

administrator   ~0000720

bscan is not used very often but it's true...

Low prio, maybe someone likes to dig into it...

Issue History

Date Modified Username Field Change
2013-10-22 11:19 jurgeng New Issue
2013-11-08 16:49 maik Note Added: 0000720
2013-11-08 16:49 maik Status new => acknowledged