LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-27-2012, 10:59 AM   #1
GenericLinuxUser
LQ Newbie
 
Registered: Mar 2012
Posts: 8

Rep: Reputation: Disabled
what does "Wiping cache of LVM-capable devices" mean in pvs?


Hi, I am trying to find the meaning behind "Wiping cache of LVM-capable devices" in pvs. As I understand it (and as man says) pvs is a report about physical volumes. When you do a verbose listing for all (pvs -av) you get this message at the beginning. There is very little info that I can find on the LVM cache, what exactly is the LVM caching? Is it data regarding the LVM's and each "cache flush" rebuilds some sort of database? Am I affecting my volumes using pvs?
 
Old 04-28-2012, 11:35 PM   #2
polpak
Member
 
Registered: Jan 2011
Location: Planet Earth, Australia, NSW
Distribution: openSUSE Leap 42.1 (x86_64)
Posts: 112

Rep: Reputation: 9
removed oops.

Last edited by polpak; 04-28-2012 at 11:36 PM.
 
Old 04-29-2012, 09:04 AM   #3
GenericLinuxUser
LQ Newbie
 
Registered: Mar 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Talking re: what does "Wiping cache of LVM-capable devices" mean in pvs?

Nothing but an oops so far? Its great that my question is #2 on Google for "Wiping cache of LVM-capable devices", now perhaps we can get some information?
 
Old 04-30-2012, 06:29 AM   #4
polpak
Member
 
Registered: Jan 2011
Location: Planet Earth, Australia, NSW
Distribution: openSUSE Leap 42.1 (x86_64)
Posts: 112

Rep: Reputation: 9
The wikipedia artile:

http://en.wikipedia.org/wiki/Logical...er_%28Linux%29

includes reference tp :

http://www.markus-gattol.name/ws/lvm.html

This seems provide good explanation of LVM, with various images and examples :-)



Quote:
LVM Components

With Linux, the LVM is structured in three elements:

Volumes: physical and logical volumes and volume groups
Extents: physical and logical extents
Device mapper: the Linux kernel module
Quote:
vgscan - Scan all disks for volume groups and rebuild caches.


Quote:
Lines 99 to 103 show another quite interesting/important command vgscan scans all disks for volume groups and rebuilds caches. Here is the rationale for line 99: I am using an external USB (Universal Serial Bus) HDD (Hard Disk Drive) for this article i.e. what can be seen in line 13 to 15 are physical partitions on this HDD. Since I turn this HDD off over night (I went to bed between lines 98 and 99 i.e. turned off the external HDD and subnotebook), I need to issue vgscan in order to rescan for VGs otherwise only vg0 on my subnotebook would be known to the system.


Am NON-technical, so my guess, reads as though cache refers to data-block addresses stored in cache=memory needing be refreshed from time to time so as to keep track of where everything is. Add a new computer with HD's required LVM learning where in new pc all the components were, then storing their address details in memory to enable speedy access.

Guess, wiping the cache means replacing current LV Memory using new scan results of where everything is stored.





.
 
Old 04-30-2012, 02:09 PM   #5
GenericLinuxUser
LQ Newbie
 
Registered: Mar 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
thanks polpak, I appreciate the effort but I too came to the same guess more or less, I was mostly hoping for confirmation that I am indeed not affecting the LVM's, seeing a "wiping" message make some people nervous
 
  


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
CrunchBang 10 "Statler" r20110207 Install Hangs "Detecting Network Devices" jv2112 Linux - Newbie 2 05-04-2011 06:48 PM
virtual "web" server for internet capable devices unclejed613 Slackware 1 08-11-2010 03:15 PM
Best way to simulate data loss, corruption, partition wiping, etc & then "rescue" it? linus72 Linux - General 8 06-28-2009 07:26 PM
problem with geraphic card :"(EE) AIGLX:screen 0 is not dri capable" a.dehqan Linux - Desktop 3 09-22-2008 04:53 PM
Error message "Nautilus has no installed viewer capable of displaying" oracle_37 Linux - Software 1 08-02-2003 02:27 AM


All times are GMT -5. The time now is 04:26 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