LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   LVM Errors Help (https://www.linuxquestions.org/questions/linux-server-73/lvm-errors-help-4175434631/)

idlehands 10-29-2012 10:53 AM

LVM Errors Help
 
Ubuntu 12.04 system

I have an LVM2 created spanning 3 drives. Lately I've been getting errors reading files over my network; causing me to investigate

lvscan:
Code:

root@saturn:~# lvscan
  /dev/dm-0: read failed after 0 of 4096 at 0: Input/output error
  /dev/dm-0: read failed after 0 of 4096 at 1980550283264: Input/output error
  /dev/dm-0: read failed after 0 of 4096 at 1980550340608: Input/output error
  /dev/dm-0: read failed after 0 of 4096 at 4096: Input/output error
  /dev/dm-1: read failed after 0 of 4096 at 5981345873920: Input/output error
  /dev/dm-1: read failed after 0 of 4096 at 5981345931264: Input/output error
  Couldn't find device with uuid tgxVi7-KIwG-FX9U-U52T-56Ss-jKxi-La3xon.
  ACTIVE            '/dev/saturn/titan' [5.44 TiB] inherit

This was after
e2fsch ran against it:

/dev/saturn/titan: ***** FILE SYSTEM WAS MODIFIED *****
/dev/saturn/titan: 437614/365076480 files (8.6% non-contiguous), 827595696/1460289536 blocks

I think my /dev/sdd device is hosed; but I'm not sure what else to do with this mess

Devyn 10-30-2012 09:55 PM

You may need to remove the LV with DM setup. (If that is what you want to do.) Here's how:

# dmsetup info -c /dev/MBPCStorage/MBPCBackup
# dmsetup remove MBPCStorage-MBPCBackup

RAID? Is LVM just spanning? What FS? Otherwise you might need some LVM Recovery help due to your last error:

>Couldn't find device with uuid tgxVi7-KIwG-FX9U-U52T-56Ss-jKxi-La3xon.

Gather more stats then post back. The more bits and pieces the better. (hint: smartctl)

Cheers,


All times are GMT -5. The time now is 09:11 PM.