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

Re: LVM and mdadm



On Sat, 4 Apr 2015 15:09:20 +0300
Reco <recoverym4n@gmail.com> wrote:

>  Hi.
> 
> On Sat, 4 Apr 2015 13:04:16 +0200
> Petter Adsen <petter@synth.no> wrote:
> > root@fenris:~# vgdisplay -v
> >     DEGRADED MODE. Incomplete RAID LVs will be processed.
> >     Finding all volume groups
> >     Finding volume group "ROOTVG"
> >   --- Volume group ---
> > <skip>
> 
> Ok, I have a good news, and I have a bad news.
> 
> The good news are:
> 
> 1) You don't have any mirrored LVs. Such LVs are explicitly marked by
> having 'Mirrored volumes', and you have none of those.
> 
> 2) You don't seem to have a problem with your LVM configuration,
> everything appears to be in place.

Good. :)

> And the bad news are:
> 
> '-v' option misleads you.
> 
> It says that 'Incomplete RAID LVs will be processed' and other
> scary stuff regardless of presence of such LVs. It says 'DEGRADED
> MODE', even in the case there everything is OK.

Yes, I noticed that. While viewing the configuration here, the message
only came up with "-v", which I thought would be odd if it was really
serious.

> About the only way to know for sure whenever it's OK or not - is to
> carefully view the status of every VG, LV and PV.
> 
> In fact, it seems that any LVM command with '-v' option will spew such
> 'warnings'.
> 
> It's Jessie's new feature, and it seems that nobody cared about
> documenting it. Short of original bug report, of course - [1].
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=905063

OK, I didn't see that when I was searching for answers. Thank you for
taking the time anyway, it is good to know it was set up correctly,
especially since this is new to me. It would be nice if this was clear
in the man pages, though.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."

Attachment: pgpFtvOv15AoQ.pgp
Description: OpenPGP digital signature


Reply to: