- 2 disque de 3TB remplie de photos de mon fils + fichiers importants
- raid 1 pour plus de sécurité "matériel"
- Aucun backup externe
- Un reboot et puis paf ... plus capable d'accéder au disque
J'ai épluché google pendant toute la fin de semaine, rien a faire!
Et je ne peut me premettre de perdre les données sur le disque.
A L'AIDE...
Code: Select all
POK6 ~ # fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdd1 1 2930277167 1465138583+ ee GPT
Disk /dev/sde: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008488f
Device Boot Start End Blocks Id System
/dev/sde1 * 2048 264191 131072 83 Linux
/dev/sde2 264192 8652799 4194304 82 Linux swap / Solaris
/dev/sde3 8652800 117231407 54289304 83 LinuxCode: Select all
POK6 ~ # mdadm --examine /dev/sda1
/dev/sda1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : a0418036:3b2a859f:80576533:d588528d
Name : POK6:0 (local to host POK6)
Creation Time : Sun May 20 01:26:41 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 5860268032 (2794.39 GiB 3000.46 GB)
Array Size : 2930133824 (2794.39 GiB 3000.46 GB)
Used Dev Size : 5860267648 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
State : clean
Device UUID : b217be5c:ac8473e6:dd535d83:5f3d39ec
Update Time : Mon May 21 19:39:26 2012
Checksum : 82cbca20 - correct
Events : 56
Device Role : Active device 1
Array State : .A ('A' == active, '.' == missing)
POK6 ~ # mdadm --examine /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : a0418036:3b2a859f:80576533:d588528d
Name : POK6:0 (local to host POK6)
Creation Time : Sun May 20 01:26:41 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 5860268032 (2794.39 GiB 3000.46 GB)
Array Size : 2930133824 (2794.39 GiB 3000.46 GB)
Used Dev Size : 5860267648 (2794.39 GiB 3000.46 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 2a9cca72:681b0fb9:e10339fd:d1ac8699
Update Time : Mon May 21 19:39:26 2012
Checksum : 929d04c7 - correct
Events : 56
Device Role : Active device 0
Array State : A. ('A' == active, '.' == missing)Code: Select all
POK6 ~ # mdadm --assemble --scan -v
mdadm: looking for devices for /dev/md0
mdadm: no recogniseable superblock on /dev/md0
mdadm: cannot open device /dev/sr0: No medium found
mdadm: no recogniseable superblock on /dev/sdf3
mdadm: no recogniseable superblock on /dev/sdf2
mdadm: Cannot assemble mbr metadata on /dev/sdf1
mdadm: Cannot assemble mbr metadata on /dev/sdf
mdadm: no recogniseable superblock on /dev/sde3
mdadm: no recogniseable superblock on /dev/sde2
mdadm: no recogniseable superblock on /dev/sde1
mdadm: Cannot assemble mbr metadata on /dev/sde
mdadm: no recogniseable superblock on /dev/sdd1
mdadm: Cannot assemble mbr metadata on /dev/sdd
mdadm: Cannot assemble mbr metadata on /dev/sdc2
mdadm: Cannot assemble mbr metadata on /dev/sdc1
mdadm: Cannot assemble mbr metadata on /dev/sdc
mdadm: no RAID superblock on /dev/sdb
mdadm: /dev/sda1 is busy - skipping
mdadm: no RAID superblock on /dev/sda
mdadm: /dev/md0 is already in use.
Code: Select all
POK6 ~ # mdadm --detail --scan
ARRAY /dev/md0 metadata=1.2 name=POK6:0 UUID=a0418036:3b2a859f:80576533:d588528dCode: Select all
POK6 ~ # cat /etc/mdadm.conf | grep md0
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=a0418036:3b2a859f:80576533:d588528dCode: Select all
POK6 ~ # cat /etc/fstab | grep md0
/dev/md0 /mnt/data/hdd_01/ ext4 noatime 0 1Code: Select all
POK6 ~ # mount -t ext4 /dev/md0 /mnt/data/hdd_01/
mount: wrong fs type, bad option, bad superblock on /dev/md0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or soCode: Select all
POK6 ~ # fsck -n /dev/md0
fsck from util-linux 2.21.1
e2fsck 1.42.1 (17-Feb-2012)
fsck.ext4: Superblock invalid, trying backup blocks...
fsck.ext4: Bad magic number in super-block while trying to open /dev/md0
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>



