From: Jongitech <jongitech@gmail.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Has the failed drive been removed from the vg?
Date: Sun, 15 Jun 2014 21:01:20 +0200 [thread overview]
Message-ID: <539DED80.50704@gmail.com> (raw)
Hi,
I have a 1.5TB drive (/dev/sda) that failed but may have started failing
over the the previous week (there was a point where the system did a
fsck on the vg which I thought was related to the system rebooting after
a power failure). I didn't notice anything untoward until today when I
gather the drive finally failed.
The thing is that when I run the various commands, there is nothing to
suggest that this drive is part of the vg yet I know it was
# vgdisplay
/dev/sda: read failed after 0 of 1024 at 0: Input/output error
/dev/sda: read failed after 0 of 1024 at 4141940736: Input/output error
/dev/sda: read failed after 0 of 1024 at 4142043136: Input/output error
/dev/sda: read failed after 0 of 1024 at 4096: Input/output error
/dev/sda: read failed after 0 of 2048 at 0: Input/output error
--- Volume group ---
VG Name mythtv
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 3
Act PV 3
VG Size 6.77 TiB
PE Size 4.00 MiB
Total PE 1775136
Alloc PE / Size 1775136 / 6.77 TiB
Free PE / Size 0 / 0
VG UUID 634Wwa-MmIs-MWXO-zm7v-7Hhf-bX27-kO3WMg
# pvdisplay -v
Scanning for physical volume names
/dev/sda: read failed after 0 of 1024 at 0: Input/output error
/dev/sda: read failed after 0 of 1024 at 4141940736: Input/output error
/dev/sda: read failed after 0 of 1024 at 4142043136: Input/output error
/dev/sda: read failed after 0 of 1024 at 0: Input/output error
/dev/sda: read failed after 0 of 1024 at 4096: Input/output error
/dev/sda: read failed after 0 of 2048 at 0: Input/output error
--- Physical volume ---
PV Name /dev/sdb4
VG Name mythtv
PV Size 2.68 TiB / not usable 4.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 702042
Free PE 0
Allocated PE 702042
PV UUID Mv8MD7-Lfmn-A5Gh-dGrD-jnlA-9XI0-cPcTdg
--- Physical volume ---
PV Name /dev/sdc1
VG Name mythtv
PV Size 1.36 TiB / not usable 4.88 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 357698
Free PE 0
Allocated PE 357698
PV UUID Yw0lux-Wndt-50np-8HNy-ZE0T-apn0-KbvT8P
--- Physical volume ---
PV Name /dev/sdd1
VG Name mythtv
PV Size 2.73 TiB / not usable 3.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 715396
Free PE 0
Allocated PE 715396
PV UUID 1BF9Mi-p2F3-oicD-A9C9-G2X0-LGcW-Eizc7e
From the above I should be able to physically remove the drive and add
a new one (to the VG) using the standard procedures?
Thanks in advance,
Jongi
reply other threads:[~2014-06-15 19:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=539DED80.50704@gmail.com \
--to=jongitech@gmail.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.