LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-10-2008, 03:18 PM   #1
p_s_shah
Member
 
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, 03:42 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

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


Reply



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 11:29 AM
Revert back permissions sharathkv25 Linux - General 4 05-21-2007 08:00 PM
Can I revert back to an older kernel? jspaceman Slackware 3 10-30-2004 04:07 PM
how to revert back to older version of XFree86? pdmackenzie Linux - Software 3 06-18-2004 08:28 AM
HELP! How Do I Revert back to Windohs - errasing Linux from a HD electronixx Linux - General 3 12-02-2002 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:59 AM.

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