Software >> OS >> Unix >> Linux >> what system files to update when you remove a disk permanently

e.g. in a Linux VM with 2 disks

/dev/sda1

/dev/sda2

and you want to remove /dev/sda2 permanent.

Edit

1.  /etc/fstab

2.  /etc/mtab

and remove the entries for /dev/sda2