[SOLVED] vgdisplay -v -D results in invalid option -D in rhel 5.5(tikanga)
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
vgdisplay -v -D results in invalid option -D in rhel 5.5(tikanga)
Hi,
Any idea when the -D option was withdrawn ? I could not find much information on this . Also, what exactly is the difference between vgdisplay -v -D and just vgdisplay -v .
Thanks,
Hartaj Singh .
Not sure exactly when it was withdrawn. But testing with/without the -D on an old RHEL 4 machine of mine; there seems to be no difference:
Code:
# vgdisplay VolGroup00
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 10
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size 279.25 GB
PE Size 32.00 MB
Total PE 8936
Alloc PE / Size 8936 / 279.25 GB
Free PE / Size 0 / 0
VG UUID bATTIh-TNs0-2H66-zQWb-16ow-SD4H-RuJmDW
# vgdisplay -D VolGroup00
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 10
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size 279.25 GB
PE Size 32.00 MB
Total PE 8936
Alloc PE / Size 8936 / 279.25 GB
Free PE / Size 0 / 0
VG UUID bATTIh-TNs0-2H66-zQWb-16ow-SD4H-RuJmDW
Thanks guys..
I did check the man page . In fact there is some difference between the -D and -d options . I found this somewhere :
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-D, --disk
Show attributes from the volume group descriptor area on disk(s). Without this switch they are shown from the kernel. Useful if the volume group isn't activated.
Thanks guys..
I did check the man page . In fact there is some difference between the -D and -d options . I found this somewhere :
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-D, --disk
Show attributes from the volume group descriptor area on disk(s). Without this switch they are shown from the kernel. Useful if the volume group isn't activated.
Hence my confusion . Any idea about this ?
There is no -D option in RHEL/CentOS. I think -D option would be in some other flavor of Linux or Unix.
Certainly NOT in RHEL/CentOS/Fedora.
There is no -D option in RHEL/CentOS. I think -D option would be in some other flavor of Linux or Unix.
Certainly NOT in RHEL/CentOS/Fedora.
Yes and No - definitely RHEL/CentOS 5 don't have a -D option. However it seems RHEL 4 did have the -D option - I have tested on an old RHEL 4 machine of mine.
Thanks guys..
I did check the man page . In fact there is some difference between the -D and -d options . I found this somewhere :
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-D, --disk
Show attributes from the volume group descriptor area on disk(s). Without this switch they are shown from the kernel. Useful if the volume group isn't activated.
Hence my confusion . Any idea about this ?
Which man page you looking at? The default man page on the RHEL 5.5 machine I looked at lacked the -D option in it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.