4KiB + 64 B formatted drive : Invalid or incomplete multibyte or wide character: write offset=4096, buflen=4096

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

 



Hello,

If I format the drive with 512+8 LBAF run fio, I don’t see any issue :

# nvme list
Node             SN                   Model
        Namespace Usage                      Format           FW Rev
---------------- --------------------
---------------------------------------- ---------
-------------------------- ---------------- --------
/dev/nvme0n1     160401RICHC01        PM1733V4TLC
        1           1.92  TB /   1.92  TB    512   B +  8 B   TEMC8881
/dev/nvme1n1     160401RICHC01        PM1733V4TLC
        1           1.92  TB /   1.92  TB    512   B +  8 B   TEMC8881
[root@smitha-Z390-hawk tmp]# fio --filename=/dev/nvme0n1 --size=1M
--rw=write --ioengine=libaio --direct=1 --verify=crc32 --verify_dump=1
--name=test --bs=512
test: (g=0): rw=write, bs=(R) 512B-512B, (W) 512B-512B, (T) 512B-512B,
ioengine=libaio, iodepth=1
fio-3.7
Starting 1 process

test: (groupid=0, jobs=1): err= 0: pid=32631: Wed Jan  8 09:40:32 2020
   read: IOPS=18.0k, BW=9481KiB/s (9709kB/s)(1024KiB/108msec)
 <snip>…<snip>
  write: IOPS=27.3k, BW=13.3MiB/s (13.0MB/s)(1024KiB/75msec)

Run status group 0 (all jobs):
   READ: bw=9481KiB/s (9709kB/s), 9481KiB/s-9481KiB/s
(9709kB/s-9709kB/s), io=1024KiB (1049kB), run=108-108msec
  WRITE: bw=13.3MiB/s (13.0MB/s), 13.3MiB/s-13.3MiB/s
(13.0MB/s-13.0MB/s), io=1024KiB (1049kB), run=75-75msec

Disk stats (read/write):
  nvme0n1: ios=1288/2048, merge=0/0, ticks=67/66, in_queue=0, util=58.63%

How ever if I format the drive with LBAF type 4 that is supported by
the drive, then I get the following error :

# nvme format /dev/nvme1 --namespace-id=1 --lbaf=4   --pi=1 --ms=0
Success formatting namespace:1
#  nvme list
Node             SN                   Model
        Namespace Usage                      Format           FW Rev
---------------- --------------------
---------------------------------------- ---------
-------------------------- ---------------- --------
/dev/nvme0n1     160401RICHC01        PM1733V4TLC
        1           1.92  TB /   1.92  TB      4 KiB + 64 B   TEMC8881
/dev/nvme1n1     160401RICHC01        PM1733V4TLC
        1           1.92  TB /   1.92  TB      4 KiB + 64 B   TEMC8881


# fio --filename=/dev/nvme0n1 --size=1M --rw=write --ioengine=libaio
--direct=1 --verify=crc32 --verify_dump=1 --name=test --bs=4096
test: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T)
4096B-4096B, ioengine=libaio, iodepth=1
fio-3.7
Starting 1 process
fio: io_u error on file /dev/nvme0n1: Invalid or incomplete multibyte
or wide character: write offset=4096, buflen=4096
fio: pid=32709, err=84/file:io_u.c:1747, func=io_u error,
error=Invalid or incomplete multibyte or wide character

test: (groupid=0, jobs=1): err=84 (file:io_u.c:1747, func=io_u error,
error=Invalid or incomplete multibyte or wide character): pid=32709:
Wed Jan  8 09:42:12 2020
  write: IOPS=2000, BW=4000KiB/s (4096kB/s)(4096B/1msec)
    slat (nsec): min=12142, max=27097, avg=19619.50, stdev=10574.78
    clat (nsec): min=24389, max=24389, avg=24389.00, stdev= 0.00
     lat (nsec): min=52811, max=52811, avg=52811.00, stdev= 0.00
  lat (usec)   : 50=50.00%
  cpu          : usr=0.00%, sys=0.00%, ctx=2, majf=0, minf=22

     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
  WRITE: bw=4000KiB/s (4096kB/s), 4000KiB/s-4000KiB/s
(4096kB/s-4096kB/s), io=4096B (4096B), run=1-1msec

Disk stats (read/write):
  nvme0n1: ios=0/0, merge=0/0, ticks=0/0, in_queue=0, util=0.00%

Am I missing something?
Thanks for the help !

Smitha




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux