Sponsored Content
Operating Systems Linux Ubuntu Unable to find WWN on Ubuntu 12 Post 302952365 by fretagi on Wednesday 19th of August 2015 05:03:18 AM
Old 08-19-2015
Unable to find WWN on Ubuntu 12

Hi All

I am trying to get WWN from the FC adapters to provide to storage admin to provide me with some LUNs, but after some research on google I was asked to use sysfsutilstool, but when I try to install the deb package I got stuck on dependencies.
the one that is giving me issues is : libc6.
when try to do the following:
Code:
dpkg -i libc6_2.15-0ubuntu10.11_i386.deb
(Reading database ... 48300 files and directories currently installed.)
Unpacking libc6:i386 (from libc6_2.15-0ubuntu10.11_i386.deb) ...
De-configuring libc6 ...
dpkg: error processing libc6_2.15-0ubuntu10.11_i386.deb (--install):
 trying to overwrite '/lib/ld-linux.so.2', which is also in package libc6-udeb:i386 2.15-0ubuntu10
Errors were encountered while processing:
 libc6_2.15-0ubuntu10.11_i386.deb

Please can you help in overcoming this

---------- Post updated 19-08-15 at 11:03 AM ---------- Previous update was 18-08-15 at 03:55 PM ----------

a reboot made it work
 

9 More Discussions You Might Find Interesting

1. Virtualization and Cloud Computing

Unable to install ubuntu on vmware server

Hi I have downloaded vmware server 1.0.10 and ubuntu 9.10. Installed vmware server on my windows xp and created the disk space for Ubuntu. Now when i am running the virtual machine using the above downloaded iso image, I get the installation window. I selected 'Install Ubuntu' option and... (2 Replies)
Discussion started by: kushal154
2 Replies

2. Ubuntu

Ubuntu 10.04 - Unable to connect to Cisco VPN

Hi all, I am trying to configure and connect Cisco VPN on Ubuntu 10.04. I've imported .pcf file. The new vpn conn appears in the VPN Connections option. Now when I select it, it doesn't connect. Nothing happens. I am not able to connect to VPN at all. I tried using kvpnc as well but it... (10 Replies)
Discussion started by: morningSunshine
10 Replies

3. Ubuntu

unable to install package on Ubuntu

Hi all, I am working on Ubuntu 7.10 and I want to install libssl-dev_0.9.8a-7ubuntu0.13_i386.deb. So tryied it with apt-get command but getting the following error-- Then I downloaded .deb file and attempt to install it with package installer but again unable to install it and getting the... (3 Replies)
Discussion started by: smartgupta
3 Replies

4. Solaris

Find LUN with WWN

Hello all, I need find in my OS (Sun10) on LUN 1Tb with WWN 6005-08b4-0010-7137-0000-e000-0076-0000 (HBA) How do it?, Thanks, (3 Replies)
Discussion started by: aav1307
3 Replies

5. Windows & DOS: Issues & Discussions

find wwn in windows machine ?

Hi guys .. How to can I know the HBA WWN address in the windows machine ? Pls advice with command ... (1 Reply)
Discussion started by: roooooot
1 Replies

6. Proxy Server

Unable to access Samba share with Ubuntu on Win7

I have an issue with my Samba share - I am unable to write to it, edit a file or rename a folder etc within Windows. I am using Windows 7 and Ubuntu 12.04 and this is my Samba config. I can connect to the /sylius directory no problem (no password required), but I cannot save to it. Is... (3 Replies)
Discussion started by: crmpicco
3 Replies

7. IP Networking

Unable to SSH from Windows client to Ubuntu Server

I'm trying to setup a small home network environment as a pet project. These are physical machines nothing virtual. Any help or ideas is greatly appreciated. I can ping between both machines and I have Samba established and can read/write different shares. When I try to SSH from Windows 8.1... (10 Replies)
Discussion started by: lombardi4851
10 Replies

8. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

9. Ubuntu

Unable to boot Ubuntu server 15.10

Hi; I had Windows Server 2003 and performed a fresh Ubuntu Server 15 installation. After installation, Ubuntu server not booting I guess there is boot problem conflicting with my old Windows Server. This is my pastebin: http://paste.ubuntu.com/13851828/ Any help to start my new... (1 Reply)
Discussion started by: gc_sw
1 Replies
HBA_GetFcpPersistentBinding(3HBAAPI)	      Common Fibre Channel HBA Information Library Functions	      HBA_GetFcpPersistentBinding(3HBAAPI)

NAME
HBA_GetFcpPersistentBinding, HBA_GetPersistentBindingV2, HBA_SetPersistentBindingV2, HBA_RemovePersistentBinding, HBA_RemoveAllPersistent- Bindings - handle persistent bindings between FCP-2 discovered devices and operating system SCSI information SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_STATUS HBA_GetFcpPersistentBinding(HBA_HANDLE handle, HBA_FCPBINDING *binding); HBA_STATUS HBA_GetPersistentBindingV2(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_FCPBINDING2 *binding); HBA_STATUS HBA_SetPersistentBindingV2(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_FCPBINDING2 *binding); HBA_STATUS HBA_RemovePersistentBinding(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_FCPBINDING2 *binding); HBA_STATUS HBA_RemoveAllPersistentBindings(HBA_HANDLE handle, HBA_WWN hbaPortWWN); PARAMETERS
handle an open handle returned from HBA_OpenAdapter(3HBAAPI) binding HBA_GetFcpPersistentBinding() a buffer to store the binding entries in. The binding->NumberOfEntries member must indicate the maximum number of entries that fit within the buffer. On completion, the binding->NumberOfEntries member will indicate the actual number of binding entries for the HBA. This value can be greater than the number of entries the buffer can store. HBA_GetPersistentBindingV2() a pointer to a HBA_FCPBINDING2 structure. The NumberOfEntries member will be the maximum number of entries returned. HBA_SetPersistentBindingV2() a pointer to a HBA_FCPBINDING2 structure. The NumberOfEntries member will be the number of bindings requested in the structure. HBA_RemovePersistentBinding() a pointer to a HBA_FCPBINDING2 structure. The structure will contain all the bindings to be removed. The NumberOfEn- tries member will be the number of bindings being requested to be removed in the structure. hbaPortWWN HBA_GetPersistentBindingV2() The Port WWN of the local HBA through which persistent bindings will be retrieved. HBA_SetPersistentBindingV2() The Port WWN of the local HBA through which persistent bindings will be set. HBA_RemovePersistentBinding() HBA_RemoveAllPersistentBindings() The Port WWN of the local HBA through which persistent bindings will be removed. DESCRIPTION
The HBA_GetFcpPersistentBinding() function retrieves the set of mappings between FCP LUNs and SCSI LUNs that are reestablished upon ini- tialization or reboot. The means of establishing the persistent bindings is vendor-specific and accomplished outside the scope of the HBA API. The HBA_GetPersistentBindingV2() function retrieves the set of persistent bindings between FCP LUNs and SCSI LUNs for the specified HBA Port that are reestablished upon initialization or reboot. The means of establishing the persistent bindings is vendor-specific and accom- plished outside the scope of the HBA API. The binding information can contain bindings to Logical Unit Unique Device Identifiers. The HBA_SetPersistentBindingV2() function sets additional persistent bindings between FCP LUNs and SCSI LUNs for the specified HBA Port. It can also accept bindings to Logical Unit Unique Device Identifiers. Bindings already set will remain set. An error occurs if a request is made to bind to an OS SCSI ID which has already been bound. Persistent bindings will not affect Target Mappings until the OS, HBA, and/or Fabric has been reinitialized. Before then, the effects are not specified. The HBA_RemovePersistentBinding() function removes one or more persistent bindings. The persistent binding will only be removed if both the OS SCSI LUN and the SCSI Lun match a binding specifed in the arguments. Persistent bindings removed will not affect Target Mappings until the OS, HBA, and/or Fabric has been reinitialized. Before then, the effects are not specified. The HBA_RemoveAllPersistentBindings() function removes all persistent bindings. Persistent bindings removed will not affect Target Mappings until the OS, HBA, and/or Fabric has been reinitialized. Before then, the effects are not specified. RETURN VALUES
The HBA_GetFcpPersistentBinding() function returns the following values: HBA_STATUS_OK The HBA was able to retrieve information. HBA_STATUS_ERROR_MORE_DATA A a larger buffer is required. The value of binding->NumberOfEntries after the call indicates the total number of entries available. The caller should reallocate a larger buffer to accomodate the indicated number of entries and reissue the routine. HBA_STATUS_ERROR_NOT_SUPPORTED The HBA handle specified by handle does not support persistent binding. In the event that other error codes are returned, the value of binding->NumberOfEntries after the call should be checked, and if greater than the value before the call, a larger buffer should be allocated for a retry of the routine. The HBA_GetPersistentBindingV2() function returns the following values: HBA_STATUS_OK The HBA was able to retrieve information. HBA_STATUS_ERROR_MORE_DATA A a larger buffer is required. The value of binding->NumberOfEntries after the call indicates the total number of entries available. The caller should reallocate a larger buffer to accomodate the indicated number of entries and reissue the routine. HBA_STATUS_ERROR_ILLEGAL_WWN The Port WWN hbaPortWWN is not a WWN contained by the HBA referenced by handle. HBA_STATUS_ERROR_NOT_SUPPORTED The HBA handle specified by handle does not support persistent binding. The value of binding remains unchanged. The structure it points to contains binding information. The number of entries returned is the min- imum between the number of entries specifed in the binding argument and the total number of bindings. The HBA_SetPersistentBindingV2() function returns the following values. HBA_STATUS_OK The HBA was able to set bindings. HBA_STATUS_ERROR_ILLEGAL_WWN The Port WWN hbaPortWWN is not a WWN contained by the HBA referenced by handle. HBA_STATUS_ERROR_NOT_SUPPORTED The HBA handle specified by handle does not support persistent binding. The value of binding remains unchanged. The success or failure of each Persistent binding set is indicated in the Status member of the HBA_FCPBINDINGENTRY2 structure. The HBA_RemovePersistentBinding() function returns the following values: HBA_STATUS_OK The HBA was able to retrieve information. HBA_STATUS_ERROR_ILLEGAL_WWN The Port WWN hbaPortWWN is not a WWN contained by the HBA referenced by handle. HBA_STATUS_ERROR_NOT_SUPPORTED The HBA handle specified by handle does not support persistent binding. The value of binding remains unchanged. The success or failure of each Persistent binding set is indicated in the Status member of the HBA_FCPBINDINGENTRY2 structure. The HBA_RemoveAllPersistentBindings() function returns the following values: HBA_STATUS_OK The HBA was able to retrieve information. HBA_STATUS_ERROR_ILLEGAL_WWN The Port WWN hbaPortWWN is not a WWN contained by the HBA referenced by handle. HBA_STATUS_ERROR_NOT_SUPPORTED The HBA handle specified by handle does not support persistent binding. ERRORS
See libhbaapi(3LIB) for general error status values. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard: FC-MI 1.92 (API | | |version 1) | +-----------------------------+-----------------------------+ | |Standard: FC-HBA Version 4 | | |(API version 2) | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
HBA_GetFcpTargetMapping(3HBAAPI), HBA_OpenAdapter(3HBAAPI), libhbaapi(3LIB), attributes(5) T11 FC-MI Specification BUGS
The HBA_GetFcpTargetMapping(3HBAAPI) and HBA_GetFcpPersistentBinding() functions do not take a portindex to define to which port of a multi-ported HBA the command should apply. The behavior on multi-ported HBAs is vendor-specific and could result in mappings or bindings for all ports being intermixed in the response buffer. SNIA version 2 defines a HBA_GetFcpTargetMappingV2() that takes a Port WWN as an argument. This fixes the bug with multi-ported HBAs in HBA_GetFcpTargetMapping(). SunOS 5.10 1 Sep 2003 HBA_GetFcpPersistentBinding(3HBAAPI)
All times are GMT -4. The time now is 08:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy