Friday, November 29, 2013

LTFS Oracle/Centos/Redhat  Linux 


1. Dovnload "Single Drive Edition"/SDE LTFS driver and LTFS filesystem utilities from IBM use link Download driver  or Google "Downloading LTFS"

2. Install FUSE support 
yum install fuse-libs.x86_64 fuse.x86_64

3. Install LTFS File system 
rpm -iv ltfs-*.rpm

4. Insert tape to  LTO drive 

5. mount LTFS ilesystem.
ltfs -o devname=/dev/IBMtape0 /LTFS/

Mounting a XEN/KVM/QEMU Image on ARCH Linux


Attach image 

#Load nbd driver
modprobe nbd max_part=8

#Attach system image 
qemu-nbd --connect=/dev/nbd0  System.img

#Mount Second partition
mount /dev/nbd0p2 /media

Release image


#Umount partition 
umount /media/

#Remove image 
qemu-nbd  -d /dev/nbd0

#Remove driver 
modprobe -r nbd