Recreating missing virtual disk (VMDK) Descriptor File Vmware

Recreating missing virtual disk (VMDK) Descriptor File Problem- You just noticed that virtual machine’s VMDK files are missing and lost somehow. The reason, not able to start VM and when you try to add existing HDD – existing VMDK and -flat. VMDK files are not available to attach with Virtual Machine too. Solution – We …

Recreating missing virtual disk (VMDK) Descriptor File Vmware Read More »

passwd: Authentication token manipulation error | RHEL 6

authentication token manipulation error is common error we use to get frequently. The problem described as below- Getting passwd: Authentication token manipulation error on  RHEL6 Machine. [root@ip-linuxbox~]# passwd user1Changing password for user user1.New password:Retype new password:passwd: Authentication token manipulation error [root@ip-linuxbox~]# passwd -u user1 [Tried to unlock the account password.] Unlocking password for user user1.passwd: …

passwd: Authentication token manipulation error | RHEL 6 Read More »

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 »

sed to play with data or parsing your text

To select all the lines starting from STARTING_PATTERN up to  blank line ^$ and then delete those lines. # sed ‘/STARTING_PATTERN/,/^$/d’ filename To edit files in place, use -i option. # sed -i ‘/STARTING_PATTER/,/^$/d’ filename Insert multiple lines into a file after specified pattern. # sed ‘/cdef/r add.txt’ input.txt # sed ‘/cdef/r add.txt’ input.txt input.txt:abcdaccdcdeflineweb …

sed to play with data or parsing your text 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 »

Scroll to Top