Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Questions about SATA and hot plugging.
Date: Tue, 14 Dec 2010 17:36:00
Message-Id: 20101214173435.GB5560@solfire
In Reply to: Re: [gentoo-user] Questions about SATA and hot plugging. by Dale
1 Dale <rdalek1967@×××××.com> [10-12-14 18:28]:
2 > Helmut Jarausch wrote:
3 > >On 12/14/10 17:42:40, Dale wrote:
4 > >
5 > >>Hi,
6 > >>
7 > >>I got one more hard drive to move over and it is SATA. Question one,
8 > >>can the new mobo's do hot plugging for SATA drives? I have a plug on
9 > >>the front of the case and was wondering since it is on the front if
10 > >>they
11 > >>
12 > >If this is an eSATA connection then it works just fine out of the box.
13 > >It's helpful to write some UDEV rule e.g. in /etc/udev/rules.d/10-
14 > >local.rules, e.g.
15 > >SUBSYSTEMS=="scsi", ATTRS{model}=="WDC WD10EADS-65L",
16 > >SYMLINK="WDExt%n"
17 > >which generates the /dev/WDExt ... /devWDExt4 devices if there are
18 > >e.g. 4 partitions on that drive. Thus you can write a fixed entry
19 > >in your fstab using these devices.
20 > >
21 > >
22 >
23 > So this is doable then. Interesting. ^_^
24 >
25 > >>can be hot swapped or if I need to shutdown then hook it up. If I
26 > >>can
27 > >>
28 > >>hot swap, where does the power come from? I know the drives I put in
29 > >>the case have a separate power connection. How's that work exactly?
30 > >>Is
31 > >>that just for external drives that have their own power?
32 > >>
33 > >>I have two dries in here already. One I bought and one that was
34 > >>donated. This is what hdparm reports:
35 > >>
36 > >>fireball ~ # hdparm -tT /dev/sda
37 > >>
38 > >>/dev/sda:
39 > >> Timing cached reads: 6788 MB in 2.00 seconds = 3395.32 MB/sec
40 > >> Timing buffered disk reads: 328 MB in 3.01 seconds = 109.06 MB/
41 > >>sec
42 > >>fireball ~ # hdparm -tT /dev/sdb
43 > >>
44 > >>/dev/sdb:
45 > >> Timing cached reads: 6736 MB in 2.00 seconds = 3367.58 MB/sec
46 > >> Timing buffered disk reads: 324 MB in 3.01 seconds = 107.69 MB/
47 > >>sec
48 > >>
49 > >Exactly the same here, the external SATA drive is even slower
50 > >/dev/sdd:
51 > > Timing cached reads: 7498 MB in 2.00 seconds = 3750.67 MB/sec
52 > > Timing buffered disk reads: 262 MB in 3.02 seconds = 86.70 MB/sec
53 > >
54 > >
55 > >>fireball ~ #
56 > >>
57 > >>Is that about normal? The mobo is 3Gbs/sec and the drives are too.
58 > >>Shouldn't they be faster than that? I read at one time that SATA is
59 > >>basically plug up and it works. Just checking if there is a setting
60 > >>I
61 > >>
62 > >>need to change.
63 > >>
64 > >>Related to the above, in the BIOS, it is set to Native IDE. Should
65 > >>that
66 > >>be set to AHCI instead? Is that why it is slower than expected? Is
67 > >>that good to go with Linux as well? I have this set in the kernel
68 > >>and
69 > >>
70 > >>built in as usual:
71 > >>
72 > >>AHCI SATA support
73 > >>
74 > >I'have configured my BIOS like that. It's working just fine.
75 > >
76 > >
77 > >>Let me know if I am somewhat right on anything. Oh, I decided to
78 > >>name
79 > >>
80 > >>the new rig fireball instead of lightening. ;-) You may notice that
81 > >>in
82 > >>the paste up above.
83 > >>
84 > >>
85 > >Helmut.
86 > >
87 > >
88 >
89 > Well, according to the mobo book, AHCI "enables advanced SATA
90 > features". Me, I read that and I think that it may mean faster. It
91 > also says it is set to native by default for OS's that can handle only
92 > native mode controllers. I just don't want to try it without making
93 > sure it is not going to lead to some sort of file system problems or
94 > something. I did some Googling but most of the stuff I find is from
95 > years ago and things have changed a lot since then.
96 >
97 > Thanks for the info.
98 >
99 > Dale
100 >
101 > :-) :-)
102 >
103
104
105 In the linux kernel configuration you can set AHCI for Sata...
106 But whether this technically option is addtionally a wise one?
107 I dont know...

Replies

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