All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] moving disk from PPC to x86
@ 2007-06-27 20:47 Turbo Fredriksson
  2007-06-27 21:05 ` Turbo Fredriksson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Turbo Fredriksson @ 2007-06-27 20:47 UTC (permalink / raw)
  To: linux-lvm

I'm trying to move some disks from my PPC desktop to a dedicated
server. Yesterday my system looked like this:

  1. /dev/md0     372.61Gb  (sda1+missing)
  2. /dev/hdb      74.53Gb
  3. /dev/sdb     298.09Gb

Now with the paycheck, I bought a third SATA disk (400Gb). I new from
the start that disk wouldn't fit in my desktopbox, so I also bought a
500W PSU (I had a huge server case without PSU from previously).

I was a little impatient, so I added the new disk (physically just
dangling outside the box :) to the LVM (as md1+missing).

The idea was to re-create sdb as mdX+missing, so I tried pvmove sdb.
But instantly received a lot of errors. Now I can't remove it
from the VG!

I figured this had/might have something to do with the (very) small
PSU in the workstation (250W I think it is).


My new server is a i386, and I already had a disk with Linux installed
for Intel, so that disk was also moved (from another server I don't
need any more - it was a Pentium 1 - to slow! :).

In with the system disk, in with the LVM disk and started. The system
had to be upgraded (from Ubuntu 6.xx to 7.04 - Feisty). Took a couple
of hours, and when that was done, I started to get the MD's working.
No go... One of the disks didn't even have a partition table!? None
of the disks had a MD [info/rootblock/whatever-it-was-called].

I wasn't really scared, I knew I haven't tried to modify the disks.
Put everything back into the PPC, and yes, everything works as
expected (exept the read errors from sdc/md1).


So, long winded explanation of what i've done, any idea about:

  1. How do I remove md1/sdc before I get data on it (i have the
     LVM unmounted for the time being).
  2. How do I move a VG/PV/LV from PPC to x86?

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

* Re: [linux-lvm] moving disk from PPC to x86
  2007-06-27 20:47 [linux-lvm] moving disk from PPC to x86 Turbo Fredriksson
@ 2007-06-27 21:05 ` Turbo Fredriksson
  2007-06-28  0:05 ` Turbo Fredriksson
  2007-06-28 20:07 ` Martin Schröder
  2 siblings, 0 replies; 5+ messages in thread
From: Turbo Fredriksson @ 2007-06-27 21:05 UTC (permalink / raw)
  To: linux-lvm

>>>>> "Turbo" == Turbo Fredriksson <turbo@bayour.com> writes:

    Turbo> The idea was to re-create sdb as mdX+missing, so I tried
    Turbo> pvmove sdb.  But instantly received a lot of errors. Now I
    Turbo> can't remove it from the VG!

This is the error I'm getting (starts more or directly after LVM
is setup):

[  370.565512] ata4: command 0x35 timeout, stat 0xd1 host_stat 0x1
[  370.565707] ata4: translated ATA stat/err 0xd1/00 to SCSI SK/ASC/ASCQ 0xb/47/00
[  370.565890] ata4: status=0xd1 { Busy }
[  370.565929] sd 3:0:0:0: SCSI error: return code = 0x8000002
[  370.565937] sdc: Current: sense key: Aborted Command
[  370.565943]     Additional sense: Scsi parity error
[  370.565967] end_request: I/O error, dev sdc, sector 12491199

The 'Scsi parity error' (from what I knew) is usually/most likley
due to faulty/insufficient PSU. I _should_ probably try to strap 
the new PSU to the desktop just to make sure, but... ?
-- 
bomb 767 PLO Uzi Ortega ammunition Soviet FSF radar NORAD pits colonel
Delta Force killed genetic
[See http://www.aclu.org/echelonwatch/index.html for more about this]
[Or http://www.europarl.eu.int/tempcom/echelon/pdf/rapport_echelon_en.pdf]
If neither of these works, try http://www.aclu.org and search for echelon.
Note. This is a real, not fiction.
http://www.theregister.co.uk/2001/09/06/eu_releases_echelon_spying_report/
http://www.aclu.org/safefree/nsaspying/23989res20060131.html#echelon

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

* Re: [linux-lvm] moving disk from PPC to x86
  2007-06-27 20:47 [linux-lvm] moving disk from PPC to x86 Turbo Fredriksson
  2007-06-27 21:05 ` Turbo Fredriksson
@ 2007-06-28  0:05 ` Turbo Fredriksson
  2007-06-28 20:07 ` Martin Schröder
  2 siblings, 0 replies; 5+ messages in thread
From: Turbo Fredriksson @ 2007-06-28  0:05 UTC (permalink / raw)
  To: linux-lvm

>>>>> "Turbo" == Turbo Fredriksson <turbo@bayour.com> writes:

    Turbo> I figured this had/might have something to do with the
    Turbo> (very) small PSU in the workstation (250W I think it is).

Can't sleep before I've tried everything so I tried hooking up the
new PSU to the desktop. No go. Still the I/O error(s)...
-- 
North Korea cracking spy Clinton Honduras Qaddafi Iran Saddam Hussein
nuclear BATF Nazi Cuba $400 million in gold bullion Kennedy KGB
[See http://www.aclu.org/echelonwatch/index.html for more about this]
[Or http://www.europarl.eu.int/tempcom/echelon/pdf/rapport_echelon_en.pdf]
If neither of these works, try http://www.aclu.org and search for echelon.
Note. This is a real, not fiction.
http://www.theregister.co.uk/2001/09/06/eu_releases_echelon_spying_report/
http://www.aclu.org/safefree/nsaspying/23989res20060131.html#echelon

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

* Re: [linux-lvm] moving disk from PPC to x86
  2007-06-27 20:47 [linux-lvm] moving disk from PPC to x86 Turbo Fredriksson
  2007-06-27 21:05 ` Turbo Fredriksson
  2007-06-28  0:05 ` Turbo Fredriksson
@ 2007-06-28 20:07 ` Martin Schröder
  2007-06-28 20:57   ` Turbo Fredriksson
  2 siblings, 1 reply; 5+ messages in thread
From: Martin Schröder @ 2007-06-28 20:07 UTC (permalink / raw)
  To: LVM general discussion and development

2007/6/27, Turbo Fredriksson <turbo@bayour.com>:
> I'm trying to move some disks from my PPC desktop to a dedicated
> server. Yesterday my system looked like this:

Let me guess: The different endianess of the systems is a problem.

Best
   Martin

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

* Re: [linux-lvm] moving disk from PPC to x86
  2007-06-28 20:07 ` Martin Schröder
@ 2007-06-28 20:57   ` Turbo Fredriksson
  0 siblings, 0 replies; 5+ messages in thread
From: Turbo Fredriksson @ 2007-06-28 20:57 UTC (permalink / raw)
  To: linux-lvm

Quoting "Martin Schr�der" <martin@oneiros.de>:

> 2007/6/27, Turbo Fredriksson <turbo@bayour.com>:
>> I'm trying to move some disks from my PPC desktop to a dedicated
>> server. Yesterday my system looked like this:
>
> Let me guess: The different endianess of the systems is a problem.

Yes. So how do i avoid/fix/solve that?

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

end of thread, other threads:[~2007-06-28 20:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-27 20:47 [linux-lvm] moving disk from PPC to x86 Turbo Fredriksson
2007-06-27 21:05 ` Turbo Fredriksson
2007-06-28  0:05 ` Turbo Fredriksson
2007-06-28 20:07 ` Martin Schröder
2007-06-28 20:57   ` Turbo Fredriksson

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.