Bug 701032
Summary: | Warn the user before removing data | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Zeeshan Ali <zeenix> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | anaconda-maint-list, jonathan, mclasen, stephent98, vanmeeuwen+fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-02 18:36:40 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: |
Description
Zeeshan Ali
2011-04-30 13:28:08 UTC
In the final release of F15 it will not be possible to reuse your root filesystem -- you will be required to reformat it or use a different device. See bug 629311. *** This bug has been marked as a duplicate of bug 629311 *** If the partition was not formatted, you might still have files there. You could try booting from the installer disc in rescue mode and mounting the partition to look at it. No, they really were removed. Is this a live install? If so, yes, your selected root device will be completely overwritten. With non-live media the root device would not have been cleared, but much of it would have been overwritten. (In reply to comment #4) > Is this a live install? If so, yes, your selected root device will be > completely overwritten. With non-live media the root device would not have been > cleared, but much of it would have been overwritten. Yes. Please note that all I am saying is that there must be a warning for this, not that this is wrong. (In reply to comment #5) > (In reply to comment #4) > > Is this a live install? If so, yes, your selected root device will be > > completely overwritten. With non-live media the root device would not have been > > cleared, but much of it would have been overwritten. > > Yes. Please note that all I am saying is that there must be a warning for this, > not that this is wrong. Yes, indeed. There should always be a warning before this. It must be painful to lose your data like that. Why not join with us: http://fedoraproject.org/ We are all people ... Easily reproduced in a VM. Reinstalled with the F15-Beta Live CD onto: /dev/sda1: /boot /dev/sda2: LVM vg_foo lv_root: / lv_swap Custom layout, no formatting. Test files on lv_root were overwritten. /boot (/dev/sda1) was not overwritten, however. Discovered this bug: The file system is not resized to match the size of the the LV (lv_root). "lvs" shows lv_root is 9.56g, but "df -h" shows 2.2G. Verified with "tune2fs -l /dev/mapper/vg_foo-lv_root". (In reply to comment #7) ... > Discovered this bug: > The file system is not resized to match the size of the the LV (lv_root). ... If you were installing to a logical volume, this bug could mean that some of your data might be recoverable ... (In reply to comment #8) > (In reply to comment #7) > ... > > Discovered this bug: > > The file system is not resized to match the size of the the LV (lv_root). > ... > > If you were installing to a logical volume, this bug could mean that some of > your data might be recoverable ... Unfortunately, I was not. :( I see you are a developer, so here is the way I reproduced this bug: 1. Install from the DVD image to the VM disc image and boot from it. 2. Create test files in /boot, /home, /etc. 3. Boot from the F15 Beta Live CD image and install to the VM disc image without formatting any partitions: $ qemu-kvm -m 1024 -cdrom Fedora-15-Beta-x86_64-Live-Desktop.iso -hda ../f15-test1.img -boot menu=on 4. Boot from the installed image and look for the test files. BTW, in the future, when opening bugs, please fill in the form as provided. As it was, you did not provide a crucial piece of information: that you were installing from the Live CD. That would go into the form something like this: Version-Release number of selected component (if applicable): F15 Beta Live CD x86_64 Desktop or Fedora-15-Beta-x86_64-Live-Desktop.iso |