os/400 i5os IBM i remove stale LUN paths

This may need to happen if you remove/re-add NPIV mapping, if SAN topology changes, or if you have removed maps, ports, cables, or entire LUNs.

1. Change the configuration on the array to remove the extra ports, etc.
2. Physically remove any fibre cables if needed.
3. IPL the server.
4. Run the STRSST command., then Press ENTER
5. Option 1, Start a service tool, then Press ENTER
6. Option 4, Display/Alter/Dump, then Press ENTER
7. Option 1, Display/Alter storage, then Press ENTER
8. Option 2, Licensed Internal Code (LIC) data, then Press ENTER
9. Option 14, Advanced analysis (scroll down to see this option), then Press ENTER
a. Scroll down and type 1 by MULTIPATHRESETTER, then press ENTER
b. Options, -RESETMP -ALL -CONFIRM, then press ENTER

Reset the paths for Multiple Connections


This service function should be run only under the direction of the
IBM Hardware Service Support.

You have selected to reset the number of paths on a multipath unit
to equal the number of paths that have currently enlisted.

Attempting to reset path for resource name: DMP004
Attempting to reset path for resource name: DMP075

*** Your request completed successfully ***
The number of paths connected to your multipath unit have been reset
to match the number of paths that are currently enlisted.
NOTE: If ALL paths are removed, the disk resource name will still show as DMPxxx rather than DDxxxx.NOTE: DMPxxx resources remaining in Hardware Service Manager removed paths will need manual cleanup.

REF: https://www.ibm.com/support/pages/reducing-or-removing-paths-multipath-lun
REF: https://www.ibm.com/support/pages/san-disks-missing-paths

iPhone, Garmin, Live Tracking

This is a write-up I made for a friend having problems with Garmin Live Tracking on an iPhone. It would get interrupted all the time, and show negative, or tiny percentages, of the real stats, though the map and track would look correct.

iPhone viruses / bugs:
iPhones don’t get generally malware unless they have been jailbroken / hacked.
This can only happen hands-on, and is not currently possible at the current OS version.

Any concerns can be fixed with a reinstall/restore of the phone.
I do this for any major upgrade (iOS 8 to iOS 9), but no more often.

This brings you to latest level, and replaces anything that got messed up.
Takes a couple of hours to finish the restore.

iPhone Restore / Reinstall:
* Back up to iTunes, plugged in is best.
* Disable your pin-code lock from Settings on the phone..
* Do a restore from iTunes.
* Wait for the OS install to finish (15-20 mins)
* Answer the 5 “new phone” questions to get back to the home screen.
* Re-Enable your pin-code lock
* Re-Enroll your fingerprints if you use that
* Wait for iTunes to finish restoring your apps and photos.

    Here is info about the LiveTracking problem specifically:

The stats error:
This is a design issue with the garmin app. They really need to fix it.
Reference: https://forums.garmin.com/archive/index.php/t-329984.html

The stats fix:
Replace the livetrack exercise with an upload of the activity.
* Finish the activity on the device.
* Delete the bad one from the Connect app calendar.
* Sync/Upload from your device.

Stability improvement:
The stability during tracking can be helped with:
* Disable WiFi while livetracking.
* Make sure all other apps are closed while livetracking
* Make sure the phone has been hard rebooted in the last week or two.

General Garmin stuff that *may* help:
* Update the Garmin Connect app from the App Store. Again.
* Update Garmin Express. Mine doesn’t auto-update anymore.
* Update Garmin device firmware. Maybe there is an unreleased version from support?
* Clear off activities every week. You can save the files to dropbox, or upload to Garmin Connect, or both.
* Maybe to a master reset as a last resort.

Master Reset of the Garmin Device
Plug in the USB cable
Copy all of the files off of your device.
Delete activities from the device
Unplug the USB cable
Power off the device of not already off
Hold Lap/Reset and Start/Stop buttons
Press power button
Wait for spash screen showing Garmin brand
Release Lap/Reset and Start/Stop buttons
Wait for power-up
Take outside for a 5-20 minutes so it can get the initial satellite fix.
Power off the device
Plug in USB cable
Copy the settings.fit, totals.fit, and records.fit back to “NewFiles”
Unplug USB
Power on and make sure all of your settings are there.

    Here are the things I have done that have helped my phone be less crashy in general:

#1 Limit what can use GPS in the background.
* Settings -> Privacy -> Location Services -> Purple are running now or in the last few minutes. Grey are in the last day. Disable anything that should not be allowed. Keep garmin, strava, etc.

#2 Limit what can run in the background
* Settings -> General -> Background App Refresh -> Disable anything that should never stay running when not up on the screen. Keep music, maps, chat/messenger, and similar enabled.

#3 Close apps when you’re not using them.
iOS 8 and later seems to have memory control issues. Lots of apps just get killed when they ask for memory, rather than being denied. If you close out everything first, then start the one GPS app, that often helps.

#4 is hard reboot your phone once every week or two.
I find sometimes my phone gets crashy, and only a hard reboot helps:
* close all of the apps running – double-click home, then swipe or close from there
* hold power button and swipe off when prompted
* Power on with both power and home button held down at the same time.
* Keep both buttons held down until the apple logo appears, then disappears again.
* Normal power on with 1 second on power button.