LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 03-15-2024, 10:43 AM   #1
vasanthsherly
LQ Newbie
 
Registered: Mar 2024
Posts: 3

Rep: Reputation: 0
Partition Issue


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.

Need support to fix this issue,
 
Old 03-15-2024, 12:37 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Fine. Now what does "lsblk -f" report for that device, and does "pvscan --cache" see the LVM volume?
 
Old 03-16-2024, 12:08 AM   #3
vasanthsherly
LQ Newbie
 
Registered: Mar 2024
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Rknichols

Thanks for your email. I will explain this in detail below.

* We are using StoreTrends storage with SAN "16 Volumes".

* All those volumes are mounted through the ISCSI initiator in the Dell Physical server "Centos 5.11."

* Out of 16 Volumes, 2 Volumes are not able to mount. I can see the disk in fdisk-l. But in PVS VGS & LVS it is not showing.

Also, I tried the commands "lsblk -f" & "pvscan --cache" this command is not available in the "Centos 5.11."

CAN I TRY TO MOUNT THE PROBLEM STORAGE VOLUME TO ANOTHER LINUX CENTOS 7.9 SERVER?.

Need your further support.

Regards
Vasanth Sherly

Last edited by vasanthsherly; 03-16-2024 at 02:06 AM.
 
Old 03-16-2024, 09:05 AM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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.
 
Old 03-18-2024, 01:41 AM   #5
vasanthsherly
LQ Newbie
 
Registered: Mar 2024
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Rknichols,

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.
****************************************************************************
=================================================================================

Regards
Vasanth Sherly
 
Old 03-18-2024, 01:57 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by vasanthsherly View Post
Hi Rknichols,

This is to inform you that we have fixed the issue.
Good to hear that. Please mark the thread as solved.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind issue? DNS issue? Domain provider issue? Cannot reach Apache virtual hosts internally. rnturn Linux - Networking 5 01-26-2020 10:35 AM
How to re-size root partition without loosing any data if the root partition is immediately followed by swap partition thebiggiantmouse Linux - Hardware 16 09-25-2019 12:06 PM
Fedora 13 Installation issue -- Unable to install multiple linux distributions ---partition issue navneethr Linux - General 6 12-22-2010 11:17 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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