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

Harry McGregor hmcgregor at biggeeks.org
Mon Jan 20 03:27:50 UTC 2014


Hi,

You need to use parted (either command line, or gparted) to create the
partition at 1MB offset.

-Harry

On 1/19/14 8:25 PM, Kingsley Turner wrote:
> *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.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>



More information about the mythtv-users mailing list