heitorvital
Programmer
I was asked to identify which pv s are external in my system and heard that this would be a good approach:
STEP 01. Go to /etc/objrepos
STEP 02. odmget CuAt | grep -p pvid
STEP 03. For each pvid listed ... try to get it´s node_name (odmget CuAt | grep -p node_name).
Solution: If pvid has a valid node_name, then the volume is an external storage.
Does it make sense? It seem to not be working for me (specially when the system has vpath).
Any bether solution to identify wich pv are external?
Many thanks
STEP 01. Go to /etc/objrepos
STEP 02. odmget CuAt | grep -p pvid
STEP 03. For each pvid listed ... try to get it´s node_name (odmget CuAt | grep -p node_name).
Solution: If pvid has a valid node_name, then the volume is an external storage.
Does it make sense? It seem to not be working for me (specially when the system has vpath).
Any bether solution to identify wich pv are external?
Many thanks