1 |
Background: |
2 |
I worked on this last April can gave up on the (livedDVD) |
3 |
install with too many other things to do, and pissed off at |
4 |
a lack of usable (current) documentation. |
5 |
|
6 |
Currently: |
7 |
Meds have kicked in ( peace and joy ) (yea right). |
8 |
|
9 |
|
10 |
So, taking a fresh look at the BOTCHED system: |
11 |
The 2 drives are identical 2TB: Seagate |
12 |
drives: Model Number: ST32000542AS |
13 |
|
14 |
I read about the 4K block problem and could have |
15 |
easily made a formating mistake....(?). |
16 |
|
17 |
fdisk /dev/sda (not the best tool to use... |
18 |
|
19 |
|
20 |
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes |
21 |
255 heads, 63 sectors/track, 243201 cylinders |
22 |
Units = cylinders of 16065 * 512 = 8225280 bytes |
23 |
Sector size (logical/physical): 512 bytes / 512 bytes |
24 |
I/O size (minimum/optimal): 512 bytes / 512 bytes |
25 |
Disk identifier: 0xab83344a |
26 |
|
27 |
Device Boot Start End Blocks Id System |
28 |
/dev/sda1 * 1 33 262144 fd Linux raid autodetect |
29 |
Partition 1 does not end on cylinder boundary. |
30 |
/dev/sda2 33 659 5023744 fd Linux raid autodetect |
31 |
Partition 2 does not end on cylinder boundary. |
32 |
/dev/sda3 659 243202 1948227672 fd Linux raid autodetect |
33 |
Partition 3 does not end on cylinder boundary. |
34 |
|
35 |
But from what I read fdisk is not the best choice |
36 |
for reading/formating 2T drives, so Here is what |
37 |
sfdisk says: |
38 |
|
39 |
Disk /dev/sda: 243201 cylinders, 255 heads, 63 sectors/track |
40 |
Old situation: |
41 |
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 |
42 |
|
43 |
Device Boot Start End #cyls #blocks Id System |
44 |
/dev/sda1 * 0+ 32- 33- 262144 fd Linux raid autodetect |
45 |
start: (c,h,s) expected (0,32,33) found (0,36,33) |
46 |
end: (c,h,s) expected (32,194,34) found (41,214,48) |
47 |
/dev/sda2 32+ 658- 626- 5023744 fd Linux raid autodetect |
48 |
start: (c,h,s) expected (32,194,35) found (41,214,49) |
49 |
end: (c,h,s) expected (658,48,30) found (842,210,16) |
50 |
/dev/sda3 658+ 243201- 242544- 1948227672 fd Linux raid autodetect |
51 |
start: (c,h,s) expected (658,48,31) found (842,210,17) |
52 |
end: (c,h,s) expected (1023,254,63) found (169,217,56) |
53 |
|
54 |
|
55 |
But in my attempt to install, I used this geometry: |
56 |
fdisk -H 224 -S 56 /dev/sda |
57 |
|
58 |
|
59 |
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes |
60 |
224 heads, 56 sectors/track, 311465 cylinders |
61 |
Units = cylinders of 12544 * 512 = 6422528 bytes |
62 |
Sector size (logical/physical): 512 bytes / 512 bytes |
63 |
I/O size (minimum/optimal): 512 bytes / 512 bytes |
64 |
Disk identifier: 0xab83344a |
65 |
|
66 |
Device Boot Start End Blocks Id System |
67 |
/dev/sda1 * 1 42 262144 fd Linux raid autodetect |
68 |
Partition 1 does not end on cylinder boundary. |
69 |
/dev/sda2 42 843 5023744 fd Linux raid autodetect |
70 |
Partition 2 does not end on cylinder boundary. |
71 |
/dev/sda3 843 311466 1948227672 fd Linux raid autodetect |
72 |
Partition 3 does not end on cylinder boundary. |
73 |
|
74 |
|
75 |
using the livedDVD: |
76 |
|
77 |
cat /proc/mdstat |
78 |
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] |
79 |
md125 : active raid1 md127p1[0] |
80 |
262080 blocks [2/1] [U_] |
81 |
|
82 |
md126 : active raid1 md127p2[0] |
83 |
5023680 blocks [2/1] [U_] |
84 |
|
85 |
md127 : active raid1 sdb[1] sda[0] |
86 |
1948227584 blocks [2/2] [UU] |
87 |
|
88 |
|
89 |
|
90 |
mdadm -E /dev/sda1 |
91 |
/dev/sda1: |
92 |
Magic : a92b4efc |
93 |
Version : 0.90.00 |
94 |
UUID : 8939604f:676aa8df:cb201669:f728008a (local to host livecd) |
95 |
Creation Time : Thu Apr 14 14:10:56 2011 |
96 |
Raid Level : raid1 |
97 |
Used Dev Size : 262080 (255.98 MiB 268.37 MB) |
98 |
Array Size : 262080 (255.98 MiB 268.37 MB) |
99 |
Raid Devices : 2 |
100 |
Total Devices : 1 |
101 |
Preferred Minor : 125 |
102 |
|
103 |
Update Time : Wed Jul 27 17:25:15 2011 |
104 |
State : clean |
105 |
Active Devices : 1 |
106 |
Working Devices : 1 |
107 |
Failed Devices : 1 |
108 |
Spare Devices : 0 |
109 |
Checksum : f7f2bc6f - correct |
110 |
Events : 20 |
111 |
|
112 |
|
113 |
Number Major Minor RaidDevice State |
114 |
this 0 259 0 0 active sync /dev/md/125_0p1 |
115 |
|
116 |
0 0 259 0 0 active sync /dev/md/125_0p1 |
117 |
1 1 0 0 1 faulty removed |
118 |
|
119 |
|
120 |
It has been suggested kernel >=2.6.37 will have (better?) |
121 |
support for 4k sectors disks [1]. |
122 |
|
123 |
|
124 |
|
125 |
|
126 |
|
127 |
SOOOOOOOOOOOOOOO |
128 |
|
129 |
Should I just start over? |
130 |
(If so, what docs do I follow?) |
131 |
|
132 |
Or should I first try to salvage the installation |
133 |
from last april (chroot and install a newer kernel? |
134 |
|
135 |
[1] http://forums.funtoo.org/viewtopic.php?pid=869 |