The two types of metadata that a NameNode server holds are:
i)Metadata in Disk - This contains the edit log and the FSImage
ii)Metadata in RAM - This contains the information about DataNodes