Currently I 'm using my RPi 2 with a 1 TB external Toshiba USB drive.Back in the day, I had to set max_usb_current=1
in my /boot/config.txt
file, because when I plugged it in it would keep trying to power on and end up turning off constantly.I'm using a 2.1A mobile phone charger.
Right now I'm running out of space in the disk, so I'm going to replace it with a 640 GB Toshiba disk I extracted from my old laptop, using a standard USB 3.0 2.5'' drive enclosure (id is 152d:0567
), but I want to be able to use them together until the old one runs completely out of space.This enclosure has a switch for turning the disk on/off.If I power on the Pi with both drives plugged or plug first the 1 TB one and then switch the button of the other one, the moment it starts the other one is turned off for a moment, and then on again.This causes it to be remounted on the same location without having been umounted properly first, which leads to trouble later.If I do it the other way, plugging first the 640 GB one and then the other, both keep trying to turn on constantly to no avail, making "ticking" sounds of sorts.
I have both drives in my fstab like this:
UUID=748EFC2E8EFBE690 /media/sida1 ntfs-3g auto,users,rw,uid=pi,gid=pi 0 0
UUID=3EB2B30EB2B2C9A3 /media/pomf288 ntfs-3g auto,users,rw,uid=pi,gid=pi 0 0
And with manual udev rules for mounting when they are plugged in after boot:
KERNEL=="sd?1", ACTION=="add", SUBSYSTEM=="block", ATTRS{serial}=="20130716042605", RUN="/bin/mount /media/sida1"
KERNEL=="sd?1", ACTION=="add", SUBSYSTEM=="block", ATTRS{idProduct}=="0567", ATTRS{idVendor}=="152d", ATTRS{manufacturer}=="JMicron", ATTRS{product}=="USB to ATA/ATAPI bridge", RUN="/bin/mount /media/pomf288"
What sort of problem can this be? A friend of mine who also has a Pi 2 has two 3.5 drives attached to it without a problem.
udev
rules are not being overridden by the "built-in" ones?