On Thu, Oct 15, 2020 at 05:04:52PM +0800, Yu Chuan wrote:
On Thu, Oct 15, 2020 at 03:06:58PM +0800, Wu Fengguang wrote:
[ -n "$LKP_SERVER" ] && {
Here LKP_SERVER should be changed to INITRD_CIFS_HOST
Yuchuan, currently ~/compass-ci/container/os-cifs/smb.conf ties the major /srv/* dirs together.
We may try splitting out the services with different HOST/PORT, so that the dirs can be served either in same host or from different servers.
OS_CIFS_HOST OS_CIFS_PORT (default to 445)
INITRD_CIFS_HOST INITRD_CIFS_PORT (default to 139)
RESULT_CIFS_HOST RESULT_CIFS_PORT
The last one may not be necessary, since we'll only use HTTP result upload in future.
Ok, got it. Separating them also helps relieve disk pressure.
So, should we need to separate the container?
- os-cifs # only support cifs of /srv/os
- initrd-cifs # only support cifs of /srv/initrd
OK.
Thanks, Fengguang
- mount $LKP_SERVER:$PKG_MNT $PKG_MNT || die "Failed to run mount"
- mount -t cifs -o guest,vers=1.0,noacl,nouser_xattr //$LKP_SERVER$PKG_MNT $PKG_MNT || die "Failed to run mount"