Sponsored Content
Operating Systems Solaris need help for removing SAN LUNS on solaris 9 Post 302300399 by pressy on Tuesday 24th of March 2009 04:34:45 AM
Old 03-24-2009
hi,

that should work:
umount them and then issue this command:
# cfgadm -o force_update -c unconfigure c4::5006016130206b9d
# cfgadm -o force_update -c unconfigure c4

and the same for every controller. it that doesn't work, just disconnect the cables, then you will see:
c4::5006016130206b9d,0 disk connected configured unusable

when it is marked as "unusable" you can use that:
# cfgadm -o unusable_FCP_dev -c unconfigure c4::5006016130206b9d

to remove the "dev" entries, you should also use:
# devfsadm -Cv

kind regards
- pressy
 

9 More Discussions You Might Find Interesting

1. Solaris

SAN Configuration in Solaris

I Have IBM ESS 800, trying to configure SAN storage using Fiber card. I installed the SDD driver & can see the disks however, when I did # datapath query device I have the disks shown in slices # ./datapath query device Total Devices : 8 Dev#: 0 Device Name: vpath1a Type:... (0 Replies)
Discussion started by: Remi
0 Replies

2. Solaris

Solaris and SAN

Hi, How can we differentiate a SAN disk with a Solaris local disk? Please respond. Thanks (4 Replies)
Discussion started by: balu_solaris
4 Replies

3. UNIX for Advanced & Expert Users

SAN Configuration in Solaris

Hi, I have 4 servers that I connected SUN HBAs on. (SAN is IBM - ESS 800 with Brocade switch) I installed the SAN foundation kit, IBMsdd drivers, Solaris Patch 108974-50 & SANsurfer CLI. (I'm running Solaris 8 - HBA is SG-XPC11FC-QL2 On 1 of the 4 servers show the HBAs as CONNECTED, but... (3 Replies)
Discussion started by: Remi
3 Replies

4. AIX

san luns controller problem

Hi, I'd like to share this... I see all the luns on my aix when I do lspv, 10 of them, configured by the san contractor. I defined the first sanvg no problem, the second one no problem, but the third got problem and so on. It's random after the second, I think. The error is 0516-024 mkvg:... (5 Replies)
Discussion started by: itik
5 Replies

5. HP-UX

Target LUNs plus que deux sur un SAN de 2 fabrics

salut admin, Normalement mon serveur doit voir un de mes LDEV à partir de deux chemins sur le SAN et ainsi lui attribuer seulement deux Target LUNs. Or il lui en a attribué 8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Très bizzare! Auriez vous une idée. Merci pour votre aide appréciée (2 Replies)
Discussion started by: hmaiida
2 Replies

6. Filesystems, Disks and Memory

mount luns solaris

Hi I´m new to san and lun´s I see the disks, but are not able to mount them bash-3.00# mountall checking ufs filesystems /dev/rdsk/c3t5006016930601F86d0s6: I/O error Can't open /dev/rdsk/c3t5006016930601F86d0s6: I/O error /dev/rdsk/c3t5006016930601F86d0s6: CAN'T CHECK FILE SYSTEM.... (1 Reply)
Discussion started by: ludvig
1 Replies

7. Solaris

SAN boot solaris 10

I have a solaris 10 box which does not have internal disks it has just a single dual port HBA card. Storage team has assigned 2 LUNs to the system and i can see it from the probe-scsi-all /pci@3,700000/SUNW,emlxs@0,1 Device PortID 10100 WWPN 5006016941e0a08d LUN 0 Disk DGC ... (0 Replies)
Discussion started by: fugitive
0 Replies

8. Solaris

SAN-based LUNs

running Solaris10 with Qlogic FC adapters connected to a multi-host FC array..using VXFS/VXVM.. Is there in Solaris10 or using some Qlogic drivers to filter out only the LUNs this host can see ?? Normally this is done by LUN masking in the FC switch or the FC array itself..however, neither... (2 Replies)
Discussion started by: ppchu99
2 Replies

9. Solaris

Are these SAN LUNs really not mounted?

Hello everyone. I've been asked to check if something is wrong with the storage setup on these two SunOS 5.10 machines, which are being used as database servers with Oracle RAC configuration. Seems to be that the DB guy is complaining, telling that they are nearly out of space, which sounds... (4 Replies)
Discussion started by: kacareu
4 Replies
SG_LUNS(8)							     SG3_UTILS								SG_LUNS(8)

NAME
sg_luns - send the SCSI REPORT LUNS command SYNOPSIS
sg_luns [--decode] [--help] [--hex] [--maxlen=LEN] [--quiet] [--raw] [--select=SR] [--verbose] [--version] DEVICE DESCRIPTION
Send the SCSI REPORT LUNS command to the DEVICE and outputs the response. In the SPC-3 SCSI standard support for this command is mandatory. OPTIONS
Arguments to long options are mandatory for short options as well. -d, --decode decode logical unit numbers into their hierarchical parts. Interprets luns as described in SAM-3 when the HiSup bit is set in a standard INQUIRY's response. -h, --help output the usage message then exit. -H, --hex output response to this command in ASCII hex. -m, --maxlen=LEN where LEN is the (maximum) response length in bytes. It is placed in the cdb's "allocation length" field. If not given (or LEN is zero) then 8192 is used. The maximum allowed value of LEN is 65536. -q, --quiet output ASCII hex rendering of each report lun, one per line. -r, --raw output response in binary (to stdout). -s, --select=SR this option sets the 'select report' field (SR) in the SCSI REPORT LUNS command. The default value is 0. When 0 is given (or this option is not specified) then the DEVICE should yield a list of luns addressable via this "I_T nexus" that use the following lun addressing methods: logical unit addressing, peripheral device addressing and flat space addressing. When 1 is given the DEVICE should yield a list of only "well known" logical units addressable via this "I_T" nexus. When 2 is given the DEVICE should yield all luns addressable via this "I_T" nexus. To simplify, for the I_T nexus associated with the DEVICE, the meanings of the SR values are: 0 : all luns excluding well known logical units 1 : well known logical units 2 : all luns Values between 0xf8 and 0xff (inclusive) are vendor specific (SPC-4 (rev 32), other values greater than 2 are reserved. -v, --verbose increase the level of verbosity, (i.e. debug output). -V, --version print the version string and then exit. EXIT STATUS
The exit status of sg_luns is 0 when it is successful. Otherwise see the sg3_utils(8) man page. AUTHORS
Written by Douglas Gilbert. REPORTING BUGS
Report bugs to <dgilbert at interlog dot com>. COPYRIGHT
Copyright (C) 2004-2011 Douglas Gilbert This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. SEE ALSO
sg_inq(8) sg3_utils-1.33 August 2011 SG_LUNS(8)
All times are GMT -4. The time now is 11:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy