1 |
On Dec 19, 2007 10:33 AM, Yahya Mohammad <mfyahya@×××××.com> wrote: |
2 |
|
3 |
> I have an nforce5 motherboard set up with two disks in a RAID0 |
4 |
> configuration. The BIOS menu shows "Striping block" as 64K and "Striping |
5 |
> width" as 2. What exactly does this mean? Is 64K the smallest possble |
6 |
> chunk size written to a single disk? I want to know what's the optimum |
7 |
> value for the "stride" parameter to pass to mke2fs -E when using ext3 |
8 |
> with 4K blocks. |
9 |
> |
10 |
> I activated the array with dmraid and looked at some of its info output. |
11 |
> But the various stride, stripeSize, and stripBlockSize values below |
12 |
> don't make sense to me: |
13 |
> |
14 |
> # dmraid -s |
15 |
> *** Active Set |
16 |
> name : nvidia_abcbdgeb |
17 |
> size : 1953546240 |
18 |
> stride : 128 |
19 |
> type : stripe |
20 |
> status : ok |
21 |
> subsets: 0 |
22 |
> devs : 2 |
23 |
> spares : 0 |
24 |
> |
25 |
> # dmraid -n |
26 |
> /dev/sda (nvidia): |
27 |
> 0x000 NVIDIA |
28 |
> 0x008 size: 30 |
29 |
> 0x00c chksum: 4068594016 |
30 |
> 0x010 version: 100 |
31 |
> 0x012 unitNumber: 0 |
32 |
> 0x013 reserved: 0 |
33 |
> 0x014 capacity: 1953546240 |
34 |
> 0x018 sectorSize: 512 |
35 |
> 0x01c productID: STRIPE 931.52G |
36 |
> 0x02c productRevision: 100 |
37 |
> 0x030 unitFlags: 0 |
38 |
> 0x034 array->version: 6553668 |
39 |
> 0x038 array->signature[0]: 658758547 |
40 |
> 0x03c array->signature[1]: 1476699144 |
41 |
> 0x040 array->signature[2]: 414004829 |
42 |
> 0x044 array->signature[3]: 332144723 |
43 |
> 0x048 array->raidJobCode: 0 |
44 |
> 0x049 array->stripeWidth: 2 |
45 |
> 0x04a array->totalVolumes: 2 |
46 |
> 0x04b array->originalWidth: 2 |
47 |
> 0x04c array->raidLevel: 128 |
48 |
> 0x050 array->stripeBlockSize: 128 |
49 |
> 0x054 array->stripeBlockByteSize: 65536 |
50 |
> 0x058 array->stripeBlockPower: 7 |
51 |
> 0x05c array->stripeMask: 127 |
52 |
> 0x060 array->stripeSize: 256 |
53 |
> 0x064 array->stripeByteSize: 131072 |
54 |
> 0x068 array->raidJobMark 0 |
55 |
> 0x06c array->originalLevel 128 |
56 |
> 0x070 array->originalCapacity 1953546240 |
57 |
> 0x074 array->flags 0x1 |
58 |
> |
59 |
> /dev/sdb (nvidia): |
60 |
> 0x000 NVIDIA |
61 |
> 0x008 size: 30 |
62 |
> 0x00c chksum: 4068528480 |
63 |
> 0x010 version: 100 |
64 |
> 0x012 unitNumber: 1 |
65 |
> 0x013 reserved: 0 |
66 |
> 0x014 capacity: 1953546240 |
67 |
> 0x018 sectorSize: 512 |
68 |
> 0x01c productID: STRIPE 931.52G |
69 |
> 0x02c productRevision: 100 |
70 |
> 0x030 unitFlags: 0 |
71 |
> 0x034 array->version: 6553668 |
72 |
> 0x038 array->signature[0]: 658758547 |
73 |
> 0x03c array->signature[1]: 1476699144 |
74 |
> 0x040 array->signature[2]: 414004829 |
75 |
> 0x044 array->signature[3]: 332144723 |
76 |
> 0x048 array->raidJobCode: 0 |
77 |
> 0x049 array->stripeWidth: 2 |
78 |
> 0x04a array->totalVolumes: 2 |
79 |
> 0x04b array->originalWidth: 2 |
80 |
> 0x04c array->raidLevel: 128 |
81 |
> 0x050 array->stripeBlockSize: 128 |
82 |
> 0x054 array->stripeBlockByteSize: 65536 |
83 |
> 0x058 array->stripeBlockPower: 7 |
84 |
> 0x05c array->stripeMask: 127 |
85 |
> 0x060 array->stripeSize: 256 |
86 |
> 0x064 array->stripeByteSize: 131072 |
87 |
> 0x068 array->raidJobMark 0 |
88 |
> 0x06c array->originalLevel 128 |
89 |
> 0x070 array->originalCapacity 1953546240 |
90 |
> 0x074 array->flags 0x1 |
91 |
> |
92 |
> Thanks for any clarification. Any other tips for setting up the |
93 |
> filesystem would be welcome. I'll be mostly using this box as a media |
94 |
> server and some gaming. |
95 |
> -- |
96 |
> gentoo-user@g.o mailing list |
97 |
> |
98 |
> |
99 |
I suggest reading this: |
100 |
http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Bios_(Onboard)_RAID |
101 |
|
102 |
-- |
103 |
- Mark Shields |