Adding more swap for FreeBSD 10
Odhiambo Washington
odhiambo at gmail.com
Mon Dec 29 20:36:04 UTC 2014
On 29 December 2014 at 20:45, Warren Block <wblock at wonkity.com> wrote:
> On Mon, 29 Dec 2014, Odhiambo Washington wrote:
>
> My FreeBSD system is crashing so much for lack of swap.
>>
>> I used BSD labels instead of GPT and I had it a little rough creating my
>> slices and this resulted in me not creating the swap partition.
>>
>> Now, if I run 'bsdinstall partedit', I see that it is possible to create a
>> partition of 5.8GB at the end of my disks. However, the gui from
>> bsdinstall
>> wouldn't let me commit my changes on the already live disks.
>>
>> Is there a command line way of achieving the above with bsdinstall without
>> destroying a disk?
>>
>> I am hoping that there is something like 'bsdinstall scriptedpart .....'
>>
>
> Use gpart(8) rather than bsdinstall. With MBR and bsdlabel, everything is
> more difficult than with GPT, but it still can be done. Please show the
> output of 'gpart show'.
>
Hi Warren,
wash at mail:~$ gpart show ada0
=> 0 976773168 ada0 BSD (466G)
0 964689920 1 freebsd-ufs (460G)
964689920 12083248 - free - (5.8G)
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."
More information about the freebsd-questions
mailing list