List Info

Thread: Adjusting partition size with disklabel




Adjusting partition size with disklabel
user name
2006-06-30 06:38:43
Hi,

long story short, I have a partition on a RAID5 array which
after an accident
where I had to rebuild the array became smaller than it
originally was. Here's
the original size:

amrd1: 1430505MB (2929674240 sectors) RAID 5 (degraded)

and the new size after the rebuild:

amrd1: 1430400MB (2929459200 sectors) RAID 5 (optimal)

Is it possible to use 'bsdlabel -e' to shrink the
partition down to a size
which will fit the new size of the array?

with regards,

-- 
Morten A. Middelthon

Which is worse: ignorance or apathy?  Who knows?  Who
cares?
Adjusting partition size with disklabel
user name
2006-06-30 12:50:04
On 6/30/06, Morten A. Middelthon <mortenfreenix.no> wrote:
> Hi,
>
> long story short, I have a partition on a RAID5 array
which after an accident
> where I had to rebuild the array became smaller than it
originally was. Here's
> the original size:
>
> amrd1: 1430505MB (2929674240 sectors) RAID 5 (degraded)
>
> and the new size after the rebuild:
>
> amrd1: 1430400MB (2929459200 sectors) RAID 5 (optimal)
>
> Is it possible to use 'bsdlabel -e' to shrink the
partition down to a size
> which will fit the new size of the array?
>

To my knowledge, you can only growfs(8) them, not shrink
them.

References:
http://www.freebsd.org/cgi/man.cgi?query=growfs&a
mp;apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&a
mp;format=html


-- 
Joao Barros
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )