LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2018, 07:22 AM   #1
czezz
Member
 
Registered: Nov 2004
Distribution: Slackware/Solaris
Posts: 924

Rep: Reputation: 43
LVS missing attribute "o"


Hi,
can any please help me to set up/add attribute "o", so in that logical volume looks like following (see Attr colume):
Code:
lvs --segments -v /dev/mapper/rhel-docker--pool
    Using logical volume(s) on command line.
  LV          VG   Attr       Start SSize #Str Type      Stripe Chunk
  docker-pool rhel twi-aot---    0  9.27g    1 thin-pool     0  512.00k
So far I managed to recreate logical volume with all other attributes but im still missing "o" (6th bit):

Code:
lvcreate -L 9.27G --zero n --thinpool docker-pool -n docker-pool rhel

lvs --segments -v /dev/mapper/rhel-docker--pool
  LV          VG   Attr       Start SSize   #Str Type      Stripe Chunk
  docker-pool rhel twi-a-t---    0  9.27g      1 thin-pool     0  64.00k
[UPDATE]
I have just found it out that attribute "o" means that the volume is mounted!
mount /dev/mapper/rhel-docker--pool /whatever will automatically set this flag/bit to "o".

Last edited by czezz; 07-11-2018 at 07:33 AM.
 
Old 12-10-2020, 11:42 AM   #2
stampede
LQ Newbie
 
Registered: Dec 2018
Posts: 18

Rep: Reputation: Disabled
Thumbs up o attribute

Thank you czezz! This saved me last night, can't thank you enough for returning to your question and posting the answer. There are surprisingly few notes on this online.

I had an app team getting on my case why the attributes were different between two Kube hosts, after they started up the service and it began using the storage pool the pool got the o attribute and everyone was happy.
 
  


Reply



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
smartctl- "Unknown_Attribute" and Missing "Current_Pending_Sector" Attribute SwapLink General 2 02-07-2017 09:43 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." davcefai Debian 1 02-15-2014 03:11 AM
update problem "Attribute error object has no attribute 'rsplit' ruse Linux - Newbie 0 08-28-2009 01:46 AM
LVs not mounting on boot-up without manually running "vgscan" first thechic Red Hat 4 10-01-2008 10:36 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:56 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
Open Source Consulting | Domain Registration