-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
I try migrate from CentOS 8.5.2111 to Rocky 8.
CentOS installed on bare metal server and disks added from storage with multipath.
When I try run migration script, I get error
./migrate2rocky.sh: line 562: dm-2/partition: No such file or directory
Unable to gather EFI data: Can't find disk name or partition number for dm-2.
An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.
my disks:
# ls -ahlp /dev/disk/by-id | grep "dm-2"
lrwxrwxrwx. 1 root root 10 Jan 12 2022 dm-name-mpatha -> ../../dm-2
lrwxrwxrwx. 1 root root 10 Jan 12 2022 dm-uuid-mpath-360060e80223a330050413a3300000600 -> ../../dm-2
lrwxrwxrwx. 1 root root 10 Jan 12 2022 scsi-360060e80223a330050413a3300000600 -> ../../dm-2
lrwxrwxrwx. 1 root root 10 Jan 12 2022 wwn-0x60060e80223a330050413a3300000600 -> ../../dm-2
dmsetup info /dev/dm-2
Name: mpatha
State: ACTIVE
Read Ahead: 8192
Tables present: LIVE
Open count: 3
Event number: 0
Major, minor: 253, 2
Number of targets: 1
UUID: mpath-360060e80223a330050413a3300000600
# multipath -l
Jul 13 15:59:36 | /etc/multipath.conf line 3, duplicate keyword: find_multipaths
mpathb (360060e80223a330050413a3300000606) dm-0 HITACHI,OPEN-V
size=200G features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=0 status=active
|- 2:0:1:1 sde 8:64 active undef running
|- 2:0:0:1 sdc 8:32 active undef running
|- 12:0:0:1 sdg 8:96 active undef running
`- 12:0:1:1 sdi 8:128 active undef running
mpatha (360060e80223a330050413a3300000600) dm-2 HITACHI,OPEN-V
size=40G features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=0 status=active
|- 2:0:1:0 sdd 8:48 active undef running
|- 12:0:0:0 sdf 8:80 active undef running
|- 2:0:0:0 sdb 8:16 active undef running
`- 12:0:1:0 sdh 8:112 active undef running
What can I do for run this script?
m-kaminski
Metadata
Metadata
Assignees
Labels
No labels