sudo mkfs.ntfs -Q -L Data /dev/sda2
The drive works fine on the Pi but when I connect it to a Windows 7 pc the pc doesn't recognise the format of the Data partition and can't access it.
On the Pi I ran:
Does this look ok for NTFS, or is there something I need to change using fdisk?$ sudo fdisk -l /dev/sda2
Disk /dev/sda2: 2.7 TiB, 2968557453312 bytes, 724745472 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x2052474d
Device Boot Start End Sectors Size Id Type
/dev/sda2p1 ? 6579571 1924427647 1917848077 7.1T 7 HPFS/NTFS/exFAT
/dev/sda2p2 ? 1953251627 3771827541 1818575915 6.8T 43 unknown
/dev/sda2p3 ? 225735265 225735274 10 40K 72 unknown
/dev/sda2p4 2642411520 2642463409 51890 202.7M 0 Empty
Partition table entries are not in disk order.
(I don't know why the size is reported as 7.1T).
Precise instructions would be appreciated as I know little about fdisk.