Re: FreeBSD 9.0 BETA2 gpart resize -s uses whole disk on first resize

2011-09-07 Thread Mikael Fridh
2011/9/7 Andrey V. Elsukov : > On 07.09.2011 04:21, Mikael Fridh wrote: >> Hi gurus, >> >> FreeBSD freebsd9.mg8.tmtowtdi.se 9.0-BETA2 FreeBSD 9.0-BETA2 #0: Wed >> Aug 31 18:07:44 UTC 2011 >> r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64 >> >> When resizing a partition, on first a

Re: FreeBSD 9.0 BETA2 gpart resize -s uses whole disk on first resize

2011-09-07 Thread Andrey V. Elsukov
On 07.09.2011 04:21, Mikael Fridh wrote: > Resizing from any smaller size to a larger size initially uses up the > whole disk, like if -s was not used at all even if it's as little as > one logical disk block. > > I'm wondering if anyone else can reproduce. Also, can you show the output of this c

Re: FreeBSD 9.0 BETA2 gpart resize -s uses whole disk on first resize

2011-09-07 Thread Andrey V. Elsukov
On 07.09.2011 04:21, Mikael Fridh wrote: > Hi gurus, > > FreeBSD freebsd9.mg8.tmtowtdi.se 9.0-BETA2 FreeBSD 9.0-BETA2 #0: Wed > Aug 31 18:07:44 UTC 2011 > r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > When resizing a partition, on first attempt it uses up the whole disk. >

FreeBSD 9.0 BETA2 gpart resize -s uses whole disk on first resize

2011-09-06 Thread Mikael Fridh
Hi gurus, FreeBSD freebsd9.mg8.tmtowtdi.se 9.0-BETA2 FreeBSD 9.0-BETA2 #0: Wed Aug 31 18:07:44 UTC 2011 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 When resizing a partition, on first attempt it uses up the whole disk. Only on second attempt it resizes to the correct target s