IT Questions and Answers :)

Thursday, September 10, 2020

What will happen to a VM in VMWare when utilizing a snapshot of that VM and wanting to increase the size of an attached Hard Disk?

What will happen to a VM in VMWare when utilizing a snapshot of that VM and wanting to increase the size of an attached Hard Disk?

  • Drive will become corrupted after reverting to the snapshot
  • You will not be able to change the Disk size until the snapshot is removed
  • Drive will increase in size but will shrink when reverting to before the snapshot
  • Drive will increase in size and maintain size after reverting to the snapshot 

 EXPLANATION


Expand a Virtual Hard Disk
You can add storage space to a virtual machine by expanding its virtual hard disk.
When you expand a virtual hard disk, the added space is not immediately available to the virtual machine. To make the added space available, you must use a disk management tool to increase the size of the existing partition on the virtual hard disk to match the expanded size.

The disk management tool that you use depends on the virtual machine guest operating system. Many operating systems, including Windows Vista, Windows 7, and some versions of Linux, provide built-in disk management tools that can resize partitions. Third-party disk management tools are also available, such as Symantec/Norton PartitionMagic, EASEUS Partition Master, Acronis Disk Director, and the open-source tool GParted.

When you expand the size of a virtual hard disk, the sizes of partitions and file systems are not affected.
As an alternative to expanding a virtual hard disk, you can add a new virtual hard disk to the virtual machine. See Add a New Virtual Hard Disk to a Virtual Machine.
Prerequisites
Power off the virtual machine.
Verify that the virtual disk is not mapped or mounted. You cannot expand a virtual disk while it is mapped or mounted.
Verify that the virtual machine has no snapshots.
Verify that the virtual machine is not a linked clone or the parent of a linked clone.

Procedure
1
Select the virtual machine and select VM > Settings.
2
On the Hardware tab, select the virtual hard disk to expand.
3
Select Utilities > Expand.
4
Set the new maximum size for the virtual disk.
5
Select Expand.
6
Click OK after the disk expansion process is complete.
What to do next
Use a disk management tool to increase the disk partition size to match the expanded virtual disk size.



SOURCE

https://pubs.vmware.com/workstation-9/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-73BEB4E6-A1B9-41F4-BA37-364C4B067AA8.html
Share:

Wednesday, September 9, 2020

I have a User named "tux", and i've added "tux" to "sudo" group by the command: sudo usermod tux -a -G wheel. What kind of Distro do i have ?

I have a User named "tux", and i've added "tux" to "sudo" group by the command: sudo usermod tux -a -G wheel. What kind of Distro do i have ?

  • Fedora
  • Gentoo
  • Ubuntu
  • Arch 
I have a User named "tux", and i've added "tux" to "sudo" group by the command: sudo usermod tux -a -G wheel. What kind of Distro do i have ?

 

EXPLANATION


In Unix/Linux distributions, the command ‘usermod‘ is used to modify or change any attributes of a already created user account via command line. The command ‘usermod‘ is similar to that ‘useradd‘ or ‘adduser‘ but the login granted to an existing user.


SOURCE

https://fedoraproject.org/wiki/Configuring_Sudo
Share:

Monday, September 7, 2020

Which command in the Cisco IOS enables an interface (brings it up)?

Which command in the Cisco IOS enables an interface (brings it up)?

  • no shutdown
  • enable
  • shutdown
  • startup 
Which command in the Cisco IOS enables an interface (brings it up)?

 

EXPLANATION

The no shutdown command enables an interface (brings it up). This command must be used in interface configuration mode. It is useful for new interfaces and for troubleshooting. When you're having trouble with an interface, you may want to try a shut and no shut. Of course, to bring the interface down, reverse the command and just say shutdown. This command can be abbreviated no shut.

SOURCE

https://www.techrepublic.com/blog/data-center/10-commands-you-should-master-when-working-with-the-cisco-ios-104071/
Share:

Thursday, September 3, 2020

On Microsoft Windows, how many workstations can an authenticated user join to the domain by default?

On Microsoft Windows, how many workstations can an authenticated user join to the domain by default?

  • Unlimited
  • 10
  • 1
  • None 
On Microsoft Windows, how many workstations can an authenticated user join to the domain by default?

 

EXPLANATION

By default, an authenticated user can add 10 workstations to the domain.
This default was implemented to prevent misuse, but can be overridden by an administrator by making a change to an object in Active Directory using ADSIedit.  https://support.microsoft.com/en-us/kb/243327
Share:

Monday, August 31, 2020

In Microsoft Dynamics AX - what is a BOM?

In Microsoft Dynamics AX - what is a BOM?

  • Building Off Memory
  • Bill Of Materials
  • Bill Of Manufacturing
  • Bob Of Murrays 
In Microsoft Dynamics AX - what is a BOM?

 EXPLANATION

The correct answer is Bill Of Materials (BOM)
BOMs) and formulas are a central part of the definition of products and product variants within Dynamics 365.

This clarifies what components are needed in order to make an item beginning to end when manufacturing a product end-to-end.

SOURCE

https://docs.microsoft.com/en-us/dynamics365/supply-chain/production-control/bill-of-material-bom
Share:

Friday, August 21, 2020

Which of the following is not a backup category ?

Which of the following is not a backup category ?

  • Image backup
  • Half system backup
  • All of the mentioned
  • Full system backup 

 
Which of the following is not a backup category ?

EXPLANATION

An image backup creates a complete copy of a volume

SOURCE

http://www.sanfoundry.com/cloud-computing-questions-answers-cloud-backup-solutions/
Share:

Tuesday, August 18, 2020

In Windows 7 or greater, how do you run an application as a different user without switching the account?

In Windows 7 or greater, how do you run an application as a different user without switching the account?

  • Shift+RightClick
  • CTRL+LeftClick
  • CTRL+R
  • SHIFT+R 

 EXPLANATION

Right-clicking on a file or folder brings up a context-sensitive menu, but sometimes that menu doesn't show all your options. Hold down the Shift key when you right-click to find hidden but useful commands like running an application as a different user.

SOURCE

https://lifehacker.com/5804483/open-hidden-menu-options-with-the-shift-and-right-click-shortcut
Share:

Popular Posts