Closed roc-eab closed 1 year ago
Interesting find. Some FastFileSystem formatting performance needs to be investigated and fixed.
I ran same commands with v0.9.255 and it took 10 seconds to format the 2nd 30gb data partition.
I'm using a 2TB NVME SSD disk with transfer rate at GB/S.
d:\hst-imager>hst.imager.exe blank WB3x.hdf 32GB
[13:24:43 INF] Hst Imager v0.9.255 (12/04/2022 19:55:39)
[13:24:43 INF] Henrik Noerfjand Stengaard
[13:24:43 INF] [CMD] blank WB3x.hdf 32GB
[13:24:44 INF] Creating blank image at 'WB3x.hdf'
[13:24:44 INF] Size '32 GB' (34359738368 bytes)
[13:24:44 INF] Done
d:\hst-imager>hst.imager.exe rdb init WB3x.hdf --size 99%
[13:24:44 INF] Hst Imager v0.9.255 (12/04/2022 19:55:39)
[13:24:44 INF] Henrik Noerfjand Stengaard
[13:24:44 INF] [CMD] rdb init WB3x.hdf --size 99%
[13:24:44 INF] Initializing Rigid Disk Block at 'WB3x.hdf'
[13:24:44 INF] Rigid Disk Block size '31.7 GB' (34015887360 bytes)
[13:24:44 INF] Done
d:\hst-imager>hst.imager.exe rdb fs import WB3x.hdf "d:\Temp\amiga os 3.2\ADF\Install3.2.adf" --name FastFileSystem --dos-type DOS7
[13:24:44 INF] Hst Imager v0.9.255 (12/04/2022 19:55:39)
[13:24:44 INF] Henrik Noerfjand Stengaard
[13:24:44 INF] [CMD] rdb fs import WB3x.hdf d:\Temp\amiga os 3.2\ADF\Install3.2.adf --name FastFileSystem --dos-type DOS7
[13:24:44 INF] Importing file systems from 'WB3x.hdf' to Rigid Disk Block at 'd:\Temp\amiga os 3.2\ADF\Install3.2.adf'
[13:24:44 INF] Imported file system:
[13:24:44 INF] - DOS type '0x444F5307' (DOS\7)
[13:24:44 INF] - Version '47.4'
[13:24:44 INF] - Size '29.8 KB' (30532 bytes)
[13:24:44 INF] - File system name 'FastFileSystem'
[13:24:44 INF] Done
d:\hst-imager>hst.imager.exe rdb part add WB3x.hdf DH0 DOS7 1GB --max-transfer 0x0001fe00 --mask 0x7ffffffe --buffers 80 --bootable --boot-priority 0
[13:24:45 INF] Hst Imager v0.9.255 (12/04/2022 19:55:39)
[13:24:45 INF] Henrik Noerfjand Stengaard
[13:24:45 INF] [CMD] rdb part add WB3x.hdf DH0 DOS7 1GB --max-transfer 0x0001fe00 --mask 0x7ffffffe --buffers 80 --bootable --boot-priority 0
[13:24:45 INF] Adding partition to Rigid Disk Block at 'WB3x.hdf'
[13:24:45 INF] - Partition number '1'
[13:24:45 INF] - Name 'DH0'
[13:24:45 INF] - DOS type 'DOS\7'
[13:24:45 INF] - Size '1023.8 MB' (1073479680 bytes)
[13:24:45 INF] - Low Cyl '2'
[13:24:45 INF] - High Cyl '2081'
[13:24:45 INF] - Reserved '2'
[13:24:45 INF] - PreAlloc '0'
[13:24:45 INF] - Buffers '80'
[13:24:45 INF] - Max Transfer '0x0001FE00' (130560)
[13:24:45 INF] - Mask '0x7FFFFFFE' (2147483646)
[13:24:45 INF] - Bootable 'True'
[13:24:45 INF] - Boot priority '0'
[13:24:45 INF] - No mount 'False'
[13:24:45 INF] - File System Block Size '512'
[13:24:45 INF] Done
d:\hst-imager>hst.imager.exe rdb part add WB3x.hdf DH1 DOS7 * --max-transfer 0x0001fe00 --mask 0x7ffffffe --buffers 80
[13:24:46 INF] Hst Imager v0.9.255 (12/04/2022 19:55:39)
[13:24:46 INF] Henrik Noerfjand Stengaard
[13:24:46 INF] [CMD] rdb part add WB3x.hdf DH1 DOS7 * --max-transfer 0x0001fe00 --mask 0x7ffffffe --buffers 80
[13:24:46 INF] Adding partition to Rigid Disk Block at 'WB3x.hdf'
[13:24:46 INF] - Partition number '2'
[13:24:46 INF] - Name 'DH1'
[13:24:46 INF] - DOS type 'DOS\7'
[13:24:46 INF] - Size '30.7 GB' (32941375488 bytes)
[13:24:46 INF] - Low Cyl '2082'
[13:24:46 INF] - High Cyl '65909'
[13:24:46 INF] - Reserved '2'
[13:24:46 INF] - PreAlloc '0'
[13:24:46 INF] - Buffers '80'
[13:24:46 INF] - Max Transfer '0x0001FE00' (130560)
[13:24:46 INF] - Mask '0x7FFFFFFE' (2147483646)
[13:24:46 INF] - Bootable 'False'
[13:24:46 INF] - Boot priority '0'
[13:24:46 INF] - No mount 'False'
[13:24:46 INF] - File System Block Size '512'
[13:24:46 INF] Done
d:\hst-imager>hst.imager.exe rdb part format WB3x.hdf 1 Workbench
[13:24:46 INF] Hst Imager v0.9.255 (12/04/2022 19:55:39)
[13:24:46 INF] Henrik Noerfjand Stengaard
[13:24:46 INF] [CMD] rdb part format WB3x.hdf 1 Workbench
[13:24:46 INF] Formatting partition in Rigid Disk Block at 'WB3x.hdf'
[13:24:46 INF] - Name 'DH0'
[13:24:46 INF] - DOS type '0x444F5307' (DOS\7)
[13:24:46 INF] - Volume name 'Workbench'
[13:24:47 INF] Done
d:\hst-imager>hst.imager.exe rdb part format WB3x.hdf 2 Data
[13:24:47 INF] Hst Imager v0.9.255 (12/04/2022 19:55:39)
[13:24:47 INF] Henrik Noerfjand Stengaard
[13:24:47 INF] [CMD] rdb part format WB3x.hdf 2 Data
[13:24:47 INF] Formatting partition in Rigid Disk Block at 'WB3x.hdf'
[13:24:47 INF] - Name 'DH1'
[13:24:47 INF] - DOS type '0x444F5307' (DOS\7)
[13:24:47 INF] - Volume name 'Data'
[13:24:57 INF] Done
d:\hst-imager>hst.imager.exe rdb info WB3x.hdf
[13:24:58 INF] Hst Imager v0.9.255 (12/04/2022 19:55:39)
[13:24:58 INF] Henrik Noerfjand Stengaard
[13:24:58 INF] [CMD] rdb info WB3x.hdf
[13:24:58 INF] Reading Rigid Disk Block information from 'WB3x.hdf'
[13:24:58 INF] Info read from 'WB3x.hdf':
Rigid Disk Block:
Product | Vendor | Revision | Size | Cylinders | Heads | Sectors | Block Size | Flags | Host Id | Rdb Block Lo | Rdb Block Hi
--------|----------|----------|---------|-----------|-------|---------|------------|-------|---------|--------------|-------------
WB3x | HstImage | 0.1 | 31.7 GB | 65910 | 16 | 63 | 512 | 7 | 7 | 0 | 2015
File systems:
# | DOS Type | Version | Name | Size
--|--------------------|---------|----------------|--------
1 | 0x444F5307 (DOS\7) | 47.4 | FastFileSystem | 29.8 KB
Partitions:
# | Name | Size | LowCyl | HighCyl | Reserved | PreAlloc | Block Size | Buffers | DOS Type | Max Transfer | Mask | Bootable | No Mount | Priority
--|------|-----------|--------|---------|----------|----------|------------|---------|--------------------|---------------------|-------------------------|----------|----------|---------
1 | DH0 | 1023.8 MB | 2 | 2081 | 2 | 0 | 512 | 80 | 0x444F5307 (DOS\7) | 0x0001FE00 (130560) | 0x7FFFFFFE (2147483646) | True | False | 0
2 | DH1 | 30.7 GB | 2082 | 65909 | 2 | 0 | 512 | 80 | 0x444F5307 (DOS\7) | 0x0001FE00 (130560) | 0x7FFFFFFE (2147483646) | False | False | 0
[13:24:58 INF] Done
You are fully right.
I normally run the hst.imager from a USB stick that should have been under a good sleep
It all works just fine. apologies for raising something not existing :-)
Although I am interested in PFS3 images, I have tested the DOS7 with the FFS 47.4
It works per-se, however it takes approx. 20 minutes to format a 31 GB Data partition.
Not an issue for me, but just wanted to inform:
[14:45:35 INF] Hst Imager v0.9.254 (12/02/2022 18:38:53) [14:45:35 INF] Henrik Noerfjand Stengaard [14:45:35 INF] [CMD] rdb part format WB3x.hdf 2 Data [14:45:36 INF] Formatting partition in Rigid Disk Block at 'WB3x.hdf' [14:45:36 INF] - Name 'DH1' [14:45:36 INF] - DOS type '0x444F5307' (DOS\7) [14:45:36 INF] - Volume name 'Data' [15:05:57 INF] Done
These are the commands:
hst.imager.exe blank WB3x.hdf 32GB hst.imager.exe rdb init WB3x.hdf --size 99% hst.imager.exe rdb fs add WB3x.hdf FFS_v474 DOS7 hst.imager.exe rdb part add WB3x.hdf DH0 DOS7 1GB --max-transfer 0x0001fe00 --mask 0x7ffffffe --buffers 80 --bootable --boot-priority 0 hst.imager.exe rdb part add WB3x.hdf DH1 DOS7 * --max-transfer 0x0001fe00 --mask 0x7ffffffe --buffers 80 hst.imager.exe rdb part format WB3x.hdf 1 Workbench hst.imager.exe rdb part format WB3x.hdf 2 Data hst.imager.exe rdb info WB3x.hdf