Welcome! Log In Create A New Profile

Advanced

Device names changing, help needed

Posted by Juergen 
Juergen
Device names changing, help needed
October 04, 2010 12:41PM
Hello,
first of all I want to express my thanks to Jeff for the excellent software package he put together.
I am a linux newbie and as expected I am running into problems.

CONFIGURATION
Dockstar with rescue system, uBoot with LED support, 2 Samsung Story Station HDDs, 1 transcend 4GB Stick for the Debian.
U-Boot 2010.06-00695-gbd23130-dirty (Aug 30 2010 - 23:04:56)
Marvell-Dockstar/Pogoplug by Jeff Doozan


PROBLEM
Booting with HDDs caused the devices to be renamed. sda becomes sdc which in turn causes my fstab to be badly wrong.
I have a JTAG attached to get a better idea on what is going on.

Below log files show the problem. HDDs where off in the stick only scenarion. USB ports were not changed.

BOOT LOGFILE STICK ONLY
scsi 0:0:0:0: Direct-Access JetFlash Transcend 4GB 1100 PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)

BOOT LOGFILE STICK & 2 HDDs
scsi 0:0:0:0: Direct-Access Samsung STORY Station PQ: 0 ANSI: 2 CCS
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
scsi 1:0:0:0: Direct-Access Samsung STORY Station PQ: 0 ANSI: 2 CCS
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 1:0:0:0: [sdb] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 1:0:0:0: [sdb] Assuming drive cache: write through
sd 1:0:0:0: [sdb] Attached SCSI disk
FATAL: Could not load /lib/modules/2.6.35.4-dockstar/modules.dep: No such file or directory
scsi 2:0:0:0: Direct-Access JetFlash Transcend 4GB 1100 PQ: 0 ANSI: 0 CCS
sd 2:0:0:0: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdc] 7913472 512-byte logical blocks: (4.05 GB/3.77 GiB)


IDEAS
- I could tune the fstab to use the UUID which then will cause problems if my stick goes out of whack
- maybe this is caused by the stick being a little slower than the
- I tried moving the stick to a different USB port but the result was the same. it always became sdc.

I rely on you folks for much better suggestions than I have.

Juergen
Juergen
Re: Device names changing, help needed
October 04, 2010 02:06PM
Hi all,
I think I found a solution.
I am using labels in fstab now created with tune2fs.

Now i can boot with HDDs connected.

Juergen
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: