All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM2 on a USB-disk/ same VG name
Date: Thu, 9 Mar 2006 10:46:05 +0100	[thread overview]
Message-ID: <20060309094605.GA3222@redhat.com> (raw)
In-Reply-To: <4248.1141894762@www078.gmx.net>


Hi Axel,

vgrename the active one and adjust /etc/fstab appropriately.
'vgscan;vgchange -ay' should gain you access to the USB one then.

Regards,
Heinz    -- The LVM Guy --


On Thu, Mar 09, 2006 at 09:59:22AM +0100, Axel Braun wrote:
> Hello experts,
> 
> I need your advice to save some data: My old laptop died, but I could make
> the HD work again via a USB-adapter. I attached it to the new Laptop (as
> well running SuSE 10.0 / lvm2), and the lvm on the USB-Disk is not
> displayed.
> 
> The lvm on the installed system is active:
> z60m:~ # pvdisplay /dev/sda8
>   --- Physical volume ---
>   PV Name               /dev/sda8
>   VG Name               system
>   PV Size               28.75 GB / not usable 0
>   Allocatable           yes
>   PE Size (KByte)       4096
>   Total PE              7359
>   Free PE               11
>   Allocated PE          7348
>   PV UUID               ZdwaLr-anXc-Z7ck-cGI0-oFoW-UluI-F7SZ18
> 
> This group is also active:
> z60m:~ # lvscan
>   ACTIVE            '/dev/system/daten' [12.70 GB] inherit
>   ACTIVE            '/dev/system/home' [8.00 GB] inherit
>   ACTIVE            '/dev/system/root' [8.00 GB] inherit
> 
> Now, on the USB-disk is a LVM as well:
> z60m:~ # pvdisplay /dev/sdb8
>   --- Physical volume ---
>   PV Name               /dev/sdb8
>   VG Name               system
>   PV Size               17.48 GB / not usable 0
>   Allocatable           yes
>   PE Size (KByte)       4096
>   Total PE              4475
>   Free PE               9
>   Allocated PE          4466
>   PV UUID               P8KDPg-QbME-4Hzc-lw8G-ntOA-1dIv-1DeXmR
> 
> vgscan does not activate the group on the USB - due to the same name?
> z60m:~ #  vgchange -a y
>   3 logical volume(s) in volume group "system" now active
> z60m:~ # pvscan
>   PV /dev/sda8   VG system   lvm2 [28.75 GB / 44.00 MB free]
>   Total: 1 [28.75 GB] / in use: 1 [28.75 GB] / in no VG: 0 [0   ]
> z60m:~ # lvscan
>   ACTIVE            '/dev/system/daten' [12.70 GB] inherit
>   ACTIVE            '/dev/system/home' [8.00 GB] inherit
>   ACTIVE            '/dev/system/root' [8.00 GB] inherit
> 
> What is your proposal to activate the USB-lvm group - best without loosing
> data.....
> 
> TIA
> Axel
> 
> -- 
> "Feel free" mit GMX FreeMail!
> Monat f?r Monat 10 FreeSMS inklusive! http://www.gmx.net
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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

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

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Cluster and Storage Development                   56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2006-03-09  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09  8:59 [linux-lvm] LVM2 on a USB-disk/ same VG name Axel Braun
2006-03-09  9:46 ` Heinz Mauelshagen [this message]
2006-03-09 12:55   ` Axel Braun
2006-03-09 13:31     ` Heinz Mauelshagen
2006-03-09 13:40       ` Axel Braun
2006-03-14  7:44       ` Solved: " Axel Braun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060309094605.GA3222@redhat.com \
    --to=mauelshagen@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.