storage usb thing

Kernels & Hardware, configuring network, installing services

storage usb thing

Postby margaretH » 2017-03-20 00:04

i need to access if this storage device is actually supported and stable.
Or use it as a learning device in writing modules to communicate with it.

This is what i am working with, same as dmesg:
/var/log/kernel .......
Mar 19 16:26:23 bonami kernel: [ 1257.109717] usb 1-3: New USB device found, idVendor=0781, idProduct=5581
Mar 19 16:26:23 bonami kernel: [ 1257.109724] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 19 16:26:23 bonami kernel: [ 1257.109728] usb 1-3: Product: Ultra
Mar 19 16:26:23 bonami kernel: [ 1257.109731] usb 1-3: Manufacturer: SanDisk
Mar 19 16:26:23 bonami kernel: [ 1257.109734] usb 1-3: SerialNumber: 4C531001371114111015
Mar 19 16:26:23 bonami kernel: [ 1257.110686] scsi7 : usb-storage 1-3:1.0
Mar 19 16:26:24 bonami kernel: [ 1258.108943] scsi 7:0:0:0: Direct-Access SanDisk Ultra 1.00 PQ: 0 ANSI: 6
Mar 19 16:26:24 bonami kernel: [ 1258.110932] sd 7:0:0:0: Attached scsi generic sg2 type 0
Mar 19 16:26:24 bonami kernel: [ 1258.111078] sd 7:0:0:0: [sdb] 485228544 512-byte logical blocks: (248 GB/231 GiB)
Mar 19 16:26:24 bonami kernel: [ 1258.113513] sd 7:0:0:0: [sdb] Write Protect is off
Mar 19 16:26:24 bonami kernel: [ 1258.113520] sd 7:0:0:0: [sdb] Mode Sense: 43 00 00 00
Mar 19 16:26:24 bonami kernel: [ 1258.114728] sd 7:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or
FUA

Last night when i loaded the storage device i used dmesg and was sure that the message was 'using module' in reference to the line below this.

Mar 19 16:26:23 bonami kernel: [ 1257.110686] scsi7 : usb-storage 1-3:1.0

I did look into Debian web site packages and information and there is no module listed as such as i could see.
And the internet is as wonderfull as ever while trying to find information on usb storage related facts.

Also the last line from /var/log/kernel as shown above:

[sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA # weird ! look below at the file 'moon'

it looks like DPO is related to sg_read 8

meow@bonami:/media$ ls -l
total 12
drwxr-xr-x 3 root root 4096 Mar 18 20:13 1c07489f-7177-442b-992b-55a0592b0504 #the storage device
lrwxrwxrwx 1 root root 6 Aug 22 2013 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 Aug 22 2013 cdrom0
drwxr-xr-x 2 root root 4096 Jan 21 08:27 usb-device #created for fstab file

meow@bonami:/media$ stat 1c07489f-7177-442b-992b-55a0592b0504
File: `1c07489f-7177-442b-992b-55a0592b0504'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 811h/2065d Inode: 2 Links: 3
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-03-18 20:27:12.801682440 -0700
Modify: 2017-03-18 20:13:51.689684747 -0700
Change: 2017-03-18 20:13:51.689684747 -0700
Birth: -

meow@bonami:/media$ cd 1c07489f-7177-442b-992b-55a0592b0504
meow@bonami:/media/1c07489f-7177-442b-992b-55a0592b0504$ ls -l
total 20
drwx------ 2 root root 16384 Feb 19 16:23 lost+found
-rw-r--r-- 1 root root 49 Mar 18 20:13 moon

meow@bonami:/media/1c07489f-7177-442b-992b-55a0592b0504$ cat moon
the moon is my guide as night becomes the sky

So does it look like i wasted money ? or would you roll the dice and trust this device for 100 miles.
Please let me know.
Thank you
margaretH
 
Posts: 14
Joined: 2017-01-23 20:22

Re: storage usb thing

Postby Head_on_a_Stick » 2017-03-20 06:56

“Controlling complexity is the essence of computer programming."Brian Kernighan

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6491
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: storage usb thing

Postby Thorny » 2017-03-20 10:10

margaretH wrote:So does it look like i wasted money ? or would you roll the dice and trust this device for 100 miles.

Any currently working hardware might fail the next time you try to use it. Put your trust in having properly backed up any files that are mission critical for your use case. Without a backup, metaphorically, you are "rolling the dice".
Thorny
 
Posts: 310
Joined: 2011-02-27 13:40

Re: storage usb thing

Postby margaretH » 2017-03-21 22:03

Okay , i guess i will purchase three external storage devices with the same amount of capacity and write a script to cp each file that is deemed to be saved on a external storage to each while i have access to four external usb ports.

Thank you for the reply`s.
margaretH
 
Posts: 14
Joined: 2017-01-23 20:22

Re: storage usb thing

Postby stevepusser » 2017-03-21 23:15

The "usb-storage" module is built into the kernel, so won't appear as any Debian package.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.6, Pale Moon 27.4.1, Liquorix kernel 4.11-9, mpv 0.26.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8533
Joined: 2009-10-06 05:53


Return to System configuration

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable