pjpeej13
Posts: 7
Joined: Sun Jun 22, 2014 6:12 am

1TB Hard Drive No Access

Sat Jun 28, 2014 3:43 am

Hi fellow raspberry piers!
I have a little problem. So, for a long time, I had a transmission torrent server, a samba server, and an ftp server running fine on my pi (Model B). All three were routed to an external hard drive, mounted at /media/usbhdd. Everything was going great, until I ran out of space on the hard drive. Not wanting to go half way, I bought a 1TB Seagate Barracuda drive. I put 1 fat32 partition on it, as I'd like to also access files on it from my mac. Now, when I try to mount the drive (with files on it), I get nothing. I thought it was a permissions thing, but,

sudo chmod 775 /media/usbhdd

solved nothing. I then thought it was my hard drive docking station (plugable vertical one) but even when I connect it up directly with my previously used sata to usb 2 converter (don't worry, drive is still powered), I still get nothing. It doesn't return an error, just continues as if the command worked. Im doing:

sudo mount /dev/sda1 /media/usbhdd

I read online something about how bigger and newer drives can't use GUID partition tables, or something like that. At this point, I'm way in over my head. Like I said before, only 1 partition, fat32.

My old hard drive was a 160GB Maxtor drive. I should also mention, in the near future, I'd like to set up two things:
1) I have 2 1TB drives. One I want to be a direct backup of the other. Simple rsync I think.
2) because of the two drives, I wanted to use a usb hub. I'm using a 7 port Sabrent one. With switches.

The problems didn't come from the hub, nor the docking station. Is there a problem with the partitioning? I'm hesitant to use ext4, as it complicates compatibility with macs.

Any help is appreciated.

FM81
Posts: 518
Joined: Wed Apr 17, 2013 4:33 pm

Re: 1TB Hard Drive No Access

Sat Jun 28, 2014 8:17 am

pjpeej13 wrote:... I put 1 fat32 partition on it, as I'd like to also access files on it from my mac. Now, when I try to mount the drive (with files on it), I get nothing. I thought it was a permissions thing, but,

sudo chmod 775 /media/usbhdd

solved nothing. ...
Does FAT32 support unix-permissions? No, it doesn't! That's why 'chmod' will not help in this case ... :)
You will have to give the correct options during 'mount'-command (or in '/etc/fstab'); see especially "umask" and corresponding ...

MfG, FM_81
A: What does the command 'cat /dev/urandom', can you tell me please?
B: Yeah, that's very simple: It feeds your cat with radioactive material!

pjpeej13
Posts: 7
Joined: Sun Jun 22, 2014 6:12 am

Re: 1TB Hard Drive No Access

Wed Jul 02, 2014 3:51 am

Thank you for the reply. I figured out exactly what the problem is.

Using the command

lsblk

I saw this table:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 200M 0 part /media/usbhdd
└─sda2 8:2 0 931.3G 0 part
mmcblk0 179:0 0 3.7G 0 disk
├─mmcblk0p1 179:1 0 56M 0 part /boot
└─mmcblk0p2 179:2 0 2.7G 0 part /


You can see that the actual partition I care about is in sda2, not sda1. There must be a hidden partition on it at sda1. So I just have to mount at sda2 from now on. Hopefully this info can help someone else with a similar problem.

Thanks for the help!

John

Return to “Advanced users”