Son of Beastie
df -h /say? How did you install the system? If this was a simple
ddthen make sure to run
service growfs onestartto actually grow your filesystem to fit the card. I'm not sure if RaspBSD is configured to do this on its own.
Filesystem_______Size_______Used____ Avail____Capacity_____Mounted on
DDthe raspbsd.img onto the sd card. why isnt it letting all 32GB be available for use?
/dev/mdxfilesystems are nearly empty and probably not being used.
gpart show da0
gpart show mmcsd0 63 61120449 mmc2d0 MBR (29G) 63 102375 1 !12 [active] (50M) 102438 986 - free - (493k) 103424 3704832 2 freebsd (1.8G) 3808256 57312256 - free - (27G) gpart resize -i s -a 4k -s 26G mmcsd0 mmcsd0s2 resized gpart show mmcsd0 63 61120449 mmc2d0 MBR (29G) 63 102375 1 !12 [active] (50M) 102438 986 - free - (493k) 103424 54525952 2 freebsd (26G) 54629376 6491136 - free - (3.1G)
pkg-static updateI get a /: write failed filesystem is full. and then it gives a sqlite error while insert or replace into packages. I do a
pkg-static cleanand it says nothing to do.
growfs /dev/mmcsd0s2ait says growfs: requested size 1.8GB is not larger than the current filesystem size 1.8GB.
growfs -s 54525952 /dev/mmcsd0s2a growfs: requested size 26GB is larger than the available 1.8GB
ls /dev |grep 'da0'
file -s /dev/mmcsd0
unicron:/usr/ports/editors/emacs-devel $ make all-depends-list | wc -l 322
gpart show =>63 61120449 mmcsd0 MBR (29G) 63 102375 1 !12 [active] (50M) 102438 986 - free - ( 493k ) 103424 54525952 2 freebsd ( 26G ) 54629376 6491136 - free - ( 3.1G ) => 0 54525952 mmcsd0s2 BSD ( 26G ) 0 3704704 1 freebsd-ufs ( 1.86G ) 3704704 50821248 - free - ( 24G )
file -s /dev/mmcsd0
file -s /dev/mmcsd0 /dev/mmcsd0: DOS/MBR boot sector; partition 1 : ID=0xc, active, start-CHS (0x0,1,1), end-CH5 (0x6,95,63), startsector 63, 102375 sectors; partition 2 : ID-0xa5, start-CHS (0x6,111,42), end-CH5 (ox3ff,255,63), startsector 103424, 54525952 sectors
growfs mmcsd0s2 It's strongly recommended to make a backup before growing the file system. OK to grow filesystem on/dev/mmcsd0s2 from 1.8GB to 29GB [yes/no] yes growfs: /dev/mmcsd0s2: Operation not permitted
ls /dev |grep 'mmcsd0'
gpart show mmcsd0again to verify that the resized MBR partition has actually been written to the "disk".
bsdlabelto fix it (but I am not sure whether this is really necessary. On the other hand, bsd label seems to contain size information, so this seems plausible to me).