Unable to create a filesystem on fiber channel devices in Hyper-V guest systems.

Solution Verified - Updated -

Issue

  • Unable to create a filesystem on fiber channel devices in Hyper-V guest systems.
  • mkfs command goes to a hung state with the following PID stack.
root      249015  0.0  0.0   6544  2988 pts/0    -    21:52   0:00 mkfs.xfs -K /dev/mapper/VG_APP-LV_APP

[<0>] rq_qos_wait+0xbb/0x130
[<0>] wbt_wait+0x9c/0x100
[<0>] __rq_qos_throttle+0x20/0x40
[<0>] blk_mq_get_new_requests+0xcf/0x190
[<0>] blk_mq_submit_bio+0x2ba/0x3f0
[<0>] __submit_bio_noacct+0x81/0x1f0
[<0>] blk_next_bio+0x59/0x70
[<0>] __blkdev_issue_zero_pages+0xaa/0x150
[<0>] blkdev_issue_zeroout+0xd3/0x200
[<0>] blkdev_fallocate+0x14a/0x1b0
[<0>] vfs_fallocate+0x148/0x330
[<0>] __x64_sys_fallocate+0x3c/0x70
[<0>] do_syscall_64+0x59/0x90
[<0>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
  • System logs filled with following errors.
[368011.894495] hv_storvsc ec179751-a4d4-45d5-a3b2-9d1e65fbfde8: tag#1240 cmd 0x2a status: scsi 0x0 srb 0x30 hv 0xc0000001
[368011.894582] hv_storvsc 2dd27aed-d462-4fdc-bf25-efd65ce25c76: tag#1485 cmd 0x2a status: scsi 0x0 srb 0x30 hv 0xc0000001
[368011.894654] hv_storvsc ec179751-a4d4-45d5-a3b2-9d1e65fbfde8: tag#1251 cmd 0x2a status: scsi 0x0 srb 0x30 hv 0xc0000001

Environment

  • Red Hat Enterprise Linux 8.8
  • Hyper-V guest systems with fiber channel storage device.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content