LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-03-2013, 08:03 PM   #1
royywalls
LQ Newbie
 
Registered: Oct 2013
Posts: 3

Rep: Reputation: Disabled
Why fdisk is not able to show device centos 6.3 ?


Hi,

I have a nvme compatible device which has size of almost 2 TB.

I was able to create a file system on this device and print the df -h output.
(please look at the /mnt/pdp/)
Code:
[root@sakplab12 ~]# df -h 
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                       50G  9.7G   37G  21% /
tmpfs                 2.9G  224K  2.9G   1% /dev/shm
/dev/sda1             477M   90M  363M  20% /boot
/dev/mapper/VolGroup-lv_home
                      406G   13G  374G   4% /home
sans120nas:/data1/data
                      1.9T  544G  1.4T  29% /data1
/dev/nvme0n1         1008G   72M  957G   1% /mnt/pdp
[root@sakplab12 ~]#
But somehow when I execute fdisk -l it doesn't appear
Code:
[root@sakplab12 work]# fdisk  -l 

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 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: 0xe045e045

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              64       60802   487873536   8e  Linux LVM

Disk /dev/mapper/VolGroup-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 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


Disk /dev/mapper/VolGroup-lv_swap: 3154 MB, 3154116608 bytes
255 heads, 63 sectors/track, 383 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


Disk /dev/mapper/VolGroup-lv_home: 442.7 GB, 442738147328 bytes
255 heads, 63 sectors/track, 53826 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

[root@sakplab12 work]#
Is that the size of the device has to do something with fdisk ?

Regards,
Royy

Last edited by royywalls; 10-04-2013 at 06:18 PM.
 
Old 10-03-2013, 08:45 PM   #2
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: PCLinuxOS 2010.12, Debian Lenny
Posts: 396

Rep: Reputation: 38
Hey Royy

First, use the code and /code tags to surround console output. Makes it easier to read as it preserves spaces.

How did you create this /dev/nvme0n1 ?

Output of "mount -l" ?

Output of "parted -l" ?

Thanks
 
Old 10-04-2013, 03:05 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,247

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Definitely use code tags https://www.linuxquestions.org/quest...do=bbcode#code and edit your first post (& put a note explaining).
Also, try this cmd
Code:
lsblk
 
Old 10-04-2013, 06:15 PM   #4
royywalls
LQ Newbie
 
Registered: Oct 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Posted with code tag

Last edited by royywalls; 10-04-2013 at 06:17 PM.
 
Old 10-04-2013, 06:17 PM   #5
royywalls
LQ Newbie
 
Registered: Oct 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Posted with code tag.
 
  


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
fdisk -l does not show Win7 host OS exus69 Linux - Newbie 3 04-21-2012 08:53 AM
[SOLVED] Adding scsi device won't show up in fdisk kongfranon Linux - Server 7 07-29-2011 02:46 PM
fdisk don't show external usb device soidamientrung Linux - Newbie 7 06-01-2010 10:35 PM
Fdisk can't show my partitiontable... anti.corp Slackware 9 11-12-2005 06:26 PM
To show all partitions(without using fdisk -l) arunshivanandan Linux - Newbie 18 08-04-2003 12:03 PM


All times are GMT -5. The time now is 07:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration