I have scripts that regularly do an fdisk –l and put it into a subversion 
repository (on another server, and I have it checked out on my desktop).

Why? Because this gives me all the information I need to make the partitions 
again should I need it.

I also save mdadm, lvm, smart, … and a lot other information about my disks.


Occasionally there are changes, and then I get an alert about it, usually 
because I resized a logical volume group, but it has also been because a disk 
stopped responding.


No I wont send you the scripts, because you’ll learn more by doing and 
implementing them yourself.


JonB

From: Maher Hamdan [mailto:[email protected]]
Sent: 1. november 2017 19:42
To: 'Josep Lladonosa'
Cc: Jon Bendtsen; [email protected]
Subject: RE: bug#29084: parted mklabel

Thanks for the advice have a good day!

From: Josep Lladonosa [mailto:[email protected]]
Sent: Wednesday, November 01, 2017 11:34 AM
To: Maher Hamdan 
<[email protected]<mailto:[email protected]>>
Cc: Jon Bendtsen <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Subject: Re: bug#29084: parted mklabel



On 1 November 2017 at 18:13, Maher Hamdan 
<[email protected]<mailto:[email protected]>> wrote:
Hi Jon
As far as the partitions one primary the other logical volumes.

Hello,
Why don't you use the Testdisk tool to recover lost partitions?

https://www.dedoimedo.com/computers/linux-data-recovery.html



BR
Maher

On Nov 1, 2017 2:04 AM, "Jon Bendtsen" 
<[email protected]<mailto:[email protected]>> wrote:
Well, how many partitions did you have on your machine before wiping the 
partition table on the disk?

And which kind?

JonB

From: bug-parted 
[mailto:bug-parted-bounces+jbendtsen<mailto:bug-parted-bounces%2Bjbendtsen>[email protected]<mailto:[email protected]>]
 On Behalf Of Maher Hamdan
Sent: 31. oktober 2017 16:52
To: [email protected]<mailto:[email protected]>
Subject: bug#29084: parted mklabel
Importance: High


Hello

I ran “parted mklabel /dev/sda”  on my redhat 6.9 server and I am in the system 
in rescue mode what do I need to do next?

Please help our production sever is down.
BR,

Maher




--
--
Salutacions...Josep
--

Reply via email to