Hello,
i'm running a server with two disks in raid1.. it seems that some bad sectors have recently appeared on one of the disks.
Aug 9 08:26:19 linux smartd[3454]: Device: /dev/sda, FAILED SMART self-check. BACK UP DATA NOW!
Aug 9 08:26:19 linux smartd[3454]: Device: /dev/sda, 2 Currently unreadable (pending) sectors
Sadly it has affected my SVN repo and two important revisions are not accessible anymore! The moment I try to access those revisions the server hangs itself.
Now I am hoping that a good copy of those revisions is still on the second disk (sdb).
I have to keep the server online and cannot do a real maintenance at the time, so is there a way to maybe do a 1:1 image of sdb and mount it elsewhere ? Or while still running raid1 (also without getting the server offline), can I maybe simultaneously somehow mount sdb in read-only and try to access the missing svn revisions and backup it?
Some info (if you guys need any more detailed info, just let me know):
ps. thanks alot!
linux:/etc # cat /etc/SuSE-release
openSUSE 11.0 (i586)
VERSION = 11.0
linux:/etc # uname -r
2.6.25.20-0.4-pae
linux:/var/log # dmraid -s -s
*** Active Set
name : lsi_bhgdabdbca
size : 160836352
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
linux:/var/log # df -h
Dateisystem Grö�e Benut Verf Ben% Eingehängt auf
/dev/mapper/lsi_bhgdabdbca_part6
20G 11G 8,1G 57% /
udev 315M 152K 315M 1% /dev
/dev/mapper/lsi_bhgdabdbca_part5
69M 18M 48M 28% /boot
/dev/mapper/lsi_bhgdabdbca_part7
linux:/etc # fdisk -l
Platte /dev/sda: 82.3 GByte, 82348277760 Byte
255 Köpfe, 63 Sektoren/Spuren, 10011 Zylinder
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Disk identifier: 0x000a7b81
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 1 129 1036161 82 Linux Swap / Solaris
/dev/sda2 * 130 10011 79377165 f W95 Erw. (LBA)
/dev/sda5 130 138 72261 83 Linux
/dev/sda6 139 2749 20972826 83 Linux
/dev/sda7 2750 10011 58331983+ 83 Linux
Platte /dev/sdb: 82.3 GByte, 82348277760 Byte
255 Köpfe, 63 Sektoren/Spuren, 10011 Zylinder
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Disk identifier: 0x000a7b81
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 1 129 1036161 82 Linux Swap / Solaris
/dev/sdb2 * 130 10011 79377165 f W95 Erw. (LBA)
/dev/sdb5 130 138 72261 83 Linux
/dev/sdb6 139 2749 20972826 83 Linux
/dev/sdb7 2750 10011 58331983+ 83 Linux
Platte /dev/dm-0: 82.3 GByte, 82348277248 Byte
255 Köpfe, 63 Sektoren/Spuren, 10011 Zylinder
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Disk identifier: 0x000a7b81
Gerät boot. Anfang Ende Blöcke Id System
/dev/dm-0p1 1 129 1036161 82 Linux Swap / Solaris
/dev/dm-0p2 * 130 10011 79377165 f W95 Erw. (LBA)
/dev/dm-0p5 130 138 72261 83 Linux
/dev/dm-0p6 139 2749 20972826 83 Linux
/dev/dm-0p7 2750 10011 58331983+ 83 Linux
Platte /dev/dm-1: 1061 MByte, 1061028864 Byte
255 Köpfe, 63 Sektoren/Spuren, 128 Zylinder
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Disk identifier: 0x00000000
Festplatte /dev/dm-1 enthält keine gültige Partitionstabelle
omitting empty partition (6)
Platte /dev/dm-2: 81.2 GByte, 81282216960 Byte
255 Köpfe, 63 Sektoren/Spuren, 9882 Zylinder
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Disk identifier: 0x00000000
Gerät boot. Anfang Ende Blöcke Id System
/dev/dm-2p1 1 9 72261 83 Linux
/dev/dm-2p2 10 2620 20972857+ 5 Erweiterte
/dev/dm-2p5 10 2620 20972826 83 Linux
Platte /dev/dm-3: 73 MByte, 73995264 Byte
255 Köpfe, 63 Sektoren/Spuren, 8 Zylinder
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Disk identifier: 0x00000000
Festplatte /dev/dm-3 enthält keine gültige Partitionstabelle
Platte /dev/dm-4: 21.4 GByte, 21476173824 Byte
255 Köpfe, 63 Sektoren/Spuren, 2610 Zylinder
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Disk identifier: 0x00000000
Festplatte /dev/dm-4 enthält keine gültige Partitionstabelle
Platte /dev/dm-5: 59.7 GByte, 59731951104 Byte
255 Köpfe, 63 Sektoren/Spuren, 7261 Zylinder
Einheiten = Zylinder von 16065 � 512 = 8225280 Bytes
Disk identifier: 0x00000000
Festplatte /dev/dm-5 enthält keine gültige Partitionstabelle