neeeewbie
Aug 19, 2020MVP
Solved
script delete after upgrade
Hi guys
I need your help !
script delete after upgrade
I don't know why script is deleted
script located in /var/tmp
thank you
Hello.
F5 uses LVM to map their partitions.
Only some partitions are shared between all different volumes (upgrade boot locations)
- /shared - /dev/mapper/vg--db--sda-dat.share.1
- /var/log - /dev/mapper/vg--db--sda-dat.log.1
The rest of the partitions are independent for each volume (boot location).
# lvs LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert app.ASWADB.set.1.mysqldb vg-db-sda -wi-ao--- 12.00g dat.log.1 vg-db-sda -wi-ao--- 500.00m dat.maint.1 vg-db-sda -wi-a---- 300.00m dat.share.1 vg-db-sda -wi-ao--- 20.00g dat.swapvol.1 vg-db-sda -wi-ao--- 1000.00m set.1._config vg-db-sda -wi-ao--- 3.17g set.1._usr vg-db-sda -wi-ao--- 3.29g set.1._var vg-db-sda -wi-ao--- 3.00g set.1.root vg-db-sda -wi-ao--- 440.00m set.2._config vg-db-sda -wi-ao--- 3.17g set.2._usr vg-db-sda -wi-ao--- 3.29g set.2._var vg-db-sda -wi-ao--- 3.00g set.2.root vg-db-sda -wi-ao--- 440.00m
As you can see above, there are two sets of var/usr/config/root partitions (1 and 2).
These numbers correspond with the digits used in your volume (HD1.1 and HD1.2).
# tmsh show sys software ------------------------------------------------- Sys::Software Status Volume Product Version Build Active Status ------------------------------------------------- HD1.1 BIG-IP 12.1.5 0.0.6 yes complete HD1.2 BIG-IP 12.1.3.4 0.0.2 no complete
So, your lost script should be located in the next partition:
/dev/mapper/vg--db--sda-set.#._var
Where '#' is the number of your previous volume.
Regards,
Dario.