[mythtv-users] OT: can't XFS format a new 4T disk

Kingsley Turner krt at krt.com.au
Mon Jan 20 03:25:04 UTC 2014


*off-topic*

I have a brand new 4T disk ready for my Myth video.  Western Digital WD40E2RX

I made a linux type partition with cfdisk, and wrote it.

Trying to XFS format as per the MythTV Wiki gives an error warning thing ~

     # mkfs.xfs -l size=64m -d agcount=4 -i attr=2,maxpct=5 -L mythfs /dev/sda1
     warning: device is not properly aligned /dev/sda1
     Use -f to force usage of a misaligned device

 From what I've read (and there's scant reading available), xfs is upset 
about the partition not being aligned to the physical sector size.  But I 
don't understand what to actually _do_ about it.  Why would cfdisk create 
such a misaligned partition in the first place?

Partition Table for /dev/sda

          ---Starting----      ----Ending-----    Start     Number of
  # Flags Head Sect  Cyl   ID  Head Sect  Cyl     Sector    Sectors
-- ----- ---- ---- ----- ---- ---- ---- ----- ----------- -----------
  1  0x00    1    1     0 0x83   80   63 486401          63 7814037105

I have an external 4T disk, I'm 99% sure I did exactly the above without issue.


More information about the mythtv-users mailing list