Dmitry,

your free space is after the k partition.
286442096 512 byte blocks = 136.5862350464 G

The allocated space is consistent, i.e. without holes ...

#       size            offset          END
a:      2097152         64              2097216
b:      2569344         2097216         4666560
c:      976773168       0       
d:      8388608         4666560         13055168
e:      12478720        13055168        25533888
f:      4194304         25533888        29728192
g:      2097152         29728192        31825344
h:      20971520        31825344        52796864
i:      4194304         52796864        56991168
j:      4194304         56991168        61185472
k:      629145600       61185472        690331072
        286442096       690331072       

there are 286442096 unallocated blocks (976773168 - 690331072)

Best regards,
Jan



On Tue, Jan 20, 2015 at 12:40:38AM +0500, Dmitry Orlov wrote:
> What place in disklabel output point me unallocated space?
> 
> And how i can "allocate" "unallocated" ? :)
> 
> Below output without -h
> 
> # disklabel sd0
> # /dev/rsd0c:
> type: SCSI
> disk: SCSI disk
> label: Hitachi HTS72755
> duid: 1881213cdc5807e9
> flags:
> bytes/sector: 512
> sectors/track: 36
> tracks/cylinder: 158
> sectors/cylinder: 5688
> cylinders: 171725
> total sectors: 976773168
> boundstart: 64
> boundend: 976771800
> drivedata: 0
> 
> 16 partitions:
> #                size           offset  fstype [fsize bsize  cpg]
>   a:          2097152               64  4.2BSD   2048 16384    1 # /
>   b:          2569344          2097216    swap                   # none
>   c:        976773168                0  unused
>   d:          8388608          4666560  4.2BSD   2048 16384    1 # /tmp
>   e:         12478720         13055168  4.2BSD   2048 16384    1 # /var
>   f:          4194304         25533888  4.2BSD   2048 16384    1 # /usr
>   g:          2097152         29728192  4.2BSD   2048 16384    1 #
> /usr/X11R6
>   h:         20971520         31825344  4.2BSD   2048 16384    1 #
> /usr/local
>   i:          4194304         52796864  4.2BSD   2048 16384    1 # /usr/src
>   j:          4194304         56991168  4.2BSD   2048 16384    1 # /usr/obj
>   k:        629145600         61185472  4.2BSD   4096 32768    1 # /home
> 
> 
> On 20.01.2015 00:34, Philip Guenther wrote:
> >On Mon, Jan 19, 2015 at 11:20 AM, Dmitry Orlov <dmitry.sen...@gmail.com> 
> >wrote:
> >>Capacity is 465.8G
> >>Sum of labels is
> >>
> >>1.0G+1.2G+4.0G+6.0G+2.0G+1.0G+10.0G+2.0G+2.0G+300.0G = 329.2G
> >>
> >>Where is 136.6G ?
> >>
> >>
> >># disklabel -h sd0
> >># /dev/rsd0c:
> >...
> >>16 partitions:
> >>#                size           offset  fstype [fsize bsize  cpg]
> >>   a:             1.0G               64  4.2BSD   2048 16384    1 # /
> >>   b:             1.2G          2097216    swap                   # none
> >>   c:           465.8G                0  unused
> >>   d:             4.0G          4666560  4.2BSD   2048 16384    1 # /tmp
> >>   e:             6.0G         13055168  4.2BSD   2048 16384    1 # /var
> >>   f:             2.0G         25533888  4.2BSD   2048 16384    1 # /usr
> >>   g:             1.0G         29728192  4.2BSD   2048 16384    1 #
> >>/usr/X11R6
> >>   h:            10.0G         31825344  4.2BSD   2048 16384    1 #
> >>/usr/local
> >>   i:             2.0G         52796864  4.2BSD   2048 16384    1 # /usr/src
> >>   j:             2.0G         56991168  4.2BSD   2048 16384    1 # /usr/obj
> >>   k:           300.0G         61185472  4.2BSD   4096 32768    1 # /home
> >
> >You'll need to compare that output with the output of "disklabel sd0",
> >without the -h option, to figure out whether there's unallocated space
> >after some partition(s), or if it's a math error in the -h display.
> >
> >
> >Philip Guenther
> 

-- 
Be the change you want to see in the world.

Reply via email to