[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Recovery of data in LVM from a corrupt disk



I guessed what you needed (in AIX terminology) is
shrinkvg and then release disk space to create another
new volume group(VG).

It is much better than doing those (migratevg or
migrate fs) from one vg to another vg.

Michael is right that LVM is a software raid. VG is
the grouping of all the disk drives together. Where
File System is not dependent on the VG. 

Whilst it is even back up the impacted file system to
tapes, destroy the file system, logical volume and
volume group. Then restore the file system after the
VG, LV and FS been created. It will maximumize the
disk throughput and reduce the seek time.


--- mymail mymail <internetbizmail yahoo com> wrote:

> 
> 
> Michael Loftis <mloftis wgops com> wrote: 
> LVM is not a filesystem, it's a block device layer. 
> If you're 
> running/using LVM on the existing system it's vgscan
> and vgchange on 
> startup should have activated all the old LVs/VGs
> and mapped them to 
> /dev/VGNAME/LVNAME -- those are the devices you
> mount.
> Thanks.
> 
> I realise this. But the disk I'm trying to mount is
> built the same way as the new disk I've built. So
> the both have a VolGroup00. What I would like to do
> is to either understand how I can change the volume
> group info so it will become a distinct volume
> group, and then I can 'import' this into my new
> environment, or how I can get into the block system
> so I can access the filesystem structure it embeds.
> 
> This is where I'm struggling. I would like to create
> a VolGroup01 device file, rename the volume group
> within the physical volume, and then mount that. Is
> it possible to 'hack' the old drive like this?
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com >
_______________________________________________
> linux-lvm mailing list
> linux-lvm redhat com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at
http://tldp.org/HOWTO/LVM-HOWTO/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]