Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Hi, I have mounted the volume using the ISCSI target. After restarting the server, the ISCSI volume was not mounted.
I have done the below steps.
1. "iscsiadm -m discovery" - Able to see the IQN targets.
2. "iscsiadm -m node --target name - login" - it is connected and log in.
3. Then I can see the volume in the fdisk-l command, but I am not able to see the PV, VG, & LV.
I did a test install of CentOS 5 in a VM, and indeed that ancient system (nearly 10 years past EOL) lacks an "lsblk" command. You can try the "blkid" command as a substitute. But, there should certainly be a "pvscan" command in /sbin. Perhaps you were not trying that as root. A missing "pvscan" command would explain why you are not seeing any of your LVM volumes.
I would certainly expect a CentOS 7.9 system to recognize those volumes.
This is to inform you that we have fixed the issue. Please find the details below.
The problematic volume is 11TB. Initially, we created the partition through the GDISK command.
Now, we have checked the disk with the GDISK command and found the error "GPT: damaged".
Then, we ran the GDISK recovery option and fixed the issue. Finally, the state changed from "GPT: damaged" to "GPT: Present."
===============================================================================
gdisk /dev/sdw
GPT fdisk (gdisk) version 0.6.10
Caution! After loading partitions, the CRC doesn't check out!
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
=================================================================================
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.