AIDE is a powerful package for checking integrity of files on a machine/system. Prerequisites : Just aide package. [root@sunny ~]# yum install aide -y Loaded plugins: refresh-packagekit, rhnplugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package aide.x86_64 0:0.14-3.el6 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: aide x86_64 0.14-3.el6 local 123 k Transaction Summary =============================================================
Assuming that you have already created a physical volume ==> volume group. If not then click here..... Now firstly create a logical volume. Check the free space in your volume group by firing a command in terminal as vgdisplay VOLUMEGROUP NAME. [root@sunny ~]# vgdisplay vg_sunny --- Volume group --- VG Name vg_sunny System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size 14.51 GiB PE Size 4.00 MiB Total PE 3714 Alloc PE / Size 3204 / 12.52 GiB Free PE / Size 510 / 1.99 GiB VG UUID XdBCWB-sQw5-JQvn-v0an-VOWi-fIs9-Q7uEmm This command shows that in this volume group we still hav
Harddisk : It is a storage device which is used to store any kind of data, Currently there are two types of HDD available in market: SATA (Serial Advanced Technology Attachment). PATA (Parallel Advanced Technology Attachment). So the basic command to check your file system structure is fdisk -l, it will show you list of your harddisk's partition table. For more information on this you can see its man page by firing a command as man fdisk. Usually when a hard disk is inserted in a machine it acts like a file and is stored in /dev partition. So suppose that there are 3 hard disk in your machine then there naming convention would be /dev/sda (for the first HDD), /dev/sdb (for the second HDD), /dev/sdc (for the third HDD). parted : Stands for GNU Parted - a partition manipulation program, it is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, linux-swap,FAT, FAT32, and reiserfs partitions. It can c
Comments
Post a Comment