Bug 248558
Summary: | upgrade does not recognize swap partition | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steven Legowik <legowik> | ||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 7 | CC: | joukj, jrode | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-07-18 20:25:09 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Steven Legowik
2007-07-17 14:15:54 UTC
Created attachment 159436 [details]
my fstab file
When you get this error message, can you flip over to tty3 and tty4 and see if there are any obvious error message? Your fstab does look okay to me, and I find it odd that you get error messages about the two partitions in hdb. Hi I got the same (except for "step 4") on one of my machines. Did not try (yet) to flip to tty3 and tty4 (how do you do that?) Jouk You flip to the various 'virtual' terminals by using the key combo ctrl-alt-Fn, where 'n' is the number of the tty you are switching to. ctrl-alt-F6 generally takes you back to the X windows terminal. To answer the earlier question: No I didn't see any obvious error messages on tty3 or tty4. I did go to the shell on tty2 and did a df. One odd thing I noticed was that the installer had mounted the / and /boot partitions using the /dev/sdc5 and /dev/sdc1 devices. Whereas the error message for the /winshare partition, and the swap partition indicated that it was trying to use the /dev/hdb2 and /dev/hdb3 devices. Is there some reason it is using the SCSI emulation for some of the mounts, and the ATA driver for the others (the ones that didn't want to mount)? Is there significance to the fact that / and /boot are specified by label in /etc/fstab, and work. Whereas /winshare and swap are specified as explicit devices in /etc/fstab, and do not work? No obvious error messages in ttyx on my machine either. Also my swap is specified as explicit device while on all my succesfull upgraded FC6->F7 machines all have swap specified by label. Yes, the problem here is that it's specified by device name instead of label. Unfortunately between FC6 and F7, all the device names changed from hdX to sdX because of underlying kernel changes. I've improved the error handling here to tell you what the actual problem is, just like we already had for non-swap partitions. Should anaconda not be trying to correct the problem? Maybe we need for the moment a recipe how to overcome the problem when upgrading to F7. The correct fix for you is to label your devices and then refer to them by label in your /etc/fstab. That's what the error message tells you to do. anaconda can't correct the problem by simply replacing hdX by sdX, because this is not guaranteed to work in all cases. *** Bug 249487 has been marked as a duplicate of this bug. *** |