Closed f0 closed 7 years ago
i try to attach a volume via tcmu , got his error, attach via nbd it does work
torusblk tcmu test 2016-10-19 19:03:41.708337 I | torus: creating metadata service: etcd 2016-10-19 19:03:41.720762 I | torus: 301d51ea-9488-11e6-941e-0a281e822a50: 1 2016-10-19 19:03:41.720779 I | torus: 7562a233-948a-11e6-abe6-62e8f0322c24: 1 2016-10-19 19:03:41.721024 I | torus: creating blockstore: temp 2016-10-19 19:03:41.724378 I | torus: 301d51ea-9488-11e6-941e-0a281e822a50: 1 2016-10-19 19:03:41.724393 I | torus: 7562a233-948a-11e6-abe6-62e8f0322c24: 1 failed to serve volume using SCSI: mkdir /sys/kernel/config/target: no such file or directory ``
lsmod | grep target_core_user target_core_user 20480 0 target_core_mod 286720 1 target_core_user uio 16384 1 target_core_user
cat /etc/os-release NAME=CoreOS ID=coreos VERSION=1122.2.0 VERSION_ID=1122.2.0 BUILD_ID=2016-09-06-1449 PRETTY_NAME="CoreOS 1122.2.0 (MoreOS)" ANSI_COLOR="1;32" HOME_URL="https://coreos.com/" BUG_REPORT_URL="https://github.com/coreos/bugs/issues"
ok configfs was missing, after running
modprobe configfs mount -t configfs configfs /sys/kernel/config
it does work
i try to attach a volume via tcmu , got his error, attach via nbd it does work
lsmod | grep target_core_user target_core_user 20480 0 target_core_mod 286720 1 target_core_user uio 16384 1 target_core_user
cat /etc/os-release NAME=CoreOS ID=coreos VERSION=1122.2.0 VERSION_ID=1122.2.0 BUILD_ID=2016-09-06-1449 PRETTY_NAME="CoreOS 1122.2.0 (MoreOS)" ANSI_COLOR="1;32" HOME_URL="https://coreos.com/" BUG_REPORT_URL="https://github.com/coreos/bugs/issues"