Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2003 15:34:26 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Tobias Roth <roth@iam.unibe.ch>
Cc:        questions@freebsd.org
Subject:   Re: add subdisk in vinum concat
Message-ID:  <20030501223425.GA63276@webserver.get-linux.org>
In-Reply-To: <20030501151746.GB13925@speedy.unibe.ch>
References:  <20030501151746.GB13925@speedy.unibe.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 01, 2003 at 05:17:47PM +0200 or thereabouts, Tobias Roth seemed to write:
> Hi
> 
> I was just wondering if it's possible to add another subdisk to my
> vinum concat without losing the existing data, and if so, how.
> Here is my vinum.conf:
> 
> drive 9GBSCSI  device /dev/da0s2
> drive 16GBATA  device /dev/ad0
> drive 30GBATA  device /dev/ad2
> 
> volume storage
>   plex org concat
>   sd length 0 drive 9GBSCSI
>   sd length 0 drive 16GBATA
>   sd length 0 drive 30GBATA
> 
> It looks like I can simply add a new disk. The problem I see is the
> newfs'ing. All the docs I found say to newfs the whole storage, not
> individual subdisks. Which, of course, would make me lose my data.

Have you heard about growfs(8)? man 8 growfs
Example:
# umount /usr
# growfs /dev/vinum/usr
We strongly reccomend to backup your data first.
Do you have a backup (Yes/No)? [type Yes, press Enter]
...
And then it'll look like newfs output, but you won't lose anything.

HTH,
-- Josh

> 
> Thanks for any help, t.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501223425.GA63276>