Skip to main content


Showing posts from September, 2012

tmpfs size is returning old value after reboot

On Redhat EL 6 /dev/shm is returning the old value even if it is specified in the fstab. This is because tmpfs is never remounted during the boot process. Resolution for this is simply adding remount command to /etc/rc.local file.
eg: mount -o remount,size=5G /dev/shm

hdparm command usage example

hdparm command should be executed with root privileges. The following is an example for cached read and buffered disk read.

# hdparm -Tt /dev/mapper/mpath1

Timing cached reads: 2832 MB in 2.00 seconds = 1415.46 MB/sec
Timing buffered disk reads: 74 MB in 3.10 seconds = 23.85 MB/sec

winsxs folder is large

When viewing size of the Windows directory, users may notice that the C:\Windows\winsxs directory appears to be taking up large amounts of disk space.


NAME        bash,  :,  ., [, alias, bg, bind, break, builtin, cd, command, compgen,        complete, continue, declare, dirs, disown, echo, enable,  eval, exec,        exit,  export,  fc,  fg, getopts, hash, help, history, jobs, kill, let,        local, logout, popd, printf, pushd, pwd, read, readonly, return,  set,        shift,  shopt,  source,suspend,  test, times, trap,type, typeset,        ulimit, umask, unalias, unset,  wait  -bash  built-incommands,  see        bash(1)