Relevante output uit dmesg:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
| Probing IDE interface ide0...
hda: ST320423A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
PDC20268: IDE controller at PCI slot 0000:01:07.0
PDC20268: chipset revision 1
PDC20268: ROM enabled at 0xfd8b0000
PDC20268: 100% native mode on irq 18
ide2: BM-DMA at 0xdb00-0xdb07, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xdb08-0xdb0f, BIOS settings: hdg:pio, hdh:pio
Probing IDE interface ide2...
hde: Maxtor 6Y120P0, ATA DISK drive
ide2 at 0xdf00-0xdf07,0xde02 on irq 18
Probing IDE interface ide3...
hdg: Maxtor 6Y120P0, ATA DISK drive
ide3 at 0xdd00-0xdd07,0xdc02 on irq 18
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 40011300 sectors (20485 MB) w/512KiB Cache, CHS=39693/16/63, UDMA(66)
hda: cache flushes not supported
hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 >
hde: max request size: 128KiB
hde: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(100)
hde: cache flushes supported
hde: hde1
hdg: max request size: 128KiB
hdg: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(100)
hdg: cache flushes supported
hdg: hdg1
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: automatically using best checksumming function: pIII_sse
pIII_sse : 6460.000 MB/sec
raid5: using function: pIII_sse (6460.000 MB/sec)
raid6: int32x1 930 MB/s
raid6: int32x2 1223 MB/s
raid6: int32x4 729 MB/s
raid6: int32x8 651 MB/s
raid6: mmxx1 1716 MB/s
raid6: mmxx2 3138 MB/s
raid6: sse1x1 1426 MB/s
raid6: sse1x2 2337 MB/s
raid6: sse2x1 2313 MB/s
raid6: sse2x2 3136 MB/s
raid6: using algorithm sse2x2 (3136 MB/s)
md: raid6 personality registered as nr 8
md: multipath personality registered as nr 7
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
ReiserFS: hda2: found reiserfs format "3.6" with standard journal
ReiserFS: hda2: using ordered data mode
ReiserFS: hda2: journal params: device hda2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda2: checking transaction log (hda2)
ReiserFS: hda2: Using r5 hash to sort names
Adding 489940k swap on /dev/hda7. Priority:-1 extents:1 across:489940k
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver usbkbd
drivers/usb/input/usbkbd.c: :USB HID Boot Protocol keyboard driver
md: md2 stopped.
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
ReiserFS: hda5: found reiserfs format "3.6" with standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: Using r5 hash to sort names
ReiserFS: hda6: found reiserfs format "3.6" with standard journal
ReiserFS: hda6: using ordered data mode
ReiserFS: hda6: journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda6: checking transaction log (hda6)
ReiserFS: hda6: Using r5 hash to sort names
ReiserFS: hda8: found reiserfs format "3.6" with standard journal
ReiserFS: hda8: using ordered data mode
ReiserFS: hda8: journal params: device hda8, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda8: checking transaction log (hda8)
ReiserFS: hda8: Using r5 hash to sort names
ReiserFS: hda9: found reiserfs format "3.6" with standard journal
ReiserFS: hda9: using ordered data mode
ReiserFS: hda9: journal params: device hda9, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda9: checking transaction log (hda9)
ReiserFS: hda9: Using r5 hash to sort names
EXT3-fs: unable to read superblock |
De enige ext3 in het systeem, is die op /dev/md2.
Wat is er in mdadm.conf:
code:
1
2
3
4
| viper:~# cat /etc/mdadm/mdadm.conf
DEVICE /dev/hde /dev/hdg
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=a8743448:13ccfd88:74db35b1:2e8f2033
devices=/dev/hde1,/dev/hdg1 |
Laat mdadm zelf maar eens scannen, en vind niets:
code:
1
| viper:~# mdadm --detail --scan |
Assemble en start maar, maar zoek het zelf uit (aan de hand van mdadm.conf):
code:
1
2
| viper:~# mdadm -As
mdadm: no devices found for /dev/md2 |
Toch zijn ze er:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| viper:~# mdadm --examine /dev/hde1
/dev/hde1:
Magic : a92b4efc
Version : 00.90.00
UUID : a8743448:13ccfd88:74db35b1:2e8f2033
Creation Time : Sat Feb 11 00:21:13 2006
Raid Level : raid1
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Update Time : Sat Feb 11 12:11:25 2006
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 97da1495 - correct
Events : 0.11710
Number Major Minor RaidDevice State
this 0 33 1 0 active sync /dev/hde1
0 0 33 1 0 active sync /dev/hde1
1 1 34 1 1 active sync /dev/hdg1 |
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| viper:~# mdadm --examine /dev/hdg1
/dev/hdg1:
Magic : a92b4efc
Version : 00.90.00
UUID : a8743448:13ccfd88:74db35b1:2e8f2033
Creation Time : Sat Feb 11 00:21:13 2006
Raid Level : raid1
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Update Time : Sat Feb 11 12:11:25 2006
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 97da1498 - correct
Events : 0.11710
Number Major Minor RaidDevice State
this 1 34 1 1 active sync /dev/hdg1
0 0 33 1 0 active sync /dev/hde1
1 1 34 1 1 active sync /dev/hdg1 |
Dan maar met het handje opgeven op de commandline, en dat werkt gewoon:
code:
1
2
| viper:~# mdadm -A /dev/md2 /dev/hde1 /dev/hdg1
mdadm: /dev/md2 has been started with 2 drives. |
code:
1
2
3
4
5
6
| viper:~# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5] [multipath] [raid6]
md2 : active raid1 hde1[0] hdg1[1]
120060736 blocks [2/2] [UU]
unused devices: <none> |
Hier de filesystem layout:
code:
1
2
3
4
5
6
7
8
9
10
11
| viper:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 479M 267M 212M 56% /
tmpfs 1013M 0 1013M 0% /dev/shm
/dev/hda1 95M 43M 52M 46% /boot
/dev/hda5 9.4G 33M 9.3G 1% /free
/dev/hda6 4.7G 4.3G 440M 91% /usr
/dev/hda8 2.4G 438M 2.0G 19% /home
/dev/hda9 1.8G 318M 1.5G 18% /var
tmpfs 10M 68K 10M 1% /dev
/dev/md2 113G 25G 83G 23% /data |
Permission denied:
code:
1
2
3
| viper:/var/log# touch test
viper:/var/log# rm test
rm: cannot remove `test': Operation not permitted |
Maar in het root filesystem werkt het dus blijkbaar toch wel:
code:
1
2
| viper:/etc# touch test
viper:/etc# rm test |
Lijken dus alleen maar subdirs in /var te zijn. In de root van /var gaat het wel.
Nog weirder
* UltraSub gaat weer terug naar werkende kernel booten...
/edit
Ok, ik denk misschien ligt het wel aan de AMD64 instructies, en mis ik iets fundamenteels.
Dus een default debian kernel ge-apt-get (de K8), geinstalleerd, en geboot. En verrek, die doet geen rare dingen in /var, of permission denieds. Maar geen nics gevonden, en geen raid in de kernel

Dus nieuwe kernel bakken, en verrek, weer het zelfde.... **zucht**
Krijg ik net bij het opruimen een ingeving, laten we de .config van die default debian kernel eens gebruiken als start file. En zo gezegd zo gedaan, die compiled nu. Alleen raid-1 in de kernel geplopt, highmem aangezet en de 3com nics in de kernel gebakken, verder niets veranderd. Kijken offie nu wil booten.
[
Voor 7% gewijzigd door
UltraSub op 11-02-2006 17:26
]