Date: Sat, 3 May 2014 19:27:11 +0700 From: Paul Darius <paul@ranahminang.net> To: Boris Samorodov <bsam@passap.ru> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: partition resize Message-ID: <CAAxOLAQayJkcPMgKyHE52%2B=1QLfj4kXarFcFsAuHSYs=_d5GMw@mail.gmail.com> In-Reply-To: <5364DE26.2090503@passap.ru> References: <CAAxOLAShH9uMjpcs0nGz9Hj=g3Ln5KzPpD-MqqoGO0CU74%2Bc%2Bw@mail.gmail.com> <5364DE26.2090503@passap.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
i got 2 pcs sdcard and both give the same result P On May 3, 2014 7:16 PM, "Boris Samorodov" <bsam@passap.ru> wrote: > 03.05.2014 12:10, Paul Darius =D0=C9=DB=C5=D4: > > > > here is the partition created from the fbsd image > > Are you sure? Seems that you did some changes to it. > > > $ gpart show > > =3D> 63 61497281 mmcsd0 MBR (29G) > > 63 34776 1 !12 [active] (17M) > > 34839 61462485 2 freebsd (29G) > > 61497324 20 - free - (10K) > > > > =3D> 0 1918278 mmcsd0s2 BSD (29G) > > 0 1918278 1 freebsd-ufs (937M) > > Seems that you already tryed to do a resize. If I'm not mistaken, > you resized only partition 2 of mmcsd0 device (-i 2 mmcsd0). Also > partition 1 of mmcsd0s2 device should be resized (-i 1 mmcsd0s2). > Then you should use growfs to enlarge the filesystem as well. > > A note: the last time I did so bsdlabel of mmcsd0s2 (slice c:) > was not auto enlarged, so I should do it by hand. > > > $ 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've never used autosize, so no comments here, sorry. > > -- > WBR, Boris Samorodov (bsam) > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAxOLAQayJkcPMgKyHE52%2B=1QLfj4kXarFcFsAuHSYs=_d5GMw>