Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #175046

How to mount a LVM?

From Robert Latest <boblatest@gmail.com>
Newsgroups linux.debian.user
Subject How to mount a LVM?
Date 2016-11-24 19:40 +0100
Message-ID <sH76a-6sM-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hey all,

I got it to work ONCE, but for the life of me I can't figure out how to do
it again.

This is what I think I did the first time, but for the second time it just
doesn't work.

root@dotcom:~# mdadm --assemble --scan
mdadm: /dev/md/2 has been started with 1 drive.
mdadm: /dev/md/3 has been started with 1 drive.

---OK, good so far. Now let's find the LVs

root@dotcom:~# lvmdiskscan
  /dev/loop0 [     213.51 MiB]
  /dev/loop1 [     206.55 MiB]
  /dev/sda1  [      30.00 GiB]
  /dev/loop2 [     220.89 MiB]
  /dev/md2   [     926.91 GiB] LVM physical volume
  /dev/loop3 [     208.05 MiB]
  /dev/md3   [     926.91 GiB] LVM physical volume
  /dev/sda5  [       2.00 GiB]
  /dev/sda6  [      30.00 GiB]
  /dev/sda7  [     200.00 GiB]
  /dev/sda8  [     203.76 GiB]
  /dev/sdb1  [       2.37 GiB]
  /dev/sdb2  [       2.00 GiB]
  /dev/sdc1  [       2.37 GiB]
  /dev/sdc2  [       2.00 GiB]
  /dev/sdd1  [     465.76 GiB]
  /dev/sde1  [     149.05 GiB]
  0 disks
  15 partitions
  0 LVM physical volume whole disks
  2 LVM physical volumes

---Still looking good. Now I'm supposed to find the logical volumes,
---but lvdisplay simply doesn't show anything.

root@dotcom:~# lvdisplay
root@dotcom:~#

---Now I'm stuck. All LVM instructions I find on the Internet say that I
find the path of the LVM device by using lvdisplay. Also I know that one
hour ago I had my volumes mounted and was copying data from them. After
properly syncing and unmounting them, and stopping the LVM and md thingys,
I'm stuck now.

Any suggestions?

robert

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

How to mount a LVM? Robert Latest <boblatest@gmail.com> - 2016-11-24 19:40 +0100
  Re: How to mount a LVM? Roland Müller <roland.em0001@googlemail.com> - 2016-11-24 23:00 +0100
    Re: How to mount a LVM? Robert Latest <boblatest@gmail.com> - 2016-11-25 18:50 +0100
  Re: How to mount a LVM? Nicolas George <george@nsup.org> - 2016-11-24 23:30 +0100
    Re: How to mount a LVM? Rick Thomas <rbthomas@pobox.com> - 2016-11-25 15:10 +0100
  Re: How to mount a LVM? Alexandre GRIVEAUX <agriveaux@deutnet.info> - 2016-11-25 14:20 +0100
  Re: How to mount a LVM? Cindy-Sue Causey <butterflybytes@gmail.com> - 2016-11-25 20:50 +0100
    Re: How to mount a LVM? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-25 22:20 +0100
    Re: How to mount a LVM? Robert Latest <boblatest@gmail.com> - 2016-11-25 23:00 +0100
    Re: How to mount a LVM? David Wright <deblis@lionunicorn.co.uk> - 2016-11-26 05:20 +0100

csiph-web