Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 11:48:06 +0100
From:      rank1seeker@gmail.com
To:        hackers@freebsd.org
Subject:   gpart autofill
Message-ID:  <20130220.104806.647.1@DOMY-PC>

index | next in thread | raw e-mail

On target provider I had 20971440 free sectors, each of 512 B.

That would be 10485720 kB, for a last slice.



This number is valid, as it is splitable with 63, 8, 4 and 2, without any residue.



So, upon attempt to add that slice, I get:

--

gpart: autofill: No space left on device 

--



Tried both '-s 10485720k' and '-s 20971440'

Finally, ommiting -s flag, just to see what gpart wants to do, worked.

It added slice by leaving last 63 sectors free.



Those were supposed to be a part of a slice.



I.e; If provider had 20971455 free sectors, then slice would be 20971440 of sector size and last 15 sectors would be left free.





Domagoj Smolčić


help

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