Sponsored Content
Full Discussion: HP-UX how formating LUN disk
Operating Systems HP-UX HP-UX how formating LUN disk Post 302954503 by aav1307 on Tuesday 8th of September 2015 03:44:33 PM
Old 09-08-2015
HP HP-UX how formating LUN disk

Hello folks,

I have Hp.ux 11.31 and I need know how formating in OS new LUN disk attach to system

e.g. the wwid:

Code:
# scsimgr lun_map -D /dev/rdisk/disk4

        LUN PATH INFORMATION FOR LUN : /dev/rdisk/disk4

Total number of LUN paths     = 2
World Wide Identifier(WWID)    = 0x60060e80056541000000654100000000

LUN path : lunpath8
Class                         = lunpath
Instance                      = 8
Hardware path                 = 0/3/0/0/0/0.0x50060e8005654100.0x4003000000000000
SCSI transport protocol       = fibre_channel
State                         = ACTIVE
Last Open or Close state      = ACTIVE

LUN path : lunpath7
Class                         = lunpath
Instance                      = 7
Hardware path                 = 0/3/0/0/0/1.0x50060e8005654110.0x4003000000000000
SCSI transport protocol       = fibre_channel
State                         = ACTIVE
Last Open or Close state      = ACTIVE

like format this LUN 0x60060e80056541000000654100000000 for erase all information,

and later create traditional file system,

thanks you,

Last edited by vbe; 09-08-2015 at 04:51 PM.. Reason: code tags not icode please
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Disk formating

i have to repartition some of my filesystems ... I have just one HDD .... df -k gives this :- Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t0d0s0 830107 45532 726468 6% / /dev/dsk/c0t0d0s1 1987399 785728 1142050 41% /usr /proc ... (1 Reply)
Discussion started by: DPAI
1 Replies

2. UNIX for Advanced & Expert Users

VxVM disk/lun grow

hi, i have a volume on a LUN of an EMC-storage and i need to increase the size. i could increase the size of the LUN on the EMC, i could increase the size of the disk for solaris, but how can i tell the veritas volume manager that the disk is larger now? what i've done: 1. LUN on EMC 2.... (3 Replies)
Discussion started by: pressy
3 Replies

3. Solaris

command to scan Enterprise storage Lun disk in Solaris

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)
Discussion started by: Remi
2 Replies

4. AIX

Problem mapping LUN disk from VIOS to the LPAR

Hello guys, It would be so nice of you if someone can provide me with these informations. 1) My SAN group assigned 51G of LUN space to the VIO server.I ran cfgdev to discover the newly added LUN. Unfortunately most of the disks that are in VIO server is 51G. How would I know which is the newly... (3 Replies)
Discussion started by: solaix14
3 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. Shell Programming and Scripting

Formating output

Hello Team i have a file with following data (as columns). I need implement a syntax like below for altering table ALTER TABLE1 TABLENAME ADD COLUMN COL1 CHAR(5) NOT NULL WITH DEFAULT ADD COLUMN COL2 CHAR(5) .. .. ADD COLUMN COLn CHAR(5) NOT NULL... (1 Reply)
Discussion started by: rocking77
1 Replies

7. HP-UX

Disk file and Lun Number

HI all, I am confused when I am seeing the output of bdf command ioscan -fnC disk, there is no same files which i have seen in bdf output and ioscan output...One volume was mounted in one folder called /teldb and device file path was /dev/disk/disk48. The same i didnt found in ioscan disk... (6 Replies)
Discussion started by: selvaforum
6 Replies

8. UNIX for Dummies Questions & Answers

Help with formating when using mailx

Hi I am a newbie here. I tried searching for the solution but I guess I either didn't find it or there hasn't been one posted. my problem is I spooled the results of a query into a .txt file. When I cat the file the formating looks great. All the columns are aligned. However once I mailx the... (2 Replies)
Discussion started by: RB26DETT
2 Replies

9. UNIX for Dummies Questions & Answers

Which disk is LUN?

how do I know which hdisk from "lsdev -Cc disk" is my LUN on NetApp after zoning from SAN switch? is it "MPIO other FC SCSI Disk Drive"? (1 Reply)
Discussion started by: malayo
1 Replies

10. UNIX for Beginners Questions & Answers

File formating help

Hi all, I am having the file below I need that as below Thanks, Arun (12 Replies)
Discussion started by: arunkumar_mca
12 Replies
TARG(4) 						   BSD Kernel Interfaces Manual 						   TARG(4)

NAME
targ -- SCSI target emulator driver SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file: device targ DESCRIPTION
The targ driver provides an interface for usermode programs to emulate SCSI target devices. A sample program that emulates a disk drive (similar to da(4)) can be found in /usr/share/examples/scsi_target. The targ driver supplies control devices, /dev/targ0, /dev/targ1, etc. If a device is already in use, open(2) will fail and errno will be set to EBUSY. After opening the device, the file descriptor must be bound to a specific bus/target/LUN and enabled to process CCBs using the TARGIOCENABLE ioctl. The process then uses write(2) to send CCBs to the SIM and poll(2) or kqueue(2) to see if responses are ready. Point- ers to completed CCBs are returned via read(2). Any data transfers requested by the user CCBs are done via zero-copy IO. IOCTLS
The following ioctl(2) calls are defined in the header file <cam/scsi/scsi_targetio.h>. TARGIOCENABLE (struct ioc_enable_lun) Enable target mode on the LUN specified by the following structure: struct ioc_enable_lun { path_id_t path_id; target_id_t target_id; lun_id_t lun_id; int grp6_len; int grp7_len; }; The selected path (bus), target, and LUN must not already be in use or EADDRINUSE is returned. If grp6_len or grp7_len are non-zero, reception of vendor-specific commands is enabled. TARGIOCDISABLE Disable target mode and abort all pending CCBs. The CCBs may optionally be read as they complete. TARGIOCENABLE can then be called to activate a different LUN. Multiple disable calls have no effect. The close(2) system call automatically disables target mode if enabled. TARGIOCDEBUG (int) Enables CAM_PERIPH debugging if the argument is non-zero, otherwise disables it. FILES
<cam/scsi/scsi_targetio.h> describes the usermode interface. /sys/cam/scsi/scsi_target.c is the driver source file. /dev/targ* are the control devices. SEE ALSO
/usr/share/examples/scsi_target, ahc(4), isp(4), scsi(4) FreeBSD Target Information, http://www.root.org/~nate/freebsd/. AUTHORS
The targ driver first appeared in FreeBSD 3.0 and was written by Justin T. Gibbs. It was rewritten for FreeBSD 5.0 by Nate Lawson <nate@root.org>. BUGS
Currently, only the ahc(4) and isp(4) drivers fully support target mode. The ahc(4) driver does not support tagged queuing in target mode. BSD
November 15, 2002 BSD
All times are GMT -4. The time now is 05:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy