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

remote Desktop on centos 4remote Desktop on centos 4

Sometime we may want to access to window based remote desktop while we are on linux. to do that.. either we use VNC.. or RDP ( Remote Desktop Protocol).. Related posts: Triple boot with Dell Latitude D630 . ( Vista, Windows XP , Centos 5.1 ) How to use SSH to forward X into local How