Hi,

in the mail I was confirming that vioscsi works now I sent only dmesg,
and thus some info got stripped.

I tried vioscsi today with directly attach iscsi lun (but passed via iscsi
initiator on EL7 via block device) and I see following lines, are they OK?

...
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] 
Rounding size to bsize (32 sectors): 1526304
Rounding size to bsize (32 sectors): 2425696
Rounding size to bsize (32 sectors): 3706272
Rounding size to bsize (32 sectors): 3205664
Rounding size to bsize (32 sectors): 1866048
Rounding size to bsize (32 sectors): 6919232
Rounding size to bsize (32 sectors): 2642112
Rounding size to bsize (32 sectors): 3752352
Rounding size to bsize (32 sectors): 13297376
newfs: reduced number of fragments per cylinder group from 95392 to 95016 to 
enlarge last cylinder group
/dev/rsd0a: 745.3MB in 1526304 sectors of 512 bytes
...

Next comments are related to the installer but anyway. It is not really
distinguishable what disk I see (what would happen if I would add multiple same 
size luns?).

...
Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0] ?
sd0: Celerra (20.0G)
Available disks are: sd0.
...

We have visible 'Celerra' - ID_MODEL and size only here. Here is SCSI info 
about the lun
obtained from EL7 for understanding more details about the disk.

# iscsi-inq -e 1 -c 0x80 -i iqn.1994-05.com.redhat:xxxxxx 
iscsi://10.34.63.200/iqn.1992-05.com.emc:ckm001201002300000-5-vnxe/5
Unit Serial Number:[EMC-Celerra-iSCSI-VLU-fs176_T5_LUN5_CKM00120100230]
[root@slot-5c ~]# /usr/lib/udev/scsi_id -x -g /dev/sde
ID_SCSI=1
ID_VENDOR=EMC
ID_VENDOR_ENC=EMC\x20\x20\x20\x20\x20
ID_MODEL=Celerra
ID_MODEL_ENC=Celerra\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_REVISION=0002
ID_TYPE=disk
ID_SERIAL=36006048c92fcbc2b82ce603f2373d2c5
ID_SERIAL_SHORT=6006048c92fcbc2b82ce603f2373d2c5
ID_WWN=0x6006048c92fcbc2b
ID_WWN_VENDOR_EXTENSION=0x82ce603f2373d2c5
ID_WWN_WITH_EXTENSION=0x6006048c92fcbc2b82ce603f2373d2c5
ID_SCSI_SERIAL=EMC-Celerra-iSCSI-VLU-fs176_T5_LUN5_CKM00120100230

Thus maybe it would be fine to have also serial there...

# sysctl hw.disknames
hw.disknames=cd0:,sd0:4af32eaf54527909,fd0:
# scsi -f /dev/rsd0c -c "12 0 0 0 64 0" -i 0x64 "s8 z8 z16 z4"
EMC Celerra 0002

sd0 at scsibus1 targ 0 lun 0: <EMC, Celerra, 0002> SCSI3 0/direct fixed 
naa.6006048c92fcbc2b82ce603f2373d2c5
                                             ^^^^ revision, is this useful? 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Thank you for your help! Full dmesg and important part of the installation 
below.

j.


OpenBSD 6.1-beta (RAMDISK_CD) #32: Fri Mar 17 02:55:20 MDT 2017
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 1056817152 (1007MB)
avail mem = 1021091840 (973MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf7040 (10 entries)
bios0: vendor SeaBIOS version "1.9.1-5.el7_3.1" date 04/01/2014
bios0: Red Hat RHEV Hypervisor
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC SRAT
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Westmere E56xx/L56xx/X56xx (Nehalem-C), 2200.35 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,HV,NXE,LONG,LAHF,ARAT
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: DTLB 255 4KB entries direct-mapped, 255 4MB entries direct-mapped
cpu0: apic clock running at 999MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu at acpi0 not configured
"ACPI0006" at acpi0 not configured
"PNP0303" at acpi0 not configured
"PNP0F13" at acpi0 not configured
"PNP0700" at acpi0 not configured
"PNP0501" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"ACPI0010" at acpi0 not configured
pvbus0 at mainbus0: KVM
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
"Intel 82371SB ISA" rev 0x00 at pci0 dev 1 function 0 not configured
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 
wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.5+> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 1 function 2 "Intel 82371SB USB" rev 0x01: apic 0 int 11
"Intel 82371AB Power" rev 0x03 at pci0 dev 1 function 3 not configured
vga1 at pci0 dev 2 function 0 "Red Hat QXL Video" rev 0x04
vga1: aperture needed
wsdisplay1 at vga1 mux 1: console (80x25, vt100 emulation)
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio0: address 00:1a:4a:01:3f:54
virtio0: msix shared
"Intel 82801FB HD Audio" rev 0x01 at pci0 dev 4 function 0 not configured
virtio1 at pci0 dev 5 function 0 "Qumranet Virtio SCSI" rev 0x00
vioscsi0 at virtio1: qsize 128
scsibus1 at vioscsi0: 255 targets
sd0 at scsibus1 targ 0 lun 0: <EMC, Celerra, 0002> SCSI3 0/direct fixed 
naa.6006048c92fcbc2b82ce603f2373d2c5
sd0: 20480MB, 512 bytes/sector, 41943040 sectors
virtio1: msix shared
virtio2 at pci0 dev 6 function 0 "Qumranet Virtio Console" rev 0x00
virtio2: no matching child driver; not configured
virtio3 at pci0 dev 7 function 0 "Qumranet Virtio Memory" rev 0x00
virtio3: no matching child driver; not configured
virtio4 at pci0 dev 8 function 0 "Qumranet Virtio RNG" rev 0x00
viornd0 at virtio4
virtio4: apic 0 int 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 
addr 1
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay1
softraid0 at root
scsibus2 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/amd64 6.1 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? I
At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN.  You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.

Terminal type? [vt220] 
System hostname? (short form, e.g. 'foo') foo

Available network interfaces are: vio0 vlan0.
Which network interface do you wish to configure? (or 'done') [vio0] 
IPv4 address for vio0? (or 'dhcp' or 'none') [dhcp] 
DHCPDISCOVER on vio0 - interval 1
DHCPOFFER from 10.34.63.204 (e4:1f:13:69:12:b0)
DHCPREQUEST on vio0 to 255.255.255.255
DHCPACK from 10.34.63.202 (e4:1f:13:69:12:84)
bound to 10.34.61.238 -- renewal in 10800 seconds.
IPv6 address for vio0? (or 'rtsol' or 'none') [none] 
Available network interfaces are: vio0 vlan0.
Which network interface do you wish to configure? (or 'done') [done] 
Using DNS domainname rhev.example.com
Using DNS nameservers at 10.34.63.202 10.34.63.204

Password for root account? (will not echo) 
Password for root account? (again) 
Start sshd(8) by default? [yes] 
Do you expect to run the X Window System? [yes] no
Change the default console to com0? [yes] 
Available speeds are: 9600 19200 38400 57600 115200.
Which speed should com0 use? (or 'done') [115200] 
Setup a user? (enter a lower-case loginname, or 'no') [no] 
Since no user was setup, root logins via sshd(8) might be useful.
WARNING: root is targeted by password guessing attacks, pubkeys are safer.
Allow root ssh login? (yes, no, prohibit-password) [no] yes
What timezone are you in? ('?' for list) [Europe/Prague] 

Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0] ?
sd0: Celerra (20.0G)
Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0] 
Disk: sd0       geometry: 2610/255/63 [41943040 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
*3: A6      0   1   2 -   2609 254  63 [          64:    41929586 ] OpenBSD     
Use (W)hole disk MBR, whole disk (G)PT, (O)penBSD area or (E)dit? [OpenBSD] 
The auto-allocated layout for sd0 is:
#                size           offset  fstype [fsize bsize   cpg]
  a:           745.3M               64  4.2BSD   2048 16384     1 # /
  b:          1263.9M          1526368    swap                    
  c:         20480.0M                0  unused                    
  d:          1184.4M          4114752  4.2BSD   2048 16384     1 # /tmp
  e:          1809.7M          6540448  4.2BSD   2048 16384     1 # /var
  f:          1565.3M         10246720  4.2BSD   2048 16384     1 # /usr
  g:           911.2M         13452384  4.2BSD   2048 16384     1 # /usr/X11R6
  h:          3378.5M         15318432  4.2BSD   2048 16384     1 # /usr/local
  i:          1290.1M         22237664  4.2BSD   2048 16384     1 # /usr/src
  j:          1832.2M         24879776  4.2BSD   2048 16384     1 # /usr/obj
  k:          6492.9M         28632128  4.2BSD   2048 16384     1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a] 
Rounding size to bsize (32 sectors): 1526304
Rounding size to bsize (32 sectors): 2425696
Rounding size to bsize (32 sectors): 3706272
Rounding size to bsize (32 sectors): 3205664
Rounding size to bsize (32 sectors): 1866048
Rounding size to bsize (32 sectors): 6919232
Rounding size to bsize (32 sectors): 2642112
Rounding size to bsize (32 sectors): 3752352
Rounding size to bsize (32 sectors): 13297376
newfs: reduced number of fragments per cylinder group from 95392 to 95016 to 
enlarge last cylinder group
/dev/rsd0a: 745.3MB in 1526304 sectors of 512 bytes
5 cylinder groups of 185.58MB, 11877 blocks, 23808 inodes each
/dev/rsd0k: 6492.9MB in 13297376 sectors of 512 bytes
33 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0d: 1184.4MB in 2425696 sectors of 512 bytes
6 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0f: 1565.3MB in 3205664 sectors of 512 bytes
8 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0g: 911.2MB in 1866048 sectors of 512 bytes
5 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0h: 3378.5MB in 6919232 sectors of 512 bytes
17 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0j: 1832.2MB in 3752352 sectors of 512 bytes
10 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0i: 1290.1MB in 2642112 sectors of 512 bytes
7 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/rsd0e: 1809.7MB in 3706272 sectors of 512 bytes
9 cylinder groups of 202.47MB, 12958 blocks, 25984 inodes each
/dev/sd0a (4af32eaf54527909.a) on /mnt type ffs (rw, asynchronous, local)
/dev/sd0k (4af32eaf54527909.k) on /mnt/home type ffs (rw, asynchronous, local, 
nodev, nosuid)
/dev/sd0d (4af32eaf54527909.d) on /mnt/tmp type ffs (rw, asynchronous, local, 
nodev, nosuid)
/dev/sd0f (4af32eaf54527909.f) on /mnt/usr type ffs (rw, asynchronous, local, 
nodev)
/dev/sd0g (4af32eaf54527909.g) on /mnt/usr/X11R6 type ffs (rw, asynchronous, 
local, nodev)
/dev/sd0h (4af32eaf54527909.h) on /mnt/usr/local type ffs (rw, asynchronous, 
local, nodev)
/dev/sd0j (4af32eaf54527909.j) on /mnt/usr/obj type ffs (rw, asynchronous, 
local, nodev, nosuid)
/dev/sd0i (4af32eaf54527909.i) on /mnt/usr/src type ffs (rw, asynchronous, 
local, nodev, nosuid)
/dev/sd0e (4af32eaf54527909.e) on /mnt/var type ffs (rw, asynchronous, local, 
nodev, nosuid)

...

Reply via email to