Le 09/02/2016 20:19, Dominique Fournier a écrit :
> Bonjour
>
> Regarde le /proc/mdstat pour voir ce qui est réellement vu par le raid
> soft, ainsi que les logs (du kernel probablement).
>
> Ensuite, on verra le LVM. Mais je ne pense pas qu'on aille très loin.
>
# mdadm --assemble --scan
# cat /proc/mdstat
Personalities :
unused devices: <none>
rien trouvé dans le log de kernel de probant
Feb 9 21:17:29 anne kernel: [ 2814.552363] usb 1-3: new high-speed USB
device number 3 using ehci-pci
Feb 9 21:17:29 anne kernel: [ 2814.687119] usb 1-3: New USB device
found, idVendor=152d, idProduct=2338
Feb 9 21:17:29 anne kernel: [ 2814.687130] usb 1-3: New USB device
strings: Mfr=1, Product=2, SerialNumber=5
Feb 9 21:17:29 anne kernel: [ 2814.687135] usb 1-3: Product: USB to
ATA/ATAPI bridge
Feb 9 21:17:29 anne kernel: [ 2814.687139] usb 1-3: Manufacturer: JMicron
Feb 9 21:17:29 anne kernel: [ 2814.687142] usb 1-3: SerialNumber:
C235D523BA52
Feb 9 21:17:29 anne kernel: [ 2814.690107] usb-storage 1-3:1.0: USB
Mass Storage device detected
Feb 9 21:17:29 anne kernel: [ 2814.690542] scsi2 : usb-storage 1-3:1.0
Feb 9 21:17:30 anne kernel: [ 2815.689689] scsi 2:0:0:0: Direct-Access
HITACHI_ DK23BA-20 PQ: 0 ANSI: 2 CCS
Feb 9 21:17:30 anne kernel: [ 2815.692154] sd 2:0:0:0: Attached scsi
generic sg1 type 0
Feb 9 21:17:30 anne kernel: [ 2815.698373] sd 2:0:0:0: [sdb] 39070080
512-byte logical blocks: (20.0 GB/18.6 GiB)
Feb 9 21:17:30 anne kernel: [ 2815.700042] sd 2:0:0:0: [sdb] Write
Protect is off
Feb 9 21:17:30 anne kernel: [ 2815.700049] sd 2:0:0:0: [sdb] Mode
Sense: 28 00 00 00
Feb 9 21:17:30 anne kernel: [ 2815.703271] sd 2:0:0:0: [sdb] No Caching
mode page found
Feb 9 21:17:30 anne kernel: [ 2815.703285] sd 2:0:0:0: [sdb] Assuming
drive cache: write through
Feb 9 21:17:31 anne kernel: [ 2816.113574] sdb: sdb1 sdb2
Feb 9 21:17:31 anne kernel: [ 2816.120532] sd 2:0:0:0: [sdb] Attached
SCSI disk
Feb 9 21:17:31 anne kernel: [ 2816.249420] usb 1-3: reset high-speed
USB device number 3 using ehci-pci
# ls -al /dev/md*
total 0
drwxr-xr-x 2 root root 40 févr. 9 20:30 .
drwxr-xr-x 20 root root 3480 févr. 9 21:17 ..
Pour monter un disque en raid, on fait comment?
mdadm --assemble --scan
>>
>> # sfdisk -l
>> ...
>> Disk /dev/sdb: 2584 cylinders, 240 heads, 63 sectors/track
>> Units: cylinders of 7741440 bytes, blocks of 1024 bytes, counting from 0
>>
>> Device Boot Start End #cyls #blocks Id System
>> /dev/sdb1 * 0+ 13 14- 105808+ fd Linux raid
>> autodetect
>> /dev/sdb2 14 2583 2570 19429200 fd Linux raid
>> autodetect
>> /dev/sdb3 0 - 0 0 0 Empty
>> /dev/sdb4 0 - 0 0 0 Empty
>>
>>
>> # mdadm --assemble --scan
>> # pvscan
>> No matching physical volumes found
>>