LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-26-2017, 09:03 AM   #16
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669

What I was saying by "entire disk" meant the disk without using ANY partitions. (In this context by "disk" I mean each LUN presented from your Array.) What you show in fdisk -luc output is that you did create partitions so are not using the "entire disk". My previous point was if you're using LVM for the devices you don't need to put a partition on them as you can use the entire disk as a PV rather than having to use a single partition that has all the space.

You say you used fdisk to parition the sd device then used parted on the mpath. Both fdisk and parted are partitioning tools. I was saying I found issues partitioning the mpath device and on researching it when I ran into it the suggestion was to NOT partition the mpath device but instead partition the underlying sd device then use partprobe and the flush to make sure all related devices see the partitions created that way.

Your fdisk -luc shows a couple of disks where the partition type is "Microsoft basic primary". I'm wondering if those are the ones you're having an issue with. If you notice your other partitions are type "Linux filesyste" instead.
 
Old 10-27-2017, 06:21 AM   #17
h1tchiker
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Hi MensaWater,

Sorry for the miss understanding. So from what you are saying then potentially it is the way that I created the partitions that could be the issue

No the Microsoft Partitions are from where I connected the iSCSI to a Windows Server and formatted the disks using Windows NTFS for some file storage. The others are VMFS5, I have the same issue with all of them
 
Old 10-27-2017, 10:36 AM   #18
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Just to be clear I wasn't saying you can't use partitions. You can. I was just saying it isn't necessary if your intent is to use the entire disk as an LVM PV in a single VG. Having a partition in and of itself isn't a problem but does complicate the setup a bit so I was saying you could do without the single partition.

IF you do use a partition (which again I'm saying shouldn't be necessary), the rest of what I was saying about was saying to create only using the /dev/sd* device and NOT the /dev/mapper/mpath* or /dev/dm-* devices. Using the partprobe and the flushbufs should make the partitions automatically populate for the /dev/mapper/mpath* and /dev/dm-* devices from what is discovered in the associated /dev/sd* device. You should not have to be creating any links yourself.
 
  


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] CentOS 6.6 multipath filling /var/log/messages usao Linux - Server 3 04-14-2017 08:50 AM
how to make device mapper multipath pseudo name consistence through reboot robertngo Linux - Server 1 06-29-2009 05:24 AM
wifi0 and ath0 device not present after reboot Gamock Mandriva 1 03-27-2008 11:12 PM
CentOS - libsysfs.so.1 & /sbin/multipath Boby Red Hat 0 01-04-2006 10:51 PM

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

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