Removing LUNs from Solaris 10

Hi all, I have a 2-node Solaris 10 11/06 cluster running Sun Cluster 3.2. It's shared storage is supplied from an EMC Clariion SAN. Some of the LUNs used by the cluster have recently been replaced. I now have multiple LUNs on this cluster that are no longer needed. But there's a problem.
Last week I added, then removed, a new LUN to the cluster and one of the nodes in the cluster rebooted. Sun Microsystems analysed the problem and identified the reboot as a known issue (Bug ID is 6518348):
On Solaris 10 Systems, any SAN interruptions causing a path to SAN devices to be temporarily offlined may cause the system to panic. The SAN interruption may be due to regular SAN switch and/or array maintenance, or as simple as a fibre cable disconnect.
I need to remove the unused LUNs as the SAN that they live on is being moved.
Is there any way I can safely remove the unused LUNs without causing or requiring server reboots?
Thanks in advance,
Stewart

Hi Stewart,
Usually devfsadm -Cv ( -C = cleanup, v = verbose) does a good job
If it doesn't work, you can use cfgadm -c unconfigure/remove <LUNid>
Ex: cfgadm -c unconfigure c2::50060161106023dd;cfgadm -c remove c2::50060161106023dd
Marco

Similar Messages

  • How can remove gcc from solaris 10

    HI All,
    how can i remove gcc pkg from solaris 10
    thanks

    pkgrm SUNWgcc
    If you are uncertain which package a file belongs to you can always run pkgchk:
    $ pkgchk -l -p /usr/sfw/bin/gcc
    NOTE: Couldn't lock the package database. <-- since i didn't run the command as someone with root privileges.
    Pathname: /usr/sfw/bin/gcc
    Type: linked file
    Source of link: ../../../usr/sfw/bin/i386-pc-solaris2.10-gcc-3.4.3
    Referenced by the following packages:
    SUNWgcc
    Current status: installed
    $
    .7/M.

  • Solaris 10+lun from san

    hi,
    i need help with solaris 10+san. On one server with solaris 10 i connect lun from san. I dont now as...maybe. On new server i need connect new lun...have anybody step-by-step manual for this?on solaris on sparc i dont have problem, or on solaris 10 is big problem...help me?thanks...

    i have now this state:
    c0::500601603022435d disk connected configured unknown
    c0::50060160302247b5 disk connected configured unknown
    c0::500601683022435d disk connected configured unknown
    c0::50060168302247b5 disk connected configured unknown
    c1::50060161302247b5 disk connected configured unknown
    c1::500601693022435d disk connected configured unknown
    c1::50060169302247b5 disk connected configured unknown
    on format i have:
    AVAILABLE DISK SELECTIONS:
    0. c0t50060168302247B5d0 <drive type unknown>
    /pci@0,0/pci8086,25e4@4/pci1077,139@0/fp@0,0/disk@w50060168302247b5,0
    1. c0t50060160302247B5d0 <drive type unknown>
    /pci@0,0/pci8086,25e4@4/pci1077,139@0/fp@0,0/disk@w50060160302247b5,0
    2. c0t500601603022435Dd0 <drive type unknown>
    /pci@0,0/pci8086,25e4@4/pci1077,139@0/fp@0,0/disk@w500601603022435d,0
    3. c0t500601683022435Dd0 <drive type unknown>
    /pci@0,0/pci8086,25e4@4/pci1077,139@0/fp@0,0/disk@w500601683022435d,0
    4. c1t50060169302247B5d0 <drive type unknown>
    /pci@0,0/pci8086,25e4@4/pci1077,139@0,1/fp@0,0/disk@w50060169302247b5,0
    5. c1t50060161302247B5d0 <drive type unknown>
    /pci@0,0/pci8086,25e4@4/pci1077,139@0,1/fp@0,0/disk@w50060161302247b5,0
    6. c1t500601693022435Dd0 <drive type unknown>
    /pci@0,0/pci8086,25e4@4/pci1077,139@0,1/fp@0,0/disk@w500601693022435d,0
    7. c2t0d0 <DEFAULT cyl 4373 alt 2 hd 255 sec 63>
    /pci@0,0/pci8086,25e7@7/pci8086,32c@0/pci1028,1f08@8/sd@0,0
    where i have error?

  • Removed LUN won't dissapear from cfgadm

    Hi All,
    This is a S10u4 + SC3.2 two node cluster using LUNs from a SAN.
    STMS is used and I use four paths to the storage.
    When removing a LUN it will show up as expected from
    cfgadm -al -o show_SCSI_LUN as unusable.
    When trying to remove these entries (four paths) there is
    almost always one path that does not succeed, no specific path
    and it behaivs the same on both nodes.
    From failed path:
    c2::201400a0b8113128,23 disk connected configured unknown
    c2::201400a0b8113128,25 disk connected configured unusable
    c2::201400a0b8113128,26 disk connected configured unknown
    From a path where unconfigure succeeded
    c3::201500a0b8113128,23 disk connected configured unknown
    c3::201500a0b8113128,26 disk connected configured unknown
    Trying to run unconfigure unusable... again I'll get this:
    cfgadm -c unconfigure -o unusable_SCSI_LUN c2::201400a0b8113128
    cfgadm: Library error: remove operation failed: /devices/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w201400a0b8113128,19: No such device or address
    ( LUN 0x19 = 25)
    Also, the mpathadm list lu will fail like this:
    /dev/rdsk/c4t500000E012F63670d0s2
    Total Path Count: 1
    Operational Path Count: 1
    /scsi_vhci/ses
    Total Path Count: 1
    Operational Path Count: 1
    mpathadm: Error: Unable to get configuration information.
    mpathadm: Unable to complete operation
    If I do a boot reconfigure the unusable LUNs are gone and mpathadm will work.
    Do I need to scrub the keys from the LUN that is to be removed?
    Is it possible in any other way than rebooting? (luxadm, cfgadm...)
    /BR
    Ulf

    Yes, I've tried that. In that case all LUNs were unconfigured except the
    LUNs that, actually is gone, will still show up as configured unusable.
    /BR
    Ulf

  • Upgrade to Solaris 10 from Solaris 8

    My client has upgraded from Solaris 8 to Solaris 10. In the process the
    partition /lu (live update) was created at about 8GB. The root partition is currently at 94% and removal of /lu has not recovered this space. Please
    advise best practice to resolve this problem.
    regards,
    OraclWzd.

    Thanks for the reply. I guess I did not make it clear. The /lu (live update) directory needs to be removed in its entirety. It sits under the root partition and is the result of the upgrade from Solaris 8 to 10. We backed-up the directory to tape (over 8GBs) and removed all the files and sub-directories under /lu. The utilization under the root partition remains at 94%. Why would the over 8GBs removed not be returned the available space under the root partition?
    thanks,
    OraclWzd

  • Warning: Solaris 10 x86 jumpstart (grub) from Solaris 8 server

    Hi all,
    I'm just posting this here in case someone comes across the same problem I did.
    When trying to do a custom jumpstart installation on x86 boxes from a Solaris 8 SPARC server, Grub was failing to do TFTP of the "multiboot" and "x86.miniroot" files. A snoop of the traffic would reveal some "TFTP Error: not defined" packets.
    Turns out this is a known bug:
    http://sunsolve.sun.com/search/document.do?assetkey=1-1-6395719-1
    The bug doesn't make any reference to jumpstart, and because of this it took me a while to find it.
    I copied the in.tftpd binary from a Solaris 9 box, and it worked like a charm. (Would it be very difficult to issue a Solaris 8 patch?)
    kind regards,

    Here is the error output:
    # ./add_install_client -i 192.168.1.51 -c sun1:/jumpstart/ -p sun1:/jumpstart/Sysidcfg/Solaris_10-intel/ host2 i86pc
    unmount: warning: /tftboot/I86PC.Solaris_10-1 not in mnttab
    unmount: /tftpboot/I86PC.Solaris_10-1 no such file or directory
    mount: Mount point /tftboot.I86PC.Solaris_10-1 does not exist.
    cleaning up preexisting install client "host2"
    removing host2 from bootparams
    rm: /tftboot/ is a directory
    updating /etc/bootparams
    ln: cannot create /tftpboot//pxegrub.I86PC.Solaris_10-1: File exists
    Create a grub boot flloppy and edit GRUB menu to contain
    the following entry:
    title Solaris netinstall
    rarp
    kernel /I86PC.Solaris_10-1/multiboot kernel/unix -B install_media=192.168.1.100:/jumpstart/OS/intel
    module /I86PC.Solaris_10-1/x86.miniroot
    ------------- end ---------------
    So, I have tried this with the -i, -e -i+-e, with -s and without.
    I have an entry in /etc/ethers and /etc/hosts. However, I don't think it is a FQDN or simular issue. Looks like a script issue.
    /tftpboot/ ends up with
    boot/
    nbp. -> pxegrub.I86PC.Solaris_10-1
    pxegrub.I86PC.Solaris_10-1
    rm.192.168.1.51
    /tftpboot/boot/
    grub/
    /tftpboot/boot/grub/
    menu.1st
    # cat menu.1st
    default 0
    timeout=30
    title Solaris_10 jumpstart
    kernel /i86PC.Solaris_10-1/multiboot kernel/unix -B install_config=192.168.1.100:/jumpstart,sysid_config=192.168.1.100:/jumpstart/Sysidcfg/Solaris_10-1-intel/,install_media=192.168.1.100:/jumpstart/OS/intel
    module /I86PC.Solaris_10-1/x86.miniroot
    ---- end ----
    Thanks for the help.
    Aaron

  • How do I map Hitachi SAN LUNs to Solaris 10 and Oracle 10g ASM?

    Hi all,
    I am working on an Oracle 10g RAC and ASM installation with Sun E6900 servers attached to a Hitachi SAN for shared storage with Sun Solaris 10 as the server OS. We are using Oracle 10g Release 2 (10.2.0.3) RAC clusterware
    for the clustering software and raw devices for shared storage and Veritas VxFs 4.1 filesystem.
    My question is this:
    How do I map the raw devices and LUNs on the Hitachi SAN to Solaris 10 OS and Oracle 10g RAC ASM?
    I am aware that with an Oracle 10g RAC and ASM instance, one needs to configure the ASM instance initialization parameter file to set the asm_diskstring setting to recognize the LUNs that are presented to the host.
    I know that Sun Solaris 10 uses /dev/rdsk/CwTxDySz naming convention at the OS level for disks. However, how would I map this to Oracle 10g ASM settings?
    I cannot find this critical piece of information ANYWHERE!!!!
    Thanks for your help!

    Yes that is correct however due to use of Solaris 10 MPxIO multipathing software that we are using with the Hitachi SAN it does present an extra layer of complexity and issues with ASM configuration. Which means that ASM may get confused when it attempts to find the new LUNs from the Hitachi SAN at the Solaris OS level. Oracle Metalink note 396015.1 states this issue.
    So my question is this: how to configure the ASM instance initialization parameter asm_diskstring to recognize the new Hitachi LUNs presented to the Solaris 10 host?
    Lets say that I have the following new LUNs:
    /dev/rdsk/c7t1d1s6
    /dev/rdsk/c7t1d2s6
    /dev/rdsk/c7t1d3s6
    /dev/rdsk/c7t1d4s6
    Would I set the ASM initialization parameter for asm_diskstring to /dev/rdsk/c7t1d*s6
    as correct setting so that the ASM instance recognizes my new Hitachi LUNs? Solaris needs to map these LUNs using pseudo devices in the Solaris OS for ASM to recognize the new disks.
    How would I set this up in Solaris 10 with Sun multipathing (MPxIO) and Oracle 10g RAC ASM?
    I want to get this right to avoid the dreaded ORA-15072 errors when creating a diskgroup with external redundancy for the Oracle 10g RAC ASM installation process.

  • Upgrade from Solaris 10 06/06 to Solaris 10 11/06

    Hi,
    I need to upgrade from Solaris 10 06/06 to Solaris 10 11/06
    What's the best way of doing this? I looked up Live Upgrade and regular update.
    It seems like an upgrade is exactly the same as a fresh install. Use a DVD and boot from it.
    For the Live Upgrade I can upgrade while system is in production.
    Shouldn't this type of upgrade (same main release, just updated) be easy, like updating packages or patching the system?
    Any comments, maybe I missed something major like upgrading by just adding a few simple packages and rebooting.

    When I try an upgrade, I never get prompted to
    upgrade.
    I get all the way to the point where it asks which
    disk to install to.There are various things that can disable the upgrade option, but the installer is very opaque about what it's doing.
    The most common thing is if /etc/vfstab can't be easily parsed to find all the OS filesystems. If there's any strange mounts that aren't OS related, you might want to remove them from /etc/vfstab and just make sure that you preserve the location that the data resides.
    You need to have one and only one partition visible on your disks with tag 'root'. I think that confuses the upgrade if there's more than one.
    Is the upgrade option after this? From the manuals I
    got that all info such as hostname, ip and everything
    else should be recognized from previous installs.
    But it asks me to input all of these.It's after the host identification section, but at the beginning of the Solaris installation section.
    So if it's asking for cluster level or which disks, it's past the point.
    Darren

  • I want to uninstall Oracle 10g from Solaris 10

    Hai All,
    I want to uninstall Oracle 10g safely from Solaris 10 . I take runinstaller and execute. In the next screen installed products tab appear . I select the oracle products and compnents there but the Remove button not active . I tried many time.. But it is not possible....Please help..
    Shiju

    After your run 'runInstaller', on the first 'Welcome' Screen,
    there's a "Deinstall Products" button on bottom right hand corner, click that and follow the screen.

  • Patches needed to see extra luns from HDS SAN

    Hi,
    I hope you can help, i am having problems at the moment getting two solaris 9 servers to see more than one lun from the attached SAN on both machines. Nothing is being shown in cfgadm -al.
    The hardware is
    TWO Qlogic 2300 FC HBA Cards attached to a tagnastore AMS200 Hitachi SAN. This is connected through a silkworm brocade switch. At present i can only see the first lun assigned and nothing else.
    Any ideas ?
    Cheers,
    Mike

    wdey,
    The link you supplied in your response is the answer.
    You can look at the devices on the FC boot paths, but not while the OS is running.
    I have a test server I could reeboot to try what you have in your document, and it does work.
    Too bad Cisco could not create a linux util rpm that would allow looking down the fabric while running. Im quit sure emulex has this kind of util, called HBAanywhere...at least for solaris.
    In any case, thanks for the link to your article, it was VERY good!
    My problem with seeing a shorter list of luns on 2 of my FC paths may get solved this afternoon by a change my SAN admin is going to make.. If it does I will post the fix.

  • Removing pics from Projects

    Hi,
    I just bought Aperture and have watched the tutorials on Lynda and Apple. I have a question that is probably very simple but the solution is alluding me.
    For example: Say I started a project and called it, Friends. I put everything in it because I just bought a new camera and was playing around learning Aperture and the new cam. When the project started to get large I created more Projects and Albums within them. I know I can remove pics from the albums but how do I do it from the Project folder? When I try it removes them permanently. So now in my Friends Project I have 133 pics of everything I took but only two albums counting about 50 pics total.
    I hope that makes sense!
    Thanks in advance.
    Rob

    I am sorry but I do not really understand your specific question.
    Visualize it this way:
    Image files live in Projects. An Album is a virtual grouping of "pointers" to images that live in various Projects. There are no actual image files in an Album, just pointers.
    You can move images from one Project to another Project; also you can copy an image from one Project to another Project. You can make all kinds of Albums for all kinds of reasons at very low overhead; Albums are a powerful concept.
    I like the tutorial CD Apple Pro Training Series: Aperture 2 (Apple Pro Training Series) by Ben Long, Richard Harrington, and Orlando Luna (Paperback - May 8, 2008), Amazon.com. Note that the value is in the tutorial, not in using the book as a manual. The time spent learning modern digital image capture workflow via the tutorial is invaluable.
    HTH
    -Allen Wicks

  • Boot ISCSI LUN from LDOM

    Hi,
    We are exporting bootable LUNS from a 7110 array to LDOM's on our Blades. The array was rebooted today. Since the reboot we are unable to connect to the hosts booted from the array.
    I did not configure this but have the task of fixing it.....
    We are running LDOM 1.2,REV=2009.06.25.09.48
    So, does the LDOM boot directly from the LUN from the LDOM OBP?
    The syntax in this link causes the below failure;
    http://wikis.sun.com/display/OpenSolarisInfo/Configuring+iSCSI+Boot+for+SPARC+Systems
    Unknown key 'iscsi-target-ip'
    Unknown key 'iscsi-target-name'
    Unknown key 'iscsi-lun'The ISCSI LUNS are seen by the host.
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 16 sec 273>
    /pci@0/pci@0/pci@2/LSILogic,sas@0/sd@0,0
    1. c1t2d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 32 sec 279>
    /pci@0/pci@0/pci@2/LSILogic,sas@0/sd@2,0
    2. c3t600144F04B73EB660000000000000000d0 <SUN-SOLARIS-1 cyl 32766 alt 2 hd 4 sec 736>
    /scsi_vhci/ssd@g600144f04b73eb660000000000000000
    3. c3t600144F04B713A260000000000000000d0 <SUN-SOLARIS-1 cyl 32766 alt 2 hd 4 sec 736>
    /scsi_vhci/ssd@g600144f04b713a260000000000000000
    4. c3t600144F04B9910370000000000000000d0 <SUN-SOLARIS-1 cyl 32766 alt 2 hd 4 sec 1200>
    /scsi_vhci/ssd@g600144f04b9910370000000000000000Nothing has changed on the LDOM controller domain.
    I'm really stuck so any input would be appreciated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Im getting the following error as well.. Was there any solution to this please ?
    Im not using any LDOM. Just on the h/w platform on T5140
    {0} ok boot net Boot device: /pci@500/pci@0/pci@8/network@0 File and args:
    Unknown key 'iscsi-target-ip'
    Unknown key 'iscsi-target-name'
    Manual Configuration: Host IP, boot server and filename must be specified
    ERROR: boot-read fail
    Can't open boot device
    {0} ok
    Edited by: 836793 on Feb 15, 2011 12:36 AM

  • Remove java in solaris

    Can i remove java from a solaris 9 server. ALL version of java. I dont have any GUI needs, I dont use SMC, I dont have any 3rd party apps using the system java. The only thing it appears to be good for is wasting my time patching java.
    What solaris (load the from the OS cd) requires java or breaks when java is removed?

    Hi did you ever figure out what patches cause this issue? we have the same problem (i.e. no support, same error)
    I am about to start some troubleshooting but would appreciate some pointers...
    Thanks
    AND Support

  • How do i remove money from 1 itunes account to another ?

    How Do I Remove Money From One Itunes Account To Another ?

    See:  More Like This    To the right -->

  • I've had three laptops all connected to my itunes account, one was stolen, the other broke, how can I remove them from my itunes account?

    So, in three years, after getting an iphone and an apple account I've had to replace a laptop twice due to theft or damage. When I link my phone to my new computer, it asks me if I want to connect the computer with the phone and I say yes, but you can only have 5 devices connected to one account, since one was stolen, and the other laptop broke, how do I remove them from my account??

    De-authorise all, then authorise the one you still have.

Maybe you are looking for

  • Duplicate invoice posting

    Dear Sapgurus, I have done this configuration duplicate invoice check option in mm transaction code is OMRDc and in vendor master i choose this option dupliucate invoice check after i was post onevendor invoice document number year is 2009, code 2001

  • Order music by year

    Hi there, is it possible to order my iPod touch music library by year? Inside the Artists view, all albums are ordered by name, I think it's such a stupid thing, music should be ordered by year of release. Indeed on iTunes there's a dedicated option,

  • Write system call results to a text box

    I am making a DOS system call that creates a file. Once this file is created it gives me a "packet created successfully" message that is written to the screen. I am using Netbeans 5.5.1 and Swing. and I want this message to be output into a JtextArea

  • Multiple Fabrics - how many?

    Hi, We are configuring our MDS switches for new storage and there are a couple of options.  I am not sure which is the best way to go. We have 6 x 9124's.  Our new storage has plenty of ports.  Each of the 6 x 9124's will be connected to 2 ports on t

  • Library on ext HD has no files

    I was working in a library I had on an external HD and it lost contact with my MBP. when I boot iPhoto with the option key down and choose that library, it comes up with no files at all whatsoever. If I go into package contents, all my pics seem to b