Adding a new hard drive in Centos 5.1 system; a few questions...
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.