Study on mechanical properties of a layered rock with holes under the support structure