You are not logged in.

#1 2015-07-31 21:29:59

TexT
Member
Registered: 2015-04-12
Posts: 22

[Solved] Error with USB

I'm currently having trouble mounting my usb to /mnt/

I ran lsblk -f and my device name reads sdb but no other information about it like the fstype, label, or uuid.

NAME   FSTYPE LABEL UUID                                 MOUNTPOINT
sda                                                     
├─sda1 ext4         d35ed645-7844-4299-9eca-926f9e1fe90c /
├─sda2 ext4         fa02cffc-321b-4a3a-9566-268e83ece48f /home
└─sda3 vfat         2BED-4857                            /boot
sdb                                                     
sr0   

I then ran dmesg after I connect my usb and it reads this

[  112.216276] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[  112.216684] scsi host7: usb-storage 2-1.2:1.0
[  113.221527] scsi 7:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
[  113.223295] sd 7:0:0:0: [sdb] 15646656 512-byte logical blocks: (8.01 GB/7.45 GiB)
[  113.224131] sd 7:0:0:0: [sdb] Write Protect is off
[  113.224139] sd 7:0:0:0: [sdb] Mode Sense: 16 07 09 51
[  113.225455] sd 7:0:0:0: [sdb] Incomplete mode parameter data     //this is red
[  113.225463] sd 7:0:0:0: [sdb] Assuming drive cache: write through   //this is red
[  113.232041] sd 7:0:0:0: [sdb] Attached SCSI removable disk

also a few lines above this i get another error with sda2 which is my /home partition and I don't know if it has something to do with the following above

[   39.066188] EXT4-fs error (device sda2): ext4_mb_generate_buddy:757: group 577, block bitmap and bg descriptor inconsistent: 24192 vs 24209 free clusters

Last edited by TexT (2015-07-31 22:53:30)

Offline

#2 2015-07-31 21:57:08

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: [Solved] Error with USB

And what *should* be the state of the usb drive:  Have you used it before?  Is if partitioned and formatted, if so in what way (how many partitions, type)?  Is there important data on the usb drive?  Can you access it from other computers / OSes?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-07-31 22:07:04

TexT
Member
Registered: 2015-04-12
Posts: 22

Re: [Solved] Error with USB

This usb drive was used on a windows computer around 6 months ago. No important data is on the usb so I would be fine with wiping it. I don't have a different OS or know anyone nearby with a computer I could test it on but it did work on windows. I believe it used to be a vfat type but I have no clue why it is displaying nothing for it now.

Is there a way I can reset the usb to factory default and maybe have it working?

Offline

#4 2015-07-31 22:10:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: [Solved] Error with USB

Yes, just (re)partition it and make a filesystem.
e.g. https://wiki.archlinux.org/index.php/Fdisk and https://wiki.archlinux.org/index.php/File_systems


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2015-07-31 22:35:50

TexT
Member
Registered: 2015-04-12
Posts: 22

Re: [Solved] Error with USB

Trilby wrote:

Okay I now have it mounted to the folder I created. Just a couple questions.

The folder I made /mnt/kingston is where I store all the files I want to keep on the usb?

I need to always unmount before I remove usb correct? If so I would use 'umount /mnt/kingston' or do I need to use the UUID aswell? Also after I inset the usb I would have to mount it with the same command mount -U (uuid) /mnt/kingston?

Last edited by TexT (2015-07-31 22:36:37)

Offline

#6 2015-07-31 22:49:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,548
Website

Re: [Solved] Error with USB

Please make *some* effort to read the wiki or manpages yourself.

Is this even an archlinux question?  You couldn't have possibly installed archlinux without knowing how to mount/unmount, partition, and make filesystems.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2015-07-31 22:52:37

TexT
Member
Registered: 2015-04-12
Posts: 22

Re: [Solved] Error with USB

Trilby wrote:

Please make *some* effort to read the wiki or manpages yourself.

Is this even an archlinux question?  You couldn't have possibly installed archlinux without knowing how to mount/unmount, partition, and make filesystems.

I know how to do those things and have read the wiki, I'm just not familiar with USBs

Offline

Board footer

Powered by FluxBB