Situatie
You are unable to release ownership of the problematic repository from the old environment, nor are you able to take ownership of the problematic repository from the new environment.
a. Identify LUN
# mounted.ocfs2 -d | grep xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
/dev/mapper/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx o2cb xxxxxxxxxxxxxxxx G xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx
b. Clean LUN with fsck and stamp it’s cluster’s ownership
# fsck.ocfs2 -y /dev/mapper/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
c. Mount LUN to /mnt temporarily
# mount /dev/mapper/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /mnt
d. Change OVS_REP_MGR_UUID to NONE:
# vi /mnt/.ovsrepo
OVS_REPO_UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OVS_REPO-VERSION=X.X
OVS_REP_MGR_UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OVS_REPO_ALIAS=Repository Name
change to
OVS_REPO_UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OVS_REPO-VERSION=X.X
OVS_REP_MGR_UUID=NONE
OVS_REPO_ALIAS=Repository Name
e. Unmount temporary mount at /mnt
# unmount /mnt
f. Log into the OVM CLI and list the filesystem
# ssh -l admin localhost -p 10000
OVM> list fileSystem
g. Log into the OVM Manager BUI
Go to Repositories tab.
Identify the repository disk (by disk lun) — In this example we choose 2, as it’s the 2nd disk or the 3rd repository disk.
h. From the previous output of the filesystem, identify 2nd
id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx name: fs on SAN Name (2)
i. From the CLI, refresh the repository disk:
OVM> refresh fileSystem id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
j. List repository
OVM> list repository
k. Identify the repository in question
id:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx name: Name of Repository
l. Go back to the OVM Manager BUI
- Right-click on repository “Name of Repository’ and check the box “Take ownership”.
- Now in the OVM Manager, refresh the repository “Name of Repository”.
Leave A Comment?