LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2011, 07:08 AM   #1
bornforlinux
LQ Newbie
 
Registered: May 2011
Posts: 6

Rep: Reputation: Disabled
Thumbs up About LVM


I want to know more about /etc/lvm/archieve. What are the files present in above location and what info they provide to us?
 
Old 05-29-2011, 08:31 AM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
Welcome to LQ!


It is an archive of LVM2 configurations observed on the system.

The files present tend to be N-2 and older versions of the LVM-MetaData for a given VolumeGroup.

When you run an lvm command that will change the layout of the PV/VG/LV and, subsequently, the metadata, the backup copy of the VG is transitioned from /etc/lvm/backup/VGname to /etc/lvm/archive/VGname_#####.vg, the on-disk metadata is then copied to /etc/lvm/backup/VGname and the on-disk metadata is updated with the command executed. There is a little more that goes on, but that's the gist of it.

It provides a historical reference for the LVM2 configuration(s) known to the system. The files are plain-text and may be viewed with common editors (vi, nano, emacs) or pagers (less, more, cat). The information contained within the files is that of the LVM2 VolumeGroup's layout at the time the file was generated.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM REDUCE HOW TO UNMOUNT /dev/volumegroup/lvm crahuldba@gmail.com Linux - Newbie 3 10-29-2010 07:49 AM
Adding an LVM hard disk to a system already running/using LVM firewiz87 Linux - Hardware 5 08-15-2010 12:59 AM
lvm ontop of raid10 or combine two raid1 via lvm? okar Linux - Server 3 09-11-2009 02:37 PM
LVM and multiple iSCSI disks performance of LVM xxx_anuj_xxx Linux - Server 4 05-01-2008 12:26 PM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration