Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-10-2008, 04:18 PM   #1
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 237
Blog Entries: 1

Rep: Reputation: 34
How to revert back fdisk changes ?

Hello all,

I need an urgent assistance in following case :

I was suppose to create a new partition. I had two disks attached.
c0d0 and c0d1.
I run fdisk on c0d0 for creating new partition, but it showed " no free sectors", means all the space is occupied by previously created partitions.

Now, I run fdisk on c0d1, on printing partition table, it displayed nothing. I created a partition and commit the partition table. For making the changes affect.

On rebooting the system, System fails while mounting the filesystem. So, we just commented the line, and restart the system.

After rebooting, on checking we found that, the filesystem ( /opt ), which was creating problem was mounted on Volumegroup.
And we have a pretty good reason that we created partition on the disk, which was part of volumegroup.

Now the question is how we can revert back fdisk changes ?

Please reply asap.

I will ask other questions related to LVM, once the issue is resolved.
Old 04-10-2008, 04:42 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 273Reputation: 273Reputation: 273
I'm not sure if it works restoring LVM, but in the past I've used testdisk to restore partition tables with success.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot revert back to optimal resolution DirkDiggler Linux - Desktop 4 06-03-2007 12:29 PM
Revert back permissions sharathkv25 Linux - General 4 05-21-2007 09:00 PM
Can I revert back to an older kernel? jspaceman Slackware 3 10-30-2004 05:07 PM
how to revert back to older version of XFree86? pdmackenzie Linux - Software 3 06-18-2004 09:28 AM
HELP! How Do I Revert back to Windohs - errasing Linux from a HD electronixx Linux - General 3 12-02-2002 06:31 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration