Re: [opensuse] mdadm --grow



On Thu, Oct 30, 2008 at 8:02 AM, Per Jessen <per@xxxxxxxxxxxx> wrote:
Greg Freemyer wrote:

All,

I'm conceptually putting together a NFS server in my head. (I will
build it once I know what it is!!)

What I want is something flexible.

ie. Have it start with 3 or 4 drives, then add a drive when I need the
capacity. Remove a drive when I don't. replace the drives with bigger
drives as the become available. All without losing my data. (Or
having to back it up / restore it.)

My first thought - LVM.

I'm very familiar with LVM. It does not really do the same things as
RAID. Not even if you only worry about the performance side of
things. ie. a 4 disk raid system is faster than a single disk for
most raid setups. With LVM based on 4-drives, it is typically just
the same speed as a single disk.

I'd like to start with a 4 disk Raid 10 providing 2 TB of space, but
then have the ability to add disks, change raid techniques etc. (ie.
convert to raid 6 without data loss!!).

mdadm --grow implies it can do this, but there is not much there and
my google searches did not turn up much either.

I don't think mdadm --grow can do what you want. It's very useful when
you for instance want to build a RAID1 in degraded mode (with only one
drive), and you later want to add a drive to bring it back to full
RAID1. You can probably also add a drive to working RAID1 or maybe
even RAID5, but I don't know.

The man page says it can change the "size or shape" of a raid array.
But then provides no detail. :( I'm assuming shape means the raid
level? Not a phrase I know in reference to raid.

And can it be used to "shrink" a volume. (I believe XFS supports
shrinking a filesystem, so I would first shrink the filesystem, then
hopefully use mdadm to shrink the raid array.)

Most advanced filesystems (jfs,xfs,ext3 et al) support resizing -
otherwise the LVM resizing features wouldnt be overly useful :-)

I know most can grow. iirc, only xfs can shrink?

If mdadm can't do any of this, is there a hardware controller card
that can?

Take a good look at LVM.

Actually I came across the QNAP TS509 yesterday. A very cool NAS
that seems to do everthing I want. It is Linux based and provides ssh
access. I assume you can use that access to admin things if need be.
Its about $1000 for an empty shell that holds 5-drives.

Greg

--
/Per Jessen, Zürich

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx





--
Greg Freemyer
Litigation Triage Solutions Specialist
http://www.linkedin.com/in/gregfreemyer
First 99 Days Litigation White Paper -
http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf

The Norcross Group
The Intersection of Evidence & Technology
http://www.norcrossgroup.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: The case against LVM
    ... Each group has their own filesystem, ... I guess your the IT expert and you have REAL Experience to back your support for LVM. ... the cost of high capacity drives were out of my range. ... I added two drives as a second raid 1 device and created an LVM. ...
    (Fedora)
  • Re: How to rebuild while preserving an LVM disk
    ... Separate from my OS disk, I have to SATA drives built into a raid-0 with md, and then an lvm physical volume group built on that. ... If I unplug the raid drives, and rebuild my system, how can I hook them back up? ... I had the installer create a separate /home partition. ...
    (Fedora)
  • Re: raid controller
    ... In his article he states four major reasons to discourage RAID; ... Without RAID you could do a traditional backup at 8:00 AM and at 8:30 AM ... But It's asking for 'RAID Controller' ... hard drives with drive/s C on both drives. ...
    (microsoft.public.windowsxp.basics)
  • Re: Disk partitioning question
    ... A hardware RAID Volume may exist without any RAID Drives on it. ... > This single array will show up as Disk 0 in Windows Disk Manager. ...
    (microsoft.public.windows.server.sbs)
  • Re: Need help installing OS6 on Dell PowerEdge 2600 with PERC4/Di RAID
    ... > like a fresh install and porting their application and data to the new system. ... PERC4/Di RAID on the motherboard, Dell DLT tape drive, Dell slimline ... PATA connector usable for two PATA drives. ... After downloading drivers from both SCO and Dell to create the ...
    (comp.unix.sco.misc)