I have a debian server with a RAID array of a configuration i don't know much about. It apparently had a RAID array with two 500gb disks. The main disk had two partitions, /dev/sda1 where the root FS is mounted, and /dev/sda2.
I say had because i messed up the configuration. I didn't know it was a RAID configuration, and it seemed like the second disk was unused, so i fired up fdisk and i destroyed every partition i could find on /dev/sdb. I hadn't actually understood every partition on sdb was tied to the partitions on sda..
After reboot, none of my partitions show up. The computer works, but :
gives out nothing. Similarly
returns nothing too, and parted fails with an error, mdadm --detail --scan returns nothing too.
I tried anything i could find, but i didn't find anybody for who every device disappeared in /dev/ and i don't know what to do. The strange thing is that df outputs :
Sys. de fichiers 1K-blocs UtilisÃ© Dispo. Uti% MontÃ© sur /dev/sda1 10080488 6255148 3313272 66% / tmpfs 1018372 0 1018372 0% /lib/init/rw udev 10240 32 10208 1% /dev tmpfs 1018372 0 1018372 0% /dev/shm
even if /dev/sda1 devices doesn't actually exist. I'm totally lost in here.
Some more info:
- It's a remote server so i can't get any of the disks out of the server
- It's running debian lenny
EDIT: Some more info : I can't find the disks under /dev/disk either. If they were there i guess fdisk would find them. The only place i can find info about the partitions is when i do cat /proc/partitions
major minor #blocks name 8 0 488386584 sda 8 1 10241406 sda1 8 2 522112 sda2 8 3 477620482 sda3 8 16 488386584 sdb 8 17 488384001 sdb1
I can't save anything with dd either unfortunately since i can't reach any of my disk devices ..
EDIT 2: Here is the dmesg log file