------- Comment From [email protected] 2016-02-11 10:14 EDT-------
partman uses obviously and erroneously a method with 512 byte block size (like 
on SCSI disks) to create an xfs filesystem. This method needs to be adjusted 
for ECKD DASDs, since they have usually a block size of 4096 bytes. (In very 
rare cases, DASDs can be dasdformatted with 2048 or 1024 or 512 bytes 
blocksize, but it doesn't make sense and wastes space.)
I didn't have a look into the partman code, but it looks like the libparted 
underneath uses a default blocksize for xfs of 512 where it should use 4096 
(for ECKD DASDs, not for SCSI LUNs!). But that's just an assumption.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1544574

Title:
  partman: mkfs.xfs: error - cannot set blocksize 512 on block device
  /dev/dasda1: Invalid argument

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1544574/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to