SUMMARY 2 Re: Growing mirror

From: Rob McMahon (Rob.McMahon@warwick.ac.uk)
Date: Wed Aug 30 2000 - 04:15:29 CDT


> Can I ask one more question that I can't answer for myself. Does anyone
> know of any issues with growfs'ing logging filesystems (as in UFS logging,
> not as in DiskSuite trans devices).

I chickened out of this one by doing
        mount -o remount,nologging /fs
        growfs -M /fs /dev/md/rdsk/d45
        mount -o remount,logging /fs

> I've just tricked it though. Add the steps of
>
> Find a spare partition
> `metattach' it to the second sub-mirror
> metattach d47 c1t69d0s0
> The mirror magically grows to the size of the first sub-mirror, the
> extended d46! (The smallest of d46 and d47.)
> `metadetach' the second sub-mirror from the sub-mirror
> metadetach d45 d47
> `metaclear' the second sub-mirror
> metaclear d47
> `metainit' the second sub-mirror
> (now with just its original partition)
> metainit d47 1 1 mc1t85d0s0
> `metattach' the second sub-mirror back on the mirror
> metattach d45 d47
> Wait for resync
> metastat d45 ...

Although I'm not now in a position to try it, according to Scott Howard I
could have just done
        metattach d45
instead. Doh!

Rob

-- 
E-Mail:	Rob.McMahon@warwick.ac.uk		PHONE:  +44 24 7652 3037
Rob McMahon, IT Services, Warwick University, Coventry, CV4 7AL, England

S U BEFORE POSTING please READ the FAQ located at N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq . and the list POLICY statement located at M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy A To submit questions/summaries to this list send your email message to: N sun-managers@ececs.uc.edu A To unsubscribe from this list please send an email message to: G majordomo@sunmanagers.ececs.uc.edu E and in the BODY type: R unsubscribe sun-managers S Or . unsubscribe sun-managers original@subscription.address L To view an archive of this list please visit: I http://www.latech.edu/sunman.html S T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:15 CDT