[CentOS] Found duplicate PV
wnefal at gmail.com
Wed Dec 4 17:03:51 UTC 2013
On 04.Dez.2013, at 15:57, Markus Falb wrote:
> On 04.Dez.2013, at 15:11, m.roth at 5-cent.us wrote:
>> Markus Falb wrote:
>>> # pvdisplay
>>> Found duplicate PV b79x0kLXR9mAC0z0IZUxyJG1VC24Crl7: using /dev/sda2 not
>>> --- Physical volume ---
>>> PV Name /dev/sda2
>>> VG Name vg_sys
>>> PV Size 1.36 TB / not usable 6.81 MB
>> smartctl -t short
>> to start. And is there anything in your logfiles saying something like "
>> Device: /dev/sdb [SAT], 98 Currently unreadable (pending) sectors"?
> Interesting, I have this in /etc/smartd.conf
> DEVICESCAN -n standby -a -m root -s (L/../../6/00|S/../.././00)
> but according to the selftest logs it seems it is only checking sdb but *not* sda. I'll have to check this out.
> A manual short test succeeded.
> However, a failing disk should not affect LVM, should it?
# pvs /dev/sda2
Found duplicate PV b79x0kLXR9mAC0z0IZUxyJG1VC24Crl7: using /dev/md1 not /dev/sda2
PV VG Fmt Attr PSize PFree
/dev/md1 vg_sys lvm2 a-- 1.36T 553.16G
# pvs /dev/sdb2
Failed to read physical volume "/dev/sdb2"
smart status tells me
5 Reallocated_Sector_Ct 0x0033 001 001 036 Pre-fail Always FAILING_NOW 4095
smartd did not send warning mail, selftests are successful, only in the logfiles is
Device: /dev/sdb [SAT], FAILED SMART self-check. BACK UP DATA NOW!
Device: /dev/sdb [SAT], Failed SMART usage Attribute: 5 Reallocated_Sector_Ct.
I think I will replace sdb.
Thank You, Markus
More information about the CentOS