linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Mauricio Tavares <raubvogel@gmail.com>
To: Phillip Susi <psusi@cfl.rr.com>,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Bad disk?
Date: Wed, 10 Nov 2010 12:56:24 -0500	[thread overview]
Message-ID: <4CDADCC8.9030400@gmail.com> (raw)
In-Reply-To: <4CDAB63A.9090504@cfl.rr.com>

On 11/10/2010 10:11 AM, Phillip Susi wrote:
> On 11/10/2010 9:39 AM, Mauricio Tavares wrote:
>> Yesterday I added a hard drive (to put extra stuff on it) to my ubuntu
>> 10.10 box and created a LVM in it. Then copied some files to it and
>> restarted the machine to see if it would mount into the right
>> mountpoint. It didn't. So I decided to see if it was there (vg in
>> question is export):
>
> None of the errors you posted mention a physical disk at all, so there
> isn't anything wrong with them.  To find out what dm-0 is you need to
> poke around with dmsetup.

	Now that might be interesting since I honestly do not know how to use 
it (and my google-fu seems weak today). But this is a bit more info I found:

raub@strangepork:~$ sudo pvs -a
   /dev/dm-0: read failed after 0 of 4096 at 0: Input/output error
   /dev/dm-0: read failed after 0 of 4096 at 429496664064: Input/output 
error
   /dev/dm-0: read failed after 0 of 4096 at 429496721408: Input/output 
error
   /dev/dm-0: read failed after 0 of 4096 at 0: Input/output error
   /dev/dm-0: read failed after 0 of 4096 at 4096: Input/output error
   /dev/dm-0: read failed after 0 of 4096 at 0: Input/output error
   PV         VG     Fmt  Attr PSize   PFree
   /dev/dm-0              --        0       0
   /dev/dm-1  root   lvm2 a-   277.05g 192.55g
   /dev/dm-2              --        0       0
   /dev/dm-3              --        0       0
   /dev/dm-4              --        0       0
   /dev/dm-5              --        0       0
   /dev/ram0              --        0       0
   /dev/ram1              --        0       0
   /dev/ram10             --        0       0
   /dev/ram11             --        0       0
   /dev/ram12             --        0       0
   /dev/ram13             --        0       0
   /dev/ram14             --        0       0
   /dev/ram15             --        0       0
   /dev/ram2              --        0       0
   /dev/ram3              --        0       0
   /dev/ram4              --        0       0
   /dev/ram5              --        0       0
   /dev/ram6              --        0       0
   /dev/ram7              --        0       0
   /dev/ram8              --        0       0
   /dev/ram9              --        0       0
   /dev/root              --        0       0
   /dev/sda1              --        0       0
   /dev/sda3              --        0       0
   /dev/sdc1  export lvm2 a-   465.76g  65.76g
raub@strangepork:~$

FYI, the root vg in inside /dev/sda3, which is an encrypted partition. 
How can I find which drive /dev/dm-0 is?

  reply	other threads:[~2010-11-10 17:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10 14:39 [linux-lvm] Bad disk? Mauricio Tavares
2010-11-10 15:11 ` Phillip Susi
2010-11-10 17:56   ` Mauricio Tavares [this message]
2010-11-10 18:58     ` Ray Morris
2010-11-10 20:29       ` Mauricio Tavares
2010-11-10 17:41 ` Stuart D. Gathman
2010-11-10 20:35   ` Mauricio Tavares
2010-11-11 16:46     ` Stuart D. Gathman
2010-11-11 18:39       ` Mauricio Tavares

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=4CDADCC8.9030400@gmail.com \
    --to=raubvogel@gmail.com \
    --cc=linux-lvm@redhat.com \
    --cc=psusi@cfl.rr.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).