Namran Hussin Linux Logical volume re-mounting..

Logical volume re-mounting..

connect the additional hardisk..
and figured that it is a linux partition…

what should we do to see the files  is ..


vgscan

[root@localhost ~]# vgscan
  Reading all physical volumes.  This may take a while…
  Found volume group “VolGroup01” using metadata type lvm2
  Found volume group “VolGroup00” using metadata type lvm2


lvscan  

[root@localhost ~]# lvscan
  inactive          ‘/dev/VolGroup01/LogVol00’ [74.19 GB] inherit
  inactive          ‘/dev/VolGroup01/LogVol01’ [1.94 GB] inherit
  ACTIVE            ‘/dev/VolGroup00/LogVol00’ [2.47 GB] inherit
  ACTIVE            ‘/dev/VolGroup00/LogVol01’ [512.00 MB] inherit


vgchange -a y


lvscan

should see all active. 

mkdir /media/test
mount /dev/VolGroup01/LogVol00' /media/test

cd /media/test


ls
should be able to see all the files..

Leave a Reply

Your email address will not be published. Required fields are marked *


Related Post

VSFTP in CentOS 64-bit : PAM [error: /lib/security/pam_userdb.so: wrong ELF class: ELFCLASS32]VSFTP in CentOS 64-bit : PAM [error: /lib/security/pam_userdb.so: wrong ELF class: ELFCLASS32]

After setting up the vsftp to use PAM as auth. Somehow having the following error appeared in tail -f /var/log/secure Sep 21 09:47:45 g-server vsftpd: PAM [error: /lib/security/pam_userdb.so: wrong ELF