Harddrives renaming themselves?

Message
Author
User avatar
Eadwine Rose
Administrator
Posts: 14519
Joined: Wed Jul 12, 2006 2:10 am

Re: Harddrives renaming themselves?

#121 Post by Eadwine Rose »

*facepalm* Why didn't I think of that??



(I want a like button.. heh)
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Eadwine Rose
Administrator
Posts: 14519
Joined: Wed Jul 12, 2006 2:10 am

Re: Harddrives renaming themselves?

#122 Post by Eadwine Rose »

Happened again. Last thing to try is putting the Plextor on slave with the jumpers (currently on CS, and becomes master during the boot).
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
richb
Administrator
Posts: 10868
Joined: Wed Jul 12, 2006 2:17 pm

Re: Harddrives renaming themselves?

#123 Post by richb »

I just ran into this for the first time. I just got a USB 3.0 stick. I have always used USB 2.0 in USB 2.0 ports. When I booted the USB 3.0 stick in a USB 3.0 port, what was sda, the internal hard drive, became sdb and the stick was sda.

It would seem to be a timing problem. Is it possible the stick beat the hd when booting?
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
anticapitalista
Developer
Posts: 4286
Joined: Sat Jul 15, 2006 10:40 am

Re: Harddrives renaming themselves?

#124 Post by anticapitalista »

richb wrote:I just ran into this for the first time. I just got a USB 3.0 stick. I have always used USB 2.0 in USB 2.0 ports. When I booted the USB 3.0 stick in a USB 3.0 port, what was sda, the internal hard drive, became sdb and the stick was sda.

It would seem to be a timing problem. Is it possible the stick beat the hd when booting?
Yes and it is all pretty random now how devices are labelled ie sda or sdc
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
Eadwine Rose
Administrator
Posts: 14519
Joined: Wed Jul 12, 2006 2:10 am

Re: Harddrives renaming themselves?

#125 Post by Eadwine Rose »

Rich: Could very well be!


I am getting this about 20-25% of the time still with my system. Still need to change that jumper on plextor to slave though. Other stuff is keeping me occupied at the moment :smile:


Anti: you mean there is a newer kernel and such now that will avoid such problems as I have here in the future?
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
richb
Administrator
Posts: 10868
Joined: Wed Jul 12, 2006 2:17 pm

Re: Harddrives renaming themselves?

#126 Post by richb »

anticapitalista wrote:
richb wrote:I just ran into this for the first time. I just got a USB 3.0 stick. I have always used USB 2.0 in USB 2.0 ports. When I booted the USB 3.0 stick in a USB 3.0 port, what was sda, the internal hard drive, became sdb and the stick was sda.

It would seem to be a timing problem. Is it possible the stick beat the hd when booting?
Yes and it is all pretty random now how devices are labelled ie sda or sdc
Then unexplained.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
anticapitalista
Developer
Posts: 4286
Joined: Sat Jul 15, 2006 10:40 am

Re: Harddrives renaming themselves?

#127 Post by anticapitalista »

Eadwine Rose wrote: Anti: you mean there is a newer kernel and such now that will avoid such problems as I have here in the future?
No, the opposite :)
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
anticapitalista
Developer
Posts: 4286
Joined: Sat Jul 15, 2006 10:40 am

Re: Harddrives renaming themselves?

#128 Post by anticapitalista »

richb wrote:
anticapitalista wrote:
richb wrote:I just ran into this for the first time. I just got a USB 3.0 stick. I have always used USB 2.0 in USB 2.0 ports. When I booted the USB 3.0 stick in a USB 3.0 port, what was sda, the internal hard drive, became sdb and the stick was sda.

It would seem to be a timing problem. Is it possible the stick beat the hd when booting?
Yes and it is all pretty random now how devices are labelled ie sda or sdc
Then unexplained.
Newer kernels set the device name (sda/sdc etc) on a first come first served basis. This means that your usb stick might be shown as sda on one box, but sdc on another or even possibly sda on first boot and sdc on second boot. It is a race.
BitJam posted somewhere about this.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
richb
Administrator
Posts: 10868
Joined: Wed Jul 12, 2006 2:17 pm

Re: Harddrives renaming themselves?

#129 Post by richb »

anticapitalista wrote:
richb wrote:
anticapitalista wrote:
Yes and it is all pretty random now how devices are labelled ie sda or sdc
Then unexplained.
Newer kernels set the device name (sda/sdc etc) on a first come first served basis. This means that your usb stick might be shown as sda on one box, but sdc on another or even possibly sda on first boot and sdc on second boot. It is a race.
BitJam posted somewhere about this.
That was what I meant, in-artfully stated.
Forum Rules
Guide - How to Ask for Help

richb Administrator
System: MX 23 KDE
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB

User avatar
Eadwine Rose
Administrator
Posts: 14519
Joined: Wed Jul 12, 2006 2:10 am

Re: Harddrives renaming themselves?

#130 Post by Eadwine Rose »

Cool.. we can expect more of these situations then with newbies coming in asking why their dvd players aren't recognized. :alien:

Something to keep in the back of the mind then when something unexplained like this comes along: ask for that drive naming command.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

Post Reply

Return to “Older Versions”