linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Alejandro Santillan" <lvm@alela.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	fabien@jakimowicz.com
Subject: Re: [linux-lvm] want to remove a disk
Date: Mon, 28 May 2007 10:44:48 -0300	[thread overview]
Message-ID: <005401c7a12e$5cda0cb0$7627010a@xdnrox> (raw)
In-Reply-To: 1180127786.16219.15.camel@soda.rider.geekspirit.net

Thank you for your answer Fabien. The result of vgdisplay and pvdisplay
commands is:

[root@s2 httpd]# /usr/sbin/vgdisplay
  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               148.91 GB
  PE Size               32.00 MB
  Total PE              4765
  Alloc PE / Size       4763 / 148.84 GB
  Free  PE / Size       2 / 64.00 MB
  VG UUID               557bDF-15yS-X2uy-o0WH-kBXG-RJ63-7hVw03

[root@s2 httpd]# /usr/sbin/pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               VolGroup00
  PV Size               74.50 GB / not usable 0
  Allocatable           yes (but full)
  PE Size (KByte)       32768
  Total PE              2384
  Free PE               0
  Allocated PE          2384
  PV UUID               hdfvF4-MWe1-EVZk-0Mej-o5yH-fYrp-Nd2vTC

  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               VolGroup00
  PV Size               74.41 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       32768
  Total PE              2381
  Free PE               2
  Allocated PE          2379
  PV UUID               RGvP2W-GVKx-Ukjk-9gab-mF4F-HXGo-43Ql12

As far as I understand there are two 80GB HD sata. One as a master (sda2)
and one as slave (sdb2).
I would like to have all the logical volume data on the sda2, and be able to
remove the sdb2 without disrupting the server.
Is that possible?

Thanks,

Alejandro

----- Original Message ----- 
From: "Fabien Jakimowicz" <fabien@jakimowicz.com>
To: "LVM general discussion and development" <linux-lvm@redhat.com>
Sent: Friday, May 25, 2007 6:16 PM
Subject: Re: [linux-lvm] want to remove a disk

> ==============================================================
> which command should I use to leave all information on the /dev/sda1
> and be able to take out the other disk?
>
You should give more informations, like where does VG VolGroup00 stands
(sda1 ?). Try the following :
vgdisplay
pvdisplay
-- 
Fabien Jakimowicz <fabien@jakimowicz.com>


> _______________________________________________
> 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/

      reply	other threads:[~2007-05-28 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-25 17:03 [linux-lvm] want to remove a disk Alejandro Santillan
2007-05-25 21:16 ` Fabien Jakimowicz
2007-05-28 13:44   ` Alejandro Santillan [this message]

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='005401c7a12e$5cda0cb0$7627010a@xdnrox' \
    --to=lvm@alela.com \
    --cc=fabien@jakimowicz.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).