linux

File System shows 100% occupied but du tells different and still has Unused Spaces.

We have faced an issue as below mentioned – found /oracle mount-point showing 100% as Used. But getting different size values for folders under /oracle mount-point, when we executed du -gs . bash-4.4# df -gFilesystem GB blocks Free %Used Iused %Iused Mounted on/dev/hd4 4.00 1.39 66% 20686 6% //dev/hd2 4.00 1.02 75% 45679 16% /usr/dev/hd9var …

File System shows 100% occupied but du tells different and still has Unused Spaces. Read More »

Usefull Linux Commands for SAN LUN allocation in RHEL

ls -l /dev/disk/by-* | grep lun-31 ls -l /dev/disk/by-* | grep lun-33 ls -l /dev/disk/by-* | grep lun-20 ls -l /dev/disk/by-* | grep lun-10 cat /sys/class/fc_transport/*/node_name grep 50060160bee045be /sys/class/fc_transport/*/node_name lsscsi ./inq.LinuxAMD64 -clariion multipath -ll df -h cat /etc/fstsb cat /etc/fstab multipath -ll | grep mpathg ls -ltr /data* ls -ls /data* ls -ld /data* df …

Usefull Linux Commands for SAN LUN allocation in RHEL Read More »

Reclaim Space in a VM on Thin or Thick VMDKs

Fedora/CentOs/RedHat [root@rac1 ~]$ yum install zerofree updates/metalink | 12 kB 00:00 updates | 4.5 kB 00:00 updates/primary_db | 4.3 MB 00:21 Setting up Install Process Resolving Dependencies Running transaction check Package zerofree.i686 0:1.0.1-8.fc15 will be installed Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: zerofree i686 1.0.1-8.fc15 fedora 20 k …

Reclaim Space in a VM on Thin or Thick VMDKs Read More »

How to Rescan new LUN’s added in Linux, HP-UX, Aix, Solaris ?

HP-UX 1. Rescan the devices: ioscan -fnC <disk|tape> 2. Generate device files:  insf -e 3. Verify the new devices:  ioscan -funC <disk|tape> AIX 1. Rescan the devices ):  cfgmgr -vl fcsx Where x is FC adapter number 2. Verify the new devices:  lsdev -Cc <disk|tape> Linux The rescan in Linux is HBA-specific. For QLogic: echo …

How to Rescan new LUN’s added in Linux, HP-UX, Aix, Solaris ? Read More »

Where are yum downloaded packages saved in linux?

The packages will be saved in /var/cache/yum/<repo-name>/packages/ You have to edit the /etc/yum.conf from : keepcache=0 to : keepcache=1 keepcache=0  { Remove packages after successful instillation } keepcache=1  { Keep packages after successful instillation } [root@sip3 base]# cat /etc/yum.conf [main] cachedir=/var/cache/yum keepcache=1 debuglevel=2 logfile=/var/log/yum.log distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 bugtracker_url=http://bugs.centos.org/yum5bug # Note: yum-RHN-plugin doesn’t …

Where are yum downloaded packages saved in linux? Read More »

Scroll to Top