Bug 159612 - fstab remapping misses swap partition
fstab remapping misses swap partition
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: grub (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Jones
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-06-05 21:21 EDT by Need Real Name
Modified: 2011-07-27 14:02 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-07-27 14:02:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2005-06-05 21:21:27 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:
Hi All,

   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
another number.)

   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.)

Many thanks,

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):

How reproducible:

Steps to Reproduce:
1. see description

Additional info:

Note You need to log in before you can comment on or make changes to this bug.