Bug 888208 - can't reuse /home due to mountpoint entry being insensitive
Summary: can't reuse /home due to mountpoint entry being insensitive
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-18 09:44 UTC by Matthieu Pupat
Modified: 2013-05-16 15:03 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-16 15:03:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
requested log file: /tmp/storage.log (383.12 KB, text/plain)
2013-01-16 17:46 UTC, Felix Homann
no flags Details
Requested log file: anaconda.log (37.37 KB, text/plain)
2013-01-16 17:47 UTC, Felix Homann
no flags Details
Requested log file: /tmp/program.log (65.04 KB, text/plain)
2013-01-16 17:47 UTC, Felix Homann
no flags Details
/tmp/anaconda.log (8.61 KB, text/plain)
2013-01-22 10:11 UTC, Felix Homann
no flags Details
/tmp/program.log (66.29 KB, text/plain)
2013-01-22 10:12 UTC, Felix Homann
no flags Details
/tmp/storage.log (357.21 KB, text/plain)
2013-01-22 10:12 UTC, Felix Homann
no flags Details

Description Matthieu Pupat 2012-12-18 09:44:57 UTC
I have two RAID devices on my computer, a RAID0 and RAID1.

When installing Fedora 18 Beta using Manual Partitioning I can see two software RAID entries under Unknow at the very bottom of the left columns.

I cannot see the actual partitions: 1 under my RAID 0 and two under my RAID1

I cannot set mount points for them.

Comment 1 David Lehman 2012-12-18 17:38:42 UTC
You have partitioned md arrays?

Please attach the following files from the shell on tty2 after entering the custom storage setup screen:

 /tmp/anaconda.log
 /tmp/storage.log
 /tmp/program.log
 /tmp/syslog

Please attach them individually and use text/plain for the type if possible. No archives, please.

Thanks.

Comment 2 Felix Homann 2013-01-16 17:45:06 UTC
I'm trying to install F18 over an existing Ubuntu system. / and /home are ext4 formated RAID1 partitions, /dev/md2 is mounted on /, /dev/md3 is mounted on /home I cannot set mount points for those devices unless I mark them for reformatting. I'll attach the requested logs (when I found out how this works here).

Comment 3 Felix Homann 2013-01-16 17:46:07 UTC
Created attachment 679727 [details]
requested log file: /tmp/storage.log

Comment 4 Felix Homann 2013-01-16 17:47:03 UTC
Created attachment 679728 [details]
Requested log file: anaconda.log

Comment 5 Felix Homann 2013-01-16 17:47:38 UTC
Created attachment 679729 [details]
Requested log file: /tmp/program.log

Comment 6 Felix Homann 2013-01-16 17:48:40 UTC
Forgot to save /tmp/syslog. Will be provided later.

Comment 7 David Lehman 2013-01-16 21:18:42 UTC
(In reply to comment #2)
> I'm trying to install F18 over an existing Ubuntu system. / and /home are
> ext4 formated RAID1 partitions, /dev/md2 is mounted on /, /dev/md3 is
> mounted on /home I cannot set mount points for those devices unless I mark
> them for reformatting. I'll attach the requested logs (when I found out how
> this works here).

What happened to your first run? It looks like something interrupted it and caused things to enter an inconsistent state.

Consider rebooting the live media and trying again, this time taking care not to kill the installer while it is running.

Comment 8 Felix Homann 2013-01-16 22:23:23 UTC
On the first run the very same happened. That's why I interrupted anaconda. I couldn't even find a clean way to exit without being afraid of data loss. 
(Hint: It's not clear at all when changes the user makes to the disk layout will be applied - immediately,  later on, onWhateverClicked(). This keeps the user in a permanent state of fear and uncertainty if there's data he actually wants to keep.)

So when exactly do you actually want me to take the snapshots of all the logs?

Comment 9 Felix Homann 2013-01-22 10:10:18 UTC
(In reply to comment #7)
> Consider rebooting the live media and trying again, this time taking care
> not to kill the installer while it is running.

OK, I've run it again. See the new logs. There is no /tmp/syslog btw. 

Once again for the record: Anaconda is really causing extreme fear and uncertainty when it comes to partitioning. You never know when you could possibly damage your disks and data. There's no "Abort" or "Cancel" button and no description whatsoever telling what "Done" actually means or does.

Comment 10 Felix Homann 2013-01-22 10:11:01 UTC
Created attachment 684982 [details]
/tmp/anaconda.log

Comment 11 Felix Homann 2013-01-22 10:12:14 UTC
Created attachment 684983 [details]
/tmp/program.log

Comment 12 Felix Homann 2013-01-22 10:12:46 UTC
Created attachment 684991 [details]
/tmp/storage.log

Comment 13 David Lehman 2013-01-29 21:44:27 UTC
Nothing is written to disk until you click the "Begin Installation" button on the main screen.

Comment 14 David Lehman 2013-01-29 21:49:26 UTC
(In reply to comment #2)
> I'm trying to install F18 over an existing Ubuntu system. / and /home are
> ext4 formated RAID1 partitions, /dev/md2 is mounted on /, /dev/md3 is
> mounted on /home I cannot set mount points for those devices unless I mark
> them for reformatting. I'll attach the requested logs (when I found out how
> this works here).

You cannot use a preexisting filesystem for / -- you must create a new one. For /home you should be able to simply enter the mountpoint and click "Apply Changes".

Comment 15 Felix Homann 2013-01-29 22:26:37 UTC
(In reply to comment #14)
> You cannot use a preexisting filesystem for / -- you must create a new one.

Sure, it wouldn't make sense to use an installer otherwise.It's /home I care for.


> For /home you should be able to simply enter the mountpoint and click "Apply
> Changes".

Exactly, I *should* be able. I filed this bug report because I am *not* able to do this. The field where I am supposed to enter the mount point is not editable unless I mark my existing /home partition for reformatting.
I definitely don't want my /home partition to be reformatted.

Comment 16 Felix Homann 2013-01-29 22:31:14 UTC
(In reply to comment #14)
> You cannot use a preexisting filesystem for / -- you must create a new one.

Sure, it wouldn't make sense to use an installer otherwise.It's /home I care for.


> For /home you should be able to simply enter the mountpoint and click "Apply
> Changes".

Exactly, I *should* be able. I filed this bug report because I am *not* able to do this. The field where I am supposed to enter the mount point is not editable unless I mark my existing /home partition for reformatting.
I definitely don't want my /home partition to be reformatted.

Comment 17 David Lehman 2013-01-30 15:36:24 UTC
There's a problem detecting the filesystem on /dev/md/3. As a workaround, please try deactivating all of your md devices before running liveinst. Let me know how that goes.

Comment 18 Felix Homann 2013-03-06 09:15:40 UTC
I chose to not use my existing /home but to install without a dedicated /home partition, first. Afterwards I added my md devices in /etc/fstab. This surely works but should not be neccessary.

Comment 19 David Lehman 2013-05-16 15:03:09 UTC
Several issues with detection of md devices have been fixed for fedora 19 beta, which should be released within a couple of weeks. If you find that this issue remains in any version of Fedora 19 please reopen this bug and attach the new logs.


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