Page 1 of 1
Mount Read and Write Fat32 1TB drive HELP
Posted: Tue Jan 07, 2014 10:08 pm
by VIIDO
Hello,
I have a model B Raspberry pi, powered USB Hub connected to a 1TB external Hdd. I have formatted and imaged both Raspbian and Raspbmc. Both operating systems are working great. I have installed transmission-daemon numerous times on fresh installs so needless to say I have that down. I know my way around the nano settings.json setup of the client.
Here is my trouble... My Hard drive is not allowing the pi to mount it with read and write permissions and it it is its not letting transmission write to it. I need a step by step from install to torrent guide. I have recieved all of the info I already have from 30+ different sources and all of these different sources seem to have a different way of doing things that ultimately DONT work. And if they do there is a step that is missing that will not allow me to torrent to the Hdd. The attached image is the error that i am getting.

Re: Mount Read and Write Fat32 1TB drive HELP
Posted: Wed Jan 08, 2014 10:01 am
by sdjf
You did not include any error output, but if you cannot write to a device, there are generally two basic reasons:
1. you do not have permission (post output of ls -l for the device)
2. the file system might be corrupt and/or need repair or there might not be a file system on the device.
possible diagnostics for the latter would be to see if there is a file system with parted, gparted, or fdisk to list the partition table and file systems.
and to run fsck on it if there is a file system.
does it mount at all? what command did you enter when you tried to mount it?
Re: Mount Read and Write Fat32 1TB drive HELP
Posted: Wed Jan 08, 2014 10:06 am
by RaTTuS
sudo fdisk -l
dmesg
may help
Re: Mount Read and Write Fat32 1TB drive HELP
Posted: Wed Jan 08, 2014 10:27 am
by johndough
Hi
A 1 terabyte FAT32 drive?
Perhaps use NTFS, or better still a linux type like EXT4.
Re: Mount Read and Write Fat32 1TB drive HELP
Posted: Wed Jan 08, 2014 5:09 pm
by VIIDO
Yes Fat 32 because i will be using it with my ps3. Fat32 only Ps4 is also a fat32 device only.
this device is found when I search for it it is /sda1 formatted in 1 partition. everything is fine in that sense it is discovered i don't have anything on the drive so I am using a freshly formatted drive for each of the attempts.
Re: Mount Read and Write Fat32 1TB drive HELP
Posted: Tue Feb 11, 2014 4:17 pm
by driftwork
I am in the exact same boat.
I'm a Newb
I have successfully set up my new PI as a Torrent Seed-Box using Deluge and following some easily understood instructions. I was quite surprised that everything has actually worked.
I can port into the Pi/ Deluge thin-client from my network and from an outside web UI and using Transdroid.
I've also managed to set up ftp access to the PI.
I have also managed to mount an old FAT32 40gig drive I had lying around to the PI.
I can list files on the drive and I can even ftp into the drive with 'read' privileges and I can transfer files.
I cannot however 'write' to the drive.
I cannot write to it using my ftp client. (I cannot make a directory for example)
I cannot write to it using Deluge to route my torrent to any directories on the drive either.
Does anyone have any ideas?
Its the very last piece of my PI project.
Thanks in advance.
Re: Mount Read and Write Fat32 1TB drive HELP
Posted: Thu Feb 13, 2014 5:32 am
by driftwork
I managed to find a reference to mounting FAT32 with read and write privileges.
$ sudo mount -t vfat -o uid=pi,gid=pi /dev/sda1 /media/usbhdd
(Change 'sda1' to whatever your drive name is and '/media/usbhdd' to where-ever your mount-point is)
Re: Mount Read and Write Fat32 1TB drive HELP
Posted: Thu Feb 13, 2014 5:55 am
by socialdefect
driftwork wrote:I managed to find a reference to mounting FAT32 with read and write privileges.
$ sudo mount -t vfat -o uid=pi,gid=pi /dev/sda1 /media/usbhdd
(Change 'sda1' to whatever your drive name is and '/media/usbhdd' to where-ever your mount-point is)
And if you want to make this permanent add the disk to /etc/fstab like this:
Code: Select all
/dev/sda1 /media/usbhdd vfat auto,user,rw,uid=pi,gid=pi 0 0
Execute:
To see if there are any errors while mounting.
Manually mount or re-mount a partition:
Code: Select all
sudo mount -t vfat -o rw /dev/sda1 /media/usbhdd
sudo mount -o remount,rw /media/usbhdd
Re: Mount Read and Write Fat32 1TB drive HELP
Posted: Thu Feb 13, 2014 10:25 am
by DougieLawson
socialdefect wrote:
And if you want to make this permanent add the disk to /etc/fstab like this:
Code: Select all
/dev/sda1 /media/usbhdd vfat auto,user,rw,uid=pi,gid=pi 0 0
Execute:
To see if there are any errors while mounting.
It's better to use the UUID for the device, then it doesn't matter if it is /dev/sda1 or /dev/sdq1.
blkid gives this:
Code: Select all
root@pi /dev # blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="2654-BFC0" TYPE="vfat"
/dev/mmcblk0p2: UUID="548da502-ebde-45c0-9ab2-de5e2431ee0b" TYPE="ext4"
/dev/sda1: SEC_TYPE="msdos" UUID="E0FD-1813" TYPE="vfat"
root@pi /dev #
So /etc/fstab gets this:
Code: Select all
UUID=E0FD-1813 /media/usbhdd vfat auto,user,rw,uid=pi,gid=pi 0 0