Advice needed on partitions, LVM
I have a computer with 2 x 1TB harddisks.
There is a 100 GB partition for Windows 7 on sda1.
We want to use the computer for chemical computations, by running the chemical software on SuSE (SLES 10).
I followed another person's advice on setting up the computer, but it seems that a lot of his advice was outdated and now I have a very rigid and unwieldy system.
At present the calculation results are stored in the specific user's home directory on sdb1, but I have some space available on sda that I would like to use for the results as well.
Look at this:
I was thinking of removing sda3, moving the extended partition to the "left" and having about an extra 400GB at the end of sda.
I have been reading a little about LVM, but I'm still unsure.
Would LVM be the best option to follow for this, or could one somehow use a "link" or something like that? (I guess an added benefit of LVM would be that I could then easily add another harddisk when the need arises, not so?)
If LVM is the way to go, then do I have to re-install Linux (and Windows) or would it only affect what is on sdb1 and the extra space on sda?
Your advice and suggestions will be greatly appreciated!
If I understand you correctly, you want to first start storing your calcuations on sda3; and thereafter onto sdb5 if required?
LVM would definitely be useful if this is what you want to achieve. Basically you would create multiple Physical Volumes; including sda3 and whatever sdbX partitions you may have.
Thereafter you allocate these to a volume group and a logical volume; and then LVM will automatically manage your storage for you.
You would most probably have to re-install in this scenario; but the Linux install won't destroy your Windows partition.
My final comment is around your calculation results - how big are they - do you really require more than the 400GB on sda? The reason I ask is since I think you'd be better off creating a mirror; where everything written to sda is written to sdb (RAID 1) - this would allow for your data protection to be much better.
The calculations are rather big (though, depending on how big your molecule is), and we would like to use this computer for some time to come.
Hm, I haven't thought of the mirror idea. sda8 is supposed to be seperate so that special (or final) results can be stored there, but I think the other guy intended the chemistry users to manually move their results there.
See, I will probably not be around this computer for much longer. I want to do the job well and set it up so that people who are even more clueless than myself don't have to go digging for answers, and then hand it over to its real owner and let him play with it.
Okay, so you suggest that I just do a re-installation and set the LVM and other partitions during installation?
Yes go for it - what I'd suggest you though beforehand, is maybe post what your plan of action is - what would your paritioning table look like, and so forth - since its a pain to have to redo everything again if you make a mistake.
I guess I would format the Linux partitions with GParted.
Then I would put in the Linux installation disks.
Here is what I think the partition table would roughly look like:
sda1 & sda2 for Windows as is.
sda3 extended partition for swap, /, /code and /final (approximate size as shown earlier)
sda4 for the extra space to be combined with sdb into a volume group using LVM (to be done somehow during the installation looking at http://tldp.org/HOWTO/LVM-HOWTO and http://www.novell.com/documentation/...l/ch01s08.html)
Should I use the typical PE size of 4MB or make it larger, say 8MB?
Any additional suggestions?
PE size of 4MB should be fine - I've used this and transferred large volumes of data with no problems.
Those guides (links) you have in your last post are great - if you get stuck along the way post here and I'll try my best to help.
The PE size determines the maximum size of the Logical Volume. With the default 4 MB extent size, this imposes a Logical Volume size limitation of 256GB. You only need to increase the Physical Extend size from the default if you anticipate a Logical Volume size greater than 256GB.
A 32MB extent size would give you 2TB maximum size Logical Volume. I guess you could increase it still further but I don't think x86-based systems can handle more than that anyway.
|All times are GMT -5. The time now is 04:27 PM.|