Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Questions about SATA and hot plugging.
Date: Tue, 14 Dec 2010 20:18:46
Message-Id: 4d07d0cd.960acc0a.3a90.1708@mx.google.com
In Reply to: Re: [gentoo-user] Questions about SATA and hot plugging. by Dale
1 On Tuesday 14 December 2010 11:49:00 Dale wrote:
2 > Mark Knecht wrote:
3 > > On Tue, Dec 14, 2010 at 9:13 AM, Dale<rdalek1967@×××××.com> wrote:
4 > >> Mark Knecht wrote:
5 > >>> On Tue, Dec 14, 2010 at 8:42 AM, Dale<rdalek1967@×××××.com> wrote:
6 > >>>> Hi,
7 > >>>>
8 > >>>> I got one more hard drive to move over and it is SATA. Question
9 > >>>> one, can the new mobo's do hot plugging for SATA drives? I have
10 > >>>> a plug on the front
11 > >>>> of the case and was wondering since it is on the front if they can
12 > >>>> be hot swapped or if I need to shutdown then hook it up. If I
13 > >>>> can hot swap, where
14 > >>>> does the power come from? I know the drives I put in the case
15 > >>>> have a
16 > >>>> separate power connection. How's that work exactly? Is that just
17 > >>>> for
18 > >>>> external drives that have their own power?
19 > >>>>
20 > >>>> I have two dries in here already. One I bought and one that was
21 > >>>> donated.
22 > >>>>
23 > >>>> This is what hdparm reports:
24 > >>>> fireball ~ # hdparm -tT /dev/sda
25 > >>>>
26 > >>>> /dev/sda:
27 > >>>> Timing cached reads: 6788 MB in 2.00 seconds = 3395.32
28 > >>>> MB/sec
29 > >>>> Timing buffered disk reads: 328 MB in 3.01 seconds = 109.06
30 > >>>> MB/sec
31 > >>>>
32 > >>>> fireball ~ # hdparm -tT /dev/sdb
33 > >>>>
34 > >>>> /dev/sdb:
35 > >>>> Timing cached reads: 6736 MB in 2.00 seconds = 3367.58
36 > >>>> MB/sec
37 > >>>> Timing buffered disk reads: 324 MB in 3.01 seconds = 107.69
38 > >>>> MB/sec
39 > >>>>
40 > >>>> fireball ~ #
41 > >>>>
42 > >>>> Is that about normal? The mobo is 3Gbs/sec and the drives are
43 > >>>> too.
44 > >>>>
45 > >>>> Shouldn't they be faster than that? I read at one time that
46 > >>>> SATA is
47 > >>>>
48 > >>>> basically plug up and it works. Just checking if there is a
49 > >>>> setting I
50 > >>>> need
51 > >>>> to change.
52 > >>>>
53 > >>>> Related to the above, in the BIOS, it is set to Native IDE.
54 > >>>> Should that be
55 > >>>> set to AHCI instead? Is that why it is slower than expected? Is
56 > >>>> that
57 > >>>> good
58 > >>>> to go with Linux as well? I have this set in the kernel and built
59 > >>>> in as usual:
60 > >>>>
61 > >>>> AHCI SATA support
62 > >>>>
63 > >>>> Let me know if I am somewhat right on anything. Oh, I decided to
64 > >>>> name
65 > >>>> the
66 > >>>> new rig fireball instead of lightening. ;-) You may notice that
67 > >>>> in the paste up above.
68 > >>>>
69 > >>>> Thanks.
70 > >>>>
71 > >>>> Dale
72 > >>>
73 > >>> The SATA spec allows for hot plugging, so technically yes, but it
74 > >>> also
75 > >>> assumes the drives are in some sort of container so that power and
76 > >>> signals are applied at the right time.
77 > >>>
78 > >>> The plug on the front of your case is probably eSATA which looks
79 > >>> similar but has some small changes. What you want to do is figure
80 > >>> out
81 > >>> which of your MB SATA ports are eSATA compatible and then run one of
82 > >>> those channels to the connector at the front inside your case.
83 > >>> Typically SATA drives are converted to eSATA external drives by
84 > >>> putting them in a case you can get at most computer shops for<
85 > >>> $30 or so.
86 > >>>
87 > >>> Hope this helps,
88 > >>> Mark
89 > >>
90 > >> I did hook the eSATA cable that goes to the front of the case to the
91 > >> eSATA connector on the mobo. Thing is, I think they are all eSATA
92 > >> compatible tho.
93 > >>
94 > >> I think that is what I read in the mobo book. Yea, I read the
95 > >> book. I
96 > >>
97 > >> even followed the instructions for the CPU cooler too. lol
98 > >>
99 > >> I was thinking it needed some sort of power for the drive tho. I
100 > >> didn't
101 > >> think it was like USB stuff.
102 > >>
103 > >> Thanks for the info.
104 > >>
105 > >> Dale
106 > >
107 > > One of my MBs had 6 SATA connectors but only two were eSATA compatible.
108 > >
109 > > Power for my eSATA drive is supplied by the case.
110 > >
111 > > Hope this helps,
112 > > Mark
113 >
114 > It does. It was the one on the front that made me curious tho. I have
115 > used USB for a while but was curious about how it works on the front
116 > with no power for it. I think I'll leave that one alone for now. May
117 > get brave another day tho.
118 >
119 > Thanks.
120 >
121 > Dale
122 >
123 > :-) :-)
124
125 you seem to have misunderstood Mark. The power is delivered by the harddisks
126 case. AKA external power supply. esata has 0 power distribution capabilities.
127 Always remember: first unplug the sata cable, wait, then power. This allows the
128 device to flush the cache.

Replies

Subject Author
Re: [gentoo-user] Questions about SATA and hot plugging. Dale <rdalek1967@×××××.com>