Red Hat Bugzilla – Bug 159612
fstab remapping misses swap partition
Last modified: 2011-07-27 14:02:51 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
I am using White Box Enterprise Linux 4 (WBEL 4).
My system runs off an LSI SATA-4 RAID controller.
I also have an Adaptec 2047600, SATAConnect 1205SA
controller that is used with my backup SATA hot swap drives
(cheaper and faster than digital tape).
Under WBEL 3, the SATA drive was treated as an IDE drive.
Under WBEL 4, it is now a SCSI drive. (I will post this bug under
When the removable backup SATA drive is not installed, WBEL
maps the RAID drive as /dev/sda. When the removable SATA
drive is installed, it gets mapped as /dev/sda and the RAID drive
gets bumped to /dev/sdb. Then whoever is responsible for /etc/fstab
at boot goes through and fixes the drive mapping.
Works okay, except the remapping utility misses the swap partition.
There is no clue that the mount point is incorrect, until you put
install CD disk one back in the machine and attempt to do
an upgrade. (It quits when it can not find the swap partition.)
My fstab (I have manully corrected the swap device. "/" is /dev/sdb5)
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/sdb6 swap swap defaults 0 0
/dev/sda2 /images ext3 noauto,defaults 0 0
/dev/sdb1 /dos msdos noauto,defaults 0 0
/dev/sdb2 /w2k vfat auto,defaults 0 0
/dev/sdb3 /xp ntfs ro,noauto,defaults 0 0
/dev/hdc /media/cdrecorder1 auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
/dev/fd0 /media/floppy1 auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. see description