Visualizzazione post con etichetta linux. Mostra tutti i post
Visualizzazione post con etichetta linux. Mostra tutti i post

lunedì 10 febbraio 2020

NSX-V Manager stuck on boot

Problem
NSX-V Manager (version 6.4.4) is stuck on boot due an unexpected inconsistency of the filesystem.

/dev/sda2: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY.
              (i.e., without -a or -p options)


FAILURE:

File system errors were encountered that could not be fixed automatically. This system cannot continue to boot and will therefore be halted until those errors are fixed manually by a System Administrator.

After you press Enter. this system will be halted and powered off.



Solution

Disclaimer: Some of the procedures described below is not officially supported by VMware. Use it at your own risk.

What I suggest to solve the issue is to try to perform a FIX of the disk, following the steps described below:
  1. First thing before to start you must have a valid backup
  2. Turn off the NSX Manager VM
  3. Perform a cold snapshot
  4. Start NSX Manager VM via a Live linux CD
  5. Then open a Terminal Console, become root and execute the commands ->
    # umount /dev/sda2
    # fsck -y /dev/sda2
  6. Then reboot normally.
If it still does not work I suggest to deploy a new OVA and restore data from backup.

That's it

venerdì 3 gennaio 2020

Setxbmap - linux keyboard layout


Problem
Having to access often to the Terminal consoles in the lnux environment on customers' virtual machines for assistance and/or to install applications; it may happen that the keyboard layout you got, is not exactly what you expected (Italian in may case).

Solution
To change the keyboard layout (e.g. to Italian) in the Linux command line, type the following command: # loadkeys it instead, if you are into an X environment type in the terminal console the command: # setxkbmap it

That's it