LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-26-2011, 05:57 PM   #1
dtd646
LQ Newbie
 
Registered: Apr 2010
Posts: 18

Rep: Reputation: 0
Creating partition for additional lun


I am using NFS to mount large LUNs from my SAN. I have one already setup and configured. I am adding an additional partition from the same SAN but I am confused on the setup. I know the LUN is connecting to my NFS server correctly because I see it listed in my /proc/scsi/scsi as an additional LUN. What I don't see is the drive being displayed in fdisk -l.

I did notice one thing though, when I disable the host mapping from the SAN, my disk information changes from /dev/sdb TO /dev/sdc (see changes below)

-------------------------------------------------------
Without host mapping to SAN:

Disk /dev/sda: 13999.0 GB, 13999026470912 bytes
255 heads, 63 sectors/track, 1701951 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 1 267350 2147483647+ ee GPT
/dev/sda2 1 97855 786019519+ 83 Linux

Partition table entries are not in disk order

Disk /dev/sdb: 146.0 GB, 145999527936 bytes
255 heads, 63 sectors/track, 17750 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000669e4

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 32 248832 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 32 17750 142325761 5 Extended
/dev/sdb5 32 17750 142325760 8e Linux LVM

---------------------------------------------------------------------
With host mapping to SAN:

Disk /dev/sda: 13999.0 GB, 13999026470912 bytes
255 heads, 63 sectors/track, 1701951 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 1 267350 2147483647+ ee GPT
/dev/sda2 1 97855 786019519+ 83 Linux

Partition table entries are not in disk order

Disk /dev/sdc: 146.0 GB, 145999527936 bytes
255 heads, 63 sectors/track, 17750 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000669e4

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 32 248832 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdc2 32 17750 142325761 5 Extended
/dev/sdc5 32 17750 142325760 8e Linux LVM

How do I partion this second LUN?

Thanks in advance!
 
Old 05-01-2011, 04:10 AM   #2
droyden
Member
 
Registered: Feb 2007
Location: UK
Posts: 150

Rep: Reputation: 19
Try to run a partprobe to scan for the new device
 
1 members found this post helpful.
Old 05-06-2011, 12:33 PM   #3
dtd646
LQ Newbie
 
Registered: Apr 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Found the solution to this. Wasn't an OS problem. The problem was on the SAN that I was using. My SAN has 2 controllers but I am currently only using controller A. So, when I created the new array and logical drive, the path was being defaulted to controller B, even though it wasn't plugged in. The LUN information got passed to the OS through controller A, which is what I was seeing BUT the path to the LUN wasn't available.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
creating additional textures in wings 3D Simon Bridge Linux - Software 1 06-14-2008 06:03 AM
LUN Device Mapping: 2 devices map to same lun DantePasquale Linux - Distributions 0 09-24-2007 03:59 PM
Can't create additional partition using diskdruid.... chickenjoy Linux - Newbie 3 09-17-2007 09:55 AM
additional partition: reisefts OR ext2 ic_torres Slackware 7 12-21-2005 12:38 AM
Creating additional windows with python+tkinter firefly2442 Programming 1 07-13-2005 01:30 AM

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

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