You are not logged in.

#1 2009-10-12 14:23:48

icywalk
Member
Registered: 2009-10-08
Posts: 16

sda change to sdb after reboot ,how could I relove it?

I have two hd,the  sda change to sdb after reboot
So how could I relove it?
thanks

Offline

#2 2009-10-12 14:35:59

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: sda change to sdb after reboot ,how could I relove it?

I'm not sure about what would cause this, but my advise would be to use UUID.
Using these unique identifiers, this should not happen again.

Check out the following wiki articles.
http://wiki.archlinux.org/index.php/UUID
http://wiki.archlinux.org/index.php/GRUB
http://wiki.archlinux.org/index.php/Fstab

Last edited by brazzmonkey (2009-10-12 14:36:14)


what goes up must come down

Offline

#3 2009-10-12 14:39:38

BlueSkyNis
Member
From: Serbia, Niš
Registered: 2009-10-08
Posts: 16

Re: sda change to sdb after reboot ,how could I relove it?

Did you plug in some USB drive-stick?

With UUID you will have no problems with sd* labels. wink

Last edited by BlueSkyNis (2009-10-12 14:40:22)

Offline

#4 2009-10-12 14:44:58

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: sda change to sdb after reboot ,how could I relove it?

Well, this has been a known kernel issue for years. The Persistent block device naming article covers UUID as well as other methods to workaround.  Why this happens, or why it will not be fixed is beyond me. My best guess is that it's a rare issue. (?)

Offline

#5 2009-10-16 23:57:44

mickael9
Member
Registered: 2008-10-11
Posts: 29

Re: sda change to sdb after reboot ,how could I relove it?

This happened to me as well with the latest kernel update.
I used a Live CD, mounted the root and boot partitions, edited /etc/fstab and /boot/grub/menu.lst then rebooted

Offline

#6 2009-10-23 11:04:36

icywalk
Member
Registered: 2009-10-08
Posts: 16

Re: sda change to sdb after reboot ,how could I relove it?

Many thanks
I used id and uuid solved this .brazzmonkey and Misfit138 's advice quite wondful.

Offline

#7 2009-10-23 14:13:48

jwcxz
Member
Registered: 2008-09-23
Posts: 239
Website

Re: sda change to sdb after reboot ,how could I relove it?

My system loves to change the order of drives randomly every time I reboot, so I've just switched to UUIDs.  I think it looks rather ugly, but it solves the issue.


-- jwc
http://jwcxz.com/ | blog
dotman - manage your dotfiles across multiple environments
icsy - an alarm for powernappers

Offline

#8 2009-10-23 14:20:04

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: sda change to sdb after reboot ,how could I relove it?

In the wiki article Misfit138 referred to they explain the use of partition labels too, this is _much_ cleaner than the obfuscated UUIDs and evenly robust for device node changes.

Offline

#9 2009-10-23 15:09:44

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: sda change to sdb after reboot ,how could I relove it?

Ramses de Norre wrote:

In the wiki article Misfit138 referred to they explain the use of partition labels too, this is _much_ cleaner than the obfuscated UUIDs and evenly robust for device node changes.

That's what I use.

Offline

#10 2009-10-27 17:04:09

panosk
Member
From: Athens, Greece
Registered: 2008-10-29
Posts: 241

Re: sda change to sdb after reboot ,how could I relove it?

I have the same issue. With UUIDs I am OK, but is there any chance this can be the cause of not being able to resume after suspend to RAM? To be more specific, after resuming I get tons of filesystem errors on the screen and I am forced to hard reboot.

Offline

#11 2009-10-27 17:31:12

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: sda change to sdb after reboot ,how could I relove it?

A side issue with this UUID vs LABEL.

What effect on mdadm raid devices will the use of LABEL make since the mkinitcpio entry into initramfs is UUID with the present mdadm setup.?

Does mdadm use LABEL as well?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB