Gentoo Archives: gentoo-user

From: Helmut Jarausch <jarausch@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Questions about SATA and hot plugging.
Date: Tue, 14 Dec 2010 17:02:37
Message-Id: 1292346087.3422.0@numa-i
In Reply to: [gentoo-user] Questions about SATA and hot plugging. by Dale
1 On 12/14/10 17:42:40, Dale wrote:
2 > Hi,
3 >
4 > I got one more hard drive to move over and it is SATA. Question one,
5 > can the new mobo's do hot plugging for SATA drives? I have a plug on
6 > the front of the case and was wondering since it is on the front if
7 > they
8
9 If this is an eSATA connection then it works just fine out of the box.
10 It's helpful to write some UDEV rule e.g. in /etc/udev/rules.d/10-
11 local.rules, e.g.
12 SUBSYSTEMS=="scsi", ATTRS{model}=="WDC WD10EADS-65L", SYMLINK="WDExt%n"
13 which generates the /dev/WDExt ... /devWDExt4 devices if there are
14 e.g. 4 partitions on that drive. Thus you can write a fixed entry
15 in your fstab using these devices.
16
17 > can be hot swapped or if I need to shutdown then hook it up. If I
18 > can
19 >
20 > hot swap, where does the power come from? I know the drives I put in
21 > the case have a separate power connection. How's that work exactly?
22 > Is
23 > that just for external drives that have their own power?
24 >
25 > I have two dries in here already. One I bought and one that was
26 > donated. This is what hdparm reports:
27 >
28 > fireball ~ # hdparm -tT /dev/sda
29 >
30 > /dev/sda:
31 > Timing cached reads: 6788 MB in 2.00 seconds = 3395.32 MB/sec
32 > Timing buffered disk reads: 328 MB in 3.01 seconds = 109.06 MB/
33 > sec
34 > fireball ~ # hdparm -tT /dev/sdb
35 >
36 > /dev/sdb:
37 > Timing cached reads: 6736 MB in 2.00 seconds = 3367.58 MB/sec
38 > Timing buffered disk reads: 324 MB in 3.01 seconds = 107.69 MB/
39 > sec
40
41 Exactly the same here, the external SATA drive is even slower
42 /dev/sdd:
43 Timing cached reads: 7498 MB in 2.00 seconds = 3750.67 MB/sec
44 Timing buffered disk reads: 262 MB in 3.02 seconds = 86.70 MB/sec
45
46 > fireball ~ #
47 >
48 > Is that about normal? The mobo is 3Gbs/sec and the drives are too.
49 > Shouldn't they be faster than that? I read at one time that SATA is
50 > basically plug up and it works. Just checking if there is a setting
51 > I
52 >
53 > need to change.
54 >
55 > Related to the above, in the BIOS, it is set to Native IDE. Should
56 > that
57 > be set to AHCI instead? Is that why it is slower than expected? Is
58 > that good to go with Linux as well? I have this set in the kernel
59 > and
60 >
61 > built in as usual:
62 >
63 > AHCI SATA support
64
65 I'have configured my BIOS like that. It's working just fine.
66
67 >
68 > Let me know if I am somewhat right on anything. Oh, I decided to
69 > name
70 >
71 > the new rig fireball instead of lightening. ;-) You may notice that
72 > in
73 > the paste up above.
74 >
75 Helmut.

Replies

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