Re: blktests nvme testcase error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> CODE:
>      221 _create_nvmet_ns() {
>      222         local nvmet_subsystem="$1"
>      223         local nsid="$2"
>      224         local blkdev="$3"
>      225         local uuid="00000000-0000-0000-0000-000000000000"
>      226         local subsys_path="${NVMET_CFS}/subsystems/${nvmet_subsystem}"
>      227         local ns_path="${subsys_path}/namespaces/${nsid}"
>      228
>      229         if [[ $# -eq 4 ]]; then
>      230                 uuid="$4"
>      231         fi
>      232
>      233         mkdir "${ns_path}"
>      234         printf "%s" "${blkdev}" > "${ns_path}/device_path"
>      235         printf "%s" "${uuid}" > "${ns_path}/device_uuid"
>      236         printf 1 > "${ns_path}/enable"
>      237 }
> 

You should be able to get the error in the dmsg, please share that output..




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux