On 06/21/2010 11:35 AM, Dan McGee wrote:
On Mon, Jun 21, 2010 at 11:33 AM, David C. Rankin <drankinatty@suddenlinkmail.com> wrote:
Guys,
I'm laughing at myself for being unable to get swap activated. Initially, when I breezed through the install, I forgot to set /dev/sdb6 to type 82 so the box came up with swap off (2G of ram so not much of an issue)
But now, I want to activate it and I get an error activating swap that frankly, I have never seen before:
[11:27 dcrgx2:~] # swapon -a swapon: /dev/sdb6: read swap header failed: Invalid argument
Huh?
man mkswap
Thanks Dan, The clueless found a clue: [11:27 dcrgx2:~] # swapon -a swapon: /dev/sdb6: read swap header failed: Invalid argument [11:30 dcrgx2:~] # mkswap /dev/sdb6 Setting up swapspace version 1, size = 1951860 KiB no label, UUID=f50f8c63-9657-4e0b-aca6-ea2250b5193f [11:46 dcrgx2:~] # vi /etc/fstab [11:47 dcrgx2:~] # swapon -a Oh, brother...... :p -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com