Creating Metadevices – (Using DiskSuite 4.2.1 Commands)
Creating Metadevices – (Using DiskSuite 4.2.1 Commands).
Extracting text using sed and regular expressions Linux/UNIX/AIX Brian Smith’s AIX / UNIX / Linux / Open Source blog
$ lsvg rootvg | sed -n ‘s/.*FREE PPs:.*(\([0-9][0-9]*\) megabytes.*/\1/p’ 6400 Extracting text using sed and regular expressions Linux/UNIX/AIX Brian Smith's AIX / UNIX / Linux / Open Source blog.
Lvm notes
################################################################ ################################################################ ################################################################ pvcreate – create physical volume for use in LVM volume group vgcreate – create LVM volume group # pvcreate /dev/rdsk/c5t10d0 # mkdir /dev/vg01 # mknod /dev/vg01/group c 64 0x010000 # check with ll /dev/*/group # vgcreate /dev/vg01 /dev/dsk/cxtydz # with options. or more the one disk vgcreate /dev/vg01 /dev/dsk/cxtydz /dev/dsk/cxtydx lvcreate – […]