LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 03-17-2010, 04:01 AM   #1
noir911
Member
 
Registered: Apr 2004
Location: Baltimore, MD
Posts: 681

Rep: Reputation: Disabled
SAN LUN disk space and /dev/dm-5


I got some space from a SAN LUN to a redhat box. If I do "fdisk -l", I can see the disk size under various /dev/* like /dev/hda, /dev/hdd, /dev/dm-4, /dev/dm-5. I made a Linux partition on the /dev/dm-5 which became /dev/dm-5p1 but I cannot see the file /dev/dm-5p1 anywhere in the system. What is the /dev/dm-5p1 and how can I actually see it?

Thanks.
 
Old 03-17-2010, 11:59 AM   #2
cardy
Member
 
Registered: Jan 2005
Location: Shropshire, England, UK
Distribution: RedHat, Fedora, CentOS..........
Posts: 121

Rep: Reputation: 19
The dm- devices are part of the device mapper system. They are not how I would recommend accessing the disks that you have been allocated.

I would suggest that first you look at the output of the command

Quote:
dmesg
This should show you what hardware changes the kernel has seen including detecting the SAN disks and usually what device has been assigned.

I would expect there to be something showing the drive being detected and normally you would get a device such as

Quote:
/dev/sda
assigned to the first disk (note: this may be sdb sdc .... etc depending on the hardware that is local to your server so be careful).

You can also look at

Quote:
cat /proc/partitions
Which will show the drives and partitions the system can see. You will get an output similar to the list below but which will vary dependant upon your hardware.

Quote:
# cat /proc/partitions
major minor #blocks name

8 0 976761527 sda
8 1 200781 sda1
8 2 976559220 sda2
8 16 976761527 sdb
8 17 200781 sdb1
8 18 976559220 sdb2
The disks above are split into 2 partitions on each disk (note that the numbers are disk/partition sizes and the 2 disks above are identical in size)

If you can post more information from dmesg and the /proc/partitions file it should be easier to identify what hardware your OS is seeing.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove disk space in /dev/sda8 to increase the /dev/sda7 centguy Linux - Software 16 11-27-2008 06:05 PM
Need to add a disk space to my cluster that is on SAN (/dev/dm-*) chrysek Red Hat 1 01-02-2007 12:56 PM
Hot-add SAN LUN dcostakos Linux - Hardware 5 03-11-2005 01:16 PM
SAN LUN device order jhumeston Linux - Enterprise 3 07-29-2004 07:24 PM
SAN LUN disk device order jhumeston Linux - Software 1 07-28-2004 06:02 PM


All times are GMT -5. The time now is 06:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration