A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Hardware and Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Hot Swapping a SATA drive in Windows 2000 and XP.



 
 
Thread Tools Display Modes
  #16  
Old September 5th 04, 10:18 AM
Nathan McNulty
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

Instead of aiming for setting it as Optimize for Quick Removal, are you
able to simply uncheck Use Write Caching?

----
Nathan McNulty


Chris S wrote:
Just to clarify 'what the original issue is/was', as Len asked ... my
goal is to attach SATA drives to my system and use them as removable
storage in the same manner, conceptually, as I use my current USB2
extrernal drives - I want to be able to plug, and unplug, the drives
without rebooting the OS.

To do this, one has to worry about 'write caching', because hard
drives that are NOT designated as removable are typically going to
have their data cached. The various settings Nathan refers to
('optimize for quick removal', etc) on the 'policies' tab are for this
purpose. Well, with my SATA drives, attached to either an Adaptec
(Silicon Image chipset) or Maxtor (Promise chipset) sata PCI card, I
don't get those options enabled, even after formatting FAT32.

Further, I did several tests. I created a small file (test.txt) on
the SATA drive, then powered it down; windows XP did not complain;
drive letter disappeared happily; powered up; drive letter
re-appeared; file not there. Another test - I copied a folder with
333 files in it; verified the 333 files were there on the target (by
doing a 'properties' on the folder); powered down the disk; no
complaints by Windows; powered up the disk; only about 87 files were
on the disk.

I repeated the above tests, but this time, I shut down the system
'gracefully', and restarted. In this set of tests, the files/data
were all present.

The essence of the problem seems to be that I cannot control
write-caching with my external sata drives.

If I must, I will simply reboot my systems each time, but that really
blows my strategy of using SATA is a removable backup medium.

Thanks!

On Sat, 4 Sep 2004 04:25:24 -0400, "Len" wrote:


Hi Nathan,

I think I read on one of these posts that you have the ASUS P4P800 - I have
the Deluxe version of the same board. If you have that version with the VIA
RAID controller and attach a drive to that controller it will be seen as a
SCSI drive.

The SATA on our board is controlled by the ICHR5 controller which is the
Primary IDE as well. Drives attached to that controller are not seen as
SCSI as they are operating on the same BUS and BIOS as the IDE drives. If
you connect SATA Raid I'm not 100% sure but believe that the RAID array will
also be seen as standard drives not SCSI. I do not have SATA RAID running
at this time.

FWIW, Len



"Nathan McNulty" wrote in message
...

And I have two PCI devices. A SoundBlaster 2 Audigy ZS Platinum and an
ATI eHome Wonder TV Tuner. All of my drives are connected onboard. This
is why I am having a difficulty figuring out what is going on

----
Nathan McNulty


Len wrote:

Have been watching this thread for several days... just not sure what the
problem/question is? It is not XP (or any OS for that matter to my
knowledge) that designates add-on cards as SCSI but rather the system
BIOS.

This has been the way of things since I can recall! On many motherboards
to this day if you choose to boot from a HD (IDE or SATA) which is
attached to an add-on controler you must choose "SCSI" as the boot drive
option.

More modern MBs may have cleaned up the grammer but if the drive is not
running on the on-board IDE controler you can almost be assured that when
drive info is passed to the OS the drive has already been designated as
"SCSI".

BTW, drives attached to the built-in promise controller will most
probably be designated as "SCSI" as well.

FWIW,
Len

"Chris S" wrote in message
m...


Well, it seems that 'add-in cards' are treated differently. In this
thread (http://www.techsupportforum.com/showthread.php?t=12439)
someone says '...Remember that Windows calls every add-on controller a
"SCSI" controller... it's an archaic leftover which will probably be
corrected someday.'

My Maxtor SATA/150 card installation manual says, in the section on
Confirm Driver Installation, "...Click Device Manager ... ; Click the
'+' in front of SCSI Controllers. 'WinXP Maxtor SATA/150 PCI Card'
should appear" - so clearly, they expect their driver to show up as a
SCSI device.

Given that the devices are treated as SCSI, it's somewhat logical that
their attached devices will be treated as SCSI too. So I don't think
I'm going to get far with my PCI Card SATA controllers (in terms of
removable storage), do you?!!

So I will see what I can do with my built-in promise controller; I
abandoned it because it didn't pass SMART info (which I need for
various reasons), but maybe with all the latest chipset drivers and
such, it will be usable and may show up as a non-SCSI device, and thus
allow me to better configure the 'removability' aspect.

But this still kinda blows my original strategy of having SATA cards
in all my computers, and using SATA drives the same way I currently
use USB2 drives - which really sucks!

On Fri, 03 Sep 2004 12:04:03 -0700, Nathan McNulty
wrote:



First, my SATA controller is onboard since I have an ASUS P4P800
Motherboard. I don't see anything listed as SATA or SCSI, but I do see
Intel(R) 82801EB Ultra ATA Storage Controllers and my drive is showing
under the second Primary IDE Channel. When I open the properties of the
drive for my internal, I am offered to uncheck Write Behind Caching, but
that is it. For my external, it offers whatever I want.

Try installing these chipset drivers and see if they help:
http://www.guru3d.com/newsitem.php?id=1671

You may have an old version of the drivers that don't fully support SATA
Storage. Also, you can try Intel Application Accelerator to make
changes to your drive instead of Windows. You can get that he
ftp://aiedownload.intel.com/df-suppo.../iaa23_enu.exe

----
Nathan McNulty

Chris S wrote:


OK, good - so SCSI is the clue here. The funny thing is ... I have
two computers at home and one at work that I'm setting up in this
manner, different mobo brands, different OSs, different SATA cards,
etc and they are all showing up with SCSI controllers.

So please tell me, Nathan: in device manager, on your system, where
DOES the SATA controller show up - what label, etc? Knowing that
would help!

At home, I have an Asus P4PE and an Asus P4B533, both with Win 2K.
Had 'latest' chipset drivers as of a year ago, but I'll check again.
One has a built-in Promise Fastrack SATA controller which I quit using
because it didn't pass SMART info.

At work, I have a Dell Dimension, very new (3.4 GHz), no idea about
chipset drivers but I'll see what I can download from dell. This is
Win XP Pro.

The home machines have the Adaptec/Silicon Image SATA card, and the
work machine has the Maxtor/Promise SATA card.

In device manager, the SATA cards show up under the heading of 'SCSI
and RAID controlllers' - on all three machines, two different OS's,
two SATA card brands!

So knowing what I 'should' see in device manager will give me
something to aim for!

Thanks!

On Fri, 03 Sep 2004 01:17:35 -0700, Nathan McNulty
wrote:




Things showing up as SCSI is just odd. I have nothing like this on my
system. I would go into Device Manager (Start-Run-devmgmt.msc) and
remove these devices. Install the latest chipset drivers and reboot.
If after installing the latest chipset drivers and a clean
configuration
of the drives it doesn't work, I would try a fresh install of XP as a
last resort if possible.

----
Nathan McNulty


Chris S wrote:



Well, I'm stumped. I just took an old 10 gig maxtor drive (ata) and
put it in my SATA enclosure (which does pata/sata conversion). The
drive shows up no problem. I formatted it as FAT32, but still, the
two 'optimize' options on the 'policies' button are grayed out.

This is somewhat consistent with my other tests, which have included
'native' SATA drives (though I can't afford to re-format the 'real'
sata drive at the moment).

I even took my USB memory stick, and was able to format it as NTFS,
and it still had the two 'optimize' options available on the
'policies' tab, so NTFS/FAT don't appear to be the deciding factor
here.

The essence of the problem seems to be that my two SATA cards (one
Adaptec/Silicon Image card, one Maxtor/Promise card) present
themselves as SCSI adapters, and thus, disks connected to them are
treated as SCSI disks.

Do your SATA adapters and associated drives show up as SCSI devices?

The only other variables I can think of are the specific settings in
the 'disk management' applet; I could make it 'basic' or 'dynamic'
(I've chosen both at various times, seems to make no difference),
primary or extended (think I've tried both);

I just spent $150 on a bunch of 6 foot external SATA cables, and
internal sata connector posts (to provide 'female' sata connectors on
back of computer) so I'd like to proceed with this, but at this point
I'm running out of ideas!

Thanks!

On Thu, 02 Sep 2004 00:06:05 -0700, Nathan McNulty
wrote:





I will try to help as best as I can. I believe you need to have the
drive formatted as FAT32 to use Optimize for Quick Removal. This is
simply what I choose to use for my SATA drive. I would update the
chipset drivers, format the drive again, and then set the options
right
there. XP will not format FAT32 larger than 32GB unless you use
something different to format it. I simply connected the drive
internally and used a Windows 98 Bootdisk. Your method may vary

----
Nathan McNulty


Chris S wrote:




And still more info ... I just plugged my SATA drive into my XP Pro
office computer (my home computer mentioned below is Windows 2000),
which has a Maxtor SATA/150 PCI Card (which is a promise device
under
the covers). Going to the properties of the drive in this
configuration, I do see a 'policies' tab, but when I select it, the
two 'optimize...' options are grayed out, and the 'Optimize for
performance' is the option selected. So I can't change it to
'optimze
for quick removal' ....

Stranger and stranger ...


On Wed, 01 Sep 2004 21:44:24 GMT, Chris S

wrote:






Well, the plot thickens, as they say ... on my home system, when I
plug in my SATA drive, and go to it's properties (the same place
where
I saw 'policies' on the USB drive below), I only see 'Disk
Properties'
and 'SCSI Properties'. On the 'Disk Properties' tab, there is one
option - Write Cache enabled; it's grayed out and unchecked. On
the
'SCSI Properties', there are two options: 'Disable tagged
queueing'
and 'Disable synchronous transfers'. Both are available (i.e.,
not
grayed out), and bot are not checked.

So the bottom line is, I don't have the 'policies' tab in the
first
place, which is where you are going to set the various
optimization
choices. How come my SATA drives are being treated as 'SCSI',
while
yours are not? Is that the root cause here?

My controller is an Adaptec 'SATA Connect' card, which shows up,
under
device manager, as a SCSI device 'Adaptec Serial ATA 1205SA Host
Controller', and it's control panel applet says it's a Sil 3112
Rev 2
device.

Thanks!

On Wed, 01 Sep 2004 09:31:29 -0700, Chris S

wrote:






Thanks Nathan. Is the setting of FAT32 a pre-condition to
getting the
'Optimize for Quick Removal', or am I formatting as FAT32 for
another
reason? I don't believe I have any compelling reason to go with
NTFS
with these particular drives so if that's the trick, I'll
certainly go
with it.

I just popped in a USB memory stick, and went to the 'policies'
tab,
and the two choices/explanations are as follows:
1) "Optimize for Quick Removal - This setting disables write
caching
on the disk and in Windows, so you can disconnect this device
without
using the Safe Removal icon"
2) "Optimize for performance - This setting enables write caching
in
Windows to improve disk performance. To disconnect this device
from
the computer, click the 'Safely Remove Hardware' icon in the
taskbar
notification area".

So ... this suggests it's perfectly OK to go with either option,
it's
just that, if you choose 'performance', you need to 'safely
remove'
the device first. Is the very appearance of that 'safely remove
hardware' icon in the taskbar restricted to FAT32 devices?

I'll go home and play with this for a while and report back ...
thanks!





On Wed, 01 Sep 2004 00:01:30 -0700, Nathan McNulty

wrote:






You have a couple of options. First would be to format the
drive as
FAT32, which you may or may not want to do. Second, you will
need to
change the way the device is set up. Connect the device, open
Device
Manager, double click on the hard drive in question, click the
Policies
Tab, then set it to Optimize for Quick Removal. I use FAT32 on
my
removeable SATA drives and set them to Optimize for Quick
Removal, but
you may be able to do it differently.

----
Nathan McNulty


Chris S wrote:





SATA drives are theoretically hot swappable; the power and data
connectors are designed for 'hot' removal, with ground wires
connecting first, and the interface is designed to deal with
the
various surge issues - this is well known.

I've used several USB 2.0 external drives, and before you
remove them,
you are supposed to 'stop' them; presumably to flush any
delayed
writes that may be in progress, etc.

But when I plug in a SATA drive, it does not show up as a
device to be
'safely removed' in the 'Safely Remove Hardware' applet that
shows up
if I plug in a USB device.

I've done some tests; when I plug in a SATA drive (a data
drive,
obviously, not a boot drive), a new hard drive shows up, no
problem.
I can read and write to this drive, no problem. And if I
unplug it,
or power it down, the drive letter simply disappears - no error
messages or warnings whatsoever. All sounds good.

HOWEVER, I could not find a file that I had written to the
drive.
This has all the markings of a write-cached file not being
written to
the device. So it occurred to me that, somehow, I should be
able to
'stop', or 'dismount', or otherwise 'software disconnect' this
drive
before I actually remove it. But the only relevant option I
can find
for the device is to disable write caching - is that what I
should be
doing? I'd rather not do that as it will generally slow down
performance, but if it is the only way to guarantee data
integrity,
that's what I'll do.

I've seen posts from others that indicate this is a regular
practice,
so I just wondered, how do I guarantee my files have been
'flushed'
before removing the drive?

Thanks!
For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

===========
Remove 'nospam' from email to reply - Thanks


For email, send to chris at panties domain dot com, Remove panties
and replace domain with attbi.


For email, send to chris at panties domain dot com, Remove panties
and replace domain with attbi.


===========
Remove 'nospam' from email to reply - Thanks

For email, send to chris at panties domain dot com, Remove panties and
replace domain with attbi.



===========
Remove 'nospam' from email to reply - Thanks

Ads
  #17  
Old September 6th 04, 10:02 PM
Chris S
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the 'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab, I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options.

Thanks !

On Sun, 05 Sep 2004 02:18:23 -0700, Nathan McNulty
wrote:

Instead of aiming for setting it as Optimize for Quick Removal, are you
able to simply uncheck Use Write Caching?

----
Nathan McNulty


Chris S wrote:
Just to clarify 'what the original issue is/was', as Len asked ... my
goal is to attach SATA drives to my system and use them as removable
storage in the same manner, conceptually, as I use my current USB2
extrernal drives - I want to be able to plug, and unplug, the drives
without rebooting the OS.

To do this, one has to worry about 'write caching', because hard
drives that are NOT designated as removable are typically going to
have their data cached. The various settings Nathan refers to
('optimize for quick removal', etc) on the 'policies' tab are for this
purpose. Well, with my SATA drives, attached to either an Adaptec
(Silicon Image chipset) or Maxtor (Promise chipset) sata PCI card, I
don't get those options enabled, even after formatting FAT32.

Further, I did several tests. I created a small file (test.txt) on
the SATA drive, then powered it down; windows XP did not complain;
drive letter disappeared happily; powered up; drive letter
re-appeared; file not there. Another test - I copied a folder with
333 files in it; verified the 333 files were there on the target (by
doing a 'properties' on the folder); powered down the disk; no
complaints by Windows; powered up the disk; only about 87 files were
on the disk.

I repeated the above tests, but this time, I shut down the system
'gracefully', and restarted. In this set of tests, the files/data
were all present.

The essence of the problem seems to be that I cannot control
write-caching with my external sata drives.

If I must, I will simply reboot my systems each time, but that really
blows my strategy of using SATA is a removable backup medium.

Thanks!

On Sat, 4 Sep 2004 04:25:24 -0400, "Len" wrote:


Hi Nathan,

I think I read on one of these posts that you have the ASUS P4P800 - I have
the Deluxe version of the same board. If you have that version with the VIA
RAID controller and attach a drive to that controller it will be seen as a
SCSI drive.

The SATA on our board is controlled by the ICHR5 controller which is the
Primary IDE as well. Drives attached to that controller are not seen as
SCSI as they are operating on the same BUS and BIOS as the IDE drives. If
you connect SATA Raid I'm not 100% sure but believe that the RAID array will
also be seen as standard drives not SCSI. I do not have SATA RAID running
at this time.

FWIW, Len



"Nathan McNulty" wrote in message
...

And I have two PCI devices. A SoundBlaster 2 Audigy ZS Platinum and an
ATI eHome Wonder TV Tuner. All of my drives are connected onboard. This
is why I am having a difficulty figuring out what is going on

----
Nathan McNulty


Len wrote:

Have been watching this thread for several days... just not sure what the
problem/question is? It is not XP (or any OS for that matter to my
knowledge) that designates add-on cards as SCSI but rather the system
BIOS.

This has been the way of things since I can recall! On many motherboards
to this day if you choose to boot from a HD (IDE or SATA) which is
attached to an add-on controler you must choose "SCSI" as the boot drive
option.

More modern MBs may have cleaned up the grammer but if the drive is not
running on the on-board IDE controler you can almost be assured that when
drive info is passed to the OS the drive has already been designated as
"SCSI".

BTW, drives attached to the built-in promise controller will most
probably be designated as "SCSI" as well.

FWIW,
Len

"Chris S" wrote in message
om...


Well, it seems that 'add-in cards' are treated differently. In this
thread (http://www.techsupportforum.com/showthread.php?t=12439)
someone says '...Remember that Windows calls every add-on controller a
"SCSI" controller... it's an archaic leftover which will probably be
corrected someday.'

My Maxtor SATA/150 card installation manual says, in the section on
Confirm Driver Installation, "...Click Device Manager ... ; Click the
'+' in front of SCSI Controllers. 'WinXP Maxtor SATA/150 PCI Card'
should appear" - so clearly, they expect their driver to show up as a
SCSI device.

Given that the devices are treated as SCSI, it's somewhat logical that
their attached devices will be treated as SCSI too. So I don't think
I'm going to get far with my PCI Card SATA controllers (in terms of
removable storage), do you?!!

So I will see what I can do with my built-in promise controller; I
abandoned it because it didn't pass SMART info (which I need for
various reasons), but maybe with all the latest chipset drivers and
such, it will be usable and may show up as a non-SCSI device, and thus
allow me to better configure the 'removability' aspect.

But this still kinda blows my original strategy of having SATA cards
in all my computers, and using SATA drives the same way I currently
use USB2 drives - which really sucks!

On Fri, 03 Sep 2004 12:04:03 -0700, Nathan McNulty
wrote:



First, my SATA controller is onboard since I have an ASUS P4P800
Motherboard. I don't see anything listed as SATA or SCSI, but I do see
Intel(R) 82801EB Ultra ATA Storage Controllers and my drive is showing
under the second Primary IDE Channel. When I open the properties of the
drive for my internal, I am offered to uncheck Write Behind Caching, but
that is it. For my external, it offers whatever I want.

Try installing these chipset drivers and see if they help:
http://www.guru3d.com/newsitem.php?id=1671

You may have an old version of the drivers that don't fully support SATA
Storage. Also, you can try Intel Application Accelerator to make
changes to your drive instead of Windows. You can get that he
ftp://aiedownload.intel.com/df-suppo.../iaa23_enu.exe

----
Nathan McNulty

Chris S wrote:


OK, good - so SCSI is the clue here. The funny thing is ... I have
two computers at home and one at work that I'm setting up in this
manner, different mobo brands, different OSs, different SATA cards,
etc and they are all showing up with SCSI controllers.

So please tell me, Nathan: in device manager, on your system, where
DOES the SATA controller show up - what label, etc? Knowing that
would help!

At home, I have an Asus P4PE and an Asus P4B533, both with Win 2K.
Had 'latest' chipset drivers as of a year ago, but I'll check again.
One has a built-in Promise Fastrack SATA controller which I quit using
because it didn't pass SMART info.

At work, I have a Dell Dimension, very new (3.4 GHz), no idea about
chipset drivers but I'll see what I can download from dell. This is
Win XP Pro.

The home machines have the Adaptec/Silicon Image SATA card, and the
work machine has the Maxtor/Promise SATA card.

In device manager, the SATA cards show up under the heading of 'SCSI
and RAID controlllers' - on all three machines, two different OS's,
two SATA card brands!

So knowing what I 'should' see in device manager will give me
something to aim for!

Thanks!

On Fri, 03 Sep 2004 01:17:35 -0700, Nathan McNulty
wrote:




Things showing up as SCSI is just odd. I have nothing like this on my
system. I would go into Device Manager (Start-Run-devmgmt.msc) and
remove these devices. Install the latest chipset drivers and reboot.
If after installing the latest chipset drivers and a clean
configuration
of the drives it doesn't work, I would try a fresh install of XP as a
last resort if possible.

----
Nathan McNulty


Chris S wrote:



Well, I'm stumped. I just took an old 10 gig maxtor drive (ata) and
put it in my SATA enclosure (which does pata/sata conversion). The
drive shows up no problem. I formatted it as FAT32, but still, the
two 'optimize' options on the 'policies' button are grayed out.

This is somewhat consistent with my other tests, which have included
'native' SATA drives (though I can't afford to re-format the 'real'
sata drive at the moment).

I even took my USB memory stick, and was able to format it as NTFS,
and it still had the two 'optimize' options available on the
'policies' tab, so NTFS/FAT don't appear to be the deciding factor
here.

The essence of the problem seems to be that my two SATA cards (one
Adaptec/Silicon Image card, one Maxtor/Promise card) present
themselves as SCSI adapters, and thus, disks connected to them are
treated as SCSI disks.

Do your SATA adapters and associated drives show up as SCSI devices?

The only other variables I can think of are the specific settings in
the 'disk management' applet; I could make it 'basic' or 'dynamic'
(I've chosen both at various times, seems to make no difference),
primary or extended (think I've tried both);

I just spent $150 on a bunch of 6 foot external SATA cables, and
internal sata connector posts (to provide 'female' sata connectors on
back of computer) so I'd like to proceed with this, but at this point
I'm running out of ideas!

Thanks!

On Thu, 02 Sep 2004 00:06:05 -0700, Nathan McNulty
wrote:





I will try to help as best as I can. I believe you need to have the
drive formatted as FAT32 to use Optimize for Quick Removal. This is
simply what I choose to use for my SATA drive. I would update the
chipset drivers, format the drive again, and then set the options
right
there. XP will not format FAT32 larger than 32GB unless you use
something different to format it. I simply connected the drive
internally and used a Windows 98 Bootdisk. Your method may vary

----
Nathan McNulty


Chris S wrote:




And still more info ... I just plugged my SATA drive into my XP Pro
office computer (my home computer mentioned below is Windows 2000),
which has a Maxtor SATA/150 PCI Card (which is a promise device
under
the covers). Going to the properties of the drive in this
configuration, I do see a 'policies' tab, but when I select it, the
two 'optimize...' options are grayed out, and the 'Optimize for
performance' is the option selected. So I can't change it to
'optimze
for quick removal' ....

Stranger and stranger ...


On Wed, 01 Sep 2004 21:44:24 GMT, Chris S

wrote:






Well, the plot thickens, as they say ... on my home system, when I
plug in my SATA drive, and go to it's properties (the same place
where
I saw 'policies' on the USB drive below), I only see 'Disk
Properties'
and 'SCSI Properties'. On the 'Disk Properties' tab, there is one
option - Write Cache enabled; it's grayed out and unchecked. On
the
'SCSI Properties', there are two options: 'Disable tagged
queueing'
and 'Disable synchronous transfers'. Both are available (i.e.,
not
grayed out), and bot are not checked.

So the bottom line is, I don't have the 'policies' tab in the
first
place, which is where you are going to set the various
optimization
choices. How come my SATA drives are being treated as 'SCSI',
while
yours are not? Is that the root cause here?

My controller is an Adaptec 'SATA Connect' card, which shows up,
under
device manager, as a SCSI device 'Adaptec Serial ATA 1205SA Host
Controller', and it's control panel applet says it's a Sil 3112
Rev 2
device.

Thanks!

On Wed, 01 Sep 2004 09:31:29 -0700, Chris S

wrote:






Thanks Nathan. Is the setting of FAT32 a pre-condition to
getting the
'Optimize for Quick Removal', or am I formatting as FAT32 for
another
reason? I don't believe I have any compelling reason to go with
NTFS
with these particular drives so if that's the trick, I'll
certainly go
with it.

I just popped in a USB memory stick, and went to the 'policies'
tab,
and the two choices/explanations are as follows:
1) "Optimize for Quick Removal - This setting disables write
caching
on the disk and in Windows, so you can disconnect this device
without
using the Safe Removal icon"
2) "Optimize for performance - This setting enables write caching
in
Windows to improve disk performance. To disconnect this device
from
the computer, click the 'Safely Remove Hardware' icon in the
taskbar
notification area".

So ... this suggests it's perfectly OK to go with either option,
it's
just that, if you choose 'performance', you need to 'safely
remove'
the device first. Is the very appearance of that 'safely remove
hardware' icon in the taskbar restricted to FAT32 devices?

I'll go home and play with this for a while and report back ...
thanks!





On Wed, 01 Sep 2004 00:01:30 -0700, Nathan McNulty

wrote:






You have a couple of options. First would be to format the
drive as
FAT32, which you may or may not want to do. Second, you will
need to
change the way the device is set up. Connect the device, open
Device
Manager, double click on the hard drive in question, click the
Policies
Tab, then set it to Optimize for Quick Removal. I use FAT32 on
my
removeable SATA drives and set them to Optimize for Quick
Removal, but
you may be able to do it differently.

----
Nathan McNulty


Chris S wrote:





SATA drives are theoretically hot swappable; the power and data
connectors are designed for 'hot' removal, with ground wires
connecting first, and the interface is designed to deal with
the
various surge issues - this is well known.

I've used several USB 2.0 external drives, and before you
remove them,
you are supposed to 'stop' them; presumably to flush any
delayed
writes that may be in progress, etc.

But when I plug in a SATA drive, it does not show up as a
device to be
'safely removed' in the 'Safely Remove Hardware' applet that
shows up
if I plug in a USB device.

I've done some tests; when I plug in a SATA drive (a data
drive,
obviously, not a boot drive), a new hard drive shows up, no
problem.
I can read and write to this drive, no problem. And if I
unplug it,
or power it down, the drive letter simply disappears - no error
messages or warnings whatsoever. All sounds good.

HOWEVER, I could not find a file that I had written to the
drive.
This has all the markings of a write-cached file not being
written to
the device. So it occurred to me that, somehow, I should be
able to
'stop', or 'dismount', or otherwise 'software disconnect' this
drive
before I actually remove it. But the only relevant option I
can find
for the device is to disable write caching - is that what I
should be
doing? I'd rather not do that as it will generally slow down
performance, but if it is the only way to guarantee data
integrity,
that's what I'll do.

I've seen posts from others that indicate this is a regular
practice,
so I just wondered, how do I guarantee my files have been
'flushed'
before removing the drive?

Thanks!
For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

===========
Remove 'nospam' from email to reply - Thanks


For email, send to chris at panties domain dot com, Remove panties
and replace domain with attbi.


For email, send to chris at panties domain dot com, Remove panties
and replace domain with attbi.


===========
Remove 'nospam' from email to reply - Thanks

For email, send to chris at panties domain dot com, Remove panties and
replace domain with attbi.



===========
Remove 'nospam' from email to reply - Thanks


===========
Remove 'nospam' from email to reply - Thanks
  #18  
Old September 7th 04, 01:40 AM
Nathan McNulty
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

Dang. I don't know what to do with that SCSI part. I have no way to
test the scenerio though I do have Windows 2000 Workstation and Server
(any flavor) that I could throw on, it won't matter since I don't have a
PCI SATA Card

Have you tried a clean install of Windows and go from there? That would
be my last resort (and make a good ghost image of your current setup so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:
No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the 'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab, I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options.

Thanks !

On Sun, 05 Sep 2004 02:18:23 -0700, Nathan McNulty
wrote:


Instead of aiming for setting it as Optimize for Quick Removal, are you
able to simply uncheck Use Write Caching?

----
Nathan McNulty


Chris S wrote:

Just to clarify 'what the original issue is/was', as Len asked ... my
goal is to attach SATA drives to my system and use them as removable
storage in the same manner, conceptually, as I use my current USB2
extrernal drives - I want to be able to plug, and unplug, the drives
without rebooting the OS.

To do this, one has to worry about 'write caching', because hard
drives that are NOT designated as removable are typically going to
have their data cached. The various settings Nathan refers to
('optimize for quick removal', etc) on the 'policies' tab are for this
purpose. Well, with my SATA drives, attached to either an Adaptec
(Silicon Image chipset) or Maxtor (Promise chipset) sata PCI card, I
don't get those options enabled, even after formatting FAT32.

Further, I did several tests. I created a small file (test.txt) on
the SATA drive, then powered it down; windows XP did not complain;
drive letter disappeared happily; powered up; drive letter
re-appeared; file not there. Another test - I copied a folder with
333 files in it; verified the 333 files were there on the target (by
doing a 'properties' on the folder); powered down the disk; no
complaints by Windows; powered up the disk; only about 87 files were
on the disk.

I repeated the above tests, but this time, I shut down the system
'gracefully', and restarted. In this set of tests, the files/data
were all present.

The essence of the problem seems to be that I cannot control
write-caching with my external sata drives.

If I must, I will simply reboot my systems each time, but that really
blows my strategy of using SATA is a removable backup medium.

Thanks!

On Sat, 4 Sep 2004 04:25:24 -0400, "Len" wrote:



Hi Nathan,

I think I read on one of these posts that you have the ASUS P4P800 - I have
the Deluxe version of the same board. If you have that version with the VIA
RAID controller and attach a drive to that controller it will be seen as a
SCSI drive.

The SATA on our board is controlled by the ICHR5 controller which is the
Primary IDE as well. Drives attached to that controller are not seen as
SCSI as they are operating on the same BUS and BIOS as the IDE drives. If
you connect SATA Raid I'm not 100% sure but believe that the RAID array will
also be seen as standard drives not SCSI. I do not have SATA RAID running
at this time.

FWIW, Len



"Nathan McNulty" wrote in message
.. .


And I have two PCI devices. A SoundBlaster 2 Audigy ZS Platinum and an
ATI eHome Wonder TV Tuner. All of my drives are connected onboard. This
is why I am having a difficulty figuring out what is going on

----
Nathan McNulty


Len wrote:


Have been watching this thread for several days... just not sure what the
problem/question is? It is not XP (or any OS for that matter to my
knowledge) that designates add-on cards as SCSI but rather the system
BIOS.

This has been the way of things since I can recall! On many motherboards
to this day if you choose to boot from a HD (IDE or SATA) which is
attached to an add-on controler you must choose "SCSI" as the boot drive
option.

More modern MBs may have cleaned up the grammer but if the drive is not
running on the on-board IDE controler you can almost be assured that when
drive info is passed to the OS the drive has already been designated as
"SCSI".

BTW, drives attached to the built-in promise controller will most
probably be designated as "SCSI" as well.

FWIW,
Len

"Chris S" wrote in message
news:4qvhj0l7la61iun76ebpb990ko9snr1huf@4ax. com...



Well, it seems that 'add-in cards' are treated differently. In this
thread (http://www.techsupportforum.com/showthread.php?t=12439)
someone says '...Remember that Windows calls every add-on controller a
"SCSI" controller... it's an archaic leftover which will probably be
corrected someday.'

My Maxtor SATA/150 card installation manual says, in the section on
Confirm Driver Installation, "...Click Device Manager ... ; Click the
'+' in front of SCSI Controllers. 'WinXP Maxtor SATA/150 PCI Card'
should appear" - so clearly, they expect their driver to show up as a
SCSI device.

Given that the devices are treated as SCSI, it's somewhat logical that
their attached devices will be treated as SCSI too. So I don't think
I'm going to get far with my PCI Card SATA controllers (in terms of
removable storage), do you?!!

So I will see what I can do with my built-in promise controller; I
abandoned it because it didn't pass SMART info (which I need for
various reasons), but maybe with all the latest chipset drivers and
such, it will be usable and may show up as a non-SCSI device, and thus
allow me to better configure the 'removability' aspect.

But this still kinda blows my original strategy of having SATA cards
in all my computers, and using SATA drives the same way I currently
use USB2 drives - which really sucks!

On Fri, 03 Sep 2004 12:04:03 -0700, Nathan McNulty
wrote:




First, my SATA controller is onboard since I have an ASUS P4P800
Motherboard. I don't see anything listed as SATA or SCSI, but I do see
Intel(R) 82801EB Ultra ATA Storage Controllers and my drive is showing
under the second Primary IDE Channel. When I open the properties of the
drive for my internal, I am offered to uncheck Write Behind Caching, but
that is it. For my external, it offers whatever I want.

Try installing these chipset drivers and see if they help:
http://www.guru3d.com/newsitem.php?id=1671

You may have an old version of the drivers that don't fully support SATA
Storage. Also, you can try Intel Application Accelerator to make
changes to your drive instead of Windows. You can get that he
ftp://aiedownload.intel.com/df-suppo.../iaa23_enu.exe

----
Nathan McNulty

Chris S wrote:



OK, good - so SCSI is the clue here. The funny thing is ... I have
two computers at home and one at work that I'm setting up in this
manner, different mobo brands, different OSs, different SATA cards,
etc and they are all showing up with SCSI controllers.

So please tell me, Nathan: in device manager, on your system, where
DOES the SATA controller show up - what label, etc? Knowing that
would help!

At home, I have an Asus P4PE and an Asus P4B533, both with Win 2K.
Had 'latest' chipset drivers as of a year ago, but I'll check again.
One has a built-in Promise Fastrack SATA controller which I quit using
because it didn't pass SMART info.

At work, I have a Dell Dimension, very new (3.4 GHz), no idea about
chipset drivers but I'll see what I can download from dell. This is
Win XP Pro.

The home machines have the Adaptec/Silicon Image SATA card, and the
work machine has the Maxtor/Promise SATA card.

In device manager, the SATA cards show up under the heading of 'SCSI
and RAID controlllers' - on all three machines, two different OS's,
two SATA card brands!

So knowing what I 'should' see in device manager will give me
something to aim for!

Thanks!

On Fri, 03 Sep 2004 01:17:35 -0700, Nathan McNulty
wrote:





Things showing up as SCSI is just odd. I have nothing like this on my
system. I would go into Device Manager (Start-Run-devmgmt.msc) and
remove these devices. Install the latest chipset drivers and reboot.
If after installing the latest chipset drivers and a clean
configuration
of the drives it doesn't work, I would try a fresh install of XP as a
last resort if possible.

----
Nathan McNulty


Chris S wrote:




Well, I'm stumped. I just took an old 10 gig maxtor drive (ata) and
put it in my SATA enclosure (which does pata/sata conversion). The
drive shows up no problem. I formatted it as FAT32, but still, the
two 'optimize' options on the 'policies' button are grayed out.

This is somewhat consistent with my other tests, which have included
'native' SATA drives (though I can't afford to re-format the 'real'
sata drive at the moment).

I even took my USB memory stick, and was able to format it as NTFS,
and it still had the two 'optimize' options available on the
'policies' tab, so NTFS/FAT don't appear to be the deciding factor
here.

The essence of the problem seems to be that my two SATA cards (one
Adaptec/Silicon Image card, one Maxtor/Promise card) present
themselves as SCSI adapters, and thus, disks connected to them are
treated as SCSI disks.

Do your SATA adapters and associated drives show up as SCSI devices?

The only other variables I can think of are the specific settings in
the 'disk management' applet; I could make it 'basic' or 'dynamic'
(I've chosen both at various times, seems to make no difference),
primary or extended (think I've tried both);

I just spent $150 on a bunch of 6 foot external SATA cables, and
internal sata connector posts (to provide 'female' sata connectors on
back of computer) so I'd like to proceed with this, but at this point
I'm running out of ideas!

Thanks!

On Thu, 02 Sep 2004 00:06:05 -0700, Nathan McNulty
wrote:






I will try to help as best as I can. I believe you need to have the
drive formatted as FAT32 to use Optimize for Quick Removal. This is
simply what I choose to use for my SATA drive. I would update the
chipset drivers, format the drive again, and then set the options
right
there. XP will not format FAT32 larger than 32GB unless you use
something different to format it. I simply connected the drive
internally and used a Windows 98 Bootdisk. Your method may vary

----
Nathan McNulty


Chris S wrote:





And still more info ... I just plugged my SATA drive into my XP Pro
office computer (my home computer mentioned below is Windows 2000),
which has a Maxtor SATA/150 PCI Card (which is a promise device
under
the covers). Going to the properties of the drive in this
configuration, I do see a 'policies' tab, but when I select it, the
two 'optimize...' options are grayed out, and the 'Optimize for
performance' is the option selected. So I can't change it to
'optimze
for quick removal' ....

Stranger and stranger ...


On Wed, 01 Sep 2004 21:44:24 GMT, Chris S

wrote:







Well, the plot thickens, as they say ... on my home system, when I
plug in my SATA drive, and go to it's properties (the same place
where
I saw 'policies' on the USB drive below), I only see 'Disk
Properties'
and 'SCSI Properties'. On the 'Disk Properties' tab, there is one
option - Write Cache enabled; it's grayed out and unchecked. On
the
'SCSI Properties', there are two options: 'Disable tagged
queueing'
and 'Disable synchronous transfers'. Both are available (i.e.,
not
grayed out), and bot are not checked.

So the bottom line is, I don't have the 'policies' tab in the
first
place, which is where you are going to set the various
optimization
choices. How come my SATA drives are being treated as 'SCSI',
while
yours are not? Is that the root cause here?

My controller is an Adaptec 'SATA Connect' card, which shows up,
under
device manager, as a SCSI device 'Adaptec Serial ATA 1205SA Host
Controller', and it's control panel applet says it's a Sil 3112
Rev 2
device.

Thanks!

On Wed, 01 Sep 2004 09:31:29 -0700, Chris S

wrote:







Thanks Nathan. Is the setting of FAT32 a pre-condition to
getting the
'Optimize for Quick Removal', or am I formatting as FAT32 for
another
reason? I don't believe I have any compelling reason to go with
NTFS
with these particular drives so if that's the trick, I'll
certainly go
with it.

I just popped in a USB memory stick, and went to the 'policies'
tab,
and the two choices/explanations are as follows:
1) "Optimize for Quick Removal - This setting disables write
caching
on the disk and in Windows, so you can disconnect this device
without
using the Safe Removal icon"
2) "Optimize for performance - This setting enables write caching
in
Windows to improve disk performance. To disconnect this device
from
the computer, click the 'Safely Remove Hardware' icon in the
taskbar
notification area".

So ... this suggests it's perfectly OK to go with either option,
it's
just that, if you choose 'performance', you need to 'safely
remove'
the device first. Is the very appearance of that 'safely remove
hardware' icon in the taskbar restricted to FAT32 devices?

I'll go home and play with this for a while and report back ...
thanks!





On Wed, 01 Sep 2004 00:01:30 -0700, Nathan McNulty

wrote:







You have a couple of options. First would be to format the
drive as
FAT32, which you may or may not want to do. Second, you will
need to
change the way the device is set up. Connect the device, open
Device
Manager, double click on the hard drive in question, click the
Policies
Tab, then set it to Optimize for Quick Removal. I use FAT32 on
my
removeable SATA drives and set them to Optimize for Quick
Removal, but
you may be able to do it differently.

----
Nathan McNulty


Chris S wrote:






SATA drives are theoretically hot swappable; the power and data
connectors are designed for 'hot' removal, with ground wires
connecting first, and the interface is designed to deal with
the
various surge issues - this is well known.

I've used several USB 2.0 external drives, and before you
remove them,
you are supposed to 'stop' them; presumably to flush any
delayed
writes that may be in progress, etc.

But when I plug in a SATA drive, it does not show up as a
device to be
'safely removed' in the 'Safely Remove Hardware' applet that
shows up
if I plug in a USB device.

I've done some tests; when I plug in a SATA drive (a data
drive,
obviously, not a boot drive), a new hard drive shows up, no
problem.
I can read and write to this drive, no problem. And if I
unplug it,
or power it down, the drive letter simply disappears - no error
messages or warnings whatsoever. All sounds good.

HOWEVER, I could not find a file that I had written to the
drive.
This has all the markings of a write-cached file not being
written to
the device. So it occurred to me that, somehow, I should be
able to
'stop', or 'dismount', or otherwise 'software disconnect' this
drive
before I actually remove it. But the only relevant option I
can find
for the device is to disable write caching - is that what I
should be
doing? I'd rather not do that as it will generally slow down
performance, but if it is the only way to guarantee data
integrity,
that's what I'll do.

I've seen posts from others that indicate this is a regular
practice,
so I just wondered, how do I guarantee my files have been
'flushed'
before removing the drive?

Thanks!
For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

===========
Remove 'nospam' from email to reply - Thanks


For email, send to chris at panties domain dot com, Remove panties
and replace domain with attbi.


For email, send to chris at panties domain dot com, Remove panties
and replace domain with attbi.


===========
Remove 'nospam' from email to reply - Thanks

For email, send to chris at panties domain dot com, Remove panties and
replace domain with attbi.


===========
Remove 'nospam' from email to reply - Thanks



===========
Remove 'nospam' from email to reply - Thanks

  #19  
Old September 7th 04, 03:16 PM
Len
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

Nathan,

As mentioned earlier if you have the P4P800 version with the VIA Raid
controller you can duplicate this scenario as a drive attached to that
controller will also be seen as a SCSI unit. I have found no method of
changing the write cache status for this drive.

As a side note the SATA drive installed on my system using the chipset-based
ICHR5 controller does have the option to turn on/off write cache available.

FWIW,
Len

"Nathan McNulty" wrote in message
...
Dang. I don't know what to do with that SCSI part. I have no way to test
the scenerio though I do have Windows 2000 Workstation and Server (any
flavor) that I could throw on, it won't matter since I don't have a PCI
SATA Card

Have you tried a clean install of Windows and go from there? That would
be my last resort (and make a good ghost image of your current setup so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:
No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the 'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab, I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options. Thanks ! On Sun, 05 Sep 2004 02:18:23 -0700,
Nathan McNulty
wrote:


Instead of aiming for setting it as Optimize for Quick Removal, are you
able to simply uncheck Use Write Caching?

----
Nathan McNulty


Chris S wrote:

Just to clarify 'what the original issue is/was', as Len asked ... my
goal is to attach SATA drives to my system and use them as removable
storage in the same manner, conceptually, as I use my current USB2
extrernal drives - I want to be able to plug, and unplug, the drives
without rebooting the OS.
To do this, one has to worry about 'write caching', because hard
drives that are NOT designated as removable are typically going to
have their data cached. The various settings Nathan refers to
('optimize for quick removal', etc) on the 'policies' tab are for this
purpose. Well, with my SATA drives, attached to either an Adaptec
(Silicon Image chipset) or Maxtor (Promise chipset) sata PCI card, I
don't get those options enabled, even after formatting FAT32.
Further, I did several tests. I created a small file (test.txt) on
the SATA drive, then powered it down; windows XP did not complain;
drive letter disappeared happily; powered up; drive letter
re-appeared; file not there. Another test - I copied a folder with
333 files in it; verified the 333 files were there on the target (by
doing a 'properties' on the folder); powered down the disk; no
complaints by Windows; powered up the disk; only about 87 files were
on the disk.
I repeated the above tests, but this time, I shut down the system
'gracefully', and restarted. In this set of tests, the files/data
were all present.
The essence of the problem seems to be that I cannot control
write-caching with my external sata drives.
If I must, I will simply reboot my systems each time, but that really
blows my strategy of using SATA is a removable backup medium.
Thanks!
On Sat, 4 Sep 2004 04:25:24 -0400, "Len" wrote:



Hi Nathan,

I think I read on one of these posts that you have the ASUS P4P800 - I
have the Deluxe version of the same board. If you have that version
with the VIA RAID controller and attach a drive to that controller it
will be seen as a SCSI drive.

The SATA on our board is controlled by the ICHR5 controller which is
the Primary IDE as well. Drives attached to that controller are not
seen as SCSI as they are operating on the same BUS and BIOS as the IDE
drives. If you connect SATA Raid I'm not 100% sure but believe that
the RAID array will also be seen as standard drives not SCSI. I do not
have SATA RAID running at this time.

FWIW, Len



"Nathan McNulty" wrote in message
. ..


And I have two PCI devices. A SoundBlaster 2 Audigy ZS Platinum and
an ATI eHome Wonder TV Tuner. All of my drives are connected onboard.
This is why I am having a difficulty figuring out what is going on

----
Nathan McNulty


Len wrote:


Have been watching this thread for several days... just not sure what
the problem/question is? It is not XP (or any OS for that matter to
my knowledge) that designates add-on cards as SCSI but rather the
system BIOS.

This has been the way of things since I can recall! On many
motherboards to this day if you choose to boot from a HD (IDE or
SATA) which is attached to an add-on controler you must choose "SCSI"
as the boot drive option.

More modern MBs may have cleaned up the grammer but if the drive is
not running on the on-board IDE controler you can almost be assured
that when drive info is passed to the OS the drive has already been
designated as "SCSI".

BTW, drives attached to the built-in promise controller will most
probably be designated as "SCSI" as well.

FWIW,
Len

"Chris S" wrote in message
news:4qvhj0l7la61iun76ebpb990ko9snr1huf@4ax .com...



Well, it seems that 'add-in cards' are treated differently. In this
thread (http://www.techsupportforum.com/showthread.php?t=12439)
someone says '...Remember that Windows calls every add-on controller
a
"SCSI" controller... it's an archaic leftover which will probably be
corrected someday.'

My Maxtor SATA/150 card installation manual says, in the section on
Confirm Driver Installation, "...Click Device Manager ... ; Click
the
'+' in front of SCSI Controllers. 'WinXP Maxtor SATA/150 PCI Card'
should appear" - so clearly, they expect their driver to show up as
a
SCSI device.

Given that the devices are treated as SCSI, it's somewhat logical
that
their attached devices will be treated as SCSI too. So I don't think
I'm going to get far with my PCI Card SATA controllers (in terms of
removable storage), do you?!!

So I will see what I can do with my built-in promise controller; I
abandoned it because it didn't pass SMART info (which I need for
various reasons), but maybe with all the latest chipset drivers and
such, it will be usable and may show up as a non-SCSI device, and
thus
allow me to better configure the 'removability' aspect.

But this still kinda blows my original strategy of having SATA cards
in all my computers, and using SATA drives the same way I currently
use USB2 drives - which really sucks!

On Fri, 03 Sep 2004 12:04:03 -0700, Nathan McNulty
wrote:




First, my SATA controller is onboard since I have an ASUS P4P800
Motherboard. I don't see anything listed as SATA or SCSI, but I do
see
Intel(R) 82801EB Ultra ATA Storage Controllers and my drive is
showing
under the second Primary IDE Channel. When I open the properties
of the
drive for my internal, I am offered to uncheck Write Behind
Caching, but
that is it. For my external, it offers whatever I want.

Try installing these chipset drivers and see if they help:
http://www.guru3d.com/newsitem.php?id=1671

You may have an old version of the drivers that don't fully support
SATA
Storage. Also, you can try Intel Application Accelerator to make
changes to your drive instead of Windows. You can get that he
ftp://aiedownload.intel.com/df-suppo.../iaa23_enu.exe

----
Nathan McNulty

Chris S wrote:



OK, good - so SCSI is the clue here. The funny thing is ... I
have
two computers at home and one at work that I'm setting up in this
manner, different mobo brands, different OSs, different SATA
cards,
etc and they are all showing up with SCSI controllers.

So please tell me, Nathan: in device manager, on your system,
where
DOES the SATA controller show up - what label, etc? Knowing that
would help!

At home, I have an Asus P4PE and an Asus P4B533, both with Win
2K.
Had 'latest' chipset drivers as of a year ago, but I'll check
again.
One has a built-in Promise Fastrack SATA controller which I quit
using
because it didn't pass SMART info.

At work, I have a Dell Dimension, very new (3.4 GHz), no idea
about
chipset drivers but I'll see what I can download from dell. This
is
Win XP Pro.

The home machines have the Adaptec/Silicon Image SATA card, and
the
work machine has the Maxtor/Promise SATA card.

In device manager, the SATA cards show up under the heading of
'SCSI
and RAID controlllers' - on all three machines, two different
OS's,
two SATA card brands!

So knowing what I 'should' see in device manager will give me
something to aim for!

Thanks!

On Fri, 03 Sep 2004 01:17:35 -0700, Nathan McNulty

wrote:





Things showing up as SCSI is just odd. I have nothing like this
on my
system. I would go into Device Manager (Start-Run-devmgmt.msc)
and
remove these devices. Install the latest chipset drivers and
reboot.
If after installing the latest chipset drivers and a clean
configuration
of the drives it doesn't work, I would try a fresh install of XP
as a
last resort if possible.

----
Nathan McNulty


Chris S wrote:




Well, I'm stumped. I just took an old 10 gig maxtor drive (ata)
and
put it in my SATA enclosure (which does pata/sata conversion).
The
drive shows up no problem. I formatted it as FAT32, but still,
the
two 'optimize' options on the 'policies' button are grayed out.

This is somewhat consistent with my other tests, which have
included
'native' SATA drives (though I can't afford to re-format the
'real'
sata drive at the moment).

I even took my USB memory stick, and was able to format it as
NTFS,
and it still had the two 'optimize' options available on the
'policies' tab, so NTFS/FAT don't appear to be the deciding
factor
here.

The essence of the problem seems to be that my two SATA cards
(one
Adaptec/Silicon Image card, one Maxtor/Promise card) present
themselves as SCSI adapters, and thus, disks connected to them
are
treated as SCSI disks.

Do your SATA adapters and associated drives show up as SCSI
devices?

The only other variables I can think of are the specific
settings in
the 'disk management' applet; I could make it 'basic' or
'dynamic'
(I've chosen both at various times, seems to make no
difference),
primary or extended (think I've tried both);

I just spent $150 on a bunch of 6 foot external SATA cables, and
internal sata connector posts (to provide 'female' sata
connectors on
back of computer) so I'd like to proceed with this, but at this
point
I'm running out of ideas!

Thanks!

On Thu, 02 Sep 2004 00:06:05 -0700, Nathan McNulty

wrote:






I will try to help as best as I can. I believe you need to
have the
drive formatted as FAT32 to use Optimize for Quick Removal.
This is
simply what I choose to use for my SATA drive. I would update
the
chipset drivers, format the drive again, and then set the
options right
there. XP will not format FAT32 larger than 32GB unless you
use
something different to format it. I simply connected the drive
internally and used a Windows 98 Bootdisk. Your method may
vary

----
Nathan McNulty


Chris S wrote:





And still more info ... I just plugged my SATA drive into my
XP Pro
office computer (my home computer mentioned below is Windows
2000),
which has a Maxtor SATA/150 PCI Card (which is a promise
device under
the covers). Going to the properties of the drive in this
configuration, I do see a 'policies' tab, but when I select
it, the
two 'optimize...' options are grayed out, and the 'Optimize
for
performance' is the option selected. So I can't change it to
'optimze
for quick removal' ....

Stranger and stranger ...


On Wed, 01 Sep 2004 21:44:24 GMT, Chris S

wrote:







Well, the plot thickens, as they say ... on my home system,
when I
plug in my SATA drive, and go to it's properties (the same
place where
I saw 'policies' on the USB drive below), I only see 'Disk
Properties'
and 'SCSI Properties'. On the 'Disk Properties' tab, there
is one
option - Write Cache enabled; it's grayed out and unchecked.
On the
'SCSI Properties', there are two options: 'Disable tagged
queueing'
and 'Disable synchronous transfers'. Both are available
(i.e., not
grayed out), and bot are not checked.

So the bottom line is, I don't have the 'policies' tab in the
first
place, which is where you are going to set the various
optimization
choices. How come my SATA drives are being treated as
'SCSI', while
yours are not? Is that the root cause here?

My controller is an Adaptec 'SATA Connect' card, which shows
up, under
device manager, as a SCSI device 'Adaptec Serial ATA 1205SA
Host
Controller', and it's control panel applet says it's a Sil
3112 Rev 2
device.

Thanks!

On Wed, 01 Sep 2004 09:31:29 -0700, Chris S

wrote:







Thanks Nathan. Is the setting of FAT32 a pre-condition to
getting the
'Optimize for Quick Removal', or am I formatting as FAT32
for another
reason? I don't believe I have any compelling reason to go
with NTFS
with these particular drives so if that's the trick, I'll
certainly go
with it.

I just popped in a USB memory stick, and went to the
'policies' tab,
and the two choices/explanations are as follows:
1) "Optimize for Quick Removal - This setting disables write
caching
on the disk and in Windows, so you can disconnect this
device without
using the Safe Removal icon"
2) "Optimize for performance - This setting enables write
caching in
Windows to improve disk performance. To disconnect this
device from
the computer, click the 'Safely Remove Hardware' icon in the
taskbar
notification area".

So ... this suggests it's perfectly OK to go with either
option, it's
just that, if you choose 'performance', you need to 'safely
remove'
the device first. Is the very appearance of that 'safely
remove
hardware' icon in the taskbar restricted to FAT32 devices?

I'll go home and play with this for a while and report back
...
thanks!





On Wed, 01 Sep 2004 00:01:30 -0700, Nathan McNulty

wrote:







You have a couple of options. First would be to format the
drive as
FAT32, which you may or may not want to do. Second, you
will need to
change the way the device is set up. Connect the device,
open Device
Manager, double click on the hard drive in question, click
the Policies
Tab, then set it to Optimize for Quick Removal. I use
FAT32 on my
removeable SATA drives and set them to Optimize for Quick
Removal, but
you may be able to do it differently.

----
Nathan McNulty


Chris S wrote:






SATA drives are theoretically hot swappable; the power and
data
connectors are designed for 'hot' removal, with ground
wires
connecting first, and the interface is designed to deal
with the
various surge issues - this is well known.

I've used several USB 2.0 external drives, and before you
remove them,
you are supposed to 'stop' them; presumably to flush any
delayed
writes that may be in progress, etc.

But when I plug in a SATA drive, it does not show up as a
device to be
'safely removed' in the 'Safely Remove Hardware' applet
that shows up
if I plug in a USB device.

I've done some tests; when I plug in a SATA drive (a data
drive,
obviously, not a boot drive), a new hard drive shows up,
no problem.
I can read and write to this drive, no problem. And if I
unplug it,
or power it down, the drive letter simply disappears - no
error
messages or warnings whatsoever. All sounds good.

HOWEVER, I could not find a file that I had written to the
drive.
This has all the markings of a write-cached file not being
written to
the device. So it occurred to me that, somehow, I should
be able to
'stop', or 'dismount', or otherwise 'software disconnect'
this drive
before I actually remove it. But the only relevant option
I can find
for the device is to disable write caching - is that what
I should be
doing? I'd rather not do that as it will generally slow
down
performance, but if it is the only way to guarantee data
integrity,
that's what I'll do.

I've seen posts from others that indicate this is a
regular practice,
so I just wondered, how do I guarantee my files have been
'flushed'
before removing the drive?

Thanks!
For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

===========
Remove 'nospam' from email to reply - Thanks


For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.


For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.


===========
Remove 'nospam' from email to reply - Thanks

For email, send to chris at panties domain dot com, Remove panties
and replace domain with attbi.


===========
Remove 'nospam' from email to reply - Thanks



===========
Remove 'nospam' from email to reply - Thanks



  #20  
Old September 7th 04, 05:57 PM
Brian Taylor
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

I am in the exact same predicament. I have 3 low end hand built
servers where I am using a Promise S150 SX4 controller to run 4 bays
of a SuperMicro 5 bay hot swap backplane. Those 4 are working fine,
but the fifth bay was intended to be used for backup and is running
off an Addonics EI PCI host controller (based on the SI3112 SATA
controller).

When inserting a drive, the safe removal icon does not come up in the
systray, but when I remove the drive I get the "Unsafe Removal of
Device" dialog, and sometimes I get the "delayed write failed" dialog.
In Windows 2000 Server the "Disble Write Caching" box is unchecked
and grayed out. And under Windows 2003 Standard "Optimize for
Performance" is filled in and both settings a grayed out.

It was my hope that the people that will be swapping the hard drives
would not have to log in and mess around, but it looks like in order
to do that I am going to have to use something like FireWire external
enclosures for the drives. That is workable, but it costs more and I
already have foam lined cases for these drives with their hot swap
rails, and I really thought this was going to work.

If anyone has successfully done this please post with what OS,
controller, and driver you have used because it is driving me crazy.

Brian Taylor


Nathan McNulty wrote in message ...
Dang. I don't know what to do with that SCSI part. I have no way to
test the scenerio though I do have Windows 2000 Workstation and Server
(any flavor) that I could throw on, it won't matter since I don't have a
PCI SATA Card

Have you tried a clean install of Windows and go from there? That would
be my last resort (and make a good ghost image of your current setup so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:
No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the 'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab, I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options.

Thanks !

On Sun, 05 Sep 2004 02:18:23 -0700, Nathan McNulty
wrote:


Instead of aiming for setting it as Optimize for Quick Removal, are you
able to simply uncheck Use Write Caching?

----
Nathan McNulty


Chris S wrote:

Just to clarify 'what the original issue is/was', as Len asked ... my
goal is to attach SATA drives to my system and use them as removable
storage in the same manner, conceptually, as I use my current USB2
extrernal drives - I want to be able to plug, and unplug, the drives
without rebooting the OS.

To do this, one has to worry about 'write caching', because hard
drives that are NOT designated as removable are typically going to
have their data cached. The various settings Nathan refers to
('optimize for quick removal', etc) on the 'policies' tab are for this
purpose. Well, with my SATA drives, attached to either an Adaptec
(Silicon Image chipset) or Maxtor (Promise chipset) sata PCI card, I
don't get those options enabled, even after formatting FAT32.

Further, I did several tests. I created a small file (test.txt) on
the SATA drive, then powered it down; windows XP did not complain;
drive letter disappeared happily; powered up; drive letter
re-appeared; file not there. Another test - I copied a folder with
333 files in it; verified the 333 files were there on the target (by
doing a 'properties' on the folder); powered down the disk; no
complaints by Windows; powered up the disk; only about 87 files were
on the disk.

I repeated the above tests, but this time, I shut down the system
'gracefully', and restarted. In this set of tests, the files/data
were all present.

The essence of the problem seems to be that I cannot control
write-caching with my external sata drives.

If I must, I will simply reboot my systems each time, but that really
blows my strategy of using SATA is a removable backup medium.

Thanks!

  #21  
Old September 7th 04, 06:53 PM
Nathan McNulty
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

I have 2 SATA ports, but only one SATA drive I can use internally. I
can switch SATA ports when the computer is off (since it is the system
drive, I can't hotswap this one), but both are controlled by the ICHR5
chipset. The external that I use that is SATA in my rack I am not going
to mess with since it has work on it and it really isn't mine to play
with. Even with a good backup I would not be willing to mess around
with it

Maybe I'll just steal a SATA card from a friend or something

----
Nathan McNulty


Len wrote:
Nathan,

As mentioned earlier if you have the P4P800 version with the VIA Raid
controller you can duplicate this scenario as a drive attached to that
controller will also be seen as a SCSI unit. I have found no method of
changing the write cache status for this drive.

As a side note the SATA drive installed on my system using the chipset-based
ICHR5 controller does have the option to turn on/off write cache available.

FWIW,
Len

"Nathan McNulty" wrote in message
...

Dang. I don't know what to do with that SCSI part. I have no way to test
the scenerio though I do have Windows 2000 Workstation and Server (any
flavor) that I could throw on, it won't matter since I don't have a PCI
SATA Card

Have you tried a clean install of Windows and go from there? That would
be my last resort (and make a good ghost image of your current setup so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:

No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the 'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab, I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options. Thanks ! On Sun, 05 Sep 2004 02:18:23 -0700,
Nathan McNulty
wrote:



Instead of aiming for setting it as Optimize for Quick Removal, are you
able to simply uncheck Use Write Caching?

----
Nathan McNulty


Chris S wrote:


Just to clarify 'what the original issue is/was', as Len asked ... my
goal is to attach SATA drives to my system and use them as removable
storage in the same manner, conceptually, as I use my current USB2
extrernal drives - I want to be able to plug, and unplug, the drives
without rebooting the OS.
To do this, one has to worry about 'write caching', because hard
drives that are NOT designated as removable are typically going to
have their data cached. The various settings Nathan refers to
('optimize for quick removal', etc) on the 'policies' tab are for this
purpose. Well, with my SATA drives, attached to either an Adaptec
(Silicon Image chipset) or Maxtor (Promise chipset) sata PCI card, I
don't get those options enabled, even after formatting FAT32.
Further, I did several tests. I created a small file (test.txt) on
the SATA drive, then powered it down; windows XP did not complain;
drive letter disappeared happily; powered up; drive letter
re-appeared; file not there. Another test - I copied a folder with
333 files in it; verified the 333 files were there on the target (by
doing a 'properties' on the folder); powered down the disk; no
complaints by Windows; powered up the disk; only about 87 files were
on the disk.
I repeated the above tests, but this time, I shut down the system
'gracefully', and restarted. In this set of tests, the files/data
were all present.
The essence of the problem seems to be that I cannot control
write-caching with my external sata drives.
If I must, I will simply reboot my systems each time, but that really
blows my strategy of using SATA is a removable backup medium.
Thanks!
On Sat, 4 Sep 2004 04:25:24 -0400, "Len" wrote:




Hi Nathan,

I think I read on one of these posts that you have the ASUS P4P800 - I
have the Deluxe version of the same board. If you have that version
with the VIA RAID controller and attach a drive to that controller it
will be seen as a SCSI drive.

The SATA on our board is controlled by the ICHR5 controller which is
the Primary IDE as well. Drives attached to that controller are not
seen as SCSI as they are operating on the same BUS and BIOS as the IDE
drives. If you connect SATA Raid I'm not 100% sure but believe that
the RAID array will also be seen as standard drives not SCSI. I do not
have SATA RAID running at this time.

FWIW, Len



"Nathan McNulty" wrote in message
.. .



And I have two PCI devices. A SoundBlaster 2 Audigy ZS Platinum and
an ATI eHome Wonder TV Tuner. All of my drives are connected onboard.
This is why I am having a difficulty figuring out what is going on

----
Nathan McNulty


Len wrote:



Have been watching this thread for several days... just not sure what
the problem/question is? It is not XP (or any OS for that matter to
my knowledge) that designates add-on cards as SCSI but rather the
system BIOS.

This has been the way of things since I can recall! On many
motherboards to this day if you choose to boot from a HD (IDE or
SATA) which is attached to an add-on controler you must choose "SCSI"
as the boot drive option.

More modern MBs may have cleaned up the grammer but if the drive is
not running on the on-board IDE controler you can almost be assured
that when drive info is passed to the OS the drive has already been
designated as "SCSI".

BTW, drives attached to the built-in promise controller will most
probably be designated as "SCSI" as well.

FWIW,
Len

"Chris S" wrote in message
news:4qvhj0l7la61iun76ebpb990ko9snr1huf@4a x.com...




Well, it seems that 'add-in cards' are treated differently. In this
thread (http://www.techsupportforum.com/showthread.php?t=12439)
someone says '...Remember that Windows calls every add-on controller
a
"SCSI" controller... it's an archaic leftover which will probably be
corrected someday.'

My Maxtor SATA/150 card installation manual says, in the section on
Confirm Driver Installation, "...Click Device Manager ... ; Click
the
'+' in front of SCSI Controllers. 'WinXP Maxtor SATA/150 PCI Card'
should appear" - so clearly, they expect their driver to show up as
a
SCSI device.

Given that the devices are treated as SCSI, it's somewhat logical
that
their attached devices will be treated as SCSI too. So I don't think
I'm going to get far with my PCI Card SATA controllers (in terms of
removable storage), do you?!!

So I will see what I can do with my built-in promise controller; I
abandoned it because it didn't pass SMART info (which I need for
various reasons), but maybe with all the latest chipset drivers and
such, it will be usable and may show up as a non-SCSI device, and
thus
allow me to better configure the 'removability' aspect.

But this still kinda blows my original strategy of having SATA cards
in all my computers, and using SATA drives the same way I currently
use USB2 drives - which really sucks!

On Fri, 03 Sep 2004 12:04:03 -0700, Nathan McNulty
wrote:





First, my SATA controller is onboard since I have an ASUS P4P800
Motherboard. I don't see anything listed as SATA or SCSI, but I do
see
Intel(R) 82801EB Ultra ATA Storage Controllers and my drive is
showing
under the second Primary IDE Channel. When I open the properties
of the
drive for my internal, I am offered to uncheck Write Behind
Caching, but
that is it. For my external, it offers whatever I want.

Try installing these chipset drivers and see if they help:
http://www.guru3d.com/newsitem.php?id=1671

You may have an old version of the drivers that don't fully support
SATA
Storage. Also, you can try Intel Application Accelerator to make
changes to your drive instead of Windows. You can get that he
ftp://aiedownload.intel.com/df-suppo.../iaa23_enu.exe

----
Nathan McNulty

Chris S wrote:




OK, good - so SCSI is the clue here. The funny thing is ... I
have
two computers at home and one at work that I'm setting up in this
manner, different mobo brands, different OSs, different SATA
cards,
etc and they are all showing up with SCSI controllers.

So please tell me, Nathan: in device manager, on your system,
where
DOES the SATA controller show up - what label, etc? Knowing that
would help!

At home, I have an Asus P4PE and an Asus P4B533, both with Win
2K.
Had 'latest' chipset drivers as of a year ago, but I'll check
again.
One has a built-in Promise Fastrack SATA controller which I quit
using
because it didn't pass SMART info.

At work, I have a Dell Dimension, very new (3.4 GHz), no idea
about
chipset drivers but I'll see what I can download from dell. This
is
Win XP Pro.

The home machines have the Adaptec/Silicon Image SATA card, and
the
work machine has the Maxtor/Promise SATA card.

In device manager, the SATA cards show up under the heading of
'SCSI
and RAID controlllers' - on all three machines, two different
OS's,
two SATA card brands!

So knowing what I 'should' see in device manager will give me
something to aim for!

Thanks!

On Fri, 03 Sep 2004 01:17:35 -0700, Nathan McNulty

wrote:






Things showing up as SCSI is just odd. I have nothing like this
on my
system. I would go into Device Manager (Start-Run-devmgmt.msc)
and
remove these devices. Install the latest chipset drivers and
reboot.
If after installing the latest chipset drivers and a clean
configuration
of the drives it doesn't work, I would try a fresh install of XP
as a
last resort if possible.

----
Nathan McNulty


Chris S wrote:





Well, I'm stumped. I just took an old 10 gig maxtor drive (ata)
and
put it in my SATA enclosure (which does pata/sata conversion).
The
drive shows up no problem. I formatted it as FAT32, but still,
the
two 'optimize' options on the 'policies' button are grayed out.

This is somewhat consistent with my other tests, which have
included
'native' SATA drives (though I can't afford to re-format the
'real'
sata drive at the moment).

I even took my USB memory stick, and was able to format it as
NTFS,
and it still had the two 'optimize' options available on the
'policies' tab, so NTFS/FAT don't appear to be the deciding
factor
here.

The essence of the problem seems to be that my two SATA cards
(one
Adaptec/Silicon Image card, one Maxtor/Promise card) present
themselves as SCSI adapters, and thus, disks connected to them
are
treated as SCSI disks.

Do your SATA adapters and associated drives show up as SCSI
devices?

The only other variables I can think of are the specific
settings in
the 'disk management' applet; I could make it 'basic' or
'dynamic'
(I've chosen both at various times, seems to make no
difference),
primary or extended (think I've tried both);

I just spent $150 on a bunch of 6 foot external SATA cables, and
internal sata connector posts (to provide 'female' sata
connectors on
back of computer) so I'd like to proceed with this, but at this
point
I'm running out of ideas!

Thanks!

On Thu, 02 Sep 2004 00:06:05 -0700, Nathan McNulty

wrote:







I will try to help as best as I can. I believe you need to
have the
drive formatted as FAT32 to use Optimize for Quick Removal.
This is
simply what I choose to use for my SATA drive. I would update
the
chipset drivers, format the drive again, and then set the
options right
there. XP will not format FAT32 larger than 32GB unless you
use
something different to format it. I simply connected the drive
internally and used a Windows 98 Bootdisk. Your method may
vary

----
Nathan McNulty


Chris S wrote:






And still more info ... I just plugged my SATA drive into my
XP Pro
office computer (my home computer mentioned below is Windows
2000),
which has a Maxtor SATA/150 PCI Card (which is a promise
device under
the covers). Going to the properties of the drive in this
configuration, I do see a 'policies' tab, but when I select
it, the
two 'optimize...' options are grayed out, and the 'Optimize
for
performance' is the option selected. So I can't change it to
'optimze
for quick removal' ....

Stranger and stranger ...


On Wed, 01 Sep 2004 21:44:24 GMT, Chris S

wrote:








Well, the plot thickens, as they say ... on my home system,
when I
plug in my SATA drive, and go to it's properties (the same
place where
I saw 'policies' on the USB drive below), I only see 'Disk
Properties'
and 'SCSI Properties'. On the 'Disk Properties' tab, there
is one
option - Write Cache enabled; it's grayed out and unchecked.
On the
'SCSI Properties', there are two options: 'Disable tagged
queueing'
and 'Disable synchronous transfers'. Both are available
(i.e., not
grayed out), and bot are not checked.

So the bottom line is, I don't have the 'policies' tab in the
first
place, which is where you are going to set the various
optimization
choices. How come my SATA drives are being treated as
'SCSI', while
yours are not? Is that the root cause here?

My controller is an Adaptec 'SATA Connect' card, which shows
up, under
device manager, as a SCSI device 'Adaptec Serial ATA 1205SA
Host
Controller', and it's control panel applet says it's a Sil
3112 Rev 2
device.

Thanks!

On Wed, 01 Sep 2004 09:31:29 -0700, Chris S

wrote:








Thanks Nathan. Is the setting of FAT32 a pre-condition to
getting the
'Optimize for Quick Removal', or am I formatting as FAT32
for another
reason? I don't believe I have any compelling reason to go
with NTFS
with these particular drives so if that's the trick, I'll
certainly go
with it.

I just popped in a USB memory stick, and went to the
'policies' tab,
and the two choices/explanations are as follows:
1) "Optimize for Quick Removal - This setting disables write
caching
on the disk and in Windows, so you can disconnect this
device without
using the Safe Removal icon"
2) "Optimize for performance - This setting enables write
caching in
Windows to improve disk performance. To disconnect this
device from
the computer, click the 'Safely Remove Hardware' icon in the
taskbar
notification area".

So ... this suggests it's perfectly OK to go with either
option, it's
just that, if you choose 'performance', you need to 'safely
remove'
the device first. Is the very appearance of that 'safely
remove
hardware' icon in the taskbar restricted to FAT32 devices?

I'll go home and play with this for a while and report back
...
thanks!





On Wed, 01 Sep 2004 00:01:30 -0700, Nathan McNulty

wrote:








You have a couple of options. First would be to format the
drive as
FAT32, which you may or may not want to do. Second, you
will need to
change the way the device is set up. Connect the device,
open Device
Manager, double click on the hard drive in question, click
the Policies
Tab, then set it to Optimize for Quick Removal. I use
FAT32 on my
removeable SATA drives and set them to Optimize for Quick
Removal, but
you may be able to do it differently.

----
Nathan McNulty


Chris S wrote:







SATA drives are theoretically hot swappable; the power and
data
connectors are designed for 'hot' removal, with ground
wires
connecting first, and the interface is designed to deal
with the
various surge issues - this is well known.

I've used several USB 2.0 external drives, and before you
remove them,
you are supposed to 'stop' them; presumably to flush any
delayed
writes that may be in progress, etc.

But when I plug in a SATA drive, it does not show up as a
device to be
'safely removed' in the 'Safely Remove Hardware' applet
that shows up
if I plug in a USB device.

I've done some tests; when I plug in a SATA drive (a data
drive,
obviously, not a boot drive), a new hard drive shows up,
no problem.
I can read and write to this drive, no problem. And if I
unplug it,
or power it down, the drive letter simply disappears - no
error
messages or warnings whatsoever. All sounds good.

HOWEVER, I could not find a file that I had written to the
drive.
This has all the markings of a write-cached file not being
written to
the device. So it occurred to me that, somehow, I should
be able to
'stop', or 'dismount', or otherwise 'software disconnect'
this drive
before I actually remove it. But the only relevant option
I can find
for the device is to disable write caching - is that what
I should be
doing? I'd rather not do that as it will generally slow
down
performance, but if it is the only way to guarantee data
integrity,
that's what I'll do.

I've seen posts from others that indicate this is a
regular practice,
so I just wondered, how do I guarantee my files have been
'flushed'
before removing the drive?

Thanks!
For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.

===========
Remove 'nospam' from email to reply - Thanks


For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.


For email, send to chris at panties domain dot com, Remove
panties and replace domain with attbi.


===========
Remove 'nospam' from email to reply - Thanks

For email, send to chris at panties domain dot com, Remove panties
and replace domain with attbi.


===========
Remove 'nospam' from email to reply - Thanks


===========
Remove 'nospam' from email to reply - Thanks




  #22  
Old September 7th 04, 06:57 PM
Nathan McNulty
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

Using the ICHR5 chipset on Windows XP MCE (just an addon to
Professional). The motherboard is an ASUS P4P800. Don't need a specific
driver (unless you are talking about chipset drivers in which case I am
using the Intel INF Update Utility 6.0.1.1006 WHQL drivers) since it
isn't RAID and it is just using one of the onboard ports.

----
Nathan McNulty


Brian Taylor wrote:
I am in the exact same predicament. I have 3 low end hand built
servers where I am using a Promise S150 SX4 controller to run 4 bays
of a SuperMicro 5 bay hot swap backplane. Those 4 are working fine,
but the fifth bay was intended to be used for backup and is running
off an Addonics EI PCI host controller (based on the SI3112 SATA
controller).

When inserting a drive, the safe removal icon does not come up in the
systray, but when I remove the drive I get the "Unsafe Removal of
Device" dialog, and sometimes I get the "delayed write failed" dialog.
In Windows 2000 Server the "Disble Write Caching" box is unchecked
and grayed out. And under Windows 2003 Standard "Optimize for
Performance" is filled in and both settings a grayed out.

It was my hope that the people that will be swapping the hard drives
would not have to log in and mess around, but it looks like in order
to do that I am going to have to use something like FireWire external
enclosures for the drives. That is workable, but it costs more and I
already have foam lined cases for these drives with their hot swap
rails, and I really thought this was going to work.

If anyone has successfully done this please post with what OS,
controller, and driver you have used because it is driving me crazy.

Brian Taylor


Nathan McNulty wrote in message ...

Dang. I don't know what to do with that SCSI part. I have no way to
test the scenerio though I do have Windows 2000 Workstation and Server
(any flavor) that I could throw on, it won't matter since I don't have a
PCI SATA Card

Have you tried a clean install of Windows and go from there? That would
be my last resort (and make a good ghost image of your current setup so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:

No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the 'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab, I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options.

Thanks !

On Sun, 05 Sep 2004 02:18:23 -0700, Nathan McNulty
wrote:



Instead of aiming for setting it as Optimize for Quick Removal, are you
able to simply uncheck Use Write Caching?

----
Nathan McNulty


Chris S wrote:


Just to clarify 'what the original issue is/was', as Len asked ... my
goal is to attach SATA drives to my system and use them as removable
storage in the same manner, conceptually, as I use my current USB2
extrernal drives - I want to be able to plug, and unplug, the drives
without rebooting the OS.

To do this, one has to worry about 'write caching', because hard
drives that are NOT designated as removable are typically going to
have their data cached. The various settings Nathan refers to
('optimize for quick removal', etc) on the 'policies' tab are for this
purpose. Well, with my SATA drives, attached to either an Adaptec
(Silicon Image chipset) or Maxtor (Promise chipset) sata PCI card, I
don't get those options enabled, even after formatting FAT32.

Further, I did several tests. I created a small file (test.txt) on
the SATA drive, then powered it down; windows XP did not complain;
drive letter disappeared happily; powered up; drive letter
re-appeared; file not there. Another test - I copied a folder with
333 files in it; verified the 333 files were there on the target (by
doing a 'properties' on the folder); powered down the disk; no
complaints by Windows; powered up the disk; only about 87 files were
on the disk.

I repeated the above tests, but this time, I shut down the system
'gracefully', and restarted. In this set of tests, the files/data
were all present.

The essence of the problem seems to be that I cannot control
write-caching with my external sata drives.

If I must, I will simply reboot my systems each time, but that really
blows my strategy of using SATA is a removable backup medium.

Thanks!

  #23  
Old September 7th 04, 08:26 PM
Brian Taylor
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

And you don't have to tell it to disable, or uninstall, or anything like
that? You just unplug it and it is fine? Can you plug another or the same
drive in without rebooting?

I used Intel D865GBFLK motherboards in the servers and they have 2 on-board
SATA ports running off of the ICH5 southbridge, and I tried to hot swap with
them but it didnt work. Now, I suppose the difference could be the ICH5R
apparently has some difference in the SATA since it supports RAID while the
plain ICH 5 does not. It could also be that one supports hot swap while the
other does not. I sure wish I could confirm that before I purchased another
$500 in motherboards and video cards. The boards I have now have on-board
video, and unfortunately Intel doesn't seem to make an ICH5R board with
on-board graphics. I would really prefer to stick with Intel if possible.

If it fixes the problem it would be worth it, but I hate to spend that much
and be right back where I am right now.

Brian Taylor


"Nathan McNulty" wrote in message
...
Using the ICHR5 chipset on Windows XP MCE (just an addon to
Professional). The motherboard is an ASUS P4P800. Don't need a specific
driver (unless you are talking about chipset drivers in which case I am
using the Intel INF Update Utility 6.0.1.1006 WHQL drivers) since it
isn't RAID and it is just using one of the onboard ports.

----
Nathan McNulty


Brian Taylor wrote:
I am in the exact same predicament. I have 3 low end hand built
servers where I am using a Promise S150 SX4 controller to run 4 bays
of a SuperMicro 5 bay hot swap backplane. Those 4 are working fine,
but the fifth bay was intended to be used for backup and is running
off an Addonics EI PCI host controller (based on the SI3112 SATA
controller).

When inserting a drive, the safe removal icon does not come up in the
systray, but when I remove the drive I get the "Unsafe Removal of
Device" dialog, and sometimes I get the "delayed write failed" dialog.
In Windows 2000 Server the "Disble Write Caching" box is unchecked
and grayed out. And under Windows 2003 Standard "Optimize for
Performance" is filled in and both settings a grayed out.

It was my hope that the people that will be swapping the hard drives
would not have to log in and mess around, but it looks like in order
to do that I am going to have to use something like FireWire external
enclosures for the drives. That is workable, but it costs more and I
already have foam lined cases for these drives with their hot swap
rails, and I really thought this was going to work.

If anyone has successfully done this please post with what OS,
controller, and driver you have used because it is driving me crazy.

Brian Taylor


Nathan McNulty wrote in message

...

Dang. I don't know what to do with that SCSI part. I have no way to
test the scenerio though I do have Windows 2000 Workstation and Server
(any flavor) that I could throw on, it won't matter since I don't have a
PCI SATA Card

Have you tried a clean install of Windows and go from there? That would
be my last resort (and make a good ghost image of your current setup so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:

No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the 'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab, I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options.

Thanks !




  #24  
Old September 7th 04, 08:47 PM
Nathan McNulty
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

What drivers are you using? You may just not have the drivers that have
added this SATA Support. I know it didn't work for me with the drivers
that came with my motherboard, but the latest drivers work. I do have
to use the Safeley Remove Hardware Icon, but I have never had any
errors. We use something similar to this:
http://www.circotech.com/mb122sk-ser...mb-122-sk.html

I am not sure about Windows 2000 since I use XP. But I can unplug the
drive while Windows is running without problems and then plug it back in
later and it works fine. Now I did mess things up by unplugging the
drive while in suspend mode, then added data, and plugged it back in and
resumed. Not a good idea

What do you mean by it didn't work when you tried it? Did the system
reboot? Which drives were you trying to pull out? You can't unplug the
system or boot drive. Only a secondary drive that is not part of a RAID
setup can be unplugged while Windows is running.

----
Nathan McNulty

Brian Taylor wrote:
And you don't have to tell it to disable, or uninstall, or anything like
that? You just unplug it and it is fine? Can you plug another or the same
drive in without rebooting?

I used Intel D865GBFLK motherboards in the servers and they have 2 on-board
SATA ports running off of the ICH5 southbridge, and I tried to hot swap with
them but it didnt work. Now, I suppose the difference could be the ICH5R
apparently has some difference in the SATA since it supports RAID while the
plain ICH 5 does not. It could also be that one supports hot swap while the
other does not. I sure wish I could confirm that before I purchased another
$500 in motherboards and video cards. The boards I have now have on-board
video, and unfortunately Intel doesn't seem to make an ICH5R board with
on-board graphics. I would really prefer to stick with Intel if possible.

If it fixes the problem it would be worth it, but I hate to spend that much
and be right back where I am right now.

Brian Taylor


"Nathan McNulty" wrote in message
...

Using the ICHR5 chipset on Windows XP MCE (just an addon to
Professional). The motherboard is an ASUS P4P800. Don't need a specific
driver (unless you are talking about chipset drivers in which case I am
using the Intel INF Update Utility 6.0.1.1006 WHQL drivers) since it
isn't RAID and it is just using one of the onboard ports.

----
Nathan McNulty


Brian Taylor wrote:

I am in the exact same predicament. I have 3 low end hand built
servers where I am using a Promise S150 SX4 controller to run 4 bays
of a SuperMicro 5 bay hot swap backplane. Those 4 are working fine,
but the fifth bay was intended to be used for backup and is running
off an Addonics EI PCI host controller (based on the SI3112 SATA
controller).

When inserting a drive, the safe removal icon does not come up in the
systray, but when I remove the drive I get the "Unsafe Removal of
Device" dialog, and sometimes I get the "delayed write failed" dialog.
In Windows 2000 Server the "Disble Write Caching" box is unchecked
and grayed out. And under Windows 2003 Standard "Optimize for
Performance" is filled in and both settings a grayed out.

It was my hope that the people that will be swapping the hard drives
would not have to log in and mess around, but it looks like in order
to do that I am going to have to use something like FireWire external
enclosures for the drives. That is workable, but it costs more and I
already have foam lined cases for these drives with their hot swap
rails, and I really thought this was going to work.

If anyone has successfully done this please post with what OS,
controller, and driver you have used because it is driving me crazy.

Brian Taylor


Nathan McNulty wrote in message


...

Dang. I don't know what to do with that SCSI part. I have no way to
test the scenerio though I do have Windows 2000 Workstation and Server
(any flavor) that I could throw on, it won't matter since I don't have a
PCI SATA Card

Have you tried a clean install of Windows and go from there? That would
be my last resort (and make a good ghost image of your current setup so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:


No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the 'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab, I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options.

Thanks !





  #25  
Old September 8th 04, 01:43 AM
Brian Taylor
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

I tried hooking the 5th hot swap bay up to the on-board SATA ports on the
Intel D865GBFLK motherboard. Booted into Windows 2000 Server and inserted
hard drive - result: hard lock. Booted back into Windows then shut down
normally. Inserted hard drive, booted into Windows 2000 Server drive was
recognized and functional. No "removable device" icon. Removed hard drive
and after some time get the "Unsafe Removal" error and "Delayed Write
Failed."

I think I've come to the conclusion that SATA hot-swap is a joke. It would
be nice if it functioned more like USB pen drives, and maybe it will in the
future.

As for my situation, I found a tolerable solution, though it's not exactly
what I wanted. I will set up a DevCon job
(http://support.microsoft.com/default...;EN-US;Q311272) to remove
the hard drive device when the backup successfully completes. If you
disable the hard drive, it remains disabled the next time you insert it, so
you have to remove it. This works since it's pretty much a set time when I
want to switch drives, namely one a week when we swap backup media. Not
what I had hoped for, but it works.

The idea of using SATA drives in the manner described above seems to be
pretty popular. As soon as I find a SATA controller that funtions in that
way I will puchase at least a half a dozen.

Brian Taylor
"Nathan McNulty" wrote in message
...
What drivers are you using? You may just not have the drivers that have
added this SATA Support. I know it didn't work for me with the drivers
that came with my motherboard, but the latest drivers work. I do have
to use the Safeley Remove Hardware Icon, but I have never had any
errors. We use something similar to this:

http://www.circotech.com/mb122sk-ser...mb-122-sk.html

I am not sure about Windows 2000 since I use XP. But I can unplug the
drive while Windows is running without problems and then plug it back in
later and it works fine. Now I did mess things up by unplugging the
drive while in suspend mode, then added data, and plugged it back in and
resumed. Not a good idea

What do you mean by it didn't work when you tried it? Did the system
reboot? Which drives were you trying to pull out? You can't unplug the
system or boot drive. Only a secondary drive that is not part of a RAID
setup can be unplugged while Windows is running.

----
Nathan McNulty

Brian Taylor wrote:
And you don't have to tell it to disable, or uninstall, or anything like
that? You just unplug it and it is fine? Can you plug another or the

same
drive in without rebooting?

I used Intel D865GBFLK motherboards in the servers and they have 2

on-board
SATA ports running off of the ICH5 southbridge, and I tried to hot swap

with
them but it didnt work. Now, I suppose the difference could be the

ICH5R
apparently has some difference in the SATA since it supports RAID while

the
plain ICH 5 does not. It could also be that one supports hot swap while

the
other does not. I sure wish I could confirm that before I purchased

another
$500 in motherboards and video cards. The boards I have now have

on-board
video, and unfortunately Intel doesn't seem to make an ICH5R board with
on-board graphics. I would really prefer to stick with Intel if

possible.

If it fixes the problem it would be worth it, but I hate to spend that

much
and be right back where I am right now.

Brian Taylor


"Nathan McNulty" wrote in message
...

Using the ICHR5 chipset on Windows XP MCE (just an addon to
Professional). The motherboard is an ASUS P4P800. Don't need a specific
driver (unless you are talking about chipset drivers in which case I am
using the Intel INF Update Utility 6.0.1.1006 WHQL drivers) since it
isn't RAID and it is just using one of the onboard ports.

----
Nathan McNulty


Brian Taylor wrote:

I am in the exact same predicament. I have 3 low end hand built
servers where I am using a Promise S150 SX4 controller to run 4 bays
of a SuperMicro 5 bay hot swap backplane. Those 4 are working fine,
but the fifth bay was intended to be used for backup and is running
off an Addonics EI PCI host controller (based on the SI3112 SATA
controller).

When inserting a drive, the safe removal icon does not come up in the
systray, but when I remove the drive I get the "Unsafe Removal of
Device" dialog, and sometimes I get the "delayed write failed" dialog.
In Windows 2000 Server the "Disble Write Caching" box is unchecked
and grayed out. And under Windows 2003 Standard "Optimize for
Performance" is filled in and both settings a grayed out.

It was my hope that the people that will be swapping the hard drives
would not have to log in and mess around, but it looks like in order
to do that I am going to have to use something like FireWire external
enclosures for the drives. That is workable, but it costs more and I
already have foam lined cases for these drives with their hot swap
rails, and I really thought this was going to work.

If anyone has successfully done this please post with what OS,
controller, and driver you have used because it is driving me crazy.

Brian Taylor


Nathan McNulty wrote in message


...

Dang. I don't know what to do with that SCSI part. I have no way to
test the scenerio though I do have Windows 2000 Workstation and Server
(any flavor) that I could throw on, it won't matter since I don't have

a
PCI SATA Card

Have you tried a clean install of Windows and go from there? That

would
be my last resort (and make a good ghost image of your current setup

so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:


No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the

'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab,

I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options.

Thanks !







  #26  
Old September 10th 04, 09:48 PM
Chris S
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

Brian - thanks for the link to the 'DevCon' utility; looks very
useful. By the sound of it, it's only doing at the command line
what you can do in the device manager, so I don't think it will help
me.

In my case, I've already tried 'disabling' and/or 'uninstalling' the
drive in device manager. When I do this, though, Windows always wants
to reboot ('your hardware settings have changed ... must reboot ...
want to restart now?'). If I don't reboot, but then power down the
drive (and later re-connect the drive), files copied to the drive are
not there. If I have the drive powered up and connected on startup of
windows, it detects that the drive is 'dirty' and does some recovery,
and I find a 'found' folder on the drive with lots of files in it.

The above applies to my 'work' system, using a maxtor pci card
(promise chipset). I'll try it on my home system (Adaptec pci card,
silicon image chipset).

On Tue, 7 Sep 2004 19:43:12 -0500, "Brian Taylor"
wrote:

I tried hooking the 5th hot swap bay up to the on-board SATA ports on the
Intel D865GBFLK motherboard. Booted into Windows 2000 Server and inserted
hard drive - result: hard lock. Booted back into Windows then shut down
normally. Inserted hard drive, booted into Windows 2000 Server drive was
recognized and functional. No "removable device" icon. Removed hard drive
and after some time get the "Unsafe Removal" error and "Delayed Write
Failed."

I think I've come to the conclusion that SATA hot-swap is a joke. It would
be nice if it functioned more like USB pen drives, and maybe it will in the
future.

As for my situation, I found a tolerable solution, though it's not exactly
what I wanted. I will set up a DevCon job
(http://support.microsoft.com/default...;EN-US;Q311272) to remove
the hard drive device when the backup successfully completes. If you
disable the hard drive, it remains disabled the next time you insert it, so
you have to remove it. This works since it's pretty much a set time when I
want to switch drives, namely one a week when we swap backup media. Not
what I had hoped for, but it works.

The idea of using SATA drives in the manner described above seems to be
pretty popular. As soon as I find a SATA controller that funtions in that
way I will puchase at least a half a dozen.

Brian Taylor
"Nathan McNulty" wrote in message
...
What drivers are you using? You may just not have the drivers that have
added this SATA Support. I know it didn't work for me with the drivers
that came with my motherboard, but the latest drivers work. I do have
to use the Safeley Remove Hardware Icon, but I have never had any
errors. We use something similar to this:

http://www.circotech.com/mb122sk-ser...mb-122-sk.html

I am not sure about Windows 2000 since I use XP. But I can unplug the
drive while Windows is running without problems and then plug it back in
later and it works fine. Now I did mess things up by unplugging the
drive while in suspend mode, then added data, and plugged it back in and
resumed. Not a good idea

What do you mean by it didn't work when you tried it? Did the system
reboot? Which drives were you trying to pull out? You can't unplug the
system or boot drive. Only a secondary drive that is not part of a RAID
setup can be unplugged while Windows is running.

----
Nathan McNulty

Brian Taylor wrote:
And you don't have to tell it to disable, or uninstall, or anything like
that? You just unplug it and it is fine? Can you plug another or the

same
drive in without rebooting?

I used Intel D865GBFLK motherboards in the servers and they have 2

on-board
SATA ports running off of the ICH5 southbridge, and I tried to hot swap

with
them but it didnt work. Now, I suppose the difference could be the

ICH5R
apparently has some difference in the SATA since it supports RAID while

the
plain ICH 5 does not. It could also be that one supports hot swap while

the
other does not. I sure wish I could confirm that before I purchased

another
$500 in motherboards and video cards. The boards I have now have

on-board
video, and unfortunately Intel doesn't seem to make an ICH5R board with
on-board graphics. I would really prefer to stick with Intel if

possible.

If it fixes the problem it would be worth it, but I hate to spend that

much
and be right back where I am right now.

Brian Taylor


"Nathan McNulty" wrote in message
...

Using the ICHR5 chipset on Windows XP MCE (just an addon to
Professional). The motherboard is an ASUS P4P800. Don't need a specific
driver (unless you are talking about chipset drivers in which case I am
using the Intel INF Update Utility 6.0.1.1006 WHQL drivers) since it
isn't RAID and it is just using one of the onboard ports.

----
Nathan McNulty


Brian Taylor wrote:

I am in the exact same predicament. I have 3 low end hand built
servers where I am using a Promise S150 SX4 controller to run 4 bays
of a SuperMicro 5 bay hot swap backplane. Those 4 are working fine,
but the fifth bay was intended to be used for backup and is running
off an Addonics EI PCI host controller (based on the SI3112 SATA
controller).

When inserting a drive, the safe removal icon does not come up in the
systray, but when I remove the drive I get the "Unsafe Removal of
Device" dialog, and sometimes I get the "delayed write failed" dialog.
In Windows 2000 Server the "Disble Write Caching" box is unchecked
and grayed out. And under Windows 2003 Standard "Optimize for
Performance" is filled in and both settings a grayed out.

It was my hope that the people that will be swapping the hard drives
would not have to log in and mess around, but it looks like in order
to do that I am going to have to use something like FireWire external
enclosures for the drives. That is workable, but it costs more and I
already have foam lined cases for these drives with their hot swap
rails, and I really thought this was going to work.

If anyone has successfully done this please post with what OS,
controller, and driver you have used because it is driving me crazy.

Brian Taylor


Nathan McNulty wrote in message

...

Dang. I don't know what to do with that SCSI part. I have no way to
test the scenerio though I do have Windows 2000 Workstation and Server
(any flavor) that I could throw on, it won't matter since I don't have

a
PCI SATA Card

Have you tried a clean install of Windows and go from there? That

would
be my last resort (and make a good ghost image of your current setup

so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:


No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the

'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab,

I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options.

Thanks !







For email, send to chris at panties domain dot com, Remove panties and replace domain with attbi.
  #27  
Old September 12th 04, 12:39 AM
Chris S
external usenet poster
 
Posts: n/a
Default Hot Swapping a SATA drive in Windows 2000 and XP.

Well, finally some good news to report!

At home, with my Asus P4PE-based system, running windows 2000 pro, and
with Adaptec Silicon-Image chipset SATA card, I AM able to use
'disable' in device manager, and not have to reboot. I tested by
copying files, disabling, powering drive down then up,re-enabling -
all files just written were there - unlike on my work system.

Whether this is due to the motherboard, sata card chipset, or OS, I
don't know. I will perhaps buy another Adaptec SATA card and try it
at work; or temporarily move the adaptec card to my work machine.

On Fri, 10 Sep 2004 13:48:00 -0700, Chris S
wrote:

Brian - thanks for the link to the 'DevCon' utility; looks very
useful. By the sound of it, it's only doing at the command line
what you can do in the device manager, so I don't think it will help
me.

In my case, I've already tried 'disabling' and/or 'uninstalling' the
drive in device manager. When I do this, though, Windows always wants
to reboot ('your hardware settings have changed ... must reboot ...
want to restart now?'). If I don't reboot, but then power down the
drive (and later re-connect the drive), files copied to the drive are
not there. If I have the drive powered up and connected on startup of
windows, it detects that the drive is 'dirty' and does some recovery,
and I find a 'found' folder on the drive with lots of files in it.

The above applies to my 'work' system, using a maxtor pci card
(promise chipset). I'll try it on my home system (Adaptec pci card,
silicon image chipset).

On Tue, 7 Sep 2004 19:43:12 -0500, "Brian Taylor"
wrote:

I tried hooking the 5th hot swap bay up to the on-board SATA ports on the
Intel D865GBFLK motherboard. Booted into Windows 2000 Server and inserted
hard drive - result: hard lock. Booted back into Windows then shut down
normally. Inserted hard drive, booted into Windows 2000 Server drive was
recognized and functional. No "removable device" icon. Removed hard drive
and after some time get the "Unsafe Removal" error and "Delayed Write
Failed."

I think I've come to the conclusion that SATA hot-swap is a joke. It would
be nice if it functioned more like USB pen drives, and maybe it will in the
future.

As for my situation, I found a tolerable solution, though it's not exactly
what I wanted. I will set up a DevCon job
(http://support.microsoft.com/default...;EN-US;Q311272) to remove
the hard drive device when the backup successfully completes. If you
disable the hard drive, it remains disabled the next time you insert it, so
you have to remove it. This works since it's pretty much a set time when I
want to switch drives, namely one a week when we swap backup media. Not
what I had hoped for, but it works.

The idea of using SATA drives in the manner described above seems to be
pretty popular. As soon as I find a SATA controller that funtions in that
way I will puchase at least a half a dozen.

Brian Taylor
"Nathan McNulty" wrote in message
...
What drivers are you using? You may just not have the drivers that have
added this SATA Support. I know it didn't work for me with the drivers
that came with my motherboard, but the latest drivers work. I do have
to use the Safeley Remove Hardware Icon, but I have never had any
errors. We use something similar to this:

http://www.circotech.com/mb122sk-ser...mb-122-sk.html

I am not sure about Windows 2000 since I use XP. But I can unplug the
drive while Windows is running without problems and then plug it back in
later and it works fine. Now I did mess things up by unplugging the
drive while in suspend mode, then added data, and plugged it back in and
resumed. Not a good idea

What do you mean by it didn't work when you tried it? Did the system
reboot? Which drives were you trying to pull out? You can't unplug the
system or boot drive. Only a secondary drive that is not part of a RAID
setup can be unplugged while Windows is running.

----
Nathan McNulty

Brian Taylor wrote:
And you don't have to tell it to disable, or uninstall, or anything like
that? You just unplug it and it is fine? Can you plug another or the

same
drive in without rebooting?

I used Intel D865GBFLK motherboards in the servers and they have 2

on-board
SATA ports running off of the ICH5 southbridge, and I tried to hot swap

with
them but it didnt work. Now, I suppose the difference could be the

ICH5R
apparently has some difference in the SATA since it supports RAID while

the
plain ICH 5 does not. It could also be that one supports hot swap while

the
other does not. I sure wish I could confirm that before I purchased

another
$500 in motherboards and video cards. The boards I have now have

on-board
video, and unfortunately Intel doesn't seem to make an ICH5R board with
on-board graphics. I would really prefer to stick with Intel if

possible.

If it fixes the problem it would be worth it, but I hate to spend that

much
and be right back where I am right now.

Brian Taylor


"Nathan McNulty" wrote in message
...

Using the ICHR5 chipset on Windows XP MCE (just an addon to
Professional). The motherboard is an ASUS P4P800. Don't need a specific
driver (unless you are talking about chipset drivers in which case I am
using the Intel INF Update Utility 6.0.1.1006 WHQL drivers) since it
isn't RAID and it is just using one of the onboard ports.

----
Nathan McNulty


Brian Taylor wrote:

I am in the exact same predicament. I have 3 low end hand built
servers where I am using a Promise S150 SX4 controller to run 4 bays
of a SuperMicro 5 bay hot swap backplane. Those 4 are working fine,
but the fifth bay was intended to be used for backup and is running
off an Addonics EI PCI host controller (based on the SI3112 SATA
controller).

When inserting a drive, the safe removal icon does not come up in the
systray, but when I remove the drive I get the "Unsafe Removal of
Device" dialog, and sometimes I get the "delayed write failed" dialog.
In Windows 2000 Server the "Disble Write Caching" box is unchecked
and grayed out. And under Windows 2003 Standard "Optimize for
Performance" is filled in and both settings a grayed out.

It was my hope that the people that will be swapping the hard drives
would not have to log in and mess around, but it looks like in order
to do that I am going to have to use something like FireWire external
enclosures for the drives. That is workable, but it costs more and I
already have foam lined cases for these drives with their hot swap
rails, and I really thought this was going to work.

If anyone has successfully done this please post with what OS,
controller, and driver you have used because it is driving me crazy.

Brian Taylor


Nathan McNulty wrote in message

...

Dang. I don't know what to do with that SCSI part. I have no way to
test the scenerio though I do have Windows 2000 Workstation and Server
(any flavor) that I could throw on, it won't matter since I don't have

a
PCI SATA Card

Have you tried a clean install of Windows and go from there? That

would
be my last resort (and make a good ghost image of your current setup

so
you can recover it if needed on top of backing everything up).

----
Nathan McNulty


Chris S wrote:


No. In device manager, under 'Disk Drives', if I dbl-click the drive
in question, there are four tabs (this is on my Win2k system at home)
- General, Disk Properties, SCSI Properties, and Driver. On the

'Disk
Properties' tab, there is only one check box, and it is grayed out -
'Write cache enabled' (it's not selected either, though since it's
grayed out, that could mean nothing). On the 'SCSI Properties' tab,

I
have two choices - Disable tagged queueing, and Disable synchronous
transfers. Neither are checked, but neither apply to write caching.
And that's it for options.

Thanks !







For email, send to chris at panties domain dot com, Remove panties and replace domain with attbi.


===========
Remove 'nospam' from email to reply - Thanks
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Hardisk Patrick General XP issues or comments 9 April 4th 05 06:09 AM
Windows XP + Windows 2000 browsing problem Igor Girkin Networking and the Internet with Windows XP 1 August 16th 04 03:37 PM
Recent MSFT KBs on XP SP2 Incompatibility and Others Joshua Heslinga Windows Service Pack 2 2 August 14th 04 10:03 PM
One Hard drive for 2 computers Performance and Maintainance of XP 9 August 6th 04 06:38 AM
WUP fials to update XP HighMAT David Beardmore The Basics 0 July 31st 04 05:22 PM






All times are GMT +1. The time now is 09:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.