RHEL Host showing different lun size compared to the actual size of the lun on the storage end
Applies to
- Ontap 9
- RHEL Clustered Host
Issue
- RHEL Host is showing a different size (9TB in this example) compared to what is the actual lun size(5TB in this example) for all newly created luns.
- When a test lun is provisioned to the clustered RHEL hosts, some nodes could see the lun and some could not.
sg_inqandsg_readcap -voutputs on RHEL Host shows that the host can read the target lun and was even showing the correct size , however it was not reflecting the correct size on host end.

df-hshows it as mounted on host end.- Stale entries observed on host end in
var/log/messages, which can cause unnecessary load on multipath and can lead the host to behave in abnormal way.

-
Host was reading the size from these stale entries for some of the luns as the previous lun attached was of some other size and the current lun attached is of a different size.

