SHARE
TWEET

Untitled

a guest Jun 15th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # pvdisplay -C --separator '  |  ' -o pv_name,vg_name
  2.      
  3. PV  |  VG
  4.   /dev/sda2  |  vg_c6srv3
  5.   /dev/sdb2  |  vg_c6srv3
  6.   /dev/sdc2  |  vg_c6srv3
  7.   /dev/sdd1  |  vg_ora112
  8.   /dev/sdd2  |  
  9.   /dev/sdd3  |  vg_ora112
  10.   /dev/sdd5  |  vg_ora101
  11.   /dev/sde1  |  vg_ora112
  12.   /dev/sde2  |  vg_ora112
  13.   /dev/sde3  |  
  14.   /dev/sde4  |  vg_ora101
  15.   /dev/sdf1  |  vg_ora112
  16.   /dev/sdf2  |  
  17.   /dev/sdf3  |  vg_ora112
  18.   /dev/sdf5  |  vg_ora101
  19.      
  20. vgdisplay -v <volume_group_name> 2> /dev/null | awk '/PV Name/ {print $3}'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top