Author Topic: Creating an OS/2 image from HDD  (Read 10713 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4788
  • Karma: +99/-1
    • View Profile
Re: Creating an OS/2 image from HDD
« Reply #15 on: January 23, 2023, 01:57:32 am »
Another consideration with large partitions is chkdsk time if a full chkdsk is required, maybe not too bad with a SSD. When I purchased a 2TB USB drive for backup purposes, I created a 1.5 TB partition for backing up OS/2 including a lot of source files, chkdsk would fail due to lack of memory after I backed a bunch of stuff up.
Being USB, a hard crash or whatever meant a full chkdsk.
Which reminds me Dariusz, you posted a bunch of chkdsk flags earlier, could you repost them?

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1317
  • Karma: +26/-0
    • View Profile
Re: Creating an OS/2 image from HDD
« Reply #16 on: January 23, 2023, 05:20:01 am »
Hi Dave,

...Which reminds me Dariusz, you posted a bunch of chkdsk flags earlier, could you repost them?

here is what I have:

Code: [Select]
Check FS content
 
  Usage: chkdsk drive: [/A] [/B] [/C] [/D] [/F[:n]] [/O] [/P] [/V]
 
    /A      Enable autocheck mode (undocumented)
    /B      Perform LVM Bad Block List utility processing only
    /C      Process ifdirty after logredo
    /D      Enable debug mode (undocumented)
            all log messages written to stdout in english
    /F[:n]  Full check
            0 => read only (default)
            1 => prompt for permission for each repair
            2 => preen (default if n omitted)
            3 => Assume permission given for all repairs.
                 If exiting with clean file system, invoke LVM Bad Block
                 List utility processing on the way out.
            Note: :1 and :2 are converted to :3
    /O      Omit logredo (undocumented)
    /P      Enable pmchkdsk mode (undocumented)
    /V      Verbose messaging (ignored)
 
  Both / and - prefix supported
  Options are case-insenitive
 
  Called as
 
    chkdsk drive: /F /A [/C]
 
  for autocheck

TeLLie

  • Full Member
  • ***
  • Posts: 226
  • Karma: +11/-0
    • View Profile
Re: Creating an OS/2 image from HDD
« Reply #17 on: January 23, 2023, 07:34:57 pm »
Hi All,

I think it's from this where those flags coming from ;)

http://www.2rosenthals.net/wordpress/jfs-chkdsk-options-on-os2-1020/


Dave Yeo

  • Hero Member
  • *****
  • Posts: 4788
  • Karma: +99/-1
    • View Profile
Re: Creating an OS/2 image from HDD
« Reply #18 on: January 23, 2023, 10:54:34 pm »
Thanks for the list. Unluckily, I was hoping for a simple logredo option such as runs during boot for those cases where the system crashes etc with a USB HD plugged in as it takes forever to do a full chkdksk on the USB drive.
Quicker to boot to Linux and do a fsck where the default is logredo and takes a minute or so.

Pete

  • Hero Member
  • *****
  • Posts: 1281
  • Karma: +9/-0
    • View Profile
Re: Creating an OS/2 image from HDD
« Reply #19 on: January 24, 2023, 06:39:58 pm »
Hi Dave

If my system crashes with a USB drive attached I find it much quicker to power off (HD) or unplug (Flash) USB drive then reboot.
When booted I attach the USB drive, open a command window and chkdsk the USB drive while getting on with other things - such as writing this  :-)

Regards

Pete