[SOLVED] knowing about partitions in fdisk command
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.