IT Questions and Answers :)

Monday, January 6, 2020

Which chkdsk.exe switch fixes errors detected on disk and requires dismounting the volume?

Which chkdsk.exe switch fixes errors detected on disk and requires dismounting the volume?

  • /F
  • /R
  • /X
  • /C 
Which chkdsk.exe switch fixes errors detected on disk and requires dismounting the volume?

EXPLANATION

Checks the file system and file system metadata of a volume for logical and physical errors. If used without parameters, chkdsk displays only the status of the volume and does not fix any errors. If used with the /f, /r, /x, or /b parameters, it fixes errors on the volume.
Important
Membership in the local Administrators group, or equivalent, is the minimum required to run chkdsk. To open a command prompt window as an administrator, right-click Command prompt in the Start menu, and then click Run as administrator.
Important
Interrupting chkdsk is not recommended. However, canceling or interrupting chkdsk should not leave the volume any more corrupt than it was before chkdsk was run. Rerunning chkdsk checks and repairs any remaining corruption on the volume.
Important
Note: Chkdsk can be used only for local disks. The command cannot be used with a local drive letter that has been redirected over the network.
For examples of how to use this command, see Examples.

Syntax

chkdsk [<Volume>[[<Path>]<FileName>]] [/f] [/v] [/r] [/x] [/i] [/c] [/l[:<Size>]] [/b]  

Parameter Description
<Volume> Specifies the drive letter (followed by a colon), mount point, or volume name.
[<Path>] Use with file allocation table (FAT) and FAT32 only. Specifies the location and name of a file or set of files that you want chkdsk to check for fragmentation. You can use the ? and * wildcard characters to specify multiple files.
/f Fixes errors on the disk. The disk must be locked. If chkdsk cannot lock the drive, a message appears that asks you if you want to check the drive the next time you restart the computer.
/v Displays the name of each file in every directory as the disk is checked.
/r Locates bad sectors and recovers readable information. The disk must be locked. /r includes the functionality of /f, with the additional analysis of physical disk errors.
/x Forces the volume to dismount first, if necessary. All open handles to the drive are invalidated. /x also includes the functionality of /f.
/i Use with NTFS only. Performs a less vigorous check of index entries, which reduces the amount of time required to run chkdsk.
/c Use with NTFS only. Does not check cycles within the folder structure, which reduces the amount of time required to run chkdsk.
/l[:<Size>] Use with NTFS only. Changes the log file size to the size you type. If you omit the size parameter, /l displays the current size.
/b NTFS only: Clears the list of bad clusters on the volume and rescans all allocated and free clusters for errors. /b includes the functionality of /r. Use this parameter after imaging a volume to a new hard disk drive.
/scan NTFS only: Runs an online scan on the volume.
/forceofflinefix NTFS only: (Must be used with "/scan"). Bypass all online repair; all defects found are queued for offline repair (i.e. "chkdsk /spotfix").
/perf NTFS only: (Must be used with "/scan"). Uses more system resources to complete a scan as fast aspossible. This may have a negative performance impact on other tasks running on the system.
/spotfix NTFS only: Runs spot fixing on the volume.
/sdcleanup NTFS only: Garbage collect unneeded security descriptor data (implies /F).
/offlinescanandfix Runs an offline scan and fix on the volume.
/freeorphanedchains FAT/FAT32/exFAT only: Frees any orphaned cluster chains instead of recovering their contents.
/markclean FAT/FAT32/exFAT only: Marks the volume clean if no corruption was detected, even if /F was not specified.
/? Displays help at the command prompt.

Share:

You cannot use IE or Chrome to browse both your intranet and the internet. What is most likely wrong?

You cannot use IE or Chrome to browse both your intranet and the internet. What is most likely wrong?

  • You have a static IP on your computer or the wrong IP
  • IE or Chrome is having a problem
  • No default gateway or your gateway is having a problem
  • No DNS servers assigned or DNS is having a problem

EXPLANATION

If you can’t connect to certain web sites using your favorite web browser even though you have an Internet connection, there could be several reasons why. Here are a few things you can try to clear up the problem.
Symptom:
  • In Google Chrome you may get an “Unable to connect to the Internet” message.
  • In Firefox you get “Firefox can’t establish a connection to the server at website
  • In Internet Explorer you get “Page cannot be displayed” error.

This article assumes you have troubleshot the basics such as the URL is typed correctly, cache files have been cleared and you have a working internet connection. 

1. Flush the DNS Cache

In some cases, flushing the DNS cache may help. You can flush the DNS by holding down the Windows key on your keyboard and pressing R to bring up the Run box. Then type ipconfig /flushdns and press Enter.

2. Reset TCP/IP

  1. Select “Start“, and type “CMD
  2. Right-click “Command Prompt“, then choose “Run as Administrator“.
  3. Select “Yes” on the User Account Control box.
  4. From the command prompt, type the following, then press “Enter“:
    • netsh int ip reset
Restart your computer, then try to see if you can access the Internet from a browser now. Hopefully, you can.



2. DNS, IP & Gateway

  1. Make Sure Correct Gateway, DNS and IP address configured on the host machine.

 

 

Share:

Thursday, January 2, 2020

In a full mesh network topology containing 13 nodes, how many physical channels exist between all of the nodes?

In a full mesh network topology containing 13 nodes, how many physical channels exist between all of the nodes?

  • 84
  • 78
  • 64
  • 56 

EXPLANATION


 In a mesh topology, each node has a dedicated point-to-point link to every other nodes.
If the number of nodes in a fully mesh network is n, then the total number of physical channels to link all nodes are n(n-1)/2.
Substituting 13 for n, the result is 78.
Share:

Wednesday, January 1, 2020

Which QOS Protocols are valid for traffic marking?

Which QOS Protocols are valid for traffic marking?

  • SRR-QUEUE, WRR-QUEUE
  • IGMP, MLS QOS
  • MLS QOS, GRE, VRRP
  • DSCP, COS, TOS 

Which QOS Protocols are valid for traffic marking?

EXPLANATION

Class of Services, Diffserv Code Point, Type of Service
Command Used in Policy Maps Maps These Attributes
set cos dscp table table-map-name CoS to DSCP
set cos precedence table table-map-name CoS to Precedence
set dscp cos table table-map-name DSCP to CoS
set dscp qos-group table table-map-name DSCP to qos-group
set mpls experimental imposition dscp table table-map-name MPLS EXP imposition to DSCP
set mpls experimental imposition precedence table table-map-name MPLS EXP imposition to precedence
set mpls experimental topmost qos-group table table-map-name MPLS EXP topmost to QoS-group
set precedence cos table table-map-name Precedence to CoS
set precedence qos-group table table-map-name Precedence to QoS-group
set qos-group dscp table table-map-name QoS-group to DSCP
set qos-group mpls exp topmost table table-map-name QoS-group to MPLS EXP topmost
set qos-group precedence table table-map-name QoS-group to Precedence

SOURCE

https://en.wikipedia.org/wiki/Quality_of_service

 

Share:

What is the default TCP port used by ORACLE SQL Developer

What is the default TCP port used by ORACLE SQL Developer

  • 3389
  • 8080
  • 1521
  • 1433 

What is the default TCP port used by ORACLE SQL Developer

EXPLANATION

4. Provide information for the following settings:

Role: This is the set of privileges to be associated with the connection. Accept default for this connection.OS Authentication: Leave this unchecked for this connection.Proxy Connection: Leave this unchecked for this connection.Hostname: This is the host system for the Oracle Database instance. Enter an IP address, a machine name, or localhost (when connecting to a database on the same machine as Oracle SQL Developer).
The default is localhost .Port: This is the listener port for the database. The default port for Oracle Database is 1521.SID: This is the system identifier, such as orcl (the default for Oracle Database 10g and Oracle Database 11g) or xe (the default for Oracle Database 10g Express Edition).Service name: This is the network service name of the database. Select either SID or Service name.

SOURCE

http://www.oracle.com/technetwork/issue-archive/2008/08-may/o38sql-102034.html

Share:

Popular Posts