Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Formatting an external drive using different interfaces


  • Please log in to reply
213 replies to this topic

#201
Dave-H

Dave-H

    MSFN Expert

  • MSFN Sponsor
  • 1,032 posts
  • Joined 04-January 06
  • OS:98SE
  • Country: Country Flag

I think it would be good if it worked faster as a result, but as everything it does is essential I assume, it would take the same time to run even if it was less verbose, so is there any advantage?

I would have thought that it's better if people can see that it's actually doing something, rather than having pauses with apparently nothing happening.

:)


Triple boot Windows 98SE SP2.1a, Windows XP Professional SP3 32 bit, and Windows 8.1 Pro 64 bit.
Dual 3.16GHz X5460 Quad Core Xeons with 8GB RAM. Dual graphics cards ATI Radeon X850 and Nvidia Geforce 210. 1920x1080 32 Bit Colour with Large Fonts.



How to remove advertisement from MSFN

#202
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,190 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

It's only about your note about the cmd windows in some cases closing without giving the opportunity to review the full output, if we make the whole output, even in the "most complex" case, including the "removing of current letter assignment" fit into the "standard" 25 lines that issue is solved.
 
What do you mean by "pauses", at least in Windows XP it seems to me like a "normal" speed, with a line of text output every fraction of a second, exception made for the Diskpart RESCAN, which is however "advertised" by the Diskpart output itself:

Please wait while DiskPart scans your configuration...

 
I mean, if we take one of the last output you posted as a base and number the lines:

I:\>switcherda
1- Vista :ph34r:, or later, ... 
2- OK, I am a local admin ...
3- "DUAL" disk found as \\.\PHYSICALDRIVE5
4-
5-Disk is connected as 4096 bytes/sector
6-
7-NTFS volume found as \\.\Volume{e308684d-bc26-11e4-bfa7-00304879f908}, drive J:
8-
9-* Volume 9 J RAW Partition 931 GB Healthy
10-Removing drive letter J: ...
11-
12-The current NTFS bootsector is NOT the 4kb bytes one
13-switching it ...
14-dsfi \\.\Volume{e308684d-bc26-11e4-bfa7-00304879f908} 0 4096 as4kbNTFS.bss
15-OK, written 4096 bytes at offset 0
16-Please wait while DiskPart scans your configuration...
17-Leaving DiskPart...
18-* Volume 9 New Volume NTFS Partition 931 GB Healthy
19-
20-Mounting the volume to a drive letter...
21-Checking drive letters ...
22-In use: C: D: E: F: G: H: I: S: W:
23-Free : J: K: L: M: N: O: P: Q: R: T: U: V: X: Y: Z:
24-
25-Mounting volume to first free drive letter J: ...
26-OK, done:
27-* Volume 9 J New Volume NTFS Partition 931 GB Healthy
28-Press any key to continue . . .

As I see it, 1 and 2 can be removed without any particular  problem, we could make 12 and 13 a single line and add an empty line after them and remove line 14, and we could as well make lines 20 and 21 a single line and remove line 26.
The output would become:
 

I:\>switcherda
1- "DUAL" disk found as \\.\PHYSICALDRIVE5
2-
3-Disk is connected as 4096 bytes/sector
4-
5-NTFS volume found as \\.\Volume{e308684d-bc26-11e4-bfa7-00304879f908}, drive J:
6-
7-* Volume 9 J RAW Partition 931 GB Healthy
8-Removing drive letter J: ...
9-
10-The current NTFS bootsector is NOT the 4kb bytes one, switching it ...
11-
12-OK, written 4096 bytes at offset 0
13-
14-Please wait while DiskPart scans your configuration...
15-Leaving DiskPart...
16-* Volume 9 New Volume NTFS Partition 931 GB Healthy
17-
18-Mounting the volume to a drive letter, checking drive letters ...
19-In use: C: D: E: F: G: H: I: S: W:
20-Free : J: K: L: M: N: O: P: Q: R: T: U: V: X: Y: Z:
21-
22-Mounting volume to first free drive letter J: ...
23-* Volume 9 J New Volume NTFS Partition 931 GB Healthy
24-Press any key to continue . . .

 

jaclaz



#203
Dave-H

Dave-H

    MSFN Expert

  • MSFN Sponsor
  • 1,032 posts
  • Joined 04-January 06
  • OS:98SE
  • Country: Country Flag

The only place there seems to be a bit of an unexplained pause now is after "OK, written 4096 bytes at offset 0".

Not really a problem though, it is quite short.

I assume this is where DISKPART is being run.

The shorter the output the better I agree.

:)


Triple boot Windows 98SE SP2.1a, Windows XP Professional SP3 32 bit, and Windows 8.1 Pro 64 bit.
Dual 3.16GHz X5460 Quad Core Xeons with 8GB RAM. Dual graphics cards ATI Radeon X850 and Nvidia Geforce 210. 1920x1080 32 Bit Colour with Large Fonts.


#204
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,190 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

The only place there seems to be a bit of an unexplained pause now is after "OK, written 4096 bytes at offset 0".

Not really a problem though, it is quite short.

I assume this is where DISKPART is being run.

The shorter the output the better I agree.

:)

Actually the "pause" should be after:

Please wait while DiskPart scans your configuration...

 

not that much to be assumed :whistle:.

 

Try the attached 011 version :), I "joined" a few lines of info and introduced some empty lines to (hopefully) better highlight what is being done.

 

jaclaz

 

EDIT: Removed, see a few posts below.


Edited by jaclaz, 01 March 2015 - 10:26 AM.


#205
Dave-H

Dave-H

    MSFN Expert

  • MSFN Sponsor
  • 1,032 posts
  • Joined 04-January 06
  • OS:98SE
  • Country: Country Flag

Yes, that's good, as the whole output now fits in the window without scrolling.

There is a definite pause after "OK, written 4096 bytes at offset 0" before "Please wait while DiskPart scans your configuration..." comes up.

It's about 10 seconds when going from 512 to 4096, and about 6 seconds when going from 4096 to 512.

I've only tried in on XP as that's what I happen to be running at the moment.

:)


Triple boot Windows 98SE SP2.1a, Windows XP Professional SP3 32 bit, and Windows 8.1 Pro 64 bit.
Dual 3.16GHz X5460 Quad Core Xeons with 8GB RAM. Dual graphics cards ATI Radeon X850 and Nvidia Geforce 210. 1920x1080 32 Bit Colour with Large Fonts.


#206
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,190 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Yes, that's good, as the whole output now fits in the window without scrolling.

Good. :)
 

There is a definite pause after "OK, written 4096 bytes at offset 0" before "Please wait while DiskPart scans your configuration..." comes up.
It's about 10 seconds when going from 512 to 4096, and about 6 seconds when going from 4096 to 512.
I've only tried in on XP as that's what I happen to be running at the moment.
:)

That is "queer". :unsure:

I have no such a pause on my machine. :no: there is a slight, maybe 1/3 of a second delay before the "Please wait while DiskPart ..." line appears.

How long does it take on your machine to start Diskpart from command line?
And if you start it from command line, and you input the "rescan" command how long does it take for the "Please wait while DiskPart ..." line to appear?

The attached .gif shows what happens here.

jaclaz

Attached Files



#207
Dave-H

Dave-H

    MSFN Expert

  • MSFN Sponsor
  • 1,032 posts
  • Joined 04-January 06
  • OS:98SE
  • Country: Country Flag

Hmm, mine's nowhere near as quick as that!

:o

Running diskpart from the command prompt it goes to the diskpart prompt almost immediately.

On running "rescan" there is about a four second pause before the next output appears, but only the first time it's run.

If rescan is run again it's instant, the pause only re-appears if diskpart is closed and run again.

:)


Triple boot Windows 98SE SP2.1a, Windows XP Professional SP3 32 bit, and Windows 8.1 Pro 64 bit.
Dual 3.16GHz X5460 Quad Core Xeons with 8GB RAM. Dual graphics cards ATI Radeon X850 and Nvidia Geforce 210. 1920x1080 32 Bit Colour with Large Fonts.


#208
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,190 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Maybe it is due to the USB connected disk (or to some other disk connected with a "slowish" BUS/interface) :unsure:, I am using a Virtual Disk, so it is probably as fast as the (SATA) drive on which the image is hosted.

 

I can do nothing to speed up that, I believe.

 

Try the attached (no version number change), at least it provides a more meaningful message.

 

jaclaz

 

 

Attached Files



#209
Dave-H

Dave-H

    MSFN Expert

  • MSFN Sponsor
  • 1,032 posts
  • Joined 04-January 06
  • OS:98SE
  • Country: Country Flag

Yes, that's good!

It is strange that the pause is a lot longer going from 512 to 4096 than is is going the other way.

Anyway, it doesn't matter, and the output does now tell you that there's going to be a pause, so that's fine.

:)


Triple boot Windows 98SE SP2.1a, Windows XP Professional SP3 32 bit, and Windows 8.1 Pro 64 bit.
Dual 3.16GHz X5460 Quad Core Xeons with 8GB RAM. Dual graphics cards ATI Radeon X850 and Nvidia Geforce 210. 1920x1080 32 Bit Colour with Large Fonts.


#210
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,190 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Yes, that's good!

It is strange that the pause is a lot longer going from 512 to 4096 than is is going the other way.

Anyway, it doesn't matter, and the output does now tell you that there's going to be a pause, so that's fine.

:)

Good :), then I would call it a day and call the 011 version "RTM" ;).

What about the Readme.txt?

Any ideas/suggestions for it?

Find attached the tentative "release" version.

 

jaclaz

Attached Files



#211
Dave-H

Dave-H

    MSFN Expert

  • MSFN Sponsor
  • 1,032 posts
  • Joined 04-January 06
  • OS:98SE
  • Country: Country Flag

The only thing I saw immediately is that the readme still refers to "mkdualmode.cmd" in a number of places, which should be "mkdualdisk.cmd" of course!

:)


Triple boot Windows 98SE SP2.1a, Windows XP Professional SP3 32 bit, and Windows 8.1 Pro 64 bit.
Dual 3.16GHz X5460 Quad Core Xeons with 8GB RAM. Dual graphics cards ATI Radeon X850 and Nvidia Geforce 210. 1920x1080 32 Bit Colour with Large Fonts.


#212
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,190 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

The only thing I saw immediately is that the readme still refers to "mkdualmode.cmd" in a number of places, which should be "mkdualdisk.cmd" of course!

:)

Good catch :thumbup

 

See also if you find anything else not easily understandable or that could be however explained better (or in better English), please.

 

jaclaz



#213
Dave-H

Dave-H

    MSFN Expert

  • MSFN Sponsor
  • 1,032 posts
  • Joined 04-January 06
  • OS:98SE
  • Country: Country Flag

OK, I've been through it and here are my suggested changes.

 

The changes are marked in red so you can see what I've altered, and because of that I've converted it to a Word document, which I hope you can read OK.

 

Attached File  ReadMe.doc   27KB   2 downloads

:)

 

 


Triple boot Windows 98SE SP2.1a, Windows XP Professional SP3 32 bit, and Windows 8.1 Pro 64 bit.
Dual 3.16GHz X5460 Quad Core Xeons with 8GB RAM. Dual graphics cards ATI Radeon X850 and Nvidia Geforce 210. 1920x1080 32 Bit Colour with Large Fonts.


#214
jaclaz

jaclaz

    The Finder

  • Developer
  • 15,190 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

Thanks :).

 

jaclaz






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users