﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
87	LABEL= swap does not come online after mondorestore	Bill R. Williams	Bruno Cornec	"Versions: mondo-2.2.0-2.rhel4 mindi-1.2.0-2.rhel4
On mondoarchive the swap area defined in /etc/fstab as:
 LABEL=SWAP-hda2 swap swap defaults 0 0
now gets correctly identified as a swap space (partition).

Test restore/clone:
I used boot->mondorestore CD, Automatic, From CD-R and everything ran smoothly to completion of restore with result=0.
mondorestore DOES correctly allocate the /dev/hda2 and looking at mondo-restore.log I see that it is doing a 'mkswap /dev/hda2'.  The message in the log is:
""Setting up swapspace version 1, size = ...""

However, after reboot (single user) the swap space is not active.
I do a: swapon -a
and it fails because it cannot find the LABEL=SWAP-hda2 device.

I discovered that I needed to do:
  mkswap -L 'SWAP-hda2' /dev/hda2
to make the 'swapon -a' work with my current /etc/fstab.
(It's the only command I know to label swap space.)

In previous version of mondo/mindi I had been modifying the /etc/fstab to change the swap from a LABEL=... to the standard /dev/hdX (or sdX), and that might be the best choice.  However, since there is the attempt by mondo/mindi to deal with Red Hat LABELed swap areas I thought I sould at least share my findings at this version.
"	defect	closed	normal	2.2.1	mondo	2.2.0	normal	fixed		
