hard-soft links for files and directories

what is soft&hard links Hard Link acts like a mirror copy of the original file. These links share the same inodes. Changes made to the original or hard linked file will reflect in the other. When you delete Hard Link nothing will happen to the other file. Hard links can't cross file systems. Soft Link … Continue reading hard-soft links for files and directories

How to increase root file system if it’s mounted with standard partition(By extending Space on same disk)

Before adding extra disk space [root@localhost ~]# df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/sda2 ext4 8.8G 855M 7.5G 11% / devtmpfs devtmpfs 480M 0 480M 0% /dev tmpfs tmpfs 489M 0 489M 0% /dev/shm tmpfs tmpfs 489M 6.7M 483M 2% /run tmpfs tmpfs 489M 0 489M 0% /sys/fs/cgroup /dev/sda1 ext4 969M … Continue reading How to increase root file system if it’s mounted with standard partition(By extending Space on same disk)

HOW TO INCREASE ROOT FILE SYSTEM IF ITS MOUNTED ON LVM(By extending existing disk)

HOW TO INCREASE ROOT FILE SYSTEM IF ITS MOUNTED ON LVM(By extending existing disk) [root@master ~]# df -hT Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/centos-root xfs 18G 1.3G 17G 8% / devtmpfs devtmpfs 479M 0 479M 0% /dev tmpfs tmpfs 489M 0 489M 0% /dev/shm tmpfs tmpfs 489M 6.7M 483M 2% /run tmpfs … Continue reading HOW TO INCREASE ROOT FILE SYSTEM IF ITS MOUNTED ON LVM(By extending existing disk)

How to increase root file system if its mounted on lvm(Adding additional disk)

How to increase root file system Here i have attached new hard disk /dev/sdb  to increase file system size with 10 Gigs [root@puppetdb ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 25G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 0 19.5G 0 part ├─centos-root 253:0 0 17.5G … Continue reading How to increase root file system if its mounted on lvm(Adding additional disk)