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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139 | ubuntu@ubuntu:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="a1e260b4-d526-72f2-32fc-7b37b7c8a00b" TYPE="linux_raid_member"
/dev/sdc1: UUID="a1e260b4-d526-72f2-32fc-7b37b7c8a00b" TYPE="linux_raid_member"
/dev/sde1: UUID="a1e260b4-d526-72f2-32fc-7b37b7c8a00b" TYPE="linux_raid_member"
/dev/sdf1: UUID="a1e260b4-d526-72f2-32fc-7b37b7c8a00b" TYPE="linux_raid_member"
/dev/sdd1: UUID="a1e260b4-d526-72f2-32fc-7b37b7c8a00b" TYPE="linux_raid_member"
/dev/sdb1: UUID="a1e260b4-d526-72f2-32fc-7b37b7c8a00b" TYPE="linux_raid_member"
/dev/sdg1: UUID="a1e260b4-d526-72f2-32fc-7b37b7c8a00b" TYPE="linux_raid_member"
/dev/sdh1: UUID="a1e260b4-d526-72f2-32fc-7b37b7c8a00b" TYPE="linux_raid_member"
ubuntu@ubuntu:~$ sudo mount /dev/md0 /mnt
mount: Gerätedatei /dev/md0 existiert nicht
ubuntu@ubuntu:~$ cat /etc/fstab
aufs / aufs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
ubuntu@ubuntu:~$ cat /etc/mdadm.conf
cat: /etc/mdadm.conf: No such file or directory
ubuntu@ubuntu:/$ sudo fdisk -l
Platte /dev/sda: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c1a5d
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 1 121602 976760832 fd Linux raid autodetect
Platte /dev/sdc: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000eca6a
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdc1 1 121602 976760832 fd Linux raid autodetect
Platte /dev/sde: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000372db
Gerät boot. Anfang Ende Blöcke Id System
/dev/sde1 1 121602 976760832 fd Linux raid autodetect
Platte /dev/sdf: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00053a7a
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdf1 1 121602 976760832 fd Linux raid autodetect
Platte /dev/sdd: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001ab1f
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdd1 1 121602 976760832 fd Linux raid autodetect
Platte /dev/sdb: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d0338
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 1 121602 976760832 fd Linux raid autodetect
Platte /dev/sdg: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00070312
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdg1 1 121602 976760832 fd Linux raid autodetect
Platte /dev/sdh: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008ea6e
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdh1 * 1 121602 976760832 fd Linux raid autodetect
ubuntu@ubuntu:/$ sudo mdadm --scann
sudo: mdadm: command not found
ubuntu@ubuntu:/$ sudo mdadm --scan
sudo: mdadm: command not found
ubuntu@ubuntu:/$ sudo apt-get install mdadm
ubuntu@ubuntu:/$ cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
ARRAY /dev/md0 level=raid5 num-devices=8
UUID=a1e260b4:d52672f2:32fc7b37:b7c8a00b
# This file was auto-generated on Sat, 15 Jan 2011 16:51:30 +0000
# by mkconf $Id$
ubuntu@ubuntu:/$ sudo mdadm --scan
mdadm: --scan does not set the mode, and so cannot be the first option.
|