HPE EVA Storage
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Removing LUNS in SUSE 9 SP4

 
Beheer_KA
Occasional Advisor

Removing LUNS in SUSE 9 SP4

Hi All,

Were having problem when we want to remove the LUN from the EVA 6000 that are presented to the Integrity.

We tried everything but the only way that we know to remove the Luns to Linux is to reboot the server, which we don't want.

Does anyone have a solution of removing Luns without a reboot?

Greetings, Gert-Jan
4 REPLIES 4
SJO EGGER
Regular Advisor

Re: Removing LUNS in SUSE 9 SP4

with the command lsscsi you find all luns presented to the host and with
echo "scsi remove-single-device X X X X"
you can delete it.
X = the info from the lsscsi command.
Beheer_KA
Occasional Advisor

Re: Removing LUNS in SUSE 9 SP4

Thanks for the responce but i don't understand the way this works. Is there on the internet something that explains what happens and why it works?

Changing a file and everthing is solved without the reboot is too strange
SJO EGGER
Regular Advisor

Re: Removing LUNS in SUSE 9 SP4

here an example how to delete the preseted lun /dev/sda:

# lsscsi | grep sda
[0:0:0:1] disk COMPAQ HSV110 (C)COMPAQ 3028 /dev/sda

# echo "scsi remove-single-device 0 0 0 1" > /proc/scsi/scsi

ok now?
Beheer_KA
Occasional Advisor

Re: Removing LUNS in SUSE 9 SP4

I will try this solution and logic tells me that it would work but i still don't understand it.
But what's importend is that it works.

Thanks