45 liens privés
Note to take :
lvdisplay => note PV Path and note VG Name to extend (for LV Path/Name choosed), for example "system".
vgdisplay => confirm format (lvm2)
After adding disk or resize VDI :
fdisk -l
fdisk /dev/sda => add new primary or logical volume, for example "sda3"
pvscan or pvdisplay or pvs => does NOT show new partition
pvcreate /dev/sda3
pvscan or pvdisplay or pvs => show new partition
vgextend system /dev/sda3 (where system is VG Name)
lvextend -l +100%FREE /dev/system/root (where /dev/system/root is the PV Path noted before)
resize2fs /dev/system/root
It's done.
Confirm with df -h command
\n# [ $LOGNAME@\h:$PWD [\t] [ohvers
SID:${ORACLE_SID:-"no sid"}] ]\n#
type: custom:auto-entities
card:
type: entities
filter:
template: |-
{% set SENSOR = 'device_tracker.life360_papa' -%}
{%- for attr in states[SENSOR].attributes -%}
{{
{
'type': 'attribute',
'entity': SENSOR,
'attribute': attr,
'name': attr
}
}},
{%- endfor %}
CREATE PLUGGABLE DATABASE devpdb2 ADMIN USER pdb2dba identified by "oracle"
DEFAULT TABLESPACE USERS
DATAFILE '/u01/app/oracle/oradata/devcdb/devpdb2/users01.dbf'
SIZE 250M AUTOEXTEND ON
FILE_NAME_CONVERT=(
'/u01/app/oracle/oradata/devcdb/pdbseed/',
'/u01/app/oracle/oradata/devcdb/devpdb2/');