The bellow example show how you can use the mksf command to manually create device files with default names, your own device file name, and custom device file corresponding to certain device options.
First of all check the disks and get the HW address:
# ioscan -fnNC disk
(Example output bellow)
disk 344 64000/0xfa00/0x8c esdisk CLAIMED DEVICE DGC CX500WDR5
/dev/disk/disk344 /dev/rdisk/disk344
Insert the unique hardware path (-H option) and the path name as you need:
# mksf -C disk -H 64000/0xfa00/0x8c -r /dev/erptrn/asm/db50
Run the ioscan again to check the path for your disk:
# ioscan -m dsf
Mostrando postagens com marcador DSF. Mostrar todas as postagens
Mostrando postagens com marcador DSF. Mostrar todas as postagens
DSF - Including a path
sexta-feira, 13 de julho de 2012
Labels: DSF
[11.31] Mapping disks (persistent > legacy)
terça-feira, 3 de julho de 2012
Using this option os ioscan command you can see all paths for your disks (persistent and legacy DSF)
This tip is useful for someone who aren't "familiar" with HP-UX 11v3.
# ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk1 /dev/rdsk/c0t0d0
/dev/rdisk/disk1_p1 /dev/rdsk/c0t0d0s1
/dev/rdisk/disk1_p2 /dev/rdsk/c0t0d0s2
/dev/rdisk/disk1_p3 /dev/rdsk/c0t0d0s3
Labels: DSF
Assinar:
Postagens (Atom)