Alors dans la logique j’ai 5 disques physiquement :
- l’OS ou il doit y avoir /, /home, et swap
- un disque avec un partition
- 2 partitions
- 1er disque du raid
- 2ieme disque du raid
Je vous donne ici le résultat d’un ls -l dans /dev
total 0
lrwxrwxrwx 1 root root 9 Oct 6 13:53 MAKEDEV -> /bin/true
crw-rw---- 1 root video 10, 175 Oct 6 13:53 agpgart
drwxr-xr-x 2 root root 460 Oct 6 13:53 block
drwxr-xr-x 2 root root 140 Oct 6 13:53 bsg
drwxr-xr-x 3 root root 60 Oct 6 13:53 bus
drwxr-xr-x 2 root root 2720 Oct 6 13:53 char
crw------- 1 root root 5, 1 Oct 6 14:05 console
lrwxrwxrwx 1 root root 11 Oct 6 13:53 core -> /proc/kcore
crw------- 1 root root 10, 62 Oct 6 13:53 cpu_dma_latency
drwxr-xr-x 5 root root 100 Oct 6 13:53 disk
drwxr-xr-x 2 root root 60 Oct 6 13:53 dri
lrwxrwxrwx 1 root root 13 Oct 6 13:53 fd -> /proc/self/fd
brw-rw---- 1 root floppy 2, 0 Oct 6 13:53 fd0
crw-rw-rw- 1 root root 1, 7 Oct 6 13:53 full
crw------- 1 root root 252, 0 Oct 6 13:53 fw0
crw------- 1 root root 10, 228 Oct 6 13:53 hpet
prw------- 1 root root 0 Oct 6 13:53 initctl
drwxr-xr-x 3 root root 220 Oct 6 13:53 input
crw------- 1 root root 1, 11 Oct 6 13:53 kmsg
brw-rw---- 1 root disk 7, 0 Oct 6 13:53 loop0
brw-rw---- 1 root disk 7, 1 Oct 6 13:53 loop1
brw-rw---- 1 root disk 7, 2 Oct 6 13:53 loop2
brw-rw---- 1 root disk 7, 3 Oct 6 13:53 loop3
brw-rw---- 1 root disk 7, 4 Oct 6 13:53 loop4
brw-rw---- 1 root disk 7, 5 Oct 6 13:53 loop5
brw-rw---- 1 root disk 7, 6 Oct 6 13:53 loop6
brw-rw---- 1 root disk 7, 7 Oct 6 13:53 loop7
crw------- 1 root root 10, 227 Oct 6 13:53 mcelog
drwxr-xr-x 2 root root 60 Oct 6 13:53 md
brw-rw---- 1 root disk 9, 127 Oct 6 13:53 md127
crw-r----- 1 root kmem 1, 1 Oct 6 13:53 mem
drwxr-xr-x 2 root root 60 Oct 6 13:53 net
crw------- 1 root root 10, 61 Oct 6 13:53 network_latency
crw------- 1 root root 10, 60 Oct 6 13:53 network_throughput
crw-rw-rw- 1 root root 1, 3 Oct 6 13:53 null
crw-r----- 1 root kmem 1, 4 Oct 6 13:53 port
crw------- 1 root root 108, 0 Oct 6 13:53 ppp
crw------- 1 root root 10, 1 Oct 6 13:53 psaux
crw-rw-rw- 1 root root 5, 2 Oct 6 13:53 ptmx
drwxr-xr-x 2 root root 0 Oct 6 13:53 pts
crw-rw-rw- 1 root root 1, 8 Oct 6 13:53 random
lrwxrwxrwx 1 root root 4 Oct 6 13:53 root -> sda1
lrwxrwxrwx 1 root root 4 Oct 6 13:53 rtc -> rtc0
crw------- 1 root root 254, 0 Oct 6 13:53 rtc0
brw-rw---- 1 root disk 8, 0 Oct 6 13:53 sda
brw-rw---- 1 root disk 8, 1 Oct 6 13:53 sda1
brw-rw---- 1 root disk 8, 2 Oct 6 13:53 sda2
brw-rw---- 1 root disk 8, 5 Oct 6 13:53 sda5
brw-rw---- 1 root disk 8, 6 Oct 6 13:53 sda6
brw-rw---- 1 root disk 8, 16 Oct 6 13:53 sdb
brw-rw---- 1 root disk 8, 32 Oct 6 13:53 sdc
brw-rw---- 1 root disk 8, 48 Oct 6 13:53 sdd
brw-rw---- 1 root disk 8, 49 Oct 6 13:53 sdd1
brw-rw---- 1 root disk 8, 64 Oct 6 13:53 sde
brw-rw---- 1 root disk 8, 65 Oct 6 13:53 sde1
drwxrwxrwt 2 root root 40 Oct 6 13:53 shm
crw------- 1 root root 10, 231 Oct 6 13:53 snapshot
drwxr-xr-x 3 root root 220 Oct 6 13:53 snd
lrwxrwxrwx 1 root root 24 Oct 6 13:53 sndstat -> /proc/asound/oss/sndstat
lrwxrwxrwx 1 root root 15 Oct 6 13:53 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Oct 6 13:53 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Oct 6 13:53 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root 5, 0 Oct 6 13:53 tty
crw------- 1 root root 4, 0 Oct 6 13:53 tty0
crw------- 1 root root 4, 1 Oct 6 13:53 tty1
crw------- 1 root root 4, 10 Oct 6 13:53 tty10
crw------- 1 root root 4, 11 Oct 6 13:53 tty11
crw------- 1 root root 4, 12 Oct 6 13:53 tty12
crw------- 1 root root 4, 13 Oct 6 13:53 tty13
crw------- 1 root root 4, 14 Oct 6 13:53 tty14
crw------- 1 root root 4, 15 Oct 6 13:53 tty15
crw------- 1 root root 4, 16 Oct 6 13:53 tty16
crw------- 1 root root 4, 17 Oct 6 13:53 tty17
crw------- 1 root root 4, 18 Oct 6 13:53 tty18
crw------- 1 root root 4, 19 Oct 6 13:53 tty19
crw------- 1 root root 4, 2 Oct 6 13:53 tty2
crw------- 1 root root 4, 20 Oct 6 13:53 tty20
crw------- 1 root root 4, 21 Oct 6 13:53 tty21
crw------- 1 root root 4, 22 Oct 6 13:53 tty22
crw------- 1 root root 4, 23 Oct 6 13:53 tty23
crw------- 1 root root 4, 24 Oct 6 13:53 tty24
crw------- 1 root root 4, 25 Oct 6 13:53 tty25
crw------- 1 root root 4, 26 Oct 6 13:53 tty26
crw------- 1 root root 4, 27 Oct 6 13:53 tty27
crw------- 1 root root 4, 28 Oct 6 13:53 tty28
crw------- 1 root root 4, 29 Oct 6 13:53 tty29
crw------- 1 root root 4, 3 Oct 6 13:53 tty3
crw------- 1 root root 4, 30 Oct 6 13:53 tty30
crw------- 1 root root 4, 31 Oct 6 13:53 tty31
crw------- 1 root root 4, 32 Oct 6 13:53 tty32
crw------- 1 root root 4, 33 Oct 6 13:53 tty33
crw------- 1 root root 4, 34 Oct 6 13:53 tty34
crw------- 1 root root 4, 35 Oct 6 13:53 tty35
crw------- 1 root root 4, 36 Oct 6 13:53 tty36
crw------- 1 root root 4, 37 Oct 6 13:53 tty37
crw------- 1 root root 4, 38 Oct 6 13:53 tty38
crw------- 1 root root 4, 39 Oct 6 13:53 tty39
crw------- 1 root root 4, 4 Oct 6 13:53 tty4
crw------- 1 root root 4, 40 Oct 6 13:53 tty40
crw------- 1 root root 4, 41 Oct 6 13:53 tty41
crw------- 1 root root 4, 42 Oct 6 13:53 tty42
crw------- 1 root root 4, 43 Oct 6 13:53 tty43
crw------- 1 root root 4, 44 Oct 6 13:53 tty44
crw------- 1 root root 4, 45 Oct 6 13:53 tty45
crw------- 1 root root 4, 46 Oct 6 13:53 tty46
crw------- 1 root root 4, 47 Oct 6 13:53 tty47
crw------- 1 root root 4, 48 Oct 6 13:53 tty48
crw------- 1 root root 4, 49 Oct 6 13:53 tty49
crw------- 1 root root 4, 5 Oct 6 13:53 tty5
crw------- 1 root root 4, 50 Oct 6 13:53 tty50
crw------- 1 root root 4, 51 Oct 6 13:53 tty51
crw------- 1 root root 4, 52 Oct 6 13:53 tty52
crw------- 1 root root 4, 53 Oct 6 13:53 tty53
crw------- 1 root root 4, 54 Oct 6 13:53 tty54
crw------- 1 root root 4, 55 Oct 6 13:53 tty55
crw------- 1 root root 4, 56 Oct 6 13:53 tty56
crw------- 1 root root 4, 57 Oct 6 13:53 tty57
crw------- 1 root root 4, 58 Oct 6 13:53 tty58
crw------- 1 root root 4, 59 Oct 6 13:53 tty59
crw------- 1 root root 4, 6 Oct 6 13:53 tty6
crw------- 1 root root 4, 60 Oct 6 13:53 tty60
crw------- 1 root root 4, 61 Oct 6 13:53 tty61
crw------- 1 root root 4, 62 Oct 6 13:53 tty62
crw------- 1 root root 4, 63 Oct 6 13:53 tty63
crw------- 1 root root 4, 7 Oct 6 13:53 tty7
crw------- 1 root root 4, 8 Oct 6 13:53 tty8
crw------- 1 root root 4, 9 Oct 6 13:53 tty9
crw-rw---- 1 root dialout 4, 64 Oct 6 13:53 ttyS0
crw-rw---- 1 root dialout 4, 65 Oct 6 13:53 ttyS1
crw-rw---- 1 root dialout 4, 66 Oct 6 13:53 ttyS2
crw-rw---- 1 root dialout 4, 67 Oct 6 13:53 ttyS3
crw-rw-rw- 1 root root 1, 9 Oct 6 13:53 urandom
crw------- 1 root root 7, 0 Oct 6 13:53 vcs
crw------- 1 root root 7, 1 Oct 6 13:53 vcs1
crw------- 1 root root 7, 2 Oct 6 13:53 vcs2
crw------- 1 root root 7, 3 Oct 6 13:53 vcs3
crw------- 1 root root 7, 4 Oct 6 13:53 vcs4
crw------- 1 root root 7, 5 Oct 6 13:53 vcs5
crw------- 1 root root 7, 6 Oct 6 13:53 vcs6
crw------- 1 root root 7, 128 Oct 6 13:53 vcsa
crw------- 1 root root 7, 129 Oct 6 13:53 vcsa1
crw------- 1 root root 7, 130 Oct 6 13:53 vcsa2
crw------- 1 root root 7, 131 Oct 6 13:53 vcsa3
crw------- 1 root root 7, 132 Oct 6 13:53 vcsa4
crw------- 1 root root 7, 133 Oct 6 13:53 vcsa5
crw------- 1 root root 7, 134 Oct 6 13:53 vcsa6
crw------- 1 root root 10, 63 Oct 6 13:53 vga_arbiter
crw-rw-rw- 1 root root 1, 5 Oct 6 13:53 zero
Puis le contenu du fichier fstab :
[code]# /etc/fstab: static file system information.
Use ‘blkid’ to print the universally unique identifier for a
device; this may be used with UUID= as a more robust way to name devices
that works even if disks are added and removed. See fstab(5).
proc /proc proc defaults 0 0
/ was on /dev/sdb1 during installation
UUID=b5b1c88d-8620-4151-b348-1987964d1baa / ext3 errors=remount-ro 0 1
/home was on /dev/sdb6 during installation
UUID=e25c00de-1fd8-4662-bd1a-acafcdc0439a /home ext3 defaults 0 2
swap was on /dev/sdb5 during installation
UUID=bead9f7b-1e28-48ed-92a1-7df707842fe6 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda1 /media/usb0 auto rw,user,noauto 0 0
#/dev/sdb1 /sauvegarde ext4 defaults 0 2
#/dev/sdc1 /developpement ext4 defaults 0 2
#/dev/sdc2 /temporaire ext4 defaults 0 2
RAID 1 donnees
UUID=b4303e44-6948-4744-059c-8bb72b685187 /donnees ext4 defaults 0 2
[/code]
Puis fdisk - l :
Disk /dev/sda: 320.1 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000755c7
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9764864 83 Linux
/dev/sda2 1216 38914 302802945 5 Extended
/dev/sda5 1216 2201 7909376 82 Linux swap / Solaris
/dev/sda6 2201 38914 294892544 83 Linux
Disk /dev/sdb: 250.1 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c3945
Device Boot Start End Blocks Id System
/dev/sdb1 1 30401 244196001 83 Linux
Disk /dev/sdc: 320.1 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x04e04675
Device Boot Start End Blocks Id System
/dev/sdc1 1 12766 102542863+ 83 Linux
/dev/sdc2 12767 38913 210025777+ 83 Linux
Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x33cba93c
Device Boot Start End Blocks Id System
/dev/sdd1 1 243201 1953512001 fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
Disk /dev/sde: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x4508b65f
Device Boot Start End Blocks Id System
/dev/sde1 1 243201 1953512001 fd Linux raid autodetect
Partition 1 does not start on physical sector boundary.
Et enfin cat /proc/partitions :
[code]major minor #blocks name
8 16 244197527 sdb
8 0 312570167 sda
8 1 9764864 sda1
8 2 1 sda2
8 5 7909376 sda5
8 6 294892544 sda6
8 32 312570167 sdc
8 48 1953514584 sdd
8 49 1953512001 sdd1
8 64 1953514584 sde
8 65 1953512001 sde1
8 80 499712 sdf
8 81 499653 sdf1
[/code]
Je sais pas trop si ça peut aider ?
Non je n’ai pas de raid materiel…