Once upon a time, Brian McGrew <[email protected]> said:
> I guess it¹s too early to be up on a Saturday because I just made the
> biggest newbie blunder of my career.  I got my hands crossed, grabbed the
> wrong terminal and deleted /dev/sdb1 with fdisk from a mounted, production
> volume.
> 
> This volume is still accessible and mounted through LVM
> (/dev/mapper/VolGroup00-LogVol00) and all the data is still accessible.
> Noting appears to be missing.
> 
> 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.
-- 
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

_______________________________________________
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