Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2014 17:39:04 +0700
From:      Paul Darius <paul@ranahminang.net>
To:        Paul Darius <paul@ranahminang.net>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: partition resize
Message-ID:  <CAAxOLARkuFVNCc0TftT9PVSyPnA5W6tS1kER-ioU_HfYVcjamg@mail.gmail.com>
In-Reply-To: <20140505170856.GQ43976@funkthat.com>
References:  <CAAxOLAShH9uMjpcs0nGz9Hj=g3Ln5KzPpD-MqqoGO0CU74%2Bc%2Bw@mail.gmail.com> <20140505170856.GQ43976@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tq for the advices...
i will try your suggestion as soon as i get the new sd card as the
current sdcard (toshiba class 10) always give me error 19 on every
startup.

P

On 5/6/14, John-Mark Gurney <jmg@funkthat.com> wrote:
> Paul Darius wrote this message on Sat, May 03, 2014 at 15:10 +0700:
>> hi there..
>>
>> here is the partition created from the fbsd image
>>
>> $ gpart show
>> =>      63  61497281  mmcsd0  MBR  (29G)
>>         63     34776       1  !12  [active]  (17M)
>>      34839  61462485       2  freebsd  (29G)
>>   61497324        20          - free -  (10K)
>>
>> =>      0  1918278  mmcsd0s2  BSD  (29G)
>>         0  1918278         1  freebsd-ufs  (937M)
>
> This partition didn't grow for some reason...
> gpart resize -i 1 mmcsd0s2
>
> Should grow it...
>
>> $ cat /etc/fstab
>> /dev/mmcsd0s1   /boot/msdos     msdosfs rw,noatime      0 0
>> /dev/mmcsd0s2a  /               ufs rw,noatime          1 1
>> md              /tmp            mfs rw,noatime,-s30m    0 0
>> md              /var/log        mfs rw,noatime,-s15m    0 0
>> md              /var/tmp        mfs rw,noatime,-s5m     0 0
>>
>> when I do extract the ports.tar.gz into /usr, I end up with file system
>> full
>>
>> how do i know which partition for what and how to resize them ?
>>
>> the /etc/rc.d/autosize start give the result :
>> # /etc/rc.d/autosize start
>> Enlarging root partition
>> mmcsd0s2 resized
>> gpart: autofill: No space left on device
>> growfs: requested size 937MB is not larger than the current filesystem
>> size 937MB
>
> I just recently rewrote crochet's autosize/growfs rc.d script to be
> able to handle any partitioning scheme to grow /...  You could try the
> attached...  just run: "growfs start" and it should run all the necesssary
> commands...
>
> --
>   John-Mark Gurney				Voice: +1 415 225 5579
>
>      "All that I will do, has been done, All that I have, has not."
>



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