Sponsored Content
Full Discussion: Retrieve LUN IDs
Operating Systems AIX Retrieve LUN IDs Post 302882547 by paakofi on Tuesday 7th of January 2014 06:46:09 PM
Old 01-07-2014
Retrieve LUN IDs

Hello,

I decommissioned a server recently but made mistake copying the LUN IDs (when I used the command "lscfg -vl hdisk#" on the VIO Servers) to give to the storage team to reclaim the LUNs. Now I have deleted the backing device, vhost on the VIO and have deleted the LPAR from HMC.

Before deleting everything, I run this command before everything "lsmap -vadapter vhost8", and the output was like this
Code:
SVSA            Physloc                                      Client Partition ID
--------------- -------------------------------------------- ------------------
vhost9          U9117.570.109194F-V1-C19                     0x0000000e

VTD                   s_sappxsdb1_02
Status                Available
LUN                   0x8100000000000000
Backing device        hdisk33
Physloc               U7879.001.DQD2V5C-P1-C2-T1-W50060E8004294254-L1B000000000000

can storage team use that information from the to identify/reclaim the LUNs.

Please, I need help to identify those LUNs.

Thanks,
Paakofi

Last edited by Franklin52; 01-08-2014 at 03:17 AM.. Reason: Please use code tags
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ids

What's the relationship beteew IDS and informix ? (1 Reply)
Discussion started by: wuhuatao
1 Replies

2. UNIX for Dummies Questions & Answers

can't su to any IDs

hello friends, i had this problem couldn't figure out. Every time i tried to su to an id by this command. it gave all killed command after that. Can't use it at all. ( OS Irix ). Any help greatly appreciated. ========= server 23# su - hbl3121 Killed Killed Killed Killed Killed Killed... (2 Replies)
Discussion started by: anphdula
2 Replies

3. Shell Programming and Scripting

Migrating IDs

I need a script that will move files and change the ownership from a user's old home directory to a new home directory on multiple NIS+ servers. (0 Replies)
Discussion started by: mackdaddy07
0 Replies

4. Cybersecurity

Bayesian IDS

Hi there, I am working on Anomaly based Network IDS... Statistical based technique is simple but not quite effective in real scenario... I understand Bayesian classifier/Network is more effective in the context of anomaly detection, but i have very little idea about Bayesian approach for... (0 Replies)
Discussion started by: Dinakara
0 Replies

5. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer. thanks (4 Replies)
Discussion started by: uuontario
4 Replies

6. AIX

Multiple IDs

Hello Guys, We've around 20 machines & I've root access for all of them. Also, we have around 4 different ID's in these machines. I have to change the passwords every month, I was wondering is there a way to change the password for multiple IDs at one shot? Thanks, (1 Reply)
Discussion started by: AbhijithS
1 Replies

7. Shell Programming and Scripting

common ids

I have file1.txt I have file2.txt and I want to extract all the rows in file1.txt that have the same idsas file2.txt in the 3rd column in the file1.txt. so the output willl be I have tried sort ${data}/13.txt > ${data}/13 sort -k3,3 ${data}/333.txt > ${data}/333 awk... (4 Replies)
Discussion started by: johnkim0806
4 Replies

8. Shell Programming and Scripting

Match ids

Hello, I have two files File 1 with 10 columns rsid position ........ xx 1:10000 File 2 position 1:10000 2:2000 .... I need to extract the IDs given in file 2(column1) from file 1 (column2) and print all columns from file1. I am trying this command (1 Reply)
Discussion started by: nans
1 Replies

9. UNIX for Beginners Questions & Answers

List of all ids,groups, privilege ids

I wish to pull out a list of all user ids on the system, including the privileged ids, the groups to which they belong to. Sometimes after deleting an id also, its home dir does not get deleted or an entry is left behind in /etc/passwd. Can someone help me with a script to achieve both. (2 Replies)
Discussion started by: ggayathri
2 Replies
RESCAN-SCSI-BUS.SH(8)					      System Manager's Manual					     RESCAN-SCSI-BUS.SH(8)

NAME
rescan-scsi-bus.sh - rescan the SCSI bus. SYNOPSIS
rescan-scsi-bus.sh [ -l ] [ -w ] [ -c ] [ -r ] [ host... ] DESCRIPTION
rescan-scsi-bus.sh is a program that is used to rescan the SCSI bus using the SCSI add-single-device feature of the Linux SCSI layer. OPTIONS
-l Activates scanning for LUNs 0 .. 7 (default: 0). -L NUM Activates scanning for LUNs 0 .. LUN (default: 0). --luns=LIST Scan only LUNs in LIST. -w Enables scanning for device IDs 0 .. 15 (default: 0 .. 7). --ids=LIST Scan only device IDs in LIST. -i, --issue-lip Issue a FibreChannel LIP reset (default: disabled). -r, --remove Enables removing of devices (default: disabled). --forceremove Remove and readd every device (dangerous). -c Enables scanning of channels 0 1 (default: 0). --channels=LIST Scan only channels in LIST. host, --hosts=LIST If host adapters are given, only these are scanned (default: all). --nooptscan Don't stop looking for LUNs if 0 is not found. --color Use coloured prefixes OLD/NEW/DEL. LIST is a comma separated list of single values and ranges (no spaces allowed), e.g. 0,2-3,8,10-15. AUTHOR
rescan-scsi-bus.sh was written by Kurt Garloff <garloff@suse.de>. COPYRIGHT
This program is free software. You can use it under the terms of the GNU GPL (General Public License) Version 2 (or any later version, at your option). Note, that the GNU GPL implies, that there is NO WARRANTY at all. Full text of the GPL can be found in /usr/share/common- licenses/GPL file. AVAILABILITY
rescan-scsi-bus.sh is available from http://www.garloff.de/kurt/linux/scsidev/ March 1998 RESCAN-SCSI-BUS.SH(8)
All times are GMT -4. The time now is 10:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy