SW/FS/SVC Volume Mobility

SAN Volume Controller / Storwize / Flash System version 8.4.2 allows you to non-disruptively migrate a LUN between array controller clusters. It’s set up like remote copy, except you can map the remote copy to the same host at the same time. The remote copy becomes non-preferred paths for the same vdisk and vdisk ID. Then you can switch who is primary. Then you can remove the old copy.

Here is someone who did a demo video: https://www.youtube.com/watch?v=NpcOoshkm4w


Rules of the Internet

Rules of the internet are a historical meme. Some of these are horrible, and some are amusing. This is ancient lore of the Internet from 4chan.

0. Don’t fuck with cats.

1. Do not talk about /b/

2. Do NOT talk about /b/

3. We are Anonymous

3.141592653589793238462643383279502884197169399573105…. Expect us.

4. Anonymous is legion

5. Anonymous never forgives

6. Anonymous can be a horrible, senseless, uncaring monster

7. Anonymous is still able to deliver

8. There are no real rules about posting

9. There are no real rules about moderation either – enjoy your ban

10. If you enjoy any rival sites – DON’ T

11. All your carefully picked arguments can easily be ignored

12. Anything you say can and will be used against you

13. Anything you say can be turned into something else – fixed

14. Do not argue with trolls – it means that they win

15. The harder you try the harder you will fail

16. If you fail in epic proportions, it may just become a winning failure

17. Every win fails eventually

18. Everything that can be labeled can be hated

19. The more you hate it the stronger it gets

20. Nothing is to be taken seriously

21. Original content is original only for a few seconds before getting old

22. Copypasta is made to ruin every last bit of originality

23. Copypasta is made to ruin every last bit of originality

24. Every repost is always a repost of a repost

25. Relation to the original topic decreases with every single post

26. Any topic can be easily turned into something totally unrelated

27. Always question a person’s sexual prefrences without any real reason

28. Always question a person’s gender – just in case it’s really a man

29. In the internet all girls are men and all kids are undercover FBI agents

30. There are no girls on the internet

31. TITS or GTFO – the choice is yours

32. You must have pictures to prove your statements

33. Lurk more – it’s never enough

34. There is porn of it, no exceptions

35. If no porn is found at the moment, it will be made

35.2. If no pony is found of it, it will be made.

35.3. If there is no app for it, it will be made.

35.4. If no poop is found, it will be pooped.

35.4×2. If there is no Lego of it, then make one.

35.5. If it is in Minecraft, the crafting idea video will be shoved into the farthest corners of YouTube.

35.6. If there is no parody of it, make one.

35.7. If there is no Pokemon based on it, there is/will be a Anymon based on it.

35.8. If no dubstep is found of it, it will be made.

35.35. If it is not on the internet it must be by midnight.

35.99. If no mario paint composer version is found of it, it will be made.

35∞. The number of objects and situations yet to be porn-ified spontaneously decreases over time.

36. There will always be even more fucked up shit than what you just saw

37. You can not divide by zero (just because the calculator says so)

38. No real limits of any kind apply here – not even the sky

39. CAPSLOCK IS CRUISE CONTROL FOR COOL

40. EVEN WITH CRUISE CONTROL YOU STILL HAVE TO STEER

41. Desu isn’t funny. Seriously guys. It’s worse than Chuck Norris jokes.

42. Nothing is Sacred

43. The more beautiful and pure a thing is the more satisfying it is to corrupt it

44. Even one positive corment about Japanese things can make you a weeaboo

45. When one sees a lion, one must get into the car

46. There is always furry porn of it.

47. The pool is always closed due to AIDS (and stingrays, which also have AIDS).

47.2. YOU ARE FOOL!

47.3. THE CONSEQUENCES WILL NEVER BE THE SAME!

48. A cat is fine too.

49. One cat leads to another.

50. Another cat leads to Zippo Cat.

51. No matter what it is, it is somebody’s fetish. No exceptions.

52. It is delicious cake. You must eat it.

53. It is delicious trap. You must hit it.

53.2. The trap broke the lazah.

54.2. And today.

54.3. So does America.

55. If you have time to make up new rules, you have no life.

55.2. Except for me.

55.3. If you have no life, you do not exist. Therefore, your rule does not exist if you do not exist. No exceptions.

55.4. The rules were created by people who do not exist, so the rules do not exist. No Exceptions.

55.5. Although the rules do not exist, logic exists. The rules = logic. Therefore the rules do exist. No Exceptions.

55.5.2 Since the rules exist by logic, then the rules have always existed. No Exceptions.

55.5.3 So the creation of your rule is only a repost of science. (See rule 24)

55.6. If Rule 55 applies to you, then /b/ welcomes you.

56. They will not bring back Snacks.

57. You will never have sex.

57.2. I just had sex and it felt so good. (See rule 82)

59. No one does it like Gaston. No exceptions.

60. It needs more pumpkin. No exceptions.

60.1. What pumpkin?

60.2. It doesn’t matter as long as you give him the butter.

61. It needs more cowbell. No exceptions.

61.2 Chuck Norris is the exception, no exceptions.

62. It has been cracked and pirated. No exceptions.

62.2. The previous rule does not apply to Pokémon X and Y.

62.3. The previous rule is null and void if you have a gateway 3DS card

63. For every male character there is a female version. No Exceptions.

63.2. For every female character there is a male version. No Exceptions.

63.3. For every asexual character there is a version for each sex. No Exceptions.

63.4. Rules 63, 63.2 and 63.3 does not include real people. (Too much work. No Exceptions.)

63.5. Real people are ruled unworthy.

63.6. Rules 63.4 and 63.5 are lies. Real people can and will be gender-bent. No exceptions.

64. Don’t copy that floppy. rule 64 number

65. Anonymous is not your personal army.

66. The cake is a lie.

66.2. The lie is a cake.

66.3. The cock is a lie.

66.4. The lie is a cock.

66.5. The cake is a liar.

66.6. THE NUMBER OF THE BEAST!

66.7. Iron Maiden is awesome. No exceptions.

66.8. Unless you are GLaDOS.

66.9. Maybe GLaDOS is a lie. You’ll never know.

66.10. Even if GLaDOS is a lie AFH is still truth. Refer to rule 334.3 and rule 93.

67. Anonymous does not “buy”, he downloads.

68. Milhouse will never be a meme. Ever. No matter what your post ends with. No exceptions. Ever. No.

68.2. However, “Milhouse is not a meme” is a meme.

68.3. It is undecided whether ‘ “Milhouse is not a meme” is a meme’ is a meme or not.

68.4. Refer to rule 899899

68.5. Rules 68, 68.2, and 68.3 define falsity, truthiness, and ambiguity. So by definition, Milhouse is not a meme.

69. LOL SIXTY NINE AMIRITE?

69.2. If your question ends with “AMIRITE?”, the answer will never be yes.

71. The internet is SERIOUS BUSINESS.

71.∞. The internet is better than you.

72. Darth Vader is your father. No exceptions.

72.2. Except for Ash. NO ONE knows who Ash’s father is. Not even his mother.

73. If there isn’t enough just ask for Moar.

75. Rule 75 is a lie.

76. Twinkies are the answers to life’s problems.

76.2. Disregard rule 76.1, the creator was gay. Twinkies are back. They will always be back. No exceptions.

77. The internet makes you stupid.

77.7. Rule 77 is false. You are not necessarily stupid, just incomprehensible.

78. It will always need more sauce.

80. Interwebz177 did it. No exceptions.

81. Anonymous is a fool by default.

82. Nobody tells the truth on the Internet

83.2. Only mental slugs edit Star Wars.

83.4. Han shot first

84. All rules ARE true, including this one.

84.2. These rule, therefore, are rule 478-compliant.

85. Stupid rules are forbidden.

86. The term “sage” does not refer to the spice.

87. If you get pepperoni ever again, I swear I’ll blow this joint sky-high!

87.2 But you know I only like pepperoni!

87.3. Cheese pizza is the best pizza. No exceptions.

87.4. Sorry, all I got were shrooms, but we can still get high right?

88. Anonymous rules the internet. No exceptions.

89. Bruce Lee was a hero to us all.

90. It’s never lupus.

93.2. This is not rule 93. This is rule 93.2., and rule 93 was not here.

93.3. Rule 899 is rule 93. (This is not)

93.4. Fagicorn deleted the real rule 93.

93.5. Rekt.

93.6. Get it. Kunt.

93.7. The above rules are rule 93 pro tempore

93.8. AT LAST! We found rule 93! Everything makes sense now and the balance of the universe is restored!

93.9. To the writer of rule 93.8: no it isn’t.

94. This is rule 94. It was definitely not deleted by SOPA.

95. Anonymous did NOT, under any circumstances, tk him 2da bar?

96. If you express astonishment at someone’s claim, it is most likely just a clever ruse.

97. The government, The CIA, Everything is a lie.

97.2. The NSA is out to get you, no exceptions.

98. Only Zippocat is truth.

99. All numbers are at least 100 but always OVER NINE THOUSAAAAAND.

100. Gay will not be tolerated. (Basically, a lot of homophobic teen boys were all over the net in the late 1990s and early 2000s. We all know this is not as much of a problem, but is not all rainbows and moonbeams either.


Social Media Popularity

I got to wondering why we don’t use Flickr anymore, and it sent me into a social media dive. This is not all-inclusive. It’s just what was most noticeable. I’m sure I’ve missed things that a lot of people use.
 
### Analysis
The clear winner for blogging is Facebook, with 2.93b active accounts. It seems that the combination of free accounts, and heuristics to filter and add things on your wall beyond just “my friends by date”. Political and Social outrage seems to drive a lot of its activity. Fine-grained permissions are good here too.
LinkedIn has 830m users, with about 47% active in any given month. This is more about work networking, and less about general social interaction or blogging. There definitely is some of that.
 
WordPress (455m) won over most of the linear journaling sites, probably due to customizability, and the ability to run on your own server. There is a feed aggregator page for WP, but it’s more or less an online RSS aggregator.
 
Reddit (26m) is mostly about individual communities here, and not much in the way of individuals. There’s not really a personal wall of text, and there’s not fine-grained permissions like with the other sites. Pretty much everything is public or group access.
 
MeWe (20m) seems pretty sparse by comparison.
 
Livejournal (15.5m) didn’t really do media well, didn’t filter out low-interest friend posts, and didn’t add in high-interest non-friend posts. After it was bought by a Russian company, some of the originators started DreamWidth, with some good tools to import your LJ blog and friends. They only have around 50k active users.
 
BlogSpot/Blogger was just a linear feed. Aggregation was external with RSS readers. It still exists, but it’s hard to find stats on it.
 
MetaFilter (12k) is like a super-curated version of Reddit. It has a tight-knit niche population here.
 
Google Plus, Okta, Friendster, SixDegrees… they all died a long time ago.
 
### Video / Photo
YouTube (2.6b) is still the winner, even with their commercial push lately. Being the incumbent helps, but also they have a strong focus on educational material, and long-format videos. They harmed some small content creators, but have a lot of momentum yet. They also offer music, movies, and live TV streaming options.
 
Instagram (1b active) is mostly pictures, but has a strong “reel” presence too. Insta feeds off of emotional interest, such as celebrities, sex appeal, current events, etc. Their outrage focus avoids the top-tier battles more than FB, and you’ll see bad drivers, belligerent drunks, etc. Top Tier outrage happens, but the text format is not as conducive to memetic virus explosion.  This is somewhat ephemeral, and it’s difficult to actually “share” photos for others to download.
 
TikTok is also about 1b active users, and does the same thing as Insta. No photos, and more focus on content creators, and less on celebrities and politics. Despite having short video clips, they compete well with YouTube.
 
Twitch (30m active) is streaming and stream recordings. In this space, they compete very well, but they do not have general videos, nor other media types. It has a large percentage of video game players, and thirst trap sex appeal.
 
Flickr is also mostly photo sharing, but has videos too. 500m new posts per month, 7.6m active users.  It lets you share original size, and unlimited album sizes.  Paid vs Free balance has changed over time.
 
Vimeo (5m) is more commercial than social, but deserves mention.
 
### Music/Audio
For music, outside of YouTube, the winner seems to be SoundCloud, with 76m users.  Small bands, limited commercialization.  Lots of experiemental, small reach, and new creative content.  If this embedded better into shared posts of other social media sites, I think it would be even larger.
 
MySpace (7m), it surprises me it still exists. It used to be in the general blogging category, but has been music niche for a long while.
 
Some sites try to tell me BandCamp fits here, but BandCamp is 99.9% music sales. Spotify, Last, Pandora, etc all have scrobbling, but none of these really have a social network around bidirectional friend communication.
 
### Messaging / Chat:
WhatsApp has 2b active users. It’s mostly a replacement for SMS/MMS chat, and supports a large, international following. It supports end to end encryption, but is owned by Facebook. It has some minor amount of tracking involved.
 
Facebook Messenger has about 1.3b active users per month. This is very similar to WhatsApp, but has integration with Facebook userid instead of phone number.
 
Snapchat (332m active daily) is similar, but ephemeral, with photos and text evaporating pretty quickly.
 
Twitter (330m active daily) is kind of unique. It was an SMS integration, and kept small-message size limits. It does some embedded media integration pretty well. It does some following/grouping, and some “you might also like” heuristics which helps it stay relevant.
 
Discord(155m active monthly) fits in here, with private and group chats. Similar to IRC. it has chat rooms that people can join and leave at will.
 
Signal (40m) is an also end-to-end encrypted SMS alternative. It supports connecting your phone and PC to the same chats.
 
Slack (10m) is very similar to IRC also, but more for corporate/business use than personal.
 
IRC still exists, but is heavily splintered. Peak hours have about 228k connected users, which probably means about half a million daily or monthly users. Used more by Open Source projects in lieu of Slack, etc.
 
Plenty of other jabber/XMPP chats in various places that probably add up to large numbers of users.

errpt disk errors

SC_DISK_PCM_ERR1 Subsystem Component Failure

The storage subsystem has returned an error indicating that some component (hardware or software) of the storage subsystem has failed. The detailed sense data identifies the failing component and the recovery action that is required. Failing hardware components should also be shown in the Storage Manager software, so the placement of these errors in the error log is advisory and is an aid for your technical-support representative.

SC_DISK_PCM_ERR2 Array Active Controller Switch

The active controller for one or more hdisks associated with the storage subsystem has changed. This is in response to some direct action by the AIX host (failover or autorecovery). This message is associated with either a set of failure conditions causing a failover or, after a successful failover, with the recovery of paths to the preferred controller on hdisks with the autorecovery attribute set to yes.

SC_DISK_PCM_ERR3 Array Controller Switch Failure

An attempt to switch active controllers has failed. This leaves one or more paths with no working path to a controller. The AIX MPIO PCM will retry this error several times in an attempt to find a successful path to a controller.

SC_DISK_PCM_ERR4 Array Configuration Changed

The active controller for an hdisk has changed, usually due to an action not initiated by this host. This might be another host initiating failover or recovery, for shared LUNs, a redistribute operation from the Storage Manager software, a change to the preferred path in the Storage Manager software, a controller being taken offline, or any other action that causes the active controller ownership to change.

SC_DISK_PCM_ERR5 Array Cache Battery Drained

The storage subsystem cache battery has drained. Any data remaining in the cache is dumped and is vulnerable to data loss until it is dumped. Caching is not normally allowed with drained batteries unless the administrator takes action to enable it within the Storage Manager software.

SC_DISK_PCM_ERR6 Array Cache Battery Charge Is Low

The storage subsystem cache batteries are low and need to be charged or replaced.

SC_DISK_PCM_ERR7 Cache Mirroring Disabled

Cache mirroring is disabled on the affected hdisks. Normally, any cached write data is kept within the cache of both controllers so that if either controller fails there is still a good copy of the data. This is a warning message stating that loss of a single controller will result in data loss.

SC_DISK_PCM_ERR8 Path Has Failed

The I/O path to a controller has failed or gone offline.

SC_DISK_PCM_ERR9 Path Has Recovered

The I/O path to a controller has resumed and is back online.

SC_DISK_PCM_ERR10 Array Drive Failure

A physical drive in the storage array has failed and should be replaced.

SC_DISK_PCM_ERR11 Reservation Conflict

A PCM operation has failed due to a reservation conflict. This error is not currently issued.

SC_DISK_PCM_ERR12 Snapshot™ Volume’s Repository Is Full

The snapshot volume repository is full. Write actions to the snapshot volume will fail until the repository problems are fixed.

SC_DISK_PCM_ERR13 Snapshot Op Stopped By Administrator

The administrator has halted a snapshot operation.

SC_DISK_PCM_ERR14 Snapshot repository metadata error

The storage subsystem has reported that there is a problem with snapshot metadata.

SC_DISK_PCM_ERR15 Illegal I/O – Remote Volume Mirroring

The I/O is directed to an illegal target that is part of a remote volume mirroring pair (the target volume rather than the source volume).

SC_DISK_PCM_ERR16 Snapshot Operation Not Allowed

A snapshot operation that is not allowed has been attempted.

SC_DISK_PCM_ERR17 Snapshot Volume’s Repository Is Full

The snapshot volume repository is full. Write actions to the snapshot volume will fail until the repository problems are fixed.

SC_DISK_PCM_ERR18 Write Protected

The hdisk is write-protected. This can happen if a snapshot volume repository is full.

SC_DISK_PCM_ERR19 Single Controller Restarted

The I/O to a single-controller storage subsystem is resumed.

SC_DISK_PCM_ERR20 Single Controller Restart Failure

The I/O to a single-controller storage subsystem is not resumed. The AIX MPIO PCM will continue to attempt to restart the I/O to the storage subsystem.


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

DISPLAY/ALTER/DUMP
Running macro: MULTIPATHRESETTER -CONFIRM -ALL
Reset the paths for Multiple Connections

********************************************************************
***CONFIRM RESET MULTIPATH UNIT PATHSTO NUMBER CURRENTLY ENLISTED***
********************************************************************

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


TSM/ISP Recovering from “SKIP UPGRADING THIS INSTANCE”

Recovering from “SKIP UPGRADING THIS INSTANCE”

REFS:
https://www.ibm.com/support/pages/manually-upgrading-ibm-spectrum-protect-server-instances
https://www.ibm.com/support/pages/anr0187e-failure-during-server-startup
http://issen007.blogspot.com/2017/05/manual-upgrade-ibm-spectrum-protect-71x.html

###################################################
### Stop the instance completely
su - tsminst1

### This may not work if your environment or links are bad.
db2 list db directory

### If db2sysc is still running
ps | grep db2 
db2stop
db2stop force
db2 terminate ### Kill off db2bp fragments

### kill everything else other
ps | grep db2

### Remove IPC
ipcrm -a


###################################################
### Clean up remainders
su - root
/opt/tivoli/tsm/db2/instance/db2ilist
/opt/tivoli/tsm/db2/instance/db2idrop tsminst1

### Verify nothing left
/opt/tivoli/tsm/db2/instance/db2ilist


###################################################
### Redefine the instance
su - root
#/opt/tivoli/tsm/db2/instance/db2icrt -a server -u tsminst1 tsminst1
/opt/tivoli/tsm/db2/instance/db2icrt -u tsminst1 tsminst1

DBI1446I The db2icrt command is running.
DB2 installation is being initialized.
Total number of tasks to be performed: 4
Total estimated time for all tasks to be performed: 309 second(s)

Task #1 start
Description: Setting default global profile registry variables
Estimated time 1 second(s)
Task #1 end

Task #2 start
Description: Initializing instance list
Estimated time 5 second(s)
Task #2 end

Task #3 start
Description: Configuring DB2 instances
Estimated time 300 second(s)
Task #3 end

Task #4 start
Description: Updating global profile registry
Estimated time 3 second(s)
Task #4 end

The execution completed successfully.
For more information see the DB2 installation log at "/tmp/db2icrt.log.21176".
DBI1070I Program db2icrt completed successfully.


###################################################
### Set up Db2 environment variables
# NOTE: userprofile and db2profile get reset after db2icrt
su - tsminst1
/opt/tivoli/tsm/db2/adm/db2set -i tsminst1 "DB2_SKIPINSERTED=ON"
/opt/tivoli/tsm/db2/adm/db2set -i tsminst1 "DB2_KEEPTABLELOCK=ON"
/opt/tivoli/tsm/db2/adm/db2set -i tsminst1 "DB2_EVALUNCOMMITTED=ON"
/opt/tivoli/tsm/db2/adm/db2set -i tsminst1 "DB2_SKIPDELETED=ON"
/opt/tivoli/tsm/db2/adm/db2set -i tsminst1 "DB2CODEPAGE=819"
/opt/tivoli/tsm/db2/adm/db2set -i tsminst1 "DB2_PARALLEL_IO=*"

cat <<EOF >>${HOME}/sqllib/userprofile
export LD_LIBRARY_PATH=${HOME}/sqllib/lib64/gskit:${HOME}/sqllib/lib32:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/tivoli/tsm/server/bin/dbbkapi:/opt/ibm/lib:/opt/ibm/lib64:/usr/lib64:${HOME}/sqllib/lib64
export PATH=$PATH:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/tivoli/tsm/server/bin64
export PATH=$PATH:/opt/tivoli/tsm/server/bin:/usr/tivoli/tsm/server/bin64:/usr/tivoli/tsm/server/bin
export PATH=$PATH:/opt/tivoli/tsm/client/ba/bin64:/opt/tivoli/tsm/client/ba/bin:/usr/tivoli/tsm/client/ba/bin64
export PATH=$PATH:/usr/tivoli/tsm/client/ba/bin:/usr/tivoli/tsm/client/api/bin64:/usr/tivoli/tsm/client/api/bin
export PATH=$PATH:/opt/tivoli/tsm/client/api/bin64:/opt/tivoli/tsm/client/api/bin:/opt/tivoli/tsm/db2/bin
export PATH=$PATH:${HOME}/sqllib/bin:${HOME}/sqllib/adm:${HOME}/sqllib/misc

DSMI_CONFIG=${HOME}/tsmdbmgr.opt
DSMI_DIR=/opt/tivoli/tsm/server/bin/dbbkapi
DSMI_LOG=${HOME}
export DSMI_CONFIG DSMI_DIR DSMI_LOG 
EOF

cat <<EOF >>${HOME}/.profile
. ${HOME}/sqllib/db2profile
. ${HOME}/sqllib/userprofile

alias ll='ls -laF --color=auto'
set -o vi
EOF

. ./.profile


###################################################
### Catalog the DB to make sure it is okay.
db2start

### Find the TSMDB1 instances).
DBDIR=$(find /home /sp /tsm -name sqldbdir -exec strings {} \; 2>/dev/null | grep inst | cut -c 2-99 | sort | uniq)
echo $DBDIR

### Register the instance(s).
for i in $DBDIR ; do db2 catalog db TSMDB1 on $i ; done
# SQL6028N Catalog database failed because database "tsminst1" was not found in the local database directory.

### List the instances.
db2 list db directory


###################################################
### Upgrade the DB2 system catalog tables
#db2 upgrade db tsminst1
#SQL1013N The database alias name or database name "TSMINST1" could not be found. SQLSTATE=42705
db2 upgrade db TSMDB1
SQL1103W The UPGRADE DATABASE command was completed successful.

### Stop DB2 to make sure it flushes everything.
db2stop
SQAL1064N DB2STOP processing was successful.


###################################################
### Upgrade the TSM database schema
/opt/tivoli/tsm/server/bin/dsmserv upgradedb
ANR7800I DSMSERV generated at 18:03:03 on Nov 19 2021.

IBM Spectrum Protect for AIX
Version 8, Release 1, Level 13.000

Licensed Materials - Property of IBM

(C) Copyright IBM Corporation 1990, 2021.
All rights reserves.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.

ANR7801I Subsystem process ID is 64684398.
ANR7811I Using instance directory /tsm/tsminst1/
ANR3339I Default Label in key database is TSM Server SelfSigned SHA Key.
ANR4726I The ICC support module has been loaded.
ANR0990I Server restart-recovery in progress.

###################################################
### Make sure the server accepts workload

# start the server normally (rc script, systemd, or inittab line run from an at-job).

### Run these from dsmadmc
REG LIC FILE=*ee.lic
enable ses all

 


ext keeps going read only

During backups, I get this, and the root filesystem goes read only.

I’ve replaced disks, rebuilt filesystems, arrays, LVM, etc.

 

dmesg shows:

[19501.355932] EXT4-fs error (device dm-7): ext4_get_verity_descriptor_location:295: inode #6032: comm dsmc: verity file doesn’t use extents
[19501.403496] Aborting journal on device dm-7-8.
[19501.414969] EXT4-fs (dm-7): Remounting filesystem read-only
[19501.414974] fs-verity (dm-7, inode 6032): Error -117 getting verity descriptor size

 

Find the file by inode:

find / -xdev -inum 6032 -print

 

This showed that there is junk in lost+found from when I had FS corruption.  I rebuilt the root filesystem, but never cleaned out lost+found.  Deleting the damaged files should solve the problem.


Ubuntu LTS UEFI NVME Mirror Boot

This is super touchy, and here is what I did to make it happy and stable.

This does not address if UEFI decides to write to one of these mirrors.  Someone else has a systemd unit to assemble with resync.

In the past, I used someone else’s bypass script, but this was cleaner, and works in 18 and 20 LTS.

 

### Filesystem / Mirror for EFI / UEFI booting:
mdadm raid 1, metadata 1.0
vfat filesystem for /boot/EFI

### Proper GRUB package
apt-get purge grub\*
apt-get install grub-efi
apt-get autoremove

### Settings that seem to not stick
dpkg-reconfigure -p low grub-efi-amd64
Update NVRAM variables to automatically boot into Debian? NO
echo "grub-pc grub2/update_nvram boolean false" | debconf-set-selections
echo "grub-pc grub-efi/install_devices multiselect /dev/md0" | debconf-set-selections

### Grub config
update-grub
grub-install --no-nvram /dev/md0

### UEFI boot list (variables)
[root@tsm2: /root]
/bin/bash# efibootmgr -?
efibootmgr: invalid option -- '?'
efibootmgr version 17
usage: efibootmgr [options]
-a | --active sets bootnum active
-A | --inactive sets bootnum inactive
-b | --bootnum XXXX modify BootXXXX (hex)
-B | --delete-bootnum delete bootnum
-c | --create create new variable bootnum and add to bootorder
-C | --create-only create new variable bootnum and do not add to bootorder
-D | --remove-dups remove duplicate values from BootOrder
-d | --disk disk (defaults to /dev/sda) containing loader
-r | --driver Operate on Driver variables, not Boot Variables.
-e | --edd [1|3|-1] force EDD 1.0 or 3.0 creation variables, or guess
-E | --device num EDD 1.0 device number (defaults to 0x80)
-g | --gpt force disk with invalid PMBR to be treated as GPT
-i | --iface name create a netboot entry for the named interface
-l | --loader name (defaults to "\EFI\ubuntu\grub.efi")
-L | --label label Boot manager display label (defaults to "Linux")
-m | --mirror-below-4G t|f mirror memory below 4GB
-M | --mirror-above-4G X percentage memory to mirror above 4GB
-n | --bootnext XXXX set BootNext to XXXX (hex)
-N | --delete-bootnext delete BootNext
-o | --bootorder XXXX,YYYY,ZZZZ,... explicitly set BootOrder (hex)
-O | --delete-bootorder delete BootOrder
-p | --part part partition containing loader (defaults to 1 on partitioned devices)
-q | --quiet be quiet
-t | --timeout seconds set boot manager timeout waiting for user input.
-T | --delete-timeout delete Timeout.
-u | --unicode | --UCS-2 handle extra args as UCS-2 (default is ASCII)
-v | --verbose print additional information
-V | --version return version and exit
-w | --write-signature write unique sig to MBR if needed
-y | --sysprep Operate on SysPrep variables, not Boot Variables.
-@ | --append-binary-args file append extra args from file (use "-" for stdin)
-h | --help show help/usage

[root@tsm2: /root]
/bin/bash# efibootmgr -v
BootCurrent: 0019
Timeout: 5 seconds
BootOrder: 0005,0006,0007,000C,0019,0018
Boot0000 Startup Menu FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001 System Information FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002 Bios Setup FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003 3rd Party Option ROM Management FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004 System Diagnostics FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005* nvme0_grub HD(1,GPT,e41eb9e0-6606-411a-bb83-bed7577f29b3,0x800,0x8e800)/File(\EFI\ubuntu\grub.efi)
Boot0006* nvme1_grub HD(1,GPT,aa23256a-95c6-4148-b56c-c8861fc7966a,0x800,0x8e800)/File(\EFI\ubuntu\grub.efi)
Boot0007* nvme2_grub HD(1,GPT,1f7f7f5b-2a89-4d87-a617-6ccaf15078dd,0x800,0x8e800)/File(\EFI\ubuntu\grub.efi)
Boot0008 Boot Menu FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009* Kingston DataTraveler 3.0 408D5CE57214E331293064F6 BBS(USB,USB1,0x900)/PciRoot(0x0)/Pci(0x1d,0x0)......ISPH
Boot000B Network Boot FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000C* nvme3_grub HD(1,GPT,cb8bc8b4-affc-4765-97c2-72af0c615d44,0x800,0x8e800)/File(\EFI\ubuntu\grub.efi)
Boot000E* IPV6 Network - Aquantia AQtion 10Gbit Network Adapter PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(88c9b3bfa1e9,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0010* IBA GE Slot 00C8 v1550 BBS(Network,Network1,0x0)/PciRoot(0x0)/Pci(0x19,0x0)......ISPH
Boot0011 USB: PciRoot(0x0)/Pci(0x1d,0x0)N.....YM....R,Y.....ISPH
Boot0012 HP Recovery FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0013* hp PLDS DVDRW DU8AESH PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)N.....YM....R,Y.....ISPH
Boot0014* hp PLDS DVDRW DU8AESH BBS(CDROM,CDROM1,0x400)/PciRoot(0x0)/Pci(0x1f,0x2)......ISPH
Boot0018* ubuntu HD(1,GPT,e41eb9e0-6606-411a-bb83-bed7577f29b3,0x800,0x8e800)/File(\EFI\ubuntu\shimx64.efi)....ISPH
Boot0019* ubuntu HD(1,GPT,e41eb9e0-6606-411a-bb83-bed7577f29b3,0x800,0x8e800)/File(\EFI\grub\shimx64.efi)....ISPH
Boot001A* IPV4 Network - Aquantia AQtion 10Gbit Network Adapter PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(88c9b3bfa1e9,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH

[root@tsm2: /root]
/bin/bash# efibootmgr -B -b 0005
/bin/bash# efibootmgr -B -b 0006
/bin/bash# efibootmgr -B -b 0007
/bin/bash# efibootmgr -B -b 0009
/bin/bash# efibootmgr -B -b 000c
/bin/bash# efibootmgr -B -b 0018
BootCurrent: 0019
Timeout: 5 seconds
BootOrder: 0019
Boot0000 Startup Menu
Boot0001 System Information
Boot0002 Bios Setup
Boot0003 3rd Party Option ROM Management
Boot0004 System Diagnostics
Boot0008 Boot Menu
Boot000B Network Boot
Boot000E* IPV6 Network - Aquantia AQtion 10Gbit Network Adapter
Boot0010* IBA GE Slot 00C8 v1550
Boot0011 USB:
Boot0012 HP Recovery
Boot0013* hp PLDS DVDRW DU8AESH
Boot0014* hp PLDS DVDRW DU8AESH
Boot0019* ubuntu
Boot001A* IPV4 Network - Aquantia AQtion 10Gbit Network Adapter

[root@tsm2: /root]
/bin/bash# efibootmgr -v
BootCurrent: 0019
Timeout: 5 seconds
BootOrder: 0019
Boot0000 Startup Menu FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001 System Information FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002 Bios Setup FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003 3rd Party Option ROM Management FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004 System Diagnostics FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0008 Boot Menu FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000B Network Boot FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000E* IPV6 Network - Aquantia AQtion 10Gbit Network Adapter PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(88c9b3bfa1e9,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0010* IBA GE Slot 00C8 v1550 BBS(Network,Network1,0x0)/PciRoot(0x0)/Pci(0x19,0x0)......ISPH
Boot0011 USB: PciRoot(0x0)/Pci(0x1d,0x0)N.....YM....R,Y.....ISPH
Boot0012 HP Recovery FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0013* hp PLDS DVDRW DU8AESH PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)N.....YM....R,Y.....ISPH
Boot0014* hp PLDS DVDRW DU8AESH BBS(CDROM,CDROM1,0x400)/PciRoot(0x0)/Pci(0x1f,0x2)......ISPH
Boot0019* ubuntu HD(1,GPT,e41eb9e0-6606-411a-bb83-bed7577f29b3,0x800,0x8e800)/File(\EFI\grub\shimx64.efi)....ISPH
Boot001A* IPV4 Network - Aquantia AQtion 10Gbit Network Adapter PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(88c9b3bfa1e9,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH

[root@tsm2: /root]
/bin/bash# efibootmgr -c -d /dev/nvme0n1 -L nvme0_grub -l '\EFI\grub\shimx64.efi'
/bin/bash# efibootmgr -c -d /dev/nvme1n1 -L nvme1_grub -l '\EFI\grub\shimx64.efi'
/bin/bash# efibootmgr -c -d /dev/nvme2n1 -L nvme2_grub -l '\EFI\grub\shimx64.efi'
/bin/bash# efibootmgr -c -d /dev/nvme3n1 -L nvme3_grub -l '\EFI\grub\shimx64.efi'
/bin/bash# efibootmgr -o 0005,0006,0007,0009,00019
BootCurrent: 0019
Timeout: 5 seconds
BootOrder: 0005,0006,0007,0009,0019
Boot0000 Startup Menu
Boot0001 System Information
Boot0002 Bios Setup
Boot0003 3rd Party Option ROM Management
Boot0004 System Diagnostics
Boot0005* nvme0_grub
Boot0006* nvme1_grub
Boot0007* nvme2_grub
Boot0008 Boot Menu
Boot0009* nvme3_grub
Boot000B Network Boot
Boot000E* IPV6 Network - Aquantia AQtion 10Gbit Network Adapter
Boot0010* IBA GE Slot 00C8 v1550
Boot0011 USB:
Boot0012 HP Recovery
Boot0013* hp PLDS DVDRW DU8AESH
Boot0014* hp PLDS DVDRW DU8AESH
Boot0019* ubuntu
Boot001A* IPV4 Network - Aquantia AQtion 10Gbit Network Adapter

[root@tsm2: /root]
/bin/bash# efibootmgr -v
BootCurrent: 0019
Timeout: 5 seconds
BootOrder: 0005,0006,0007,0009,0019
Boot0000 Startup Menu FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)....ISPH
Boot0001 System Information FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0002 Bios Setup FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0003 3rd Party Option ROM Management FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0004 System Diagnostics FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0005* nvme0_grub HD(1,GPT,e41eb9e0-6606-411a-bb83-bed7577f29b3,0x800,0x8e800)/File(\EFI\grub\shimx64.efi)
Boot0006* nvme1_grub HD(1,GPT,aa23256a-95c6-4148-b56c-c8861fc7966a,0x800,0x8e800)/File(\EFI\grub\shimx64.efi)
Boot0007* nvme2_grub HD(1,GPT,1f7f7f5b-2a89-4d87-a617-6ccaf15078dd,0x800,0x8e800)/File(\EFI\grub\shimx64.efi)
Boot0008 Boot Menu FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0009* nvme3_grub HD(1,GPT,cb8bc8b4-affc-4765-97c2-72af0c615d44,0x800,0x8e800)/File(\EFI\grub\shimx64.efi)
Boot000B Network Boot FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot000E* IPV6 Network - Aquantia AQtion 10Gbit Network Adapter PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(88c9b3bfa1e9,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.....ISPH
Boot0010* IBA GE Slot 00C8 v1550 BBS(Network,Network1,0x0)/PciRoot(0x0)/Pci(0x19,0x0)......ISPH
Boot0011 USB: PciRoot(0x0)/Pci(0x1d,0x0)N.....YM....R,Y.....ISPH
Boot0012 HP Recovery FvVol(cdbb7b35-6833-4ed6-9ab2-57d2acddf6f0)/FvFile(9d8243e8-8381-453d-aceb-c350ee7757ca)......ISPH
Boot0013* hp PLDS DVDRW DU8AESH PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)N.....YM....R,Y.....ISPH
Boot0014* hp PLDS DVDRW DU8AESH BBS(CDROM,CDROM1,0x400)/PciRoot(0x0)/Pci(0x1f,0x2)......ISPH
Boot0019* ubuntu HD(1,GPT,e41eb9e0-6606-411a-bb83-bed7577f29b3,0x800,0x8e800)/File(\EFI\grub\shimx64.efi)....ISPH
Boot001A* IPV4 Network - Aquantia AQtion 10Gbit Network Adapter PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(88c9b3bfa1e9,0)/IPv4(0.0.0.00.0.0.0,0,0)N.....YM....R,Y.....ISPH

 

[root@tsm2: /root]
/bin/bash# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

[root@tsm2: /root]
/bin/bash# uname -a
Linux tsm2 5.4.0-97-generic #110-Ubuntu SMP Thu Jan 13 18:22:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux


Sony Disc 18 Dream

Dreamland had a big party and I don’t remember everything. Basically my grandparents Davis’ house, and the kitchen was a living room. All of the cabinets and where the stove were had a bunch more cabinets, and we had a lot of books and storage information.

I’d just met up with one of the two really tall guys that we all knew from the parallel universe. He had a Sony video recorder that used Disc 18 which was basically an 18 inch analog laser disk. It had a 10 inch LCD on the other side. It had a 1.8 inch camera lens on one of the edge near the corner.

It had hand straps on both sides so it was easy to hold while watching playback. The recording quality was excellent, but it was a little bit of an older unit. Everything had been replaced with digital and gotten more compact but the guy who had it really liked it and wasn’t ready to make the change.

Another one of the guys had a special type of mask that he was trying to use so that he would be allowed to formally date his girlfriend from the other universe, but he kept forgetting to wear it, and was probably going to get denied.

The mask had a patch of blue surgical mask fabric that covered almost the entire bridge of the nose as a sort of clamp to hold it in place. It had elastic straps down to a small patch that cover just the nostrils and then another elastic patch that maybe hung off the lip or something.

I’m having trouble remembering exactly but it seems like possibly everyone from both universes maybe had more than two nostrils. This is one of those things that you just kind of don’t remember the details because it is so mundane.

It was all very vivid and probably spawned by some memories from when I looked up my moms house on Google Maps the other day, as there were similar memory feels, and vivid connections between the houses.


Spectrum Protect (TSM) Operations Center on Ubuntu LTS

Per IBM, the Spectrum Protect server is supported on Ubuntu LTS 14, 16, 18, and 20 (aka 2014.04, 2016.04, etc.) 

https://www.ibm.com/support/pages/overview-ibm-spectrum-protect-supported-operating-systems

However, Operations Center (web GUI) is not supported on Ubuntu, only RHEL and SLES.

https://www.ibm.com/support/pages/ibm-spectrum-protect-operations-center-software-and-hardware-requirements

./install.sh -c
Validating package prerequisites...
=====> IBM Installation Manager> Update> Prerequisites
Validation results:
* [ERROR] IBM Spectrum Protect Operations Center 8.1.12000.20210326_0723 contains validation errors.
1. ERROR: The operating system on which you are installing the product is not supported. For more information, see http://www.ibm.com/support/docview.wss?uid=swg21243309.

Enter the number of the error or warning message above to view more details.

To skipp the OS and platform checks, and convert the ERROR into WARNING:

./install.sh -c -vmargs "-DBYPASS_TSM_REQ_CHECKS=true"
Validation results:
* [WARNING] IBM Spectrum Protect Operations Center 8.1.12000.20210326_0723 contains validation warning.
1. WARNING: The operating system on which you are installing the product is not supported. For more information, see http://www.ibm.com/support/docview.wss?uid=swg21243309.

Enter the number of the error or warning message above to view more details.

I recommend ONLY install/update Operations Center with this, and then exit and go back in normally to make sure the other filesets validate okay.