XFS filesystem on Hyper-V guest goes on shutting down while the guest is exported
Issue
- XFS filesystem on a Hyper-V guest goes on shutting down with the following messages while the guest is exported.
sd 0:0:0:0: [storvsc] Sense Key : Unit Attention [current]
sd 0:0:0:0: [storvsc] Add. Sense: Changed operating definition
sd 0:0:0:0: Warning! Received an indication that the operating parameters on this target have changed. The Linux SCSI layer does not automa
blk_update_request: I/O error, dev sda, sector 16129920
XFS (sda2): metadata I/O error: block 0xee7780 ("xlog_iodone") error 5 numblks 64
XFS (sda2): xfs_do_force_shutdown(0x2) called from line 1203 of file fs/xfs/xfs_log.c. Return address = 0xffffffffa0179b20
XFS (sda2): Log I/O Error Detected. Shutting down filesystem
XFS (sda2): Please umount the filesystem and rectify the problem(s)
sd 0:0:0:2: [storvsc] Sense Key : Unit Attention [current]
sd 0:0:0:2: [storvsc] Add. Sense: Changed operating definition
sd 0:0:0:2: Warning! Received an indication that the operating parameters on this target have changed. The Linux SCSI layer does not automa
XFS (sda2): xfs_log_force: error -5 returned.
Environment
- Red Hat Enterprise Linux 7
- kernel-3.10.0-514.el7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.