LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2015, 11:57 AM   #31
mtsoule
Member
 
Registered: Aug 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled

interesting, I trued to change my /boot/menu.lst but my boot directory is empty. I rebooted from the CD and entered rescue mode, then mounted sda1 (which is my boot directory) and everything was there.

I modified the menu.lst then reboted from the hard disk, same error..

checked my boot directory and it is again empty. checked /home just to see if all was well there and it was.

I wonder why my /boot directoty is empty..
 
Old 01-29-2015, 12:12 PM   #32
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,585

Rep: Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569
Your "2 sda's" are just two names for the same drive, one being its name in the SCSI subsystem and the other being its "world wide name" which should be independent of what kernel driver chain is handling it. Note that only the "scsi" vs. "wwn" prefix is different.

What should work is replacing each ocurrence of "36001ec90d41dbf001b760b72e504ab06" with "36001e4f01b782a001c5a5e084d3ac69f" in /etc/fstab. I don't know of any reason besides a typo for this not to work for you.

Oops, yes, the GRUB menu will have to be changed too.

Your RAID controller won't care about drive serial numbers. It either uses whatever is attached to it or searches all attached drives for the RAID headers.

Last edited by rknichols; 01-29-2015 at 12:17 PM. Reason: add oops,... and RAID comment
 
1 members found this post helpful.
Old 01-29-2015, 12:23 PM   #33
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,585

Rep: Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569
Quote:
Originally Posted by mtsoule View Post
I wonder why my /boot directoty is empty..
You probably have a separate partition that gets mounted on /boot when the system is running.
Quote:
Code:
/dev/disk/by-id/scsi-36001ec90d41dbf001b760b72e504ab06-part1	/boot	ext3	acl,user_xattr 1 2
It looks like partition 1 on that drive is the boot partition.
 
Old 01-29-2015, 12:27 PM   #34
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,150

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
^ i just realized that "36001ec90d41dbf001b760b72e504ab06" and "36001e4f01b782a001c5a5e084d3ac69f" are different so my response #23 is wrong. still not sure what these uuid's refer to and why they are not listed by blkid ?

Last edited by schneidz; 01-29-2015 at 12:29 PM.
 
Old 01-29-2015, 12:48 PM   #35
mtsoule
Member
 
Registered: Aug 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
SUCCESS!!!

you are correct, it was a typo in my fstab, once I fixed that and modified my menu.lst all was well!!

it booted to the gui and I was able to log in!!

thank everyone for your help!!
 
Old 01-29-2015, 12:55 PM   #36
mtsoule
Member
 
Registered: Aug 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
Now, I am going to do it all over again.. I need the practice, besides, these were just test drives.

what happens to the ID's if one of the drives in the RAID array dies and is replaced with a new drive?

id the ID on the drive itself or the RAID card?
 
Old 01-29-2015, 01:06 PM   #37
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,585

Rep: Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569
Quote:
Originally Posted by mtsoule View Post
what happens to the ID's if one of the drives in the RAID array dies and is replaced with a new drive?

id the ID on the drive itself or the RAID card?
See #32. The drive serial number is in flash memory on the drive along with the drive's firmware. It is not written on the platters, or at least not anywhere that can be accessed through the normal interface.
 
Old 01-29-2015, 01:28 PM   #38
mtsoule
Member
 
Registered: Aug 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
oh I see, thanks!! valuable lesson learned here!!
 
Old 01-29-2015, 01:46 PM   #39
mtsoule
Member
 
Registered: Aug 2012
Posts: 35

Original Poster
Rep: Reputation: Disabled
so, theoretically, I could replace each drive in my raid 5 arrary one at a time rebuilding the array each time until all three drive are replaced.

since my ID's in fstab and manr.lst are dictated by the drives wouldn't my ID still be the same in my fstab and menu.lst? or are the ID's dictated by the RAID card?

I am just trying to get a full understanding of what is going on..
 
Old 01-29-2015, 03:09 PM   #40
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 3,585

Rep: Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569
Looking at your fstab, the only things you are accessing by those lengthy ID strings are /boot and swap. The drive that shows up as /dev/sda is actually the RAID controller, right? If so, those numbers are probably generated by the RAID controller itself, and don't relate to any individual drive in the array. I'm guessing a bit here. I didn't fully take the RAID controller into account before. Sorry.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail: Relay Messages to Ext. SMTP Server? JmaJeremy Linux - Server 2 02-10-2010 12:59 PM
[IPTABLES] open ext access to web server on GW server kozaki Linux - Networking 3 08-27-2005 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration