×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Mounting external drive help needed

  • Posts: 73
  • Thank you received: 8
I bought a 250gb SSD and a SATA to USB3 cable which allows me to plug it in to any usb 3.0 port and use it as an external drive. I tested it with my windows 10 computer and of course worked fine.

I bought it to use with my Raspberry Pi and Stellarmate. I am a newbie to Linux so I don't understand how to get it to mount and become read/writeable so I can have my images saved to it.

When I pull up the device notifier it shows the drive but says "you are not authorized to mount this device.

That is as far as I can go without help. I don't want to mess it up.

What I was thinking of doing is installing the packages that allow Raspberry linux to read/write to NTSF drives that way I could unplug it from the raspberry and plug it into any windows PC to download the images.

Thanks
4 years 5 months ago #44200

Please Log in or Create an account to join the conversation.

  • Posts: 298
  • Thank you received: 46
Hi,

I can think of 3 ways to do that quite easily..

1) Automatically mounted when Pi is booted : sudo nano /etc/fstab
2) Manually mounted : sudo mount /dev/sdb?? ~/directoryName
3) Mounted with a udev rule : /lib/udev/rules.d/

But I think it would be better to use FAT32 instead of NTFS, just my opinion.
If I get some time tomorrow or the weekend I can give you a example to get you going.

Br,
/Markku
The following user(s) said Thank You: Micheal Fields
4 years 5 months ago #44203

Please Log in or Create an account to join the conversation.

  • Posts: 73
  • Thank you received: 8
That would be great! For example the 3 choices you gave me might as well been another language. I guess that is exactly what it is. :)
4 years 5 months ago #44227

Please Log in or Create an account to join the conversation.

  • Posts: 298
  • Thank you received: 46
First of all I don't use Stellarmate myself and is a bit confused why it says "you are not authorized to mount this device" ? If the USB3 cable is recognized by the system it should mount in /media/USERNAME/VolumeLable and should be visible as a disc drive.

Anyway, let's get some info from the device...

Start up your Pi without the disc..
Start a terminal window.. (maybe keyboard shortcut : Alt+Ctrl+T)
Enter the command : tail -f /var/log/syslog
Press a couple of "Enter" to get some new empty lines..
Insert the USB3 SSD and there will be some lines of text rolling by.. then when the text stops take a copy of all that text and paste in the forum.
That info will contain the info needed to see what is going on when Stellarmate is trying to mount the drive.

That's all for now :)
4 years 5 months ago #44231

Please Log in or Create an account to join the conversation.

  • Posts: 73
  • Thank you received: 8
Well perhaps I was doing something incorrectly because while previously I was unable to access the drive as mentioned in my original post now it has zero issues. Regardless, the following is your requested info.


Oct 4 18:40:26 stellarmate kernel: [ 1603.138275] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Oct 4 18:40:26 stellarmate kernel: [ 1603.169388] usb 2-2: New USB device found, idVendor=152d, idProduct=0578, bcdDevice=32.02
Oct 4 18:40:26 stellarmate kernel: [ 1603.169404] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 4 18:40:26 stellarmate kernel: [ 1603.169417] usb 2-2: Product: External Disk 3.0
Oct 4 18:40:26 stellarmate kernel: [ 1603.169429] usb 2-2: Manufacturer: JMicron
Oct 4 18:40:26 stellarmate kernel: [ 1603.169441] usb 2-2: SerialNumber: 193196802874
Oct 4 18:40:26 stellarmate kernel: [ 1603.204079] scsi host0: uas
Oct 4 18:40:26 stellarmate kernel: [ 1603.205577] scsi 0:0:0:0: Direct-Access JMicron Tech 3202 PQ: 0 ANSI: 6
Oct 4 18:40:26 stellarmate kernel: [ 1603.207656] sd 0:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/233 GiB)
Oct 4 18:40:26 stellarmate kernel: [ 1603.207673] sd 0:0:0:0: [sda] 4096-byte physical blocks
Oct 4 18:40:26 stellarmate kernel: [ 1603.207921] sd 0:0:0:0: [sda] Write Protect is off
Oct 4 18:40:26 stellarmate kernel: [ 1603.208030] sd 0:0:0:0: [sda] Mode Sense: 53 00 00 08
Oct 4 18:40:26 stellarmate kernel: [ 1603.208422] sd 0:0:0:0: [sda] Disabling FUA
Oct 4 18:40:26 stellarmate kernel: [ 1603.208429] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct 4 18:40:26 stellarmate kernel: [ 1603.209071] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
Oct 4 18:40:26 stellarmate kernel: [ 1603.217762] sda: sda1 sda2
Oct 4 18:40:26 stellarmate kernel: [ 1603.220492] sd 0:0:0:0: [sda] Attached SCSI disk
Oct 4 18:40:26 stellarmate mtp-probe: checking bus 2, device 2: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-2"
Oct 4 18:40:26 stellarmate mtp-probe: bus: 2, device: 2 was not an MTP device
Oct 4 18:40:26 stellarmate kernel: [ 1603.276781] sd 0:0:0:0: Attached scsi generic sg0 type 0
Oct 4 18:40:26 stellarmate upowerd[915]: unhandled action 'bind' on /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-2/2-2:1.0
Oct 4 18:40:26 stellarmate upowerd[915]: unhandled action 'bind' on /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-2
Oct 4 18:40:32 stellarmate x11vnc[1217]: 04/10/2019 18:40:32 cursor_noshape_updates_clients: 0
Oct 4 18:40:47 stellarmate x11vnc[1217]: 04/10/2019 18:40:47 cursor_noshape_updates_clients: 0
Oct 4 18:40:57 stellarmate kernel: [ 1633.798538] sd 0:0:0:0: [sda] tag#15 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD IN
Oct 4 18:40:57 stellarmate kernel: [ 1633.798557] sd 0:0:0:0: [sda] tag#15 CDB: opcode=0x28 28 00 1d 1c 55 e8 00 00 18 00
Oct 4 18:40:57 stellarmate kernel: [ 1633.838604] scsi host0: uas_eh_device_reset_handler start
Oct 4 18:40:57 stellarmate kernel: [ 1633.989445] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Oct 4 18:40:57 stellarmate kernel: [ 1634.024620] scsi host0: uas_eh_device_reset_handler success
Last edit: 4 years 5 months ago by Micheal Fields.
4 years 5 months ago #44250

Please Log in or Create an account to join the conversation.

  • Posts: 298
  • Thank you received: 46
The log looks good to me :) and if it's working then no need to fix anything :)
Not sure if you did anything wrong but we can call it a glitch :)

Cs,
/Markku
4 years 5 months ago #44272

Please Log in or Create an account to join the conversation.

Time to create page: 0.556 seconds