All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] hard disk crash
@ 2002-10-31  9:10 NagyZ
  2002-10-31  9:22 ` Jon Bendtsen
  0 siblings, 1 reply; 10+ messages in thread
From: NagyZ @ 2002-10-31  9:10 UTC (permalink / raw)
  To: linux-lvm

hi!

one of my disk crashes, totally.
i can replace it with a same model, but then?
lvm'd say inactive pv if i my thought is right.

(now im running dd with noerrro on the old disk, may i can save some 
data..)

please help!

NagyZ

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-lvm] hard disk crash
  2002-10-31  9:10 [linux-lvm] hard disk crash NagyZ
@ 2002-10-31  9:22 ` Jon Bendtsen
  2002-10-31  9:28   ` NagyZ
  0 siblings, 1 reply; 10+ messages in thread
From: Jon Bendtsen @ 2002-10-31  9:22 UTC (permalink / raw)
  To: linux-lvm

NagyZ wrote:
> 
> hi!
> 
> one of my disk crashes, totally.
> i can replace it with a same model, but then?
> lvm'd say inactive pv if i my thought is right.
> 
> (now im running dd with noerrro on the old disk, may i can save some
> data..)
> 
> please help!

Do you have a backup ?
Do you run raid ? (not raid0/stripping)



JonB

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-lvm] hard disk crash
  2002-10-31  9:22 ` Jon Bendtsen
@ 2002-10-31  9:28   ` NagyZ
  2002-10-31  9:36     ` Jon Bendtsen
  0 siblings, 1 reply; 10+ messages in thread
From: NagyZ @ 2002-10-31  9:28 UTC (permalink / raw)
  To: linux-lvm

On Thu, 31 Oct 2002, Jon Bendtsen wrote:

> Do you have a backup ?
no, i cant do easily a backup of more than 1T data...

> Do you run raid ? (not raid0/stripping)
no.

NagyZ

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-lvm] hard disk crash
  2002-10-31  9:28   ` NagyZ
@ 2002-10-31  9:36     ` Jon Bendtsen
  2002-10-31 10:12       ` NagyZ
  0 siblings, 1 reply; 10+ messages in thread
From: Jon Bendtsen @ 2002-10-31  9:36 UTC (permalink / raw)
  To: linux-lvm

NagyZ wrote:
> 
> On Thu, 31 Oct 2002, Jon Bendtsen wrote:
> 
> > Do you have a backup ?
> no, i cant do easily a backup of more than 1T data...

duplicate machine (perhaps offsite) using rsync.
Well, you dont really need to duplicate anything but the disks.

 
> > Do you run raid ? (not raid0/stripping)
> no.

BAD idea. How cheap are harddrives these days ?




JonB

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-lvm] hard disk crash
  2002-10-31  9:36     ` Jon Bendtsen
@ 2002-10-31 10:12       ` NagyZ
  2002-10-31 10:18         ` Jon Bendtsen
  2002-10-31 11:54         ` Heinz J . Mauelshagen
  0 siblings, 2 replies; 10+ messages in thread
From: NagyZ @ 2002-10-31 10:12 UTC (permalink / raw)
  To: linux-lvm

On Thu, 31 Oct 2002, Jon Bendtsen wrote:

> BAD idea. How cheap are harddrives these days ?

don have money ;)
im looking for a solution for this case..
any idea?

Nagyz

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-lvm] hard disk crash
  2002-10-31 10:12       ` NagyZ
@ 2002-10-31 10:18         ` Jon Bendtsen
  2002-10-31 11:54         ` Heinz J . Mauelshagen
  1 sibling, 0 replies; 10+ messages in thread
From: Jon Bendtsen @ 2002-10-31 10:18 UTC (permalink / raw)
  To: linux-lvm

NagyZ wrote:
> 
> On Thu, 31 Oct 2002, Jon Bendtsen wrote:
> 
> > BAD idea. How cheap are harddrives these days ?
> 
> don have money ;)

Well, you have 1T of data, are they not worthwhile ?
You could possibly get 512G raid1'ed. Or run raid5, and
get more out of it.


> im looking for a solution for this case..
> any idea?

Not anything other than dont get into this situation.




JonB

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-lvm] hard disk crash
  2002-10-31 10:12       ` NagyZ
  2002-10-31 10:18         ` Jon Bendtsen
@ 2002-10-31 11:54         ` Heinz J . Mauelshagen
  2002-10-31 12:09           ` NagyZ
  1 sibling, 1 reply; 10+ messages in thread
From: Heinz J . Mauelshagen @ 2002-10-31 11:54 UTC (permalink / raw)
  To: linux-lvm

You mentioned that you were dd'ing stuff of the partially failed drive.

If you get a replacement drive of the same size, dd everything onto it,
"pvcreate -ff ..." it and vgcfgrestore LVM's metadata onto it.
"vgscan;vgchange -ay" afterwards should bring your VG back to life but you
will loose some of your data.

As already said by Jon: you want to go RAID1/5.

On Thu, Oct 31, 2002 at 05:11:51PM +0100, NagyZ wrote:
> On Thu, 31 Oct 2002, Jon Bendtsen wrote:
> 
> > BAD idea. How cheap are harddrives these days ?
> 
> don have money ;)
> im looking for a solution for this case..
> any idea?
> 
> Nagyz
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-lvm] hard disk crash
  2002-10-31 11:54         ` Heinz J . Mauelshagen
@ 2002-10-31 12:09           ` NagyZ
  2002-10-31 14:33             ` NagyZ
  0 siblings, 1 reply; 10+ messages in thread
From: NagyZ @ 2002-10-31 12:09 UTC (permalink / raw)
  To: linux-lvm

On Thu, 31 Oct 2002, Heinz J . Mauelshagen wrote:

> 
> You mentioned that you were dd'ing stuff of the partially failed drive.
> 
> If you get a replacement drive of the same size, dd everything onto it,
> "pvcreate -ff ..." it and vgcfgrestore LVM's metadata onto it.
> "vgscan;vgchange -ay" afterwards should bring your VG back to life but you
> will loose some of your data.
> 
> As already said by Jon: you want to go RAID1/5.

yes, i know i'll loose data.
thnx, i'll try that..

i said to the boss to gimme money to buy some disks, then i'll do hw 
mirroring..

NagyZ

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-lvm] hard disk crash
  2002-10-31 12:09           ` NagyZ
@ 2002-10-31 14:33             ` NagyZ
  2002-10-31 16:20               ` jon+lvm
  0 siblings, 1 reply; 10+ messages in thread
From: NagyZ @ 2002-10-31 14:33 UTC (permalink / raw)
  To: linux-lvm

On Thu, 31 Oct 2002, NagyZ wrote:

> On Thu, 31 Oct 2002, Heinz J . Mauelshagen wrote:
> 
> > 
> > You mentioned that you were dd'ing stuff of the partially failed drive.
> > 
> > If you get a replacement drive of the same size, dd everything onto it,
> > "pvcreate -ff ..." it and vgcfgrestore LVM's metadata onto it.
> > "vgscan;vgchange -ay" afterwards should bring your VG back to life but you
> > will loose some of your data.
> > 
> > As already said by Jon: you want to go RAID1/5.
> 
> yes, i know i'll loose data.
> thnx, i'll try that..
> 
> i said to the boss to gimme money to buy some disks, then i'll do hw 
> mirroring..

so..

i replaced the drive, and pvscan says that VG is OK..
all LV s could be mounted, except one.
i run mkreiserfs on this, and from then we're using that..
thnx for the advice.

and the boss said: 'for what would you buy new disks? to buy new again 
tomorrow to replace them?' so the answer was no :)

NagyZ

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [linux-lvm] hard disk crash
  2002-10-31 14:33             ` NagyZ
@ 2002-10-31 16:20               ` jon+lvm
  0 siblings, 0 replies; 10+ messages in thread
From: jon+lvm @ 2002-10-31 16:20 UTC (permalink / raw)
  To: linux-lvm

On Thu, Oct 31, 2002 at 08:37:02PM +0100, NagyZ wrote:

[cut]

> i replaced the drive, and pvscan says that VG is OK..
> all LV s could be mounted, except one.
> i run mkreiserfs on this, and from then we're using that..
> thnx for the advice.

you were lucky


> and the boss said: 'for what would you buy new disks? to buy new again 
> tomorrow to replace them?' so the answer was no :)

is this a production system ??
If so, i'd suggest you start looking for a new boss, one that gives you 
enough money to at least run software raid.
Ask him how much a complete data loss costs ?
Not just your salary for the time you try to recover, but also his
time, and the rest of the workers while the system is down because he
saved money on disk space. And dont get me started about backup.

Remober, if you DO go raid, you NEED to know when a disk goes down,
because if not, you might as well not run raid at all. This means
some sort of management software that keeps an eye on the disks, and
emails you when one fails. Hotswap _MIGHT_ not be needed, but it is
nice.




JonB

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-10-31 16:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-31  9:10 [linux-lvm] hard disk crash NagyZ
2002-10-31  9:22 ` Jon Bendtsen
2002-10-31  9:28   ` NagyZ
2002-10-31  9:36     ` Jon Bendtsen
2002-10-31 10:12       ` NagyZ
2002-10-31 10:18         ` Jon Bendtsen
2002-10-31 11:54         ` Heinz J . Mauelshagen
2002-10-31 12:09           ` NagyZ
2002-10-31 14:33             ` NagyZ
2002-10-31 16:20               ` jon+lvm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.