Bug 1008308

Summary: Newly provisioned instance has an entry for non-existent xvdb in /etc/fstab
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Anush Shetty <ashetty>
Component: amiAssignee: Anthony Towns <atowns>
Status: CLOSED ERRATA QA Contact: Sudhir D <sdharane>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 2.1CC: flanagan, rhs-bugs, shaines
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 22:29:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anush Shetty 2013-09-16 06:20:21 UTC
Description of problem: A newly privisoned ami instance has an entry for non-existent xvdb in /etc/fstab


# cat /etc/fstab 
LABEL=_/   /         ext4    defaults        1 1
/dev/xvdb  /mnt      ext3    defaults,context=system_u:object_r:usr_t:s0  0 0
none       /proc     proc    defaults        0 0
none       /sys      sysfs   defaults        0 0
none       /dev/pts  devpts  gid=5,mode=620  0 0
none       /dev/shm  tmpfs   defaults        0 0

# mount -a
mount: special device /dev/xvdb does not exist

Version-Release number of selected component (if applicable): RHEL-6.4-RHS-2.1-x86_64-3-Access2 (ami-e488c3b6)


How reproducible: Always


Steps to Reproduce:
1.
2.
3.

Actual results:

/dev/xvdb has an entry in /etc/fstab. /dev/xvdb doesn't exist.

Expected results:

/etc/fstab shouldn't have an entry for /etc/fstab

Additional info:

# fdisk -l

Disk /dev/xvda1: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Comment 2 Anush Shetty 2013-09-16 06:29:20 UTC
Small correction,

Expected results:

/etc/fstab shouldn't have an entry for /dev/xvdb

Comment 3 Anush Shetty 2013-09-18 06:29:16 UTC
Verified with AMI: RHEL-6.4-RHS-2.1-x86_64-5-Access2 (ami-15470c7c)

Comment 4 Scott Haines 2013-09-23 22:29:55 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. 

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1262.html