I think fdisk -l should give you the old partition table as well, as long as you haven't rebooted or executed partprobe!
Bond Masuda wrote: > if you haven't rebooted, look in: > > /proc/partitions > > to figure out your old partition table. use that data to re-create the > partition table... > > if you've lost the info, you can try gpart to see if it can scan and figure > it out: > > http://www.brzitwa.de/mb/gpart/index.html > > good luck! > -Bond > > >> -----Original Message----- >> From: [email protected] [mailto:linux-poweredge- >> [email protected]] On Behalf Of J. Epperson >> Sent: Tuesday, June 29, 2010 12:32 PM >> To: [email protected] >> Subject: Blew away my partition table >> >> Arrived home very tired and in a lapse of judgement tried to configure >> a >> new USB backup drive on my PERC3 based home server, with a new cat >> roaming >> between me and the monitor. Created a new partition on the existing >> /dev/sda instead of the new /dev/sdb. System is still running, and I"m >> doing an rsync to the new drive now. >> >> Can some kind soul help me remember how to repair this surgically >> instead >> of rebuilding the filesystem and reloading it? If not, I deserve it. >> >> _______________________________________________ >> 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 >> > > _______________________________________________ > 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 > _______________________________________________ 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
