Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Stroller

On 15/12/2010, at 4:59pm, Andrea Conti wrote:
>>> The SATA spec allows for hot plugging, so technically yes ...
>> My recollection of my understanding (multiple disclaimers) was that SATA 
>> *allowed* for SATA hot-plugging but didn't *mandate* it.
> 
> ...
> We have quite a number of software RAID setups with SATA disks in hot-swap 
> backplanes; so far we found that hotplug works quite reliably on Intel 
> (ICH9R/ICH10R), AMD (SB700/SB800) and Silicon Image (sil3132) controllers.

That is *extremely* helpful, thank you.

Stroller.




Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread James Wall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/14/10 12:28, meino.cra...@gmx.de wrote:
> Dale  [10-12-14 18:56]:
>> meino.cra...@gmx.de wrote:
>>> Hi Dale,
>>>
>>> as I know, the hd hardware can't nearly as fast as the bus speed
>>> regardless whether it is 6GB/s or 3GB/s.
>>> Quickly doing the same as you on my harddisk gave:
>>>
>>> /dev/sda:
>>>  Timing cached reads:   6726 MB in  2.00 seconds = 3364.06 MB/sec
>>>  Timing buffered disk reads: 318 MB in  3.00 seconds = 105.93 MB/sec
>>>
>>> The speeds of 6 GB/s or 3GB/s are only reached, when reading data
>>> directly from the hd cache.
>>>
>>> I dont know, what motherboard you use. But the settings you describe
>>> seem to be identical to mine.
>>>
>>> Important is:
>>> In the BIOS go to the hd section and look, what the BIOS think the
>>> speed of your hd is (3 GB/s or 6GB/s). When found directly set you
>>> SATA chip to that speed. It is recommended to do so by the help of
>>> text of my BIOS. I have a 3GB/s disk. And yes, IDE is ok.
>>>
>>> Here you can find explanations about AHCI vs. IDE sata mode.
>>> http://www.techarp.com/showfreebog.aspx?lang=0&bogno=316
>>>
>>> On my board (ASUS Crosshair IV Formula) it was said, that AHCI is
>>> slower than IDE, but (!) is not due to IDE vs. AHCI but to a
>>> limitation of the chip.
>>>
>>> Look at the benchmarks above: There no place to go faster than that.
>>> 3/6 GB/s on cach read are standard compliant and ~100 MB/s is the
>>> limitation of hardware normal people like you and me can pay for.
>>>
>>> Plug on the front:
>>> This seems to be E-Sata jack AND SHOULD BE CONNECTED INTERNALLY ONLY
>>> TO AN E-SATA (not SATA) JACK ON THE MOBO.
>>>
>>> In unmounted status: Yes it should be hotpluggable as USB. BUT dont
>>> connect the E-SATA jack of the case to a normal SATA jack on the
>>> board!
>>>
>>> E-SATA != SATA 
>>>
>>> HTH
>>> mcc
>>>
>>>   
>>
>> Sounds like I am normal on speed.  Still wonder why they call it 
>> "advanced" tho.  Hype maybe?  ;-)
>>
>> I noticed when I did some searching that the eSATA connectors have sort 
>> of a L shape to them.  All the SATA connectors have a L shape to them 
>> on my mobo.
>>
>> I think for safety's sake, I think I will shutdown first.  The biggest 
>> reason I was wondering is because it is on the front next to the USB 
>> plugs too.  Just made me wonder.
>>
>> Dale
>>
>> :-)  :-)
>>
> 
> You know AGP (_Advanced_ graphics port), Dale?
> You know, why _this_ is "advanced"?
> 
> Look at USB 2.0?
> 
> Names like "Full speed" and "High speed" are only sands in the eyes of
> the others.
> 
> Names only names...
> 
> Why they increase SATA to currently 6GB/s to read from...guess... the
> RAM of a hd?
Solid State drives can max out a 3Gb/s connection because it is not a
mechanical drive where the sector is moving under the head of a drive.
the Solid state drive just sends the data out instantly to get to the CPU.
> 
> Ok, I begin to become cycnic ;)
> 
> Be the boot be with you!
> Use the source, Luke!
> And: No, I am _NOT_ you father... ;)
> 
> mcc
- --
No trees were harmed in the sending of this message. However, a large
number of electrons were terribly inconvenienced.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNCVw4AAoJEISPTA/exVD8sgIH/RbwgJocEAjszNGseStjXHUA
DV4SaXNotaRPfCJVy6TTAKAlcy7akFl6C02SAsVqB4XLS3yn4f3NeKVl9JImghN2
h+z+tQRIB2tzlt3isdannnQpiSzyMptMOkgi+xB52AB9GrnwLX30HFP9x5oKbcJJ
wYe7r1iGHZ/lG6p2ByykIjrGFq4YZwmsiaRbl59AFJilNyy/hk76qW6d9HIurZkp
WTxvU/c4VnzGGZ4CclbrJN3gi2ON+f1JxAe9gGZ1C4mMQp4sb/U3R3uM8Bz8VFcK
jWEj7EEEWSGKvjX4sqoaKvGdrUK/4nGaWCQCYzyptH8nzI77TFENgOFvHbgrrgg=
=bmsv
-END PGP SIGNATURE-



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Dale

Volker Armin Hemmann wrote:

On Wednesday 15 December 2010 12:24:58 Dale wrote:
   

Mark Knecht wrote:
 

On Wed, Dec 15, 2010 at 9:49 AM, Volker Armin Hemmann

   wrote:
   

On Wednesday 15 December 2010 05:54:40 Dale wrote:
 

According to the mobo manual, if I enable AHCI, it is hot swappable.
   

and enabling AHCI is the only sane option. So do it.

 

I
just ain't to comfy doing it.  I'd like to see it done with no smoke
getting out first.
   

no smoke. Worst case: controller hangs, you have to reboot.
 

The worst case is _slightly_ worse than that, but certainly no smoke.
Some systems (my 6 drive RAID compute server for instance) changes
drive mapping between AHCI and compatibility modes so I had to adjust
/etc/fstab. If Dale is using labels of some type he will likely be
better off than I was.

There certainly won't be any harm caused by changing the BIOS setting
to AHCI and trying it out. Reboot and change BIOS back is all he would
have to do in my experience.

- Mark
   

Are the drives any faster when using AHCI tho?  If the speed is the same
then I may try it next time I reboot but not real sure why it would
matter.  I was hoping for something even faster.
 

ahci is robust, in case of an error you don't have to wait for the 30-ide-
timeout. NCQ can speed up some stuff. AHCI is just the right thing to do.

   


I had to reboot to plug the UPS up to my serial port so I switched it.  
I think this is about the same as I got last time so not really any 
faster or anything.  This is the results:


fireball ~ # hdparm -Tt /dev/sdb

/dev/sdb:
 Timing cached reads:   7932 MB in  2.00 seconds = 3967.66 MB/sec
 Timing buffered disk reads:  328 MB in  3.00 seconds = 109.31 MB/sec
fireball ~ #

So, at least we know it doesn't make much difference on this rig anyway.

Dale

:-)  :-)



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Volker Armin Hemmann
On Wednesday 15 December 2010 12:24:58 Dale wrote:
> Mark Knecht wrote:
> > On Wed, Dec 15, 2010 at 9:49 AM, Volker Armin Hemmann
> > 
> >   wrote:
> >> On Wednesday 15 December 2010 05:54:40 Dale wrote:
> >>> According to the mobo manual, if I enable AHCI, it is hot swappable.
> >> 
> >> and enabling AHCI is the only sane option. So do it.
> >> 
> >>> I
> >>> just ain't to comfy doing it.  I'd like to see it done with no smoke
> >>> getting out first.
> >> 
> >> no smoke. Worst case: controller hangs, you have to reboot.
> > 
> > The worst case is _slightly_ worse than that, but certainly no smoke.
> > Some systems (my 6 drive RAID compute server for instance) changes
> > drive mapping between AHCI and compatibility modes so I had to adjust
> > /etc/fstab. If Dale is using labels of some type he will likely be
> > better off than I was.
> > 
> > There certainly won't be any harm caused by changing the BIOS setting
> > to AHCI and trying it out. Reboot and change BIOS back is all he would
> > have to do in my experience.
> > 
> > - Mark
> 
> Are the drives any faster when using AHCI tho?  If the speed is the same
> then I may try it next time I reboot but not real sure why it would
> matter.  I was hoping for something even faster.

ahci is robust, in case of an error you don't have to wait for the 30-ide-
timeout. NCQ can speed up some stuff. AHCI is just the right thing to do.





Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Mark Knecht
On Wed, Dec 15, 2010 at 10:24 AM, Dale  wrote:
> Mark Knecht wrote:
>>
>> On Wed, Dec 15, 2010 at 9:49 AM, Volker Armin Hemmann
>>   wrote:
>>
>>>
>>> On Wednesday 15 December 2010 05:54:40 Dale wrote:
>>>
>>>

 According to the mobo manual, if I enable AHCI, it is hot swappable.

>>>
>>> and enabling AHCI is the only sane option. So do it.
>>>
>>>

 I
 just ain't to comfy doing it.  I'd like to see it done with no smoke
 getting out first.

>>>
>>> no smoke. Worst case: controller hangs, you have to reboot.
>>>
>>>
>>>
>>
>> The worst case is _slightly_ worse than that, but certainly no smoke.
>> Some systems (my 6 drive RAID compute server for instance) changes
>> drive mapping between AHCI and compatibility modes so I had to adjust
>> /etc/fstab. If Dale is using labels of some type he will likely be
>> better off than I was.
>>
>> There certainly won't be any harm caused by changing the BIOS setting
>> to AHCI and trying it out. Reboot and change BIOS back is all he would
>> have to do in my experience.
>>
>> - Mark
>>
>>
>
> Are the drives any faster when using AHCI tho?  If the speed is the same
> then I may try it next time I reboot but not real sure why it would matter.
>  I was hoping for something even faster.
>
> Dale

I suspect they might be faster but you'd have to benchmark them
yourself to find out. I never did that or don't remember the results
if I did.

- Mark



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Dale

Mark Knecht wrote:

On Wed, Dec 15, 2010 at 9:49 AM, Volker Armin Hemmann
  wrote:
   

On Wednesday 15 December 2010 05:54:40 Dale wrote:

 

According to the mobo manual, if I enable AHCI, it is hot swappable.
   

and enabling AHCI is the only sane option. So do it.

 

I
just ain't to comfy doing it.  I'd like to see it done with no smoke
getting out first.
   

no smoke. Worst case: controller hangs, you have to reboot.


 

The worst case is _slightly_ worse than that, but certainly no smoke.
Some systems (my 6 drive RAID compute server for instance) changes
drive mapping between AHCI and compatibility modes so I had to adjust
/etc/fstab. If Dale is using labels of some type he will likely be
better off than I was.

There certainly won't be any harm caused by changing the BIOS setting
to AHCI and trying it out. Reboot and change BIOS back is all he would
have to do in my experience.

- Mark

   


Are the drives any faster when using AHCI tho?  If the speed is the same 
then I may try it next time I reboot but not real sure why it would 
matter.  I was hoping for something even faster.


Dale

:-)  :-)



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Mark Knecht
On Wed, Dec 15, 2010 at 9:49 AM, Volker Armin Hemmann
 wrote:
> On Wednesday 15 December 2010 05:54:40 Dale wrote:
>
>>
>> According to the mobo manual, if I enable AHCI, it is hot swappable.
>
> and enabling AHCI is the only sane option. So do it.
>
>> I
>> just ain't to comfy doing it.  I'd like to see it done with no smoke
>> getting out first.
>
> no smoke. Worst case: controller hangs, you have to reboot.
>
>

The worst case is _slightly_ worse than that, but certainly no smoke.
Some systems (my 6 drive RAID compute server for instance) changes
drive mapping between AHCI and compatibility modes so I had to adjust
/etc/fstab. If Dale is using labels of some type he will likely be
better off than I was.

There certainly won't be any harm caused by changing the BIOS setting
to AHCI and trying it out. Reboot and change BIOS back is all he would
have to do in my experience.

- Mark



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Volker Armin Hemmann
On Wednesday 15 December 2010 05:54:40 Dale wrote:

> 
> According to the mobo manual, if I enable AHCI, it is hot swappable.

and enabling AHCI is the only sane option. So do it.

> I
> just ain't to comfy doing it.  I'd like to see it done with no smoke
> getting out first.

no smoke. Worst case: controller hangs, you have to reboot.



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Andrea Conti

The SATA spec allows for hot plugging, so technically yes ...

My recollection of my understanding (multiple disclaimers) was that SATA 
*allowed* for SATA hot-plugging but didn't *mandate* it.


a good summary of the hardware/driver situation wrt hotplugging can be 
found here:


https://ata.wiki.kernel.org/index.php/SATA_hardware_features

Short version: most controllers nowadays support hotplug, provided they 
are not operated in compatibility ("IDE") mode.


We have quite a number of software RAID setups with SATA disks in 
hot-swap backplanes; so far we found that hotplug works quite reliably 
on Intel (ICH9R/ICH10R), AMD (SB700/SB800) and Silicon Image (sil3132) 
controllers.


andrea



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Andrea Conti

E-SATA != SATA 


Nah. They are *exactly* the same.

Evidently someone realized that the original SATA connector is way too 
fragile to be regularly used to plug/unplug a cable by hand, so they 
engineered in some features which make it a bit more resilient. But 
apart from the shape of the connector there is really no difference.


(Well, in the old days of SATAI not many chipsets supported hotplug; 
often boards came with a couple of eSATA ports wired to a separate chip 
with hotplug support. But on virtually all new boards all ports support 
hotplug).


andrea



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Dale

Stroller wrote:

On 14/12/2010, at 4:57pm, Mark Knecht wrote:
   

The SATA spec allows for hot plugging, so technically yes ...
 

My recollection of my understanding (multiple disclaimers) was that SATA 
*allowed* for SATA hot-plugging but didn't *mandate* it.

If I could have found a SATA motherboard&/or controller with multiple ports 
that supported SATA hot-plugging then, when I built my storage server, I would have 
bought that and saved myself quite a bit of money against the hardware RAID card I 
bought instead. The impression I got when reading, however, was that many SATA 
ports can be hot-plugged, but their manufacturers don't explicitly state the fact, 
so one can't be 100% sure it's safe to do so.

Also: learn to snip, guys.

Stroller.

   


According to the mobo manual, if I enable AHCI, it is hot swappable.  I 
just ain't to comfy doing it.  I'd like to see it done with no smoke 
getting out first.


Dale

:-)  :_)



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-15 Thread Dale

Volker Armin Hemmann wrote:


you seem to have misunderstood Mark. The power is delivered by the harddisks
case. AKA external power supply. esata has 0 power distribution capabilities.
Always remember: first unplug the sata cable, wait, then power. This allows the
device to flush the cache.

   


That was what I understood I just didn't type it in very well.  
Basically, it is not like USB.  The connector only carries data and no 
power for devices.  Since I don't have any external P/Ss then eSATA 
isn't doing me any good right now.  Maybe down the road some day.


Dale

:-)  :-)



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Stroller

On 14/12/2010, at 4:57pm, Mark Knecht wrote:
> On Tue, Dec 14, 2010 at 8:42 AM, Dale  wrote:
>> ...I got one more hard drive to move over and it is SATA.  Question one, can
>> the new mobo's do hot plugging for SATA drives?
>> ...
> 
> The SATA spec allows for hot plugging, so technically yes ...

My recollection of my understanding (multiple disclaimers) was that SATA 
*allowed* for SATA hot-plugging but didn't *mandate* it.

If I could have found a SATA motherboard &/or controller with multiple ports 
that supported SATA hot-plugging then, when I built my storage server, I would 
have bought that and saved myself quite a bit of money against the hardware 
RAID card I bought instead. The impression I got when reading, however, was 
that many SATA ports can be hot-plugged, but their manufacturers don't 
explicitly state the fact, so one can't be 100% sure it's safe to do so.

Also: learn to snip, guys.

Stroller.




Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Volker Armin Hemmann
On Tuesday 14 December 2010 11:49:00 Dale wrote:
> Mark Knecht wrote:
> > On Tue, Dec 14, 2010 at 9:13 AM, Dale  wrote:
> >> Mark Knecht wrote:
> >>> On Tue, Dec 14, 2010 at 8:42 AM, Dalewrote:
>  Hi,
>  
>  I got one more hard drive to move over and it is SATA.  Question
>  one, can the new mobo's do hot plugging for SATA drives?  I have
>  a plug on the front
>  of the case and was wondering since it is on the front if they can
>  be hot swapped or if I need to shutdown then hook it up.  If I
>  can hot swap, where
>  does the power come from?  I know the drives I put in the case
>  have a
>  separate power connection.  How's that work exactly?  Is that just
>  for
>  external drives that have their own power?
>  
>  I have two dries in here already.  One I bought and one that was
>  donated.
>  
>    This is what hdparm reports:
>  fireball ~ # hdparm -tT /dev/sda
>  
>  /dev/sda:
>    Timing cached reads:   6788 MB in  2.00 seconds = 3395.32
>    MB/sec
>    Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06
>    MB/sec
>  
>  fireball ~ # hdparm -tT /dev/sdb
>  
>  /dev/sdb:
>    Timing cached reads:   6736 MB in  2.00 seconds = 3367.58
>    MB/sec
>    Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69
>    MB/sec
>  
>  fireball ~ #
>  
>  Is that about normal?  The mobo is 3Gbs/sec and the drives are
>  too.
>  
>    Shouldn't they be faster than that?  I read at one time that
>    SATA is
>  
>  basically plug up and it works.  Just checking if there is a
>  setting I
>  need
>  to change.
>  
>  Related to the above, in the BIOS, it is set to Native IDE. 
>  Should that be
>  set to AHCI instead?  Is that why it is slower than expected?  Is
>  that
>  good
>  to go with Linux as well?  I have this set in the kernel and built
>  in as usual:
>  
>  AHCI SATA support
>  
>  Let me know if I am somewhat right on anything.  Oh, I decided to
>  name
>  the
>  new rig fireball instead of lightening.  ;-)  You may notice that
>  in the paste up above.
>  
>  Thanks.
>  
>  Dale
> >>> 
> >>> The SATA spec allows for hot plugging, so technically yes, but it
> >>> also
> >>> assumes the drives are in some sort of container so that power and
> >>> signals are applied at the right time.
> >>> 
> >>> The plug on the front of your case is probably eSATA which looks
> >>> similar but has some small changes. What you want to do is figure
> >>> out
> >>> which of your MB SATA ports are eSATA compatible and then run one of
> >>> those channels to the connector at the front inside your case.
> >>> Typically SATA drives are converted to eSATA external drives by
> >>> putting them in a case you can get at most computer shops for<   
> >>> $30 or so.
> >>> 
> >>> Hope this helps,
> >>> Mark
> >> 
> >> I did hook the eSATA cable that goes to the front of the case to the
> >> eSATA connector on the mobo.  Thing is, I think they are all eSATA
> >> compatible tho.
> >> 
> >>   I think that is what I read in the mobo book.  Yea, I read the
> >>   book.  I
> >> 
> >> even followed the instructions for the CPU cooler too.  lol
> >> 
> >> I was thinking it needed some sort of power for the drive tho.  I
> >> didn't
> >> think it was like USB stuff.
> >> 
> >> Thanks for the info.
> >> 
> >> Dale
> > 
> > One of my MBs had 6 SATA connectors but only two were eSATA compatible.
> > 
> > Power for my eSATA drive is supplied by the case.
> > 
> > Hope this helps,
> > Mark
> 
> It does.  It was the one on the front that made me curious tho.  I have
> used USB for a while but was curious about how it works on the front
> with no power for it.   I think I'll leave that one alone for now.  May
> get brave another day tho.
> 
> Thanks.
> 
> Dale
> 
> :-)  :-)

you seem to have misunderstood Mark. The power is delivered by the harddisks 
case. AKA external power supply. esata has 0 power distribution capabilities.
Always remember: first unplug the sata cable, wait, then power. This allows the 
device to flush the cache.



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread meino . cramer
Jarry  [10-12-14 19:44]:
> On 14. 12. 2010 19:28, meino.cra...@gmx.de wrote:
> 
> >You know AGP (_Advanced_ graphics port), Dale?
> >You know, why _this_ is "advanced"?
> 
> Because it is "Accelerated Graphics Port"...
> 
> Jarry
> 
> 
> -- 
> ___
> This mailbox accepts e-mails only from selected mailing-lists!
> Everything else is considered to be spam and therefore deleted.
> 

Hi jarry,


ok...this candidate wins 1000 points ... ;)

Damn...now the joke is somehow corrupted...

But thanks for clearify this !!! :))

mcc




Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Jarry

On 14. 12. 2010 19:28, meino.cra...@gmx.de wrote:


You know AGP (_Advanced_ graphics port), Dale?
You know, why _this_ is "advanced"?


Because it is "Accelerated Graphics Port"...

Jarry


--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread meino . cramer
Dale  [10-12-14 18:56]:
> meino.cra...@gmx.de wrote:
> >Hi Dale,
> >
> >as I know, the hd hardware can't nearly as fast as the bus speed
> >regardless whether it is 6GB/s or 3GB/s.
> >Quickly doing the same as you on my harddisk gave:
> >
> >/dev/sda:
> >  Timing cached reads:   6726 MB in  2.00 seconds = 3364.06 MB/sec
> >  Timing buffered disk reads: 318 MB in  3.00 seconds = 105.93 MB/sec
> >
> >The speeds of 6 GB/s or 3GB/s are only reached, when reading data
> >directly from the hd cache.
> >
> >I dont know, what motherboard you use. But the settings you describe
> >seem to be identical to mine.
> >
> >Important is:
> >In the BIOS go to the hd section and look, what the BIOS think the
> >speed of your hd is (3 GB/s or 6GB/s). When found directly set you
> >SATA chip to that speed. It is recommended to do so by the help of
> >text of my BIOS. I have a 3GB/s disk. And yes, IDE is ok.
> >
> >Here you can find explanations about AHCI vs. IDE sata mode.
> >http://www.techarp.com/showfreebog.aspx?lang=0&bogno=316
> >
> >On my board (ASUS Crosshair IV Formula) it was said, that AHCI is
> >slower than IDE, but (!) is not due to IDE vs. AHCI but to a
> >limitation of the chip.
> >
> >Look at the benchmarks above: There no place to go faster than that.
> >3/6 GB/s on cach read are standard compliant and ~100 MB/s is the
> >limitation of hardware normal people like you and me can pay for.
> >
> >Plug on the front:
> >This seems to be E-Sata jack AND SHOULD BE CONNECTED INTERNALLY ONLY
> >TO AN E-SATA (not SATA) JACK ON THE MOBO.
> >
> >In unmounted status: Yes it should be hotpluggable as USB. BUT dont
> >connect the E-SATA jack of the case to a normal SATA jack on the
> >board!
> >
> >E-SATA != SATA 
> >
> >HTH
> >mcc
> >
> >   
> 
> Sounds like I am normal on speed.  Still wonder why they call it 
> "advanced" tho.  Hype maybe?  ;-)
> 
> I noticed when I did some searching that the eSATA connectors have sort 
> of a L shape to them.  All the SATA connectors have a L shape to them 
> on my mobo.
> 
> I think for safety's sake, I think I will shutdown first.  The biggest 
> reason I was wondering is because it is on the front next to the USB 
> plugs too.  Just made me wonder.
> 
> Dale
> 
> :-)  :-)
> 

You know AGP (_Advanced_ graphics port), Dale?
You know, why _this_ is "advanced"?

Look at USB 2.0?

Names like "Full speed" and "High speed" are only sands in the eyes of
the others.

Names only names...

Why they increase SATA to currently 6GB/s to read from...guess... the
RAM of a hd?

Ok, I begin to become cycnic ;)

Be the boot be with you!
Use the source, Luke!
And: No, I am _NOT_ you father... ;)

mcc






Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Dale

meino.cra...@gmx.de wrote:

In the linux kernel configuration you can set AHCI for Sata...
But whether this technically option is addtionally a wise one?
I dont know...

   


I better leave hot pluggin to the USB stuff.  I don't want to smoke my 
new rig and have to down grade.  :-(


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Dale

Mark Knecht wrote:

On Tue, Dec 14, 2010 at 9:13 AM, Dale  wrote:
   

Mark Knecht wrote:
 

On Tue, Dec 14, 2010 at 8:42 AM, Dalewrote:

   

Hi,

I got one more hard drive to move over and it is SATA.  Question one, can
the new mobo's do hot plugging for SATA drives?  I have a plug on the
front
of the case and was wondering since it is on the front if they can be hot
swapped or if I need to shutdown then hook it up.  If I can hot swap,
where
does the power come from?  I know the drives I put in the case have a
separate power connection.  How's that work exactly?  Is that just for
external drives that have their own power?

I have two dries in here already.  One I bought and one that was donated.
  This is what hdparm reports:

fireball ~ # hdparm -tT /dev/sda

/dev/sda:
  Timing cached reads:   6788 MB in  2.00 seconds = 3395.32 MB/sec
  Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06 MB/sec
fireball ~ # hdparm -tT /dev/sdb

/dev/sdb:
  Timing cached reads:   6736 MB in  2.00 seconds = 3367.58 MB/sec
  Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69 MB/sec
fireball ~ #

Is that about normal?  The mobo is 3Gbs/sec and the drives are too.
  Shouldn't they be faster than that?  I read at one time that SATA is
basically plug up and it works.  Just checking if there is a setting I
need
to change.

Related to the above, in the BIOS, it is set to Native IDE.  Should that
be
set to AHCI instead?  Is that why it is slower than expected?  Is that
good
to go with Linux as well?  I have this set in the kernel and built in as
usual:

AHCI SATA support

Let me know if I am somewhat right on anything.  Oh, I decided to name
the
new rig fireball instead of lightening.  ;-)  You may notice that in the
paste up above.

Thanks.

Dale

 

The SATA spec allows for hot plugging, so technically yes, but it also
assumes the drives are in some sort of container so that power and
signals are applied at the right time.

The plug on the front of your case is probably eSATA which looks
similar but has some small changes. What you want to do is figure out
which of your MB SATA ports are eSATA compatible and then run one of
those channels to the connector at the front inside your case.
Typically SATA drives are converted to eSATA external drives by
putting them in a case you can get at most computer shops for<$30 or
so.

Hope this helps,
Mark


   

I did hook the eSATA cable that goes to the front of the case to the eSATA
connector on the mobo.  Thing is, I think they are all eSATA compatible tho.
  I think that is what I read in the mobo book.  Yea, I read the book.  I
even followed the instructions for the CPU cooler too.  lol

I was thinking it needed some sort of power for the drive tho.  I didn't
think it was like USB stuff.

Thanks for the info.

Dale
 

One of my MBs had 6 SATA connectors but only two were eSATA compatible.

Power for my eSATA drive is supplied by the case.

Hope this helps,
Mark

   


It does.  It was the one on the front that made me curious tho.  I have 
used USB for a while but was curious about how it works on the front 
with no power for it.   I think I'll leave that one alone for now.  May 
get brave another day tho.


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Dale

meino.cra...@gmx.de wrote:

Hi Dale,

as I know, the hd hardware can't nearly as fast as the bus speed
regardless whether it is 6GB/s or 3GB/s.
Quickly doing the same as you on my harddisk gave:

/dev/sda:
  Timing cached reads:   6726 MB in  2.00 seconds = 3364.06 MB/sec
  Timing buffered disk reads: 318 MB in  3.00 seconds = 105.93 MB/sec

The speeds of 6 GB/s or 3GB/s are only reached, when reading data
directly from the hd cache.

I dont know, what motherboard you use. But the settings you describe
seem to be identical to mine.

Important is:
In the BIOS go to the hd section and look, what the BIOS think the
speed of your hd is (3 GB/s or 6GB/s). When found directly set you
SATA chip to that speed. It is recommended to do so by the help of
text of my BIOS. I have a 3GB/s disk. And yes, IDE is ok.

Here you can find explanations about AHCI vs. IDE sata mode.
http://www.techarp.com/showfreebog.aspx?lang=0&bogno=316

On my board (ASUS Crosshair IV Formula) it was said, that AHCI is
slower than IDE, but (!) is not due to IDE vs. AHCI but to a
limitation of the chip.

Look at the benchmarks above: There no place to go faster than that.
3/6 GB/s on cach read are standard compliant and ~100 MB/s is the
limitation of hardware normal people like you and me can pay for.

Plug on the front:
This seems to be E-Sata jack AND SHOULD BE CONNECTED INTERNALLY ONLY
TO AN E-SATA (not SATA) JACK ON THE MOBO.

In unmounted status: Yes it should be hotpluggable as USB. BUT dont
connect the E-SATA jack of the case to a normal SATA jack on the
board!

E-SATA != SATA 

HTH
mcc

   


Sounds like I am normal on speed.  Still wonder why they call it 
"advanced" tho.  Hype maybe?  ;-)


I noticed when I did some searching that the eSATA connectors have sort 
of a L shape to them.  All the SATA connectors have a L shape to them on 
my mobo.


I think for safety's sake, I think I will shutdown first.  The biggest 
reason I was wondering is because it is on the front next to the USB 
plugs too.  Just made me wonder.


Dale

:-)  :-)



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Mark Knecht
On Tue, Dec 14, 2010 at 9:20 AM, Dale  wrote:

>
> Well, according to the mobo book, AHCI "enables advanced SATA features".
>  Me, I read that and I think that it may mean faster.  It also says it is
> set to native by default for OS's that can handle only native mode
> controllers.  I just don't want to try it without making sure it is not
> going to lead to some sort of file system problems or something.  I did some
> Googling but most of the stuff I find is from years ago and things have
> changed a lot since then.
>
> Thanks for the info.
>
> Dale

In my experience the Intel BIOS stuff effected booting from internal
SATA drives. If it worked it didn't create any other problems that I
saw.

IIRC there were some kernel driver options to get the right things
built in which would of course be required to boot.

Hope this helps,
Mark



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Mark Knecht
On Tue, Dec 14, 2010 at 9:13 AM, Dale  wrote:
> Mark Knecht wrote:
>>
>> On Tue, Dec 14, 2010 at 8:42 AM, Dale  wrote:
>>
>>>
>>> Hi,
>>>
>>> I got one more hard drive to move over and it is SATA.  Question one, can
>>> the new mobo's do hot plugging for SATA drives?  I have a plug on the
>>> front
>>> of the case and was wondering since it is on the front if they can be hot
>>> swapped or if I need to shutdown then hook it up.  If I can hot swap,
>>> where
>>> does the power come from?  I know the drives I put in the case have a
>>> separate power connection.  How's that work exactly?  Is that just for
>>> external drives that have their own power?
>>>
>>> I have two dries in here already.  One I bought and one that was donated.
>>>  This is what hdparm reports:
>>>
>>> fireball ~ # hdparm -tT /dev/sda
>>>
>>> /dev/sda:
>>>  Timing cached reads:   6788 MB in  2.00 seconds = 3395.32 MB/sec
>>>  Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06 MB/sec
>>> fireball ~ # hdparm -tT /dev/sdb
>>>
>>> /dev/sdb:
>>>  Timing cached reads:   6736 MB in  2.00 seconds = 3367.58 MB/sec
>>>  Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69 MB/sec
>>> fireball ~ #
>>>
>>> Is that about normal?  The mobo is 3Gbs/sec and the drives are too.
>>>  Shouldn't they be faster than that?  I read at one time that SATA is
>>> basically plug up and it works.  Just checking if there is a setting I
>>> need
>>> to change.
>>>
>>> Related to the above, in the BIOS, it is set to Native IDE.  Should that
>>> be
>>> set to AHCI instead?  Is that why it is slower than expected?  Is that
>>> good
>>> to go with Linux as well?  I have this set in the kernel and built in as
>>> usual:
>>>
>>> AHCI SATA support
>>>
>>> Let me know if I am somewhat right on anything.  Oh, I decided to name
>>> the
>>> new rig fireball instead of lightening.  ;-)  You may notice that in the
>>> paste up above.
>>>
>>> Thanks.
>>>
>>> Dale
>>>
>>
>> The SATA spec allows for hot plugging, so technically yes, but it also
>> assumes the drives are in some sort of container so that power and
>> signals are applied at the right time.
>>
>> The plug on the front of your case is probably eSATA which looks
>> similar but has some small changes. What you want to do is figure out
>> which of your MB SATA ports are eSATA compatible and then run one of
>> those channels to the connector at the front inside your case.
>> Typically SATA drives are converted to eSATA external drives by
>> putting them in a case you can get at most computer shops for<  $30 or
>> so.
>>
>> Hope this helps,
>> Mark
>>
>>
>
> I did hook the eSATA cable that goes to the front of the case to the eSATA
> connector on the mobo.  Thing is, I think they are all eSATA compatible tho.
>  I think that is what I read in the mobo book.  Yea, I read the book.  I
> even followed the instructions for the CPU cooler too.  lol
>
> I was thinking it needed some sort of power for the drive tho.  I didn't
> think it was like USB stuff.
>
> Thanks for the info.
>
> Dale

One of my MBs had 6 SATA connectors but only two were eSATA compatible.

Power for my eSATA drive is supplied by the case.

Hope this helps,
Mark



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread meino . cramer
Dale  [10-12-14 18:28]:
> Helmut Jarausch wrote:
> >On 12/14/10 17:42:40, Dale wrote:
> >   
> >>Hi,
> >>
> >>I got one more hard drive to move over and it is SATA.  Question one,
> >>can the new mobo's do hot plugging for SATA drives?  I have a plug on
> >>the front of the case and was wondering since it is on the front if
> >>they
> >> 
> >If this is an eSATA connection then it works just fine out of the box.
> >It's helpful to write some UDEV rule e.g. in /etc/udev/rules.d/10-
> >local.rules, e.g.
> >SUBSYSTEMS=="scsi", ATTRS{model}=="WDC WD10EADS-65L", 
> >SYMLINK="WDExt%n"
> >which generates the /dev/WDExt ... /devWDExt4 devices if there are
> >e.g. 4 partitions on that drive. Thus you can write a fixed entry
> >in your fstab using these devices.
> >
> >   
> 
> So this is doable then.  Interesting.  ^_^
> 
> >>can be hot swapped or if I need to shutdown then hook it up.  If I
> >>can
> >>
> >>hot swap, where does the power come from?  I know the drives I put in
> >>the case have a separate power connection.  How's that work exactly?
> >>Is
> >>that just for external drives that have their own power?
> >>
> >>I have two dries in here already.  One I bought and one that was
> >>donated.  This is what hdparm reports:
> >>
> >>fireball ~ # hdparm -tT /dev/sda
> >>
> >>/dev/sda:
> >>   Timing cached reads:   6788 MB in  2.00 seconds = 3395.32 MB/sec
> >>   Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06 MB/
> >>sec
> >>fireball ~ # hdparm -tT /dev/sdb
> >>
> >>/dev/sdb:
> >>   Timing cached reads:   6736 MB in  2.00 seconds = 3367.58 MB/sec
> >>   Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69 MB/
> >>sec
> >> 
> >Exactly the same here, the external SATA drive is even slower
> >/dev/sdd:
> >  Timing cached reads:   7498 MB in  2.00 seconds = 3750.67 MB/sec
> >  Timing buffered disk reads: 262 MB in  3.02 seconds =  86.70 MB/sec
> >
> >   
> >>fireball ~ #
> >>
> >>Is that about normal?  The mobo is 3Gbs/sec and the drives are too.
> >>Shouldn't they be faster than that?  I read at one time that SATA is
> >>basically plug up and it works.  Just checking if there is a setting
> >>I
> >>
> >>need to change.
> >>
> >>Related to the above, in the BIOS, it is set to Native IDE.  Should
> >>that
> >>be set to AHCI instead?  Is that why it is slower than expected?  Is
> >>that good to go with Linux as well?  I have this set in the kernel
> >>and
> >>
> >>built in as usual:
> >>
> >>AHCI SATA support
> >> 
> >I'have configured my BIOS like that. It's working just fine.
> >
> >   
> >>Let me know if I am somewhat right on anything.  Oh, I decided to
> >>name
> >>
> >>the new rig fireball instead of lightening.  ;-)  You may notice that
> >>in
> >>the paste up above.
> >>
> >> 
> >Helmut.
> >
> >   
> 
> Well, according to the mobo book, AHCI "enables advanced SATA 
> features".  Me, I read that and I think that it may mean faster.  It 
> also says it is set to native by default for OS's that can handle only 
> native mode controllers.  I just don't want to try it without making 
> sure it is not going to lead to some sort of file system problems or 
> something.  I did some Googling but most of the stuff I find is from 
> years ago and things have changed a lot since then.
> 
> Thanks for the info.
> 
> Dale
> 
> :-)  :-)
> 


In the linux kernel configuration you can set AHCI for Sata...
But whether this technically option is addtionally a wise one?
I dont know...






Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Dale

Helmut Jarausch wrote:

On 12/14/10 17:42:40, Dale wrote:
   

Hi,

I got one more hard drive to move over and it is SATA.  Question one,
can the new mobo's do hot plugging for SATA drives?  I have a plug on
the front of the case and was wondering since it is on the front if
they
 

If this is an eSATA connection then it works just fine out of the box.
It's helpful to write some UDEV rule e.g. in /etc/udev/rules.d/10-
local.rules, e.g.
SUBSYSTEMS=="scsi", ATTRS{model}=="WDC WD10EADS-65L", SYMLINK="WDExt%n"
which generates the /dev/WDExt ... /devWDExt4 devices if there are
e.g. 4 partitions on that drive. Thus you can write a fixed entry
in your fstab using these devices.

   


So this is doable then.  Interesting.  ^_^


can be hot swapped or if I need to shutdown then hook it up.  If I
can

hot swap, where does the power come from?  I know the drives I put in
the case have a separate power connection.  How's that work exactly?
Is
that just for external drives that have their own power?

I have two dries in here already.  One I bought and one that was
donated.  This is what hdparm reports:

fireball ~ # hdparm -tT /dev/sda

/dev/sda:
   Timing cached reads:   6788 MB in  2.00 seconds = 3395.32 MB/sec
   Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06 MB/
sec
fireball ~ # hdparm -tT /dev/sdb

/dev/sdb:
   Timing cached reads:   6736 MB in  2.00 seconds = 3367.58 MB/sec
   Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69 MB/
sec
 

Exactly the same here, the external SATA drive is even slower
/dev/sdd:
  Timing cached reads:   7498 MB in  2.00 seconds = 3750.67 MB/sec
  Timing buffered disk reads: 262 MB in  3.02 seconds =  86.70 MB/sec

   

fireball ~ #

Is that about normal?  The mobo is 3Gbs/sec and the drives are too.
Shouldn't they be faster than that?  I read at one time that SATA is
basically plug up and it works.  Just checking if there is a setting
I

need to change.

Related to the above, in the BIOS, it is set to Native IDE.  Should
that
be set to AHCI instead?  Is that why it is slower than expected?  Is
that good to go with Linux as well?  I have this set in the kernel
and

built in as usual:

AHCI SATA support
 

I'have configured my BIOS like that. It's working just fine.

   

Let me know if I am somewhat right on anything.  Oh, I decided to
name

the new rig fireball instead of lightening.  ;-)  You may notice that
in
the paste up above.

 

Helmut.

   


Well, according to the mobo book, AHCI "enables advanced SATA 
features".  Me, I read that and I think that it may mean faster.  It 
also says it is set to native by default for OS's that can handle only 
native mode controllers.  I just don't want to try it without making 
sure it is not going to lead to some sort of file system problems or 
something.  I did some Googling but most of the stuff I find is from 
years ago and things have changed a lot since then.


Thanks for the info.

Dale

:-)  :-)



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Dale

Mark Knecht wrote:

On Tue, Dec 14, 2010 at 8:42 AM, Dale  wrote:
   

Hi,

I got one more hard drive to move over and it is SATA.  Question one, can
the new mobo's do hot plugging for SATA drives?  I have a plug on the front
of the case and was wondering since it is on the front if they can be hot
swapped or if I need to shutdown then hook it up.  If I can hot swap, where
does the power come from?  I know the drives I put in the case have a
separate power connection.  How's that work exactly?  Is that just for
external drives that have their own power?

I have two dries in here already.  One I bought and one that was donated.
  This is what hdparm reports:

fireball ~ # hdparm -tT /dev/sda

/dev/sda:
  Timing cached reads:   6788 MB in  2.00 seconds = 3395.32 MB/sec
  Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06 MB/sec
fireball ~ # hdparm -tT /dev/sdb

/dev/sdb:
  Timing cached reads:   6736 MB in  2.00 seconds = 3367.58 MB/sec
  Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69 MB/sec
fireball ~ #

Is that about normal?  The mobo is 3Gbs/sec and the drives are too.
  Shouldn't they be faster than that?  I read at one time that SATA is
basically plug up and it works.  Just checking if there is a setting I need
to change.

Related to the above, in the BIOS, it is set to Native IDE.  Should that be
set to AHCI instead?  Is that why it is slower than expected?  Is that good
to go with Linux as well?  I have this set in the kernel and built in as
usual:

AHCI SATA support

Let me know if I am somewhat right on anything.  Oh, I decided to name the
new rig fireball instead of lightening.  ;-)  You may notice that in the
paste up above.

Thanks.

Dale
 

The SATA spec allows for hot plugging, so technically yes, but it also
assumes the drives are in some sort of container so that power and
signals are applied at the right time.

The plug on the front of your case is probably eSATA which looks
similar but has some small changes. What you want to do is figure out
which of your MB SATA ports are eSATA compatible and then run one of
those channels to the connector at the front inside your case.
Typically SATA drives are converted to eSATA external drives by
putting them in a case you can get at most computer shops for<  $30 or
so.

Hope this helps,
Mark

   


I did hook the eSATA cable that goes to the front of the case to the 
eSATA connector on the mobo.  Thing is, I think they are all eSATA 
compatible tho.  I think that is what I read in the mobo book.  Yea, I 
read the book.  I even followed the instructions for the CPU cooler 
too.  lol


I was thinking it needed some sort of power for the drive tho.  I didn't 
think it was like USB stuff.


Thanks for the info.

Dale

:-)  :-)



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread meino . cramer
Dale  [10-12-14 17:48]:
> Hi,
> 
> I got one more hard drive to move over and it is SATA.  Question one, 
> can the new mobo's do hot plugging for SATA drives?  I have a plug on 
> the front of the case and was wondering since it is on the front if 
> they can be hot swapped or if I need to shutdown then hook it up.  If I 
> can hot swap, where does the power come from?  I know the drives I put 
> in the case have a separate power connection.  How's that work exactly? 
>  Is that just for external drives that have their own power?
> 
> I have two dries in here already.  One I bought and one that was 
> donated.  This is what hdparm reports:
> 
> fireball ~ # hdparm -tT /dev/sda
> 
> /dev/sda:
>  Timing cached reads:   6788 MB in  2.00 seconds = 3395.32 MB/sec
>  Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06 MB/sec
> fireball ~ # hdparm -tT /dev/sdb
> 
> /dev/sdb:
>  Timing cached reads:   6736 MB in  2.00 seconds = 3367.58 MB/sec
>  Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69 MB/sec
> fireball ~ #
> 
> Is that about normal?  The mobo is 3Gbs/sec and the drives are too.  
> Shouldn't they be faster than that?  I read at one time that SATA is 
> basically plug up and it works.  Just checking if there is a setting I 
> need to change.
> 
> Related to the above, in the BIOS, it is set to Native IDE.  Should 
> that be set to AHCI instead?  Is that why it is slower than expected?  
> Is that good to go with Linux as well?  I have this set in the kernel 
> and built in as usual:
> 
> AHCI SATA support
> 
> Let me know if I am somewhat right on anything.  Oh, I decided to name 
> the new rig fireball instead of lightening.  ;-)  You may notice that 
> in the paste up above.
> 
> Thanks.
> 
> Dale
> 
> :-)  :-)
> 

Hi Dale,

as I know, the hd hardware can't nearly as fast as the bus speed
regardless whether it is 6GB/s or 3GB/s.
Quickly doing the same as you on my harddisk gave:

/dev/sda:
 Timing cached reads:   6726 MB in  2.00 seconds = 3364.06 MB/sec
 Timing buffered disk reads: 318 MB in  3.00 seconds = 105.93 MB/sec

The speeds of 6 GB/s or 3GB/s are only reached, when reading data
directly from the hd cache.

I dont know, what motherboard you use. But the settings you describe
seem to be identical to mine.

Important is: 
In the BIOS go to the hd section and look, what the BIOS think the
speed of your hd is (3 GB/s or 6GB/s). When found directly set you
SATA chip to that speed. It is recommended to do so by the help of
text of my BIOS. I have a 3GB/s disk. And yes, IDE is ok.

Here you can find explanations about AHCI vs. IDE sata mode.
http://www.techarp.com/showfreebog.aspx?lang=0&bogno=316

On my board (ASUS Crosshair IV Formula) it was said, that AHCI is
slower than IDE, but (!) is not due to IDE vs. AHCI but to a
limitation of the chip.

Look at the benchmarks above: There no place to go faster than that.
3/6 GB/s on cach read are standard compliant and ~100 MB/s is the
limitation of hardware normal people like you and me can pay for.

Plug on the front:
This seems to be E-Sata jack AND SHOULD BE CONNECTED INTERNALLY ONLY
TO AN E-SATA (not SATA) JACK ON THE MOBO.

In unmounted status: Yes it should be hotpluggable as USB. BUT dont
connect the E-SATA jack of the case to a normal SATA jack on the
board!

E-SATA != SATA 

HTH
mcc






Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Helmut Jarausch
On 12/14/10 17:42:40, Dale wrote:
> Hi,
> 
> I got one more hard drive to move over and it is SATA.  Question one, 
> can the new mobo's do hot plugging for SATA drives?  I have a plug on 
> the front of the case and was wondering since it is on the front if
> they 

If this is an eSATA connection then it works just fine out of the box.
It's helpful to write some UDEV rule e.g. in /etc/udev/rules.d/10-
local.rules, e.g.
SUBSYSTEMS=="scsi", ATTRS{model}=="WDC WD10EADS-65L", SYMLINK="WDExt%n"
which generates the /dev/WDExt ... /devWDExt4 devices if there are
e.g. 4 partitions on that drive. Thus you can write a fixed entry
in your fstab using these devices.

> can be hot swapped or if I need to shutdown then hook it up.  If I 
> can
> 
> hot swap, where does the power come from?  I know the drives I put in 
> the case have a separate power connection.  How's that work exactly? 
> Is 
> that just for external drives that have their own power?
> 
> I have two dries in here already.  One I bought and one that was 
> donated.  This is what hdparm reports:
> 
> fireball ~ # hdparm -tT /dev/sda
> 
> /dev/sda:
>   Timing cached reads:   6788 MB in  2.00 seconds = 3395.32 MB/sec
>   Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06 MB/
> sec
> fireball ~ # hdparm -tT /dev/sdb
> 
> /dev/sdb:
>   Timing cached reads:   6736 MB in  2.00 seconds = 3367.58 MB/sec
>   Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69 MB/
> sec

Exactly the same here, the external SATA drive is even slower
/dev/sdd:
 Timing cached reads:   7498 MB in  2.00 seconds = 3750.67 MB/sec
 Timing buffered disk reads: 262 MB in  3.02 seconds =  86.70 MB/sec

> fireball ~ #
> 
> Is that about normal?  The mobo is 3Gbs/sec and the drives are too.  
> Shouldn't they be faster than that?  I read at one time that SATA is 
> basically plug up and it works.  Just checking if there is a setting 
> I
> 
> need to change.
> 
> Related to the above, in the BIOS, it is set to Native IDE.  Should
> that 
> be set to AHCI instead?  Is that why it is slower than expected?  Is 
> that good to go with Linux as well?  I have this set in the kernel 
> and
> 
> built in as usual:
> 
> AHCI SATA support

I'have configured my BIOS like that. It's working just fine.

> 
> Let me know if I am somewhat right on anything.  Oh, I decided to 
> name
> 
> the new rig fireball instead of lightening.  ;-)  You may notice that
> in 
> the paste up above.
> 
Helmut.



Re: [gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Mark Knecht
On Tue, Dec 14, 2010 at 8:42 AM, Dale  wrote:
> Hi,
>
> I got one more hard drive to move over and it is SATA.  Question one, can
> the new mobo's do hot plugging for SATA drives?  I have a plug on the front
> of the case and was wondering since it is on the front if they can be hot
> swapped or if I need to shutdown then hook it up.  If I can hot swap, where
> does the power come from?  I know the drives I put in the case have a
> separate power connection.  How's that work exactly?  Is that just for
> external drives that have their own power?
>
> I have two dries in here already.  One I bought and one that was donated.
>  This is what hdparm reports:
>
> fireball ~ # hdparm -tT /dev/sda
>
> /dev/sda:
>  Timing cached reads:   6788 MB in  2.00 seconds = 3395.32 MB/sec
>  Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06 MB/sec
> fireball ~ # hdparm -tT /dev/sdb
>
> /dev/sdb:
>  Timing cached reads:   6736 MB in  2.00 seconds = 3367.58 MB/sec
>  Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69 MB/sec
> fireball ~ #
>
> Is that about normal?  The mobo is 3Gbs/sec and the drives are too.
>  Shouldn't they be faster than that?  I read at one time that SATA is
> basically plug up and it works.  Just checking if there is a setting I need
> to change.
>
> Related to the above, in the BIOS, it is set to Native IDE.  Should that be
> set to AHCI instead?  Is that why it is slower than expected?  Is that good
> to go with Linux as well?  I have this set in the kernel and built in as
> usual:
>
> AHCI SATA support
>
> Let me know if I am somewhat right on anything.  Oh, I decided to name the
> new rig fireball instead of lightening.  ;-)  You may notice that in the
> paste up above.
>
> Thanks.
>
> Dale

The SATA spec allows for hot plugging, so technically yes, but it also
assumes the drives are in some sort of container so that power and
signals are applied at the right time.

The plug on the front of your case is probably eSATA which looks
similar but has some small changes. What you want to do is figure out
which of your MB SATA ports are eSATA compatible and then run one of
those channels to the connector at the front inside your case.
Typically SATA drives are converted to eSATA external drives by
putting them in a case you can get at most computer shops for < $30 or
so.

Hope this helps,
Mark



[gentoo-user] Questions about SATA and hot plugging.

2010-12-14 Thread Dale

Hi,

I got one more hard drive to move over and it is SATA.  Question one, 
can the new mobo's do hot plugging for SATA drives?  I have a plug on 
the front of the case and was wondering since it is on the front if they 
can be hot swapped or if I need to shutdown then hook it up.  If I can 
hot swap, where does the power come from?  I know the drives I put in 
the case have a separate power connection.  How's that work exactly?  Is 
that just for external drives that have their own power?


I have two dries in here already.  One I bought and one that was 
donated.  This is what hdparm reports:


fireball ~ # hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   6788 MB in  2.00 seconds = 3395.32 MB/sec
 Timing buffered disk reads:  328 MB in  3.01 seconds = 109.06 MB/sec
fireball ~ # hdparm -tT /dev/sdb

/dev/sdb:
 Timing cached reads:   6736 MB in  2.00 seconds = 3367.58 MB/sec
 Timing buffered disk reads:  324 MB in  3.01 seconds = 107.69 MB/sec
fireball ~ #

Is that about normal?  The mobo is 3Gbs/sec and the drives are too.  
Shouldn't they be faster than that?  I read at one time that SATA is 
basically plug up and it works.  Just checking if there is a setting I 
need to change.


Related to the above, in the BIOS, it is set to Native IDE.  Should that 
be set to AHCI instead?  Is that why it is slower than expected?  Is 
that good to go with Linux as well?  I have this set in the kernel and 
built in as usual:


AHCI SATA support

Let me know if I am somewhat right on anything.  Oh, I decided to name 
the new rig fireball instead of lightening.  ;-)  You may notice that in 
the paste up above.


Thanks.

Dale

:-)  :-)