March 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Categories

March 2014
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

forcefully unmount a Linux disk partition

Understanding device error busy error: What happens basically, is that Linux / UNIX will not allow you to unmount a device that is busy. There are many reasons for this (such as program accessing partition or open file) , but the most important one is to prevent data loss.

 

Try the following command to […]

Sar , mpstat , vmstat , iostat

[root@localhost optback]# sar -b 1 Linux 3.10.0-54.0.1.el7.x86_64 (localhost.localdomain) 17/03/14 _x86_64_ (1 CPU)

23:02:44 tps rtps wtps bread/s bwrtn/s 23:02:45 0.00 0.00 0.00 0.00 0.00 23:02:46 0.00 0.00 0.00 0.00 0.00 23:02:47 0.00 0.00 0.00 0.00 0.00 23:02:48 0.00 0.00 0.00 0.00 0.00 23:02:49 0.00 0.00 0.00 0.00 0.00 23:02:50 0.00 0.00 0.00 0.00 0.00 23:02:51 […]

RedHat Enterprise Linux 7.0 XFS File System

[root@localhost ~]# pvcreate /dev/sdb /dev/sdc /dev/sdd Physical volume “/dev/sdb” successfully created Physical volume “/dev/sdc” successfully created Physical volume “/dev/sdd” successfully created

  pvs [root@localhost ~]# pvs PV VG Fmt Attr PSize PFree /dev/sda2 rhel lvm2 a– 39.51g 0 /dev/sdb lvm2 a– 20.00g 20.00g /dev/sdc lvm2 a– 20.00g 20.00g /dev/sdd lvm2 a– 20.00g 20.00g

 

 

[…]