PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 12:32:02 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Partitioning questions  (Read 547 times)
kah5683
Full Member
***
Offline Offline

Posts: 239


« on: April 18, 2011, 05:22:38 PM »

When I recently bought a new 1tb harddrive, I divided it into partitions the following way (and this is how it shows in PCC):

Swap  3.8gb
Root   48gb
Home  439gb
Data   439gb

I split the home partition and data partition evenly with the idea of using the data partition as a backup for the home partition.  I also have a second harddrive in the computer I have always used as backup, so I don't know if this would really be necessary for 2 backups.

What is the thinking - pro and con - for having a partition for both home and data separate?  At a minimum, how big should the home partition be without data if it WOULD be a good idea to have the home partition and data partition separate?

Would I be better off having just one big home partition?

If one is better (or even if you think it wouldn't be  Wink ) How would I absorb the data partition into the home partition.  I have already copied everything from the data partition into the home partition...so would it be as easy as deleting the data partition and then expanding the home partition to add on the unallocated space?  Would I use PCC to do this, or ?

The last question I have is that the other day I reinstalled root only.  While I was doing so, I saw from the livecd when I was looking at the partitions that my backup harddrive is listed as sda, and my main harddrive with pclinuxos on it (the one we're talking about above) is listed as sdb.  Does that matter?  When I replaced the harddrive a couple months ago, I replaced it with a SATA from being IDE, and the other backup harddrive is IDE also.  If this is something that better be corrected, how do I do so?

I know these are a lot of questions for one posting, so thanks in advance!
Logged

P8Z68-V Pro/Gen3 Motherboard - onboard soundcard
Intel i5-2500K Processor 3.3 GHz 4 core
Nvidia GeForce GTX550Ti Graphics card
60gb Patriot SSD - 2tb Seagate HDD - 8gb RAM
PCLinuxOS-KDE-2012-02
muungwana
Hero Member
*****
Offline Offline

Posts: 5403


« Reply #1 on: April 18, 2011, 06:10:11 PM »


I am aware of hard drives failing, not partition failing. If you want to have back up, have it on a separate drive. As far as i know, when a hard drive goes down, all partitions go with it.

the "sda", "sdb" thing shouldnt matter, you would have seen a problem if it did.
Logged

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..
Bald Brick
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5147


I'm going South


« Reply #2 on: April 18, 2011, 06:15:54 PM »

When I recently bought a new 1tb harddrive, I divided it into partitions the following way (and this is how it shows in PCC):

Swap  3.8gb
Root   48gb
Home  439gb
Data   439gb

I split the home partition and data partition evenly with the idea of using the data partition as a backup for the home partition.  I also have a second harddrive in the computer I have always used as backup, so I don't know if this would really be necessary for 2 backups.

What is the thinking - pro and con - for having a partition for both home and data separate?  At a minimum, how big should the home partition be without data if it WOULD be a good idea to have the home partition and data partition separate?

Would I be better off having just one big home partition?

Having a separate backup partition is of course a good idea. Having it on the same drive as the partition you intend to back up is not such a good idea. It's better than having no backup at all: it means that you can sometimes restore corrupt files and directories. But when the whole drive dies on you, you lose both your original data and your backup.

Quote
If one is better (or even if you think it wouldn't be  Wink ) How would I absorb the data partition into the home partition.  I have already copied everything from the data partition into the home partition...so would it be as easy as deleting the data partition and then expanding the home partition to add on the unallocated space?

It is. And if your /home and /data partitions come in that order and are adjacent on the disk it isn't even very dangerous.

Quote
Would I use PCC to do this, or ?

I think you could. I'd use GParted (which is usually safe) and O-P would probably do it with fdisk from the command line.

Quote
The last question I have is that the other day I reinstalled root only.  While I was doing so, I saw from the livecd when I was looking at the partitions that my backup harddrive is listed as sda, and my main harddrive with pclinuxos on it (the one we're talking about above) is listed as sdb.  Does that matter?  When I replaced the harddrive a couple months ago, I replaced it with a SATA from being IDE, and the other backup harddrive is IDE also.  If this is something that better be corrected, how do I do so?

I know these are a lot of questions for one posting, so thanks in advance!


I see that muungwana was faster.
Logged

If it ain't broke
hit harder!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D
T6
Super Villain
******
Offline Offline

Posts: 17000


i can rest now :D


« Reply #3 on: April 19, 2011, 12:01:18 AM »


I am aware of hard drives failing, not partition failing. If you want to have back up, have it on a separate drive. As far as i know, when a hard drive goes down, all partitions go with it.

the "sda", "sdb" thing shouldnt matter, you would have seen a problem if it did.

partitions do fail too, but is more common to see a ntfs partition fail than a ext4

about having a backup on the same hard disk, it is not secure but hard disks normally last for 5 years with decent performance unless you got a special model(ready to die in 6 months  Grin  )

about swap, 3.8 gbs is big, almost too big, how much ram do you have there?  the rule is to have 1.5 times the size of ram in swap but if it is a desktop and you have more than 2 gbs you will not use that swap, possibly never

just leave 2 gbs of swap

about having multiple parts of the os on different partitions/hard disks i never done it but in the past this was a common practice, specially with swap with pcs with low amounts of ram

i personally don't have more than two partitions, one swap and one /

/ contains /home as a folder, all fine here since 2007 with pclinux( all was fine since 2005 with mandriva)

have multiple partitions sometimes just means that you have multiple partitions, nothing more, no benefits, no improvements, nothing more

if that hard disk was mine i would make a swap at a right size, a / with 400 gbs and the rest for a ntfs partition to share with my second os, xp
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM