Re: Howto? Remove volumes

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

 



On Fri, 2007-10-26 at 09:29 -0500, isplist@xxxxxxxxxxxx wrote:
> After using LUN masking and zoning to make sure that hosts didn't access other 
> hosts data space, I find myself with lost volumes on some of the hosts. Since 
> I didn't remove them before making the changes, I am now stuck with the 
> following;
> 
> # lvscan
>   /dev/sda: read failed after 0 of 4096 at 0: Input/output error
>   ACTIVE            '/dev/VolGroup03/web' [475.62 GB] inherit
> 
> # vgscan
>   Reading all physical volumes.  This may take a while...
>   /dev/sda: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sda: read failed after 0 of 4096 at 1073676288: Input/output error
>   /dev/sda: read failed after 0 of 4096 at 0: Input/output error
>   Found volume group "VolGroup03" using metadata type lvm2
> 
> # pvscan
>   /dev/sda: read failed after 0 of 4096 at 0: Input/output error
>   /dev/sda: read failed after 0 of 4096 at 1073676288: Input/output error
>   /dev/sda: read failed after 0 of 4096 at 0: Input/output error
>   PV /dev/sdb   VG VolGroup03   lvm2 [475.62 GB / 0    free]
>   Total: 1 [475.62 GB] / in use: 1 [475.62 GB] / in no VG: 0 [0   ]
> 
> With the changes, /dev/sda and /dev/sdc (which doesn't show anymore) no longer 
> exists. How can I safely remove the sda references?
> 
> Mike
> 

Usually you'd want to do this prior to zoning away a device, but "echo 1
> /sys/block/sda/device/delete" should get rid of it.

-Steve

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux