Re: [opensuse] Partitioning question



2008/12/24 Bob Williams <linux@xxxxxxxxxxxxxxxxxxxxx>:
ATM my /home partition is 1TB on a RAID1 mirrored array. I am going to add a
third 1TB disc and convert the array to RAID5, which will give me 2TB usable
space.

Is there any performance/safety advantage to breaking this arrangement into
several smaller partitions or can I leave it as a single partition?

Performance of what though?

For High performance RAID 10, striping 2 mirrors is faster, and more
resilient than RAID 5; especially if you will be writing
non-sequentially with in place database files. You may run into
issues if system partitions were on a 3 disk RAID 5, where with
straight mirroring you can always mount the standard device in that
situation if needs be, and move back to RAID 1 later. RAID 5 made a
lot of sense, when large (for time) reliable disks were very
expensive, and cheaper ones arrayed could give better price capacity
and performance figures. Presumably you do have another disk used for
system stuff.

When you're just storing and streaming back big multi-media files
then, you have not too many problems performance during usage
accessing files. Your main risk is very long fsck(8) times on some
boots. There can be other advantages to partitioning, it can avoid
very long seeks, if files that are accessed simultaneously find
themselves in far apart cylinders. They're easier to manage.

You can get a lot of advantages of partitioning, without the
flexibility disadvantages if you use the LVM. I'd much prefer to get
most data out of /home, and keep that for personal settings, and
scratch space, rather than 'archive' material, and big downloads etc
etc. LVM allows snapshots, which might simplify your back up
immensly, if backing up 2TB is every simple.

Other considerations might be to keep large but rarely accessed stuff,
eg) disk backup files from other systems on their own disk, that
spends a lot of time spun down, rather than spinning. Utilising more
disk arms by spreading files, can also improve performance, without
using LVM that tends to result in many disk partitions. A technique I
use often is bind mounts to splice in, thinks like web proxy cache
onto the right directory in /var which I try to keep smallish size,
but with plenty of free space, for fast writes and fragmentation
avoidance (helps YaST & rpm).

Partitioning also gives you a chance to deploy filesystems to tasks
that they're best suited. XFS is well liked. ext4 performed well in
Phoronix tests but is only just about to be become stable.

It is indeed safer not to have all your data in one massive pot.
Restoring smaller amounts of data in event of a corrupt file system or
an accident as root on the disk device, is far easier than one massive
filesystem. RAID is not a substitute for backup.

Downside of multilple partitions, is additional thinking and planning.
At the end of the day it has to be your choice, how you organise the
data storage, some ppl just want it 'simple' and are unwilling to put
any effort in to better organisation.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • LVM on SW RAID for sarge - success
    ... I've just had success migrating Debian Sarge to root on LVM on RAID. ... First make sure the SCSI BIOS boots from the first disk. ... I made reiserfs on all the filesystem partitions and completed the ... The remaining two disks were partitioned and used to create RAID arrays ...
    (Debian-User)
  • Re: [opensuse] Partitioning question
    ... into several smaller partitions or can I leave it as a single partition? ... resilient than RAID 5; especially if you will be writing ... Presumably you do have another disk used for ... flexibility disadvantages if you use the LVM. ...
    (SuSE)
  • RE: RAID gotchas!
    ... Subject: RAID gotchas! ... Well I converted my single disk system last night into a dual disk ... My partitions were laid out as follows: ...
    (Fedora)
  • RAID gotchas!
    ... Well I converted my single disk system last night into a dual disk RAID-1 setup and preserved all my data. ... My partitions were laid out as follows: ... I kept the partition number the same as the raid partition number just because it made my life easier to keep track of everything but there is no reason it needs to match. ... Note the "missing" at the end of the command, this will allow the system to create the raid volumes since the other disk isn't available yet. ...
    (Fedora)
  • Re: I need updating about these aspects...
    ... today I thought I had better take a fresh backup of all my partitions. ... I had to use Partition Magic to delete all the partitions before LVM ... and make multiple backups to include ... * the 120 GB backup hard disk is currently attached via an USB port. ...
    (comp.os.os2.misc)