bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 4000GB partition becoming 1801GB after reboot?


From: Isolationism
Subject: Re: 4000GB partition becoming 1801GB after reboot?
Date: Mon, 03 Nov 2008 13:23:26 -0500
User-agent: Thunderbird 2.0.0.17 (X11/20081023)

After posting conclusions about the two possibilities causing the problem in
my earlier reply, I decided to take the risk of attemping to fix the problem
myself.

I am fairly certain the problem was that both an msdos and gpt label existed
simultaneously on the same drive. Here is what I did:

# Destroy the drive's MBR
dd if=/dev/zero of=/dev/sdb bs=512 count=1

# Create a new gpt label
parted /dev/sdb mklabel gpt

# Rescue the old partition
parted /dev/sdb rescue 0 -1

The rescue command immediately found the original 4000GB partition, which
mounted without a fuss.

Thanks again to everyone who helped me work through this problem. Now to do
the backup that should have occurred weeks ago before rebooting again to see
if the solution sticks or not.

Cheers,
Kevin Williams




reply via email to

[Prev in Thread] Current Thread [Next in Thread]