On Sat, October 30, 2010 12:28, Arno van der Veen wrote: > >>> >>> But, if I do an fdisk l on /dev/sdb, I have no partitions listed. >> >> The kernel won't re-read the partition table if there are open >> partitions, so whatever you do, DON'T REBOOT (it'll be gone then). >> >> Do you know the particulars of the old partition table? If so, just re-run fdisk and recreate the partition(s) to match. >> >> If not, I'm not sure if there is a way to see what the running kernel thinks the partition table looks like. > > In my proc there is a partitions : > > cat /proc/partitions > > which in my case give an output like this: ban...@goloka-vrindaban:~$ cat /proc/partitions major minor #blocks name > > 8 0 78150744 sda 8 1 77902848 sda1 8 2 > 1 sda2 8 5 244736 sda5 8 32 1931264 sdc 8 33 1927768 sdc1 > > So, then you have at least the sizes (number of blocks) back > > then according to this faq run "fdisk -l" > > http://www.faqs.org/docs/Linux-mini/Partition-Rescue.html > > I hope you'll save your weekend.. ;-) >
I did this in June-July, the whole partition table on a mounted /dev/sda. Search the archive for subject "Blew away my partition table" for a thread that details what I encountered and the excellent advice I got, particularly from Bond Masuda and Jefferson Ogata. You can definitely recover from this. _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
