How do I create a Linux Parition?
Hello,
I would like to know how to do two things 1) How would I add another IDE Hard Disk to my system and extend the filesystem on it? 2) I would like to create a 10G partition on the new drive Please let me know what information you would need to know for this. Thank you. |
The first item on a long list from the Google search for 'create partition linux' that you could have done yourself --> http://tldp.org/HOWTO/Partition/
|
Quote:
You say "extend the filesystem on it". That's vague...do you want to create a new filesystem, add the new disk to an existing logical volume group to get more space, or (as you say in point 2), create a 10G partition. You don't say anything about the 10g, but I assume it's to do with Oracle, which brings up more questions. Using ASM on it? How big of a database/how much IO? |
Distribution: CentoOS 5.1 i386
Hardware: HP Pavilion, IDE Hard Drive (40GB). The drive I want to add is the same. I would like to use both drives as if they are one, so that would be all 80GB (1st and 2nd drive together). The 10GB is nothing special, I just wanted to learn (and know) how to do it in case down the road I decided to do it. What do you mean by configurations? |
you can't just "use both drives as if they are one", unless your using raid, which you'll need sata drives for, not ide.
what you CAN do is mount your new hard drive to a mount point inside your existing file system. for example, /home/your_user/newdrive |
Ok, I apoligize, but scratch the initial question. The only reason I asked the first question was so I could test it first on a test box!
Now, I do have a server that is setup in a RAID-5 setup (5 drives). They are SATA Hard drives (sda). Hardware: Intel Server SE7500Wv2 I would like to have a 50G partition added to the default Volume Group. |
Quote:
|
Quote:
http://www.howtoforge.com/linux_lvm Will help you. You can easily add a second IDE drive, and play with LV's until you're comfortable, then do it in production (never a bad idea...) |
Quote:
It all comes down to the file system you use. LVM is a valid alternative, but ZFS can also do this without problems. UnionFS is another example. |
All times are GMT -5. The time now is 08:12 PM. |