On 7 Mar 2019, at 2:51, Kanika wrote: > Hi Benjamin, > Thanks for your reply. I suspected so but wanted to confirm. I tried > block/scsi layout as well but that isn't working either. > > Based on an old thread on this list on "how to setup pnfs for block > layout", I set up an iscsi target on the DS and the initiators on the MDS > and client. All machines are running 4.15 kernel. Client as an iscsi > initiator but does not mount the device. MDS also an initiator with an xfs > filesystem mounted on the device. This mount point is exported as an nfs > share from the MDS. The client mounts the exported MDS share. > By default LAYOUT_SCSI is used but the GETDEVICEINFO call keeps failing > with NFS4ERR_INVAL. As a result all reads/writes from the client are routed > to the MDS instead of the DS. Anything wrong with my setup? The SCSI layout needs to work with whole SCSI devices, not partitions. Try putting your XFS on /dev/sda instead of /dev/sda1. Ben