Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Migration from MBR to GPT fails
#5
Hi,

what's going on? I posted a long reply explaining that I made a mistake, but after correcting my mistake there still was an issue with Ventoy.
OTOH I explained also that I suspect issues with the new hardware. I suspect that Ventoy isn't the culprit. Apart from this xfs or even reformatting with exfat failed, too.
I don't want to explain everything again, however I made another test that shows something strange.

After the copy claimed to be finished I waited a long time, before I unmounted, this time without an issue, I experience issues with unmounting when doing the tests for the post that is missing now.


#### #### #### ####
[root@archlinux rocketmouse]# date; cp -Tai /mnt/winos10/share/ventoy_1.0.91-1_intenso_ultra_bak_2023-04-12-1-pre_migration_s3.archlinux_to_m1.archlinux/v1.ventoy/ /mnt/v1.ventoy/; echo $?; date
Fri 14 Apr 20:32:33 CEST 2023
0
Fri 14 Apr 20:38:28 CEST 2023
[root@archlinux rocketmouse]# date; umount /dev/sdf1; date
Fri 14 Apr 21:02:11 CEST 2023
Fri 14 Apr 21:02:12 CEST 2023
[root@archlinux rocketmouse]# mount /dev/sdf1 /mnt/v1.ventoy/
#### #### #### ####


A first diff needed around a minute, the second diff:


#### #### #### ####
[root@archlinux rocketmouse]# date; diff -r /mnt/winos10/share/ventoy_1.0.91-1_intenso_ultra_bak_2023-04-12-1-pre_migration_s3.archlinux_to_m1.archlinux/v1.ventoy/ /mnt/v1.ventoy/; echo $?; date
Fri 14 Apr 21:09:42 CEST 2023
0
Fri 14 Apr 21:09:45 CEST 2023
#### #### #### ####


3 Seconds to diff 10 GiB on an USB 2 stick connected to an USB 3 port. This looks like it does compare checksums stored in a cache and nothing else.

I rebooted, Ventoy didn't work, it again claimed missing or wrong files, back to Arch Linux the files are all there:


#### #### #### ####
[root@archlinux rocketmouse]# mkdir /usb_stick && mount --verbose /dev/sdf1 /usb_stick
mount: /dev/sdf1 mounted on /usb_stick.
[root@archlinux rocketmouse]# date; diff -r /mnt/winos10/share/ventoy_1.0.91-1_intenso_ultra_bak_2023-04-12-1-pre_migration_s3.archlinux_to_m1.archlinux/v1.ventoy/ /usb_stick/; echo $?; date
Fri 14 Apr 21:23:15 CEST 2023
0
Fri 14 Apr 21:24:26 CEST 2023
#### #### #### ####


To my taste around a minute is still a little bit too fast for a diff with an USB 2 stick involved. This was the first diff done after a reboot.
I will do tests using another computer as soon as possible.


#### #### #### ####
[root@archlinux rocketmouse]# /bin/ls -hAl /mnt/winos10/share/ventoy_1.0.91-1_intenso_ultra_bak_2023-04-12-1-pre_migration_s3.archlinux_to_m1.archlinux/v1.ventoy/ /usb_stick/
/mnt/winos10/share/ventoy_1.0.91-1_intenso_ultra_bak_2023-04-12-1-pre_migration_s3.archlinux_to_m1.archlinux/v1.ventoy/:
total 9.9G
drwxr-xr-x 2 root root 4.0K Jan  6  2021 ventoy
-rw-r--r-- 1 root root 1.6G Jul 31  2020 xubuntu-20.04.1-desktop-amd64.iso
-rw-r--r-- 1 root root 8.3G Mar 14 11:19 xubuntu-20.04.1-desktop-pers1.dat

/usb_stick/:
total 9.9G
drwxr-xr-x 2 root root 4.0K Jan  6  2021 ventoy
-rw-r--r-- 1 root root 1.6G Jul 31  2020 xubuntu-20.04.1-desktop-amd64.iso
-rw-r--r-- 1 root root 8.3G Mar 14 11:19 xubuntu-20.04.1-desktop-pers1.dat
[root@archlinux rocketmouse]# fdisk -l /dev/sdf
Disk /dev/sdf: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk model: Ultra Line     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: AFCB198E-B8F8-4389-961E-2FC8DB31FF46

Device        Start      End  Sectors Size Type
/dev/sdf1      2048 33615831 33613784  16G Linux filesystem
/dev/sdf2  33615832 33681367    65536  32M Microsoft basic data
[root@archlinux rocketmouse]# parted -l | grep Intenso -A8
Model: Intenso Ultra Line (scsi)
Disk /dev/sdf: 31.5GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start  End    Size    File system  Name    Flags
1      1049kB  17.2GB  17.2GB  ext4        Ventoy
2      17.2GB  17.2GB  33.6MB  fat16        VTOYEFI  hidden, msftdata
#### #### #### ####


Regards,
Ralf
Reply


Messages In This Thread
Migration from MBR to GPT fails - by ralf - 04-12-2023, 05:06 PM
RE: Migration from MBR to GPT fails - by ralf - 04-14-2023, 02:53 PM
RE: Migration from MBR to GPT fails - by ralf - 04-14-2023, 07:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)