LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-10-2015, 11:17 AM   #16
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73

Hmm, very strange, can you also paste the output of the command:

Code:
cat /proc/partitions
You are right, the disks are not there, but I cant understand why, just that fdisk doesn't see them as disks. My issue also here is that in comment #10 you have 5 disks, but in comment #15 way more then that. Are you giving us the output from the same machine?
 
Old 10-11-2015, 04:52 AM   #17
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Thank you for the fdisk -l output. The thing that leaps out at me is
Code:
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sdb doesn't contain a valid partition table
That answers the problem raised in post #1. sdd has to be repartitioned, or go at it with testdisk.

All the other ones(sdf, sdg, sdh, sdi, sdk, sdl, sdm, sdn, sdp, &sdq) seem to be configured as one massive drive.
 
Old 10-12-2015, 01:15 AM   #18
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
Quote:
Originally Posted by business_kid View Post
Thank you for the fdisk -l output. The thing that leaps out at me is
Code:
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sdb doesn't contain a valid partition table
That answers the problem raised in post #1. sdd has to be repartitioned, or go at it with testdisk.

All the other ones(sdf, sdg, sdh, sdi, sdk, sdl, sdm, sdn, sdp, &sdq) seem to be configured as one massive drive.
Yes, but when I search for them, they didn't pop out. The strange part is 'why don't they have partition?' as the other 2 drivers which are part of the same multipath device do.
 
Old 10-12-2015, 12:08 PM   #19
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,278

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
If you don't have partitions, you don't need a partition table. Common examples are usb boot images, which overwrite the partition table,

/dev/sda = disk
/dev/sda1 = a partition

If you have no partition table, you just address the disk.
cp -a <all my files> /dev/sda or whatever.
 
Old 10-12-2015, 01:11 PM   #20
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
Quote:
Originally Posted by business_kid View Post
If you don't have partitions, you don't need a partition table. Common examples are usb boot images, which overwrite the partition table,

/dev/sda = disk
/dev/sda1 = a partition

If you have no partition table, you just address the disk.
cp -a <all my files> /dev/sda or whatever.
I think you misread the results, the guy reported that /dev/sdc and /dev/sde are not visible in 'fdisk -l' output and the only visible ones are /dev/sdb and /dev/sdd. So 2 block devices of the multipath device are not visible in 'fdisk -l' which is not normal.

Not sure what does sda or anything else have to do with that?
 
Old 10-13-2015, 03:14 AM   #21
voleg
Member
 
Registered: Oct 2013
Distribution: RedHat CentOS Fedora SuSE
Posts: 354

Rep: Reputation: 51
You should no use /dev/sdXX when using multipath. You should use /dev/mapper/whatever.
I do not recommend you make partitions on external LUNs, use whole device (/dev/mapper/mpathXX)
as PV for creating VG. More of that, you have to fix "filter" in /etc/lvm/lvm.conf to mask all
not multipath devices, otherwise LVM can use any single path to work by mistake.

I have memo HOWTO LUNs on Linux using native tools. This example based on NetApp LUNs, however it good for EMC too.
 
Old 10-20-2015, 05:02 AM   #22
asar2121
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
Try restarting iscsi daemon and multipathd services in linux machine. Please post the outputs of below command and search for errors or warning in /var/log/messages. If you found anything related to this in /var/log/messages. Please post the same....

#lsblk
#multipath -ll
 
  


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
[SOLVED] Multipath issue geekslinux Linux - Server 12 04-18-2014 12:22 AM
multipath issue with scsi skaushal_lk Linux - Newbie 3 02-16-2013 05:18 PM
multipath kefer Linux - Server 2 02-09-2012 09:44 AM
multipath issues sunil456 Linux - Software 1 12-13-2011 07:33 AM
dm-multipath earlysame55 Red Hat 3 05-09-2009 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:26 AM.

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