samba-tool provision in LVM volume

hyoscar wu hywuoscar at
Wed Jan 8 23:08:47 MST 2014

Hi list,

I use samba-4.0.5 as DC in my system. I used "--targetdir" option to set
target directory when samba-tool domain provision.
My mount information is :

[/] # mount
/proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=64M)
none on /proc/bus/usb type usbfs (rw)
/dev/sdb3 on /share/HDB_DATA type ext4
none on /sys/kernel/config type configfs (rw)
/dev/mapper/cachedev1 on /share/CACHEDEV1_DATA type ext4

when i run "samba-tool domain provision
--domain=TESTDOM --adminpass=admin123 at abc --server-role=dc
everything is fine, the provision time almost 1~2 minutes.

But, when i choose "/share/CACHEDEV1_DATA" (this is a LVM volume) , run
"samba-tool domain provision --domain=TESTDOM
--adminpass=admin123 at abc --server-role=dc
prosivion time is 5~10 minutes, if any limitation between samba4 and LVM?

I don't find great performance difference between these two volumes in
normal data transmission.

if there any option in samba-tool or configuration in building samba to
help domain provision in LVM volume?

More information about the samba-technical mailing list