-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've followed faq 14.4 on setting up a permanent swap. I've rebuilt the kernel with:
config bsd root on wd0a swap on wd0b and vnd0c dumps on wd0b
Then I created the actual swap file:
sudo dd if=/dev/zero of=/var/swap bs=1k count=262144
I added the info to fstab:
/dev/vnd0c none swap sw 0 0
Then, as per the faq, I rebooted.
Then I did
sudo vnconfig -c -v vnd0 /var/swap
and got
vnd0: 268435456 bytes on /var/swap
Then I did:
sudo swapctl -a /dev/vnd0c
And then:
swapctl -l
Device 512-blocks Used Avail Capacity Priority
swap_device 4195296 0 4195296 0% 0
/data2/swap 2097152 0 2097152 0% 0
/dev/vnd0c 524288 0 524288 0% 0
Total 6816736 0 6816736 0%
Everything's fine at that point. But, when I reboot, I have
to repeat the commands
sudo vnconfig -c -v vnd0 /var/swap
sudo swapctl -a /dev/vnd0c
in order to get the extra swap back again. I thought from reading
the faq that it becomes permanent, but I can't get it to. Can
someone maybe point out if they see something I'm doing wrong?
Thanks.
- --
Denny White
All messages scanned by ClamAssassin
http://jameslick.com/clamassassin/
===============================================================
GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A
===============================================================
iD4DBQFIJTeGy0Ty5RZE55oRAsXBAKDFrRzifK1D3oxFNR8BHLDm59DF1QCY7wuu
DzHzPMKgR4sFeZlDTYM88A==
=RrMS
-----END PGP SIGNATURE-----
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
| Rafael J. Wysocki | Re: Linux 2.6.25-rc2 |
| Andrew Morton | Re: 2.6.23-rc4-mm1 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Linus Torvalds | Re: On Tabs and Spaces |
| Lars Hjemli | Re: kernel.org mirroring (Re: [GIT PULL] MMC update) |
| Eric Wong | Re: [RFC] Git config file reader in Perl (WIP) |
| Jakub Narebski | Re: GSoC 2008 - Mentors Wanted! |
| Karel Kulhavy | OpenBSD sticker considered cool by a layman |
| Richard Stallman | Real men don't attack straw men |
| Marco Peereboom | Re: Multi-Threaded SSH/SCP made by university of Puttsburgh |
| Douglas A. Tutty | lock(1) to lock all virtual terminals? |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Brandon S. Allbery | Re: mkdir says "no space left on device" and more problems... |
| Arthur Recktenwald | rcmd: socket: Permission denied |
| massimo rossi | Re: SLS on Compaq Deskpro 66M (486-66/DX2 EISA [ugh])? |
