System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

HPUX/Suse Cross Reference? Where is rmsf?

Craig Johnson_1
Regular Advisor

HPUX/Suse Cross Reference? Where is rmsf?

Is there a Linux equivalent to HP's "rmsf" command (and it's contemporaries)? I'm running SLES9.

13 REPLIES
Ivan Ferreira
Honored Contributor

Re: HPUX/Suse Cross Reference? Where is rmsf?

There is no rmsf equivalent in Linux. Most devices are managed dinamically. What do you need to do?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Craig Johnson_1
Regular Advisor

Re: HPUX/Suse Cross Reference? Where is rmsf?

We are trying to clean up after moving EMC BCV's to another cluster. What happens after you do this is that commands such as vgs report problems - problems we'd rather not see, because they break our automation.
Ivan Ferreira
Honored Contributor

Re: HPUX/Suse Cross Reference? Where is rmsf?

If your problem is with volume groups reports, use the vgexport command to remove the volume groups configuration from the system.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Craig Johnson_1
Regular Advisor

Re: HPUX/Suse Cross Reference? Where is rmsf?

Here's an example.

# vgs
/dev/emcpowerfu: open failed: No such device or address
/dev/emcpowerfv: open failed: No such device or address
/dev/emcpowerfw: open failed: No such device or address
/dev/emcpowerfs: open failed: No such device or address
/dev/emcpowerft: open failed: No such device or address
VG #PV #LV #SN Attr VSize VFree
vg00 1 9 0 wz--n 60.31G 13.31G
vg201 2 1 0 wz--n 17.00G 1.00G
vg202 6 1 0 wz--n 51.00G 3.00G
vg203 1 1 0 wz--n 8.50G 4.50G
vg205 1 3 0 wz--n 8.50G 1.50G
vg48 1 1 0 wz--n 8.50G 512.00M
vg49 5 8 0 wz--n 306.34G 90.34G
vg50 1 1 0 wz--n 8.50G 512.00M
vg51 2 3 0 wz--n 102.11G 46.11G
vg52 1 1 0 wz--n 8.50G 512.00M
vg53 2 3 0 wz--n 102.11G 46.11G
vg54 1 1 0 wz--n 8.50G 512.00M
vg55 1 4 0 wz--n 68.08G 12.08G
vg56 1 1 0 wz--n 8.50G 512.00M
vg57 5 8 0 wz--n 306.34G 74.34G
vg58 1 1 0 wz--n 8.50G 512.00M
vg59 2 5 0 wz--n 102.11G 30.11G
vg60 1 1 0 wz--n 8.50G 512.00M
vg61 2 5 0 wz--n 102.11G 30.11G
vg62 1 1 0 wz--n 8.50G 512.00M
vg63 1 4 0 wz--n 68.08G 12.08G
vg64 1 1 0 wz--n 8.50G 512.00M
vg65 2 5 0 wz--n 102.11G 30.11G
vg66 1 1 0 wz--n 8.50G 512.00M
vg67 2 4 0 wz--n 136.16G 32.16G
vg68 1 1 0 wz--n 8.50G 512.00M
vg69 2 5 0 wz--n 102.11G 30.11G
vg70 1 1 0 wz--n 8.50G 512.00M
vg71 2 4 0 wz--n 136.16G 48.16G
vg72 1 1 0 wz--n 8.50G 512.00M
vg73 2 3 0 wz--n 102.11G 46.11G
vg74 1 1 0 wz--n 8.50G 512.00M
vg75 2 4 0 wz--n 136.16G 48.16G
vg76 1 1 0 wz--n 8.50G 512.00M
vg77 1 3 0 wz--n 34.03G 10.03G
vg78 1 1 0 wz--n 8.50G 512.00M
vg79 1 3 0 wz--n 34.03G 10.03G
vg80 1 1 0 wz--n 34.03G 2.03G
vg81 1 1 0 wz--n 8.50G 512.00M
vg82 1 4 0 wz--n 34.03G 2.03G
vg83 1 1 0 wz--n 8.50G 512.00M
vg84 1 4 0 wz--n 34.03G 2.03G
vg85 1 1 0 wz--n 8.50G 512.00M
vg86 1 4 0 wz--n 34.03G 2.03G
vg87 1 1 0 wz--n 8.50G 512.00M
vg88 1 4 0 wz--n 34.03G 2.03G
vg89 1 1 0 wz--n 8.50G 512.00M
vg90 1 4 0 wz--n 34.03G 2.03G
vg91 1 1 0 wz--n 8.50G 512.00M
Hemmetter
Esteemed Contributor

Re: HPUX/Suse Cross Reference? Where is rmsf?

Hi Craiq,

since you have SLES9 have a look at
/bin/rescan-scsi-bus.sh
from
# rpm -qf /bin/rescan-scsi-bus.sh
scsi-1.7_2.36_1.16_0.11-0.4

maybe you have to adjust some
'seq 0 7' expressions to scan a wider range.

rgds
HGH
Craig Johnson_1
Regular Advisor

Re: HPUX/Suse Cross Reference? Where is rmsf?

These are not on a SCSI bus, they are SAN attached disks (fiber channel). I'm not sure what that bus scan is going to buy me?
Alexander M. Ermes
Honored Contributor

Re: HPUX/Suse Cross Reference? Where is rmsf?

Hi there.
Perhaps this link is useful for you :

http://networking.ringofsaturn.com/Unix/unixguide.php

Unix commands in different systems
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Hemmetter
Esteemed Contributor

Re: HPUX/Suse Cross Reference? Where is rmsf?

Hi Craig,

it doesnt matter if it is "real" SCSI or fibre channel. Fibre is just the "transport medium" for SCSI-commands.

With output of lsscsi/inq.linux and
rescan-scsi-bus.sh you can selectivly delete
some DSFs.

rgds
HGH
Craig Johnson_1
Regular Advisor

Re: HPUX/Suse Cross Reference? Where is rmsf?

OK, thanks everyone. Now, what is the difference between rmsf and just good old rm?
Heironimus
Honored Contributor

Re: HPUX/Suse Cross Reference? Where is rmsf?

insf/rmsf can also manipulate HP-UX's list of currently-active devices, as well as operate on HP hardware paths and entire device classes. rm just removes files on the filesystem.
Craig Johnson_1
Regular Advisor

Re: HPUX/Suse Cross Reference? Where is rmsf?

Yet there is no equivalent in SLES?
Heironimus
Honored Contributor

Re: HPUX/Suse Cross Reference? Where is rmsf?

There is no equivalent because Linux doesn't manage devices and drivers the same way that HP-UX does. If the only thing you need is to change files out under /dev, you can use the MAKEDEV script to create them and rm to remove them. If you need to do any of the other things that insf/rmsf/etc do then you'll have a different procedure to follow.

Since the "open failed" messages look like they're devices from EMC's multipath software, you should probably make sure that there isn't any special EMC procedure before you manually remove device files.
skt_skt
Honored Contributor

Re: HPUX/Suse Cross Reference? Where is rmsf?

it looks like there were some EMC disk whihc were present earlier is not visible now.

What is the linux verison? whihc EMC s/w do u use to manage the emc disk, like power path?. Did u reinstall it ?