> > 
> > 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.. ;-)

Regards,

Arno

_______________________________________________
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

Reply via email to