Sorry, my mistake; Debian 7 and Debian SID ofpathnames match, I was looking at ofpath.
On 4/16/20 11:38 AM, user...@yahoo.com wrote: > On 4/16/20 9:23 AM, John Paul Adrian Glaubitz wrote: >> Hi! >> >> ... >> >> Alternatively, can someone run the ofpathname command from the powerpc-utils >> package on different physical disks, e.g. sda1 and sdb1 and do the same with >> the ofpath command? >> >> Adrian >> > > Hi Adrian, > > The following information is from a PPC G5, 2.2 GHz, 2 processors. > Disk /dev/sda: 931.53 GiB - internal SATA disk > Disk /dev/sdb: 465.78 GiB - internal SATA disk > Disk /dev/sdc: 298.9 GiB - firewire disk (front built-in firewire) > Disk /dev/sdd: 698.65 GiB - USB disk (back built-in USB) > Disk /dev/sde: 16.98 GiB - SCSI disk (ATTO UL3D PCI-X) > > The ofpathname results in Debian SID and Debian 7.8 were slightly > different. I don't have ofpath in Debian SID, only Debian 7.8. > > -Stan Johnson > > ----- > > ***** Debian 7.8 ***** > > root@ppc-g5:~# uname -a > Linux ppc-g5 4.20.0-g5-00021-g46dd6fc1e3dc #1 SMP Sun Jan 13 18:40:33 > AEDT 2019 ppc64 GNU/Linux > root@ppc-g5:~# cat /proc/cpuinfo > processor : 0 > cpu : PPC970FX, altivec supported > clock : 2300.000000MHz > revision : 3.0 (pvr 003c 0300) > > processor : 1 > cpu : PPC970FX, altivec supported > clock : 2300.000000MHz > revision : 3.0 (pvr 003c 0300) > > timebase : 33333333 > platform : PowerMac > model : PowerMac7,3 > machine : PowerMac7,3 > motherboard : PowerMac7,3 MacRISC4 Power Macintosh > detected as : 336 (PowerMac G5) > pmac flags : 00000000 > L2 cache : 512K unified > pmac-generation : NewWorld > > root@ppc-g5:~# ofpathname -V > ofpathname: Version 0.5 > Written by: Nathan Fontenot <nf...@austin.ibm.com> > > root@ppc-g5:~# ofpath -V > ofpath 1.0.7+debian3 > Written by Ethan Benson, portions rewritten by Milan Kupcevic > Portions based on show_of_path.sh written by Olaf Hering > > root@ppc-g5:~# ofpathname /dev/sda > /ht@0,f2000000/pci@7/k2-sata-root@c/scsi@0/sd@0,0 > root@ppc-g5:~# ofpath /dev/sda > /ht@0,f2000000/pci@7/k2-sata-root@c/@ffffffffffffffff/@0 > > root@ppc-g5:~# ofpathname /dev/sdb > /ht@0,f2000000/pci@7/k2-sata-root@c/scsi@0/sd@0,0 > root@ppc-g5:~# ofpath /dev/sdb > /ht@0,f2000000/pci@7/k2-sata-root@c/@ffffffffffffffff/@0 > > root@ppc-g5:~# ofpathname /dev/sdc > /ht@0,f2000000/pci@5/firewire@e/scsi@0/sd@0,0 > root@ppc-g5:~# ofpath /dev/sdc > /ht@0,f2000000/pci@5/firewire@e/node@0010b92100f4b5e4/sbp-2/@0 > > root@ppc-g5:~# ofpathname /dev/sdd > (null)/scsi@0/sd@0,0 > root@ppc-g5:~# ofpath /dev/sdd > ofpath: (usb-storage) is not supported > > root@ppc-g5:~# ofpathname /dev/sde > /ht@0,f2000000/pci@1/ATTO,ExpressPCIProUL3D@3,1/scsi@0/sd@1,0 > root@ppc-g5:~# ofpath /dev/sde > /ht@0,f2000000/pci@1/ATTO,ExpressPCIProUL3D@3,1/@1 > > > ***** Debian SID ***** > > root@ppc-g5:~# uname -a > Linux ppc-g5 5.2.9-g5 #1 SMP Mon Aug 26 13:34:31 MDT 2019 ppc64 GNU/Linux > root@ppc-g5:~# cat /proc/cpuinfo > processor : 0 > cpu : PPC970FX, altivec supported > clock : 2300.000000MHz > revision : 3.0 (pvr 003c 0300) > > processor : 1 > cpu : PPC970FX, altivec supported > clock : 2300.000000MHz > revision : 3.0 (pvr 003c 0300) > > timebase : 33333333 > platform : PowerMac > model : PowerMac7,3 > machine : PowerMac7,3 > motherboard : PowerMac7,3 MacRISC4 Power Macintosh > detected as : 336 (PowerMac G5) > pmac flags : 00000000 > L2 cache : 512K unified > pmac-generation : NewWorld > > root@ppc-g5:~# ofpathname -V > ofpathname: Version 0.5 > Written by: Nathan Fontenot <nf...@linux.vnet.ibm.com> > > root@ppc-g5:~# ofpathname /dev/sda > /usr/sbin/ofpathname: line 812: warning: command substitution: ignored > null byte in input > /ht@0,f2000000/pci@7/k2-sata-root@c/scsi@0/sd@0,0 > > root@ppc-g5:~# ofpathname /dev/sdb > /usr/sbin/ofpathname: line 812: warning: command substitution: ignored > null byte in input > /ht@0,f2000000/pci@7/k2-sata-root@c/scsi@0/sd@0,0 > > root@ppc-g5:~# ofpathname /dev/sdc > /usr/sbin/ofpathname: line 812: warning: command substitution: ignored > null byte in input > /ht@0,f2000000/pci@5/firewire@e/scsi@0/sd@0,0 > > root@ppc-g5:~# ofpathname /dev/sdd > (null)/scsi@0/sd@0,0 > > root@ppc-g5:~# ofpathname /dev/sde > /usr/sbin/ofpathname: line 812: warning: command substitution: ignored > null byte in input > /ht@0,f2000000/pci@1/ATTO,ExpressPCIProUL3D@3,1/scsi@0/sd@1,0 >