LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-23-2008, 10:59 PM   #1
nadsab
Member
 
Registered: Mar 2004
Posts: 30

Rep: Reputation: 15
Adding a new hard drive in Centos 5.1 system; a few questions...


Hi,

I am going to try to add a new hard drive to my Centos 5.1 desktop - it's a brand new Intel DP35DP motherboard and I am using Seagate 500 gig sata drives.

I just downloaded the Centos 5.1 LiveCD and am able to to boot off the CD, and have a couple of questions.

Someone suggested that I read the LVM-howto to learn how to do this - and I'm reading this info: http://tldp.org/HOWTO/LVM-HOWTO/ - I was wondering if the info on that site would also apply to Centos? Or should I be reading something centos specific?

I'm doing some reading on the http://www.centos.org/docs/5/ site, have not found anything specifically titled "lvm how to" on that site, or a step by step guide to adding a hard drive yet - any suggestions for reading material on how to do this, or a step by step guide?

Another issue - I tried booting off of LiveCD and got the below warning, wondered if anyone could give me a clue as to where to start and what this warning means...

Warning: Cannot Find Root File System!

Create symlin /dev/root and then exit this shell to continue the boot sequence.

Bash: No job control in this shell
bash-3.1#


This warning only comes up when I boot off the disk, don't get it when I boot from HD.
 
Old 03-24-2008, 10:21 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,898
Blog Entries: 27

Rep: Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185Reputation: 2185
Hi,

Do you have the Centos installed already?

Do you just want a OS with the LVM?

Reading your post suggest that nothing is installed yet.
 
Old 03-24-2008, 11:16 AM   #3
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Fedora 8, Centos 5.1
Posts: 480

Rep: Reputation: 30
I wouldnt even bother with LVM. If you corrupt the partitions on LVM you are royally screwed if you want to retrive anything off them.

Just plug it in, configure it in BIOS, label it as something (backup1, etc) and format it as ext3, make a directory in / for it, and add an entry to fstab to get it to mount to that directory and start using it.

For formatting/labelling try gparted.

An example entry for /etc/fstab.

Code:
LABEL=/example             /example                       ext3    defaults        0 0
Everything else should be pretty self explanatory.
 
Old 03-24-2008, 08:54 PM   #4
nadsab
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Hi,

Yes onebuck Centos is installed however I do have a new blank hard drive so I guess one option would be to just install it, disconnect the existing drives, install the os on the new blank, re connect the old and move files over from old to new. However I did so some work on setting up the os on the existing drives, so if I can just shrink the existing file system from the two existing drives onto one drive and remove the second installed drive, that would be great.

I Just want the OS on one drive, not sure if I want LVM, kind of new to Linux file systems.

Thanks for the links I'll check them out.

Thanks v00d00101, so are you saying just leave the OS spread out over the two drives, leave it as is?

How 'bout if I just disconnect the two drives for now, and install the new blank drive as a new drive, install the OS on that, then after I do that then re connect the old two drives and copy data from the old drives to the new?

By the way, what does the warning mean in my original post in this thread?
 
Old 03-24-2008, 09:36 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It depends a bit on what you are trying to achieve. LVM lets you add addtional drives so that ou existing filesystem appears to grow. This means that you as a use/administrator don't need to worry about individual drives withing the filesystem filling up.

That said, there are advantages in keeping separate drives as separate filesystems, and I must admit I tend to do that - as mentioned above, I have one that is effectivley a backup drive, so if one dies, the otehr should still be intact (no I don't use raid).

CentOS has a graphical tool you can use for LVM management. Don't ask me exactly where - it' probably in the admin menu. You may need to do an HD install first.
 
Old 03-27-2008, 07:01 PM   #6
nadsab
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks billymayday

That's what I would love - anyone know what the graphical tool is for hard drive managment - adding a hard drive?
 
Old 03-27-2008, 11:17 PM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I'm not sure about a graphical tool to add a hard drive, but trust me, it's easy from the command line.
 
Old 03-28-2008, 10:02 AM   #8
nadsab
Member
 
Registered: Mar 2004
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks billymay,

is there a specific step by step or "how to" guide on the centos site for adding a hard drive?
 
Old 03-28-2008, 04:33 PM   #9
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Forget CentOS (there are some potential minor differences between distros, but very little).

Here's one I found pretty quickly on google and it looks pretty good.

http://www.yolinux.com/TUTORIALS/Lin...HardDrive.html

As a hint - if you want to search on google, use www.google.com/linux It's a great resource and cuts out all the non linux crap.

Let us know how you go
 
  


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
Adding a second Fricken hard drive questions DiSGuiZ *BSD 4 03-15-2006 10:13 AM
Adding hard drive questions Gortex Linux - Hardware 8 02-23-2006 06:36 PM
Adding a EIDE hard drive to a SCSI system beepay Linux - Hardware 2 01-19-2006 03:59 PM
2 hard drive in system mirror 1st hard drive sburns76247 Linux - General 2 12-21-2004 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:26 AM.

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