From: malahal@us.ibm.com
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] linux-lvm Digest, Vol 70, Issue 6
Date: Mon, 21 Dec 2009 11:12:52 -0800 [thread overview]
Message-ID: <20091221191252.GA5855@us.ibm.com> (raw)
In-Reply-To: <691e2b620912200536u3ac4fff6v9203ee435470f1b1@mail.gmail.com>
Johan Gardell [gardin@gmail.com] wrote:
> Hi!
>
> I was able to use dd to read from the two PVs, so i started looking in
> the /proc/* files as you said:
>
> /proc/mounts:
> rootfs / rootfs rw 0 0
> none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
> none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
> udev /dev tmpfs rw,relatime,size=10240k,mode=755 0 0
> /dev/disk/by-uuid/56b77d5f-64e8-4392-be98-81a17a4c895d / reiserfs
> rw,relatime,notail 0 0
> tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
> tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
> devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
> /dev/mapper/Dreamhack-dreamhacklv /home reiserfs rw,relatime 0 0
>
> and in /proc/swap
> Filename Type Size Used Priority
> /dev/sdb3 partition 1951888 0 -1
>
> Which did not give much, but i looked in /proc/mdstat as well
> Personalities :
> md127 : inactive sdc[1](S) sda[0](S)
> 4514 blocks super external:imsm
>
> unused devices: <none>
>
> Doesn't that mean the PVs are mapped to the md127 device? (the
> /dev/md127 device exists as well)
> I googled some and found that mdadm --remove /dev/md127 /dev/sdc and
> the same for the other device should remove the devices from the raid,
> but i just want to check with you so that i don't toast my data.. :P
> Could this be the issue?
That is the most likely issue. You need to figure out why MD has taken
them (someone must have created MD labels on them???). If you are not
interested in what is stored there, you can certainly remove them from
mdadm configuration and put them under LVM control but don't expect to
get your data back. If you have stored something on them, you better use
MD and restore the data before you remove them from MD and place them
under LVM.
Thanks, Malahal.
prev parent reply other threads:[~2009-12-21 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20091217234212.938778E090A@hormel.redhat.com>
2009-12-20 13:36 ` [linux-lvm] linux-lvm Digest, Vol 70, Issue 6 Johan Gardell
2009-12-21 19:12 ` malahal [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=20091221191252.GA5855@us.ibm.com \
--to=malahal@us.ibm.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).