I am turning my RPi into a Plex server. I have connected the drive using a powered USB hub, and the output from
sudo fdisk -l
returns with this on the end:
Disk /dev/sda: 931.5 GiB, 1000204884992 bytes, 1953525166 sectors
Disk model: Storage Device
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa9f8da84
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 1953519615 1953517568 931.5G 7 HPFS/NTFS/exFAT
This is the correct drive.
I then ran sudo mkdir -p /media/Plex
and sudo chown -R pi:pi /media/Plex
To get the drive information, I ran sudo blkid /dev/sda1
which returned
/dev/sda1: LABEL="Plex Drive v1" UUID="6A3C98473C980FE5" TYPE="ntfs" PARTUUID="a9f8da84-01"
(I have ntfs-3g installed)
Finally, I added the line UUID=6A3C98473C980FE5 /media/Plex ntfs defaults,auto,users,rw,nofail,noatime 0 0
to the fstab file
When I run sudo mount -a
The console returns
ntfs_mst_post_read_fixup_warn: magic: 0x43425355 size: 4096 usa_ofs: 42208 usa_count: 62766: Invalid argument
Corrupt index block signature: vcn 0 inode 5
Failed to open $Secure: No such file or directory
Failed to mount '/dev/sda1': No such file or directory
I have no idea why this is happening, but any help would be appreciated, Thanks in advance, Gabi
PARTUUID=a9f8da84-01 ... etc
instead? - I doubt it'll make a difference, but just wondering - also, can you manually mount it? i.e.sudo mount /dev/sda1 /media/Plex
successfully? I take it the partition is correctly formatted as NTFS? (why are you using NTFS though)