|
Home > Archive > Unix questions > January 2005 > explaned mirrored file system
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
explaned mirrored file system
|
|
| Bridge 2005-01-09, 5:56 pm |
| I had a DiskSuite /dev/md/dsk/d1 . d1 is a mirror, it has two disks
c1t1d0 and c1t2d0.
Now the file system on d1 is full.
Just wonder is there a way to expand d1? Suppose I break the mirror,
then there is a spare disk. Can I cancat/stripe the spare disk to the
other half of the mirror?
What is the senario?
Thanks very much for advice!
| |
| Michael Tosch 2005-01-11, 7:50 am |
| In article <3e949365.0501090826.85c8e6f@posting.google.com>, bridge_xue@yahoo.com (Bridge) writes:
> I had a DiskSuite /dev/md/dsk/d1 . d1 is a mirror, it has two disks
> c1t1d0 and c1t2d0.
> Now the file system on d1 is full.
>
> Just wonder is there a way to expand d1? Suppose I break the mirror,
> then there is a spare disk. Can I cancat/stripe the spare disk to the
> other half of the mirror?
>
> What is the senario?
>
> Thanks very much for advice!
Generally, expansioin is done by concatenating a partition to c1t1d0,
then another partition (equal in size) to c1t2d0,
then running growfs on d1 (metatool does the latter automatically).
You should have two disks to retain redundancy.
Yes, you can break the mirror by detaching one branch, then attach the
spare disk to the life branch, then run growfs on d1.
If you insert a new disk then you can attach it to the detached branch,
and re-attach the branch, so the mirror is in place again.
You can even delete the detached branch, then concatenate its disk to
the life branch, and forget about the mirror.
--
Michael Tosch
IT Specialist
Managed Services Germany
Hewlett-Packard GmbH
Phone: +49 2407 575 313
Mail: michael.tosch:hp.com
|
|
|
|
|