LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-22-2014, 02:44 AM   #1
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Rep: Reputation: Disabled
knowing about partitions in fdisk command


Hi, i am using centos 6 x64.

Here is my fdisk table

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          32      256000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              32        6560    52428800   83  Linux
/dev/sda3            6560        7082     4194304   82  Linux swap / Solaris
/dev/sda4            7082       14588    60296192    5  Extended
/dev/sda5            7082       14588    60295168   8e  Linux LVM

I want to know where sda5 is mounted.

my mount points are

Code:
[root@swift ~]# mount
/dev/sda2 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
/dev/mapper/VolGroup-LogVol00 on /home type ext4 (rw)
/dev/mapper/MYSQLDATA-mysqldata on /MYSQL type ext4 (rw)
/dev/mapper/DATA-data on /data type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sde1 on /mnt type ext3 (rw)
 
Old 12-22-2014, 03:17 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by sachin.davra View Post
Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          32      256000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              32        6560    52428800   83  Linux
/dev/sda3            6560        7082     4194304   82  Linux swap / Solaris
/dev/sda4            7082       14588    60296192    5  Extended
/dev/sda5            7082       14588    60295168   8e  Linux LVM
I want to know where sda5 is mounted.
nowhere, actually, because it isn't a file system of its own. Instead, it's a container for volumes controlled by the LVM, a bit like the extended partition in /dev/sda4, which is also just a container - you won't find /dev/sda4 mounted anywhere. Looking at the list of your mount points, I see:

Code:
/dev/mapper/VolGroup-LogVol00 on /home type ext4 (rw)
/dev/mapper/MYSQLDATA-mysqldata on /MYSQL type ext4 (rw)
/dev/mapper/DATA-data on /data type ext4 (rw)
These seem to be the volumes contained in /dev/sda5.

[X] Doc CPU
 
Old 12-22-2014, 03:27 AM   #3
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Doc CPU View Post
Hi there,



nowhere, actually, because it isn't a file system of its own. Instead, it's a container for volumes controlled by the LVM, a bit like the extended partition in /dev/sda4, which is also just a container - you won't find /dev/sda4 mounted anywhere. Looking at the list of your mount points, I see:

Code:
/dev/mapper/VolGroup-LogVol00 on /home type ext4 (rw)
/dev/mapper/MYSQLDATA-mysqldata on /MYSQL type ext4 (rw)
/dev/mapper/DATA-data on /data type ext4 (rw)
These seem to be the volumes contained in /dev/sda5.

[X] Doc CPU


I got your point. Actually there are more couple of disks which are formated as lvm. I checked those. Thanks for your valuable time. It resolved my querry.
 
  


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
command for knowing which linux is running...? mitesh.ever Linux - Newbie 11 10-04-2008 09:30 AM
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 10:26 PM
FDISK does not let me create partitions millikin691@hotmail. Slackware - Installation 54 08-28-2006 08:04 PM
How do you make three partitions using fdisk? inward_eye Linux - Hardware 9 04-20-2004 04:13 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 06:57 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