[Bug 1097811] New: upgrade problem with encrypted disks
http://bugzilla.suse.com/show_bug.cgi?id=1097811 Bug ID: 1097811 Summary: upgrade problem with encrypted disks Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Release Notes Assignee: sknorr@suse.com Reporter: lnussel@suse.com QA Contact: lnussel@suse.com Found By: --- Blocker: --- See https://bugzilla.suse.com/show_bug.cgi?id=1094963#c35 Symptom: Using the offline upgrade feature of the installation medium to upgrade Leap 42 with an encrypted data partition such as /home crashes YaST when selecting the previous installation. Reason: Encrypted data partitions are listed in /etc/fstab by device mapper name, eg. /dev/mapper/cr_home. In the installation environment YaST cannot relate that path to autodetected volumes (boo#1094963). Solution: Prior to upgrading, change /etc/fstab to mount the encrypted partitions by UUID instead of by path. For example if /etc/fstab contains /dev/mapper/cr_home /home xfs nofail 0 2 Use the following command to determine the UUID: # blkid|grep cr_home /dev/mapper/cr_home: UUID="12345678-1234-1234-1234-1234567890AB" TYPE="xfs" Then change the in fstab line to UUID=12345678-1234-1234-1234-1234567890AB /home xfs nofail 0 2 After this modification of /etc/fstab yast can perform the upgrade without crashing. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1097811
Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1097811
Bernd Speiser
http://bugzilla.suse.com/show_bug.cgi?id=1097811
http://bugzilla.suse.com/show_bug.cgi?id=1097811#c1
José Iván López González
Then change the in fstab line to
UUID=12345678-1234-1234-1234-1234567890AB /home xfs nofail 0 2
After this modification of /etc/fstab yast can perform the upgrade without crashing.
Only one note, using UUID or LABEL still could fail when no filesystem exists with that UUID/LABEL. Please, take a look to this comment [1]. [1] https://bugzilla.suse.com/show_bug.cgi?id=1094963#c43 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1097811
http://bugzilla.suse.com/show_bug.cgi?id=1097811#c2
Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1097811
http://bugzilla.suse.com/show_bug.cgi?id=1097811#c3
Stefan Knorr
http://bugzilla.suse.com/show_bug.cgi?id=1097811
http://bugzilla.suse.com/show_bug.cgi?id=1097811#c4
--- Comment #4 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1097811
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1097811
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1097811
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1097811
http://bugzilla.suse.com/show_bug.cgi?id=1097811#c5
--- Comment #5 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1097811
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com