Archive for the ‘Volume management’ Category

How to mount SFTP share in remote Linux machine

sftp
This could be implemented with FUSE and SSHFS. Download path: http://fuse.sourceforge.net/sshfs.html 1. FUSE package: fuse-2.8.5.tar.gz Extract and install #tar xvf fuse-2.8.5.tar.gz #cd fuse-2.8.5 #./configure #make #make install After successful installation,install SSHFS 2.SSHFS Full story

Create Logical volume (LVM2)

Linux
First we need to find out which disks and partitions are being used. So we could use the following commands #df -h #fdisk -l Now we can start the lvm implementation,we have two unused partitions /dev/sda3 and /dev/sda4 In logical volume creation,need to the following  sequence create physical volume create volume group create logical volume 1.Create physical volume      #pvcreate /dev/sda3 #pvcreate /dev/sda4 Verify the volumes with pvdisplay command #pvdisplay 2.Create volume group #vgcreate test_volume /dev/sda3 /dev/sda4 #vgchange ... Full story

How to mark volume groups as active/inactive

mark volume groups as active/inactive
Use lvscan command to get list of volumes #/usr/sbin/lvscan the output will be ACTIVE '/dev/Linux_volume/LogVol00' inherit ACTIVE '/dev/Linux_volume/LogVol02' inherit ... Full story
Copyright © 2012 CoreTimer.com|System Admin’s Reference. All rights reserved.

Switch to our mobile site