Date: Mon, 29 Dec 2014 18:30:27 +0000 From: Odhiambo Washington <odhiambo@gmail.com> To: Eduardo Morras <emorrasg@yahoo.es>, freebsd-questions@freebsd.org Subject: Re: Adding more swap for FreeBSD 10 Message-ID: <CAAdA2WPjJK6O1aa02eSWnpC=Hxd7yuJ%2B9h0onFJe3-8wp2yCWQ@mail.gmail.com> References: <CAAdA2WP__b2z8v3PiUDVSCY69d3QaHSmy7LvnZhbeQFuPeGNkg@mail.gmail.com> <20141229192828.e7fa7f970f4a3a6f3db409a7@yahoo.es>
next in thread | previous in thread | raw e-mail | index | archive | help
This isn't an option in 10.x anymore. I tried it. On Mon, Dec 29, 2014, 21:28 Eduardo Morras <emorrasg@yahoo.es> wrote: > On Mon, 29 Dec 2014 19:48:03 +0300 > Odhiambo Washington <odhiambo@gmail.com> 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 .....' > > You can use a file as swap. > > See : http://www.freebsd.org/doc/handbook/adding-swap-space.html > > At 12.12.2 > > For future references: > Create 8G swap file (change count as needed) > # dd if=/dev/zero of=/usr/swap0 bs=1m count=8192 > Change permissions > # chmod 0600 /usr/swap0 > Add entry to /etc/fstab (modify md99 with the md** numbers not used you > want, it must begin with md) > md99 none swap sw,file=/usr/swap0 0 0 > Use the swap without reboot > # swapon -aq > > > -- > > Best regards, > > Odhiambo WASHINGTON, > > Nairobi,KE > > +254733744121/+254722743223 > > "I can't hear you -- I'm using the scrambler." > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > --- --- > Eduardo Morras <emorrasg@yahoo.es> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WPjJK6O1aa02eSWnpC=Hxd7yuJ%2B9h0onFJe3-8wp2yCWQ>