Hi bentech4u,
Try running 'lsof | grep /dev/rdsk/c2t600D023' and see if it shows any processes still using the device. Cycling the process will probably free it up.
i am using solaris 10 SPARC. is there any patch need to install ?
Quote:
Originally Posted by TioTony
Hi bentech4u,
Try running 'lsof | grep /dev/rdsk/c2t600D023' and see if it shows any processes still using the device. Cycling the process will probably free it up.
Thanks,
Tony
---------- Post updated at 10:19 PM ---------- Previous update was at 10:08 PM ----------
hi sorry. i have installed lsof package and i got below wile trying the command you suggested
The lsof output just means it found something (a process, file, etc) in use by a user with the UID of 1002 but that user is not listed in the /etc/passwd file. I've seen this happen two different ways, there may be more. 1) The user started some processes and was removed from the system, but the processes continue to run. 2) The user is an NIS user and something has gone horribly wrong with NIS (but I think I have maybe only seen this once).
Let's back up a bit. Can you provide more info about the circumstances leading up to the LUN being removed? For example, are you scraping an Oracle instance that was running on the system and removed the LUNs and User ID? What SAN are you using?
If there is some event matching this type of scenario then I would be confident UID 1002 still has some processes running that are using that LUN.
In that case you can run 'ps -u 1002' or 'ps -U 1002' and see if you can identify the process or processes. You can then try to stop them gracefully, kill -HUP them, or kill -9 them.
If you have some other scenario where UID 1002 may not have anything to do with the issue, please give some details and we can try to tackle it a different way.
I'm signing off for the night but some other commands that may help you work through this are:
To clean up the device list:
To remove hardware:
To check currently available disks:
And you already are aware of luxadm. Please read the man pages before running any of the above to make sure they will help you and not hurt you.
---------- Post updated at 09:42 PM ---------- Previous update was at 09:38 PM ----------
And one other thing: if you are using powerpath, Veritas, or some other multipathing software you may need to update them before you can fully remove the device.
Last edited by rbatte1; 06-15-2015 at 09:48 AM..
Reason: Added CODE tags
Hi all, I have the following LUN which is showing OK with its two paths:
DEVICE PROPERTIES for disk: /dev/rdsk/c23t500507630A3BC579d123s2
Vendor: IBM
Product ID: 2107900
Revision: 3010
Serial Num: 75WB0114900
Unformatted capacity:... (13 Replies)
Hi,
I've noticed that mpathadm states that one of our luns has no active paths:
/dev/rdsk/c6t60000970000298700009533031324333d0s2
Total Path Count: 4
Operational Path Count: 4
/dev/rdsk/c6t60000970000298700009533031333037d0s2
... (3 Replies)
Hello to all,
Actually, currently on my Solaris box, I've a LUN (5TB space) from a EMC storage which is working fine, and a partition with ZFS filesystem is created for that LUN. as further you'll see in the logs, the "c4t6006016053802E00E6A9196B6506E211d0s2" is the current configured LUN in the... (4 Replies)
How to get LUN WWN (i.e LUN mapped from a storage box say Symmetrix or clariion) in Solaris. fcinfo command does give the Target port wwn but what i'm looking for is the LUN WWN. Any help is appreciated. (2 Replies)
hi,
what are the steps to detect and configure a new attached lun in Solaris 10.
Is there any difference between cfgadm and luxadm command ?
rgds,
snjksh (5 Replies)
Is there a limit to the number of LUNS that can be concatenated using Solaris Volume manager with Soft partitions?
I have worked with some AIX admins in the past and there was such a limitation therefore limiting the size the filesystem could grow to.
Is there such a limitation in Solaris 9... (6 Replies)
I just installed IBMsdd on Solaris diver along with the patches recommended. I also installed 2 - 2Gigs qlogic fiber cards & the corresponding pkges for the cards.
What command can I use to scan this LUN disks from my Soalris servers. Solaris doen't seem to be seeing this disks presented on it.... (2 Replies)