please help LVM totally messed up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all

I accidentally deleted a LVM volume directly (rm /dev/System/newcpanel) and now my LVM's are all messed up.

I have a snapshot from one of the other LVM's, as follows lvcreate -s -n newcpanel /dev/System/wiseguy -L10G

But, instead of running lvremove /dev/System/newcpanel I ran rm /dev/System/newcpanel ( I don't know why)

So, now I have waisted space on my server, and I can't remove the original LVM either.

root@saturn /]# lvremove /dev/System/wiseguy_rootimg
  /dev/System/wiseguy_rootimg: read failed after 0 of 4096 at 0: Input/output error
  /dev/mapper/wiseguy_rootimg1: read failed after 0 of 2048 at 0: Input/output error
  /dev/mapper/wiseguy_rootimg2: read failed after 0 of 2048 at 0: Input/output error
  /dev/mapper/wiseguy_rootimg3: read failed after 0 of 2048 at 0: Input/output error
  Can't remove logical volume "wiseguy_rootimg" under snapshot


root@saturn /]# lvscan
  /dev/System/wiseguy_rootimg: read failed after 0 of 4096 at 0: Input/output error
  /dev/mapper/wiseguy_rootimg1: read failed after 0 of 2048 at 0: Input/output error
  /dev/mapper/wiseguy_rootimg2: read failed after 0 of 2048 at 0: Input/output error
  /dev/mapper/wiseguy_rootimg3: read failed after 0 of 2048 at 0: Input/output error
  ACTIVE            '/dev/System/root' [10.00 GB] inherit
  ACTIVE            '/dev/System/swap' [4.00 GB] inherit
  ACTIVE            '/dev/System/pluto' [50.00 GB] inherit
  ACTIVE            '/dev/System/home' [10.00 GB] inherit
  ACTIVE            '/dev/System/data' [20.00 GB] inherit
  ACTIVE            '/dev/System/andrew_vmswap' [1.00 GB] inherit
  ACTIVE            '/dev/System/andrew_rootimg' [5.00 GB] inherit
  ACTIVE            '/dev/System/keith_vmswap' [1.00 GB] inherit
  ACTIVE            '/dev/System/keith_rootimg' [5.00 GB] inherit
  ACTIVE            '/dev/System/12_vmswap' [1.00 GB] inherit
  ACTIVE            '/dev/System/12_rootimg' [5.00 GB] inherit
  ACTIVE   Original '/dev/System/wiseguy_rootimg' [10.00 GB] inherit
  ACTIVE   Snapshot '/dev/System/oldcpanel' [10.00 GB] inherit


--

Kind Regards
Rudi Ahlers
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux