Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help needed to understand partitions in linux Post 302415684 by pinga123 on Friday 23rd of April 2010 06:19:25 AM
Old 04-23-2010
Help needed to understand partitions in linux

Hi guys,

It has been more than 2 month i switched to linux but i m still very much confused how linux handles and names the partitions.

I have gone through couple of beginners material and found linux doesnt treat partitions as c: and d: instead it uses /dev/hda1 /dev/hda2 hda3 .But now i have come across something like dev/sda1 dev/sda5 tmpfs

Please find output of df -h
PHP Code:
 [root@test ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             3.9G  867M  2.9G  24% /
/
dev/sda1              99M   45M   49M  48% /boot
tmpfs                 285M     0  285M   0
% /dev/shm
/dev/sda5             1.1T  561G  544G  51% /var/ovs/mount/F179080BDBFD4C5596D03242EFE5179C 
I have few questions regarding the same.
1)Why there is no sda2 sda 4 present?
2)What is tmpfs ?
3)What is the difference between sda and hda
4)I also heard there is something as LVM.(How do i know whether my drives are LVM supported or not?
If they are supported how do i extend the drives.

I know these are pretty basic for advance user but i m still a learner in linux . Please help.
 

9 More Discussions You Might Find Interesting

1. Linux

File Sharing among NTFS Partition & RH Linux 9 Partitions

Well Guys, will anybody solve my problem? I have installed Win XP and RH Linux 9 (Dual Boot) on an Intel x86 Machine. Everything is going fine except that I cannot share files among the two operating systems. For example, if I download a PDF file from internet and save it in my Win XP partition... (1 Reply)
Discussion started by: Jawwad
1 Replies

2. Gentoo

I want to learn & understand all abt LINUX

Salute 2 All. I am totally unknown in LINUX glaxy. There is any one whu can let me know abt LINUX. There is any one whu have a few time to help me for teaching LINUX I want to learn & understand all abt LINUX (5 Replies)
Discussion started by: AhsanPrince
5 Replies

3. Linux

grub error 22,after removing linux partitions only windows is threre.Pc not booting.i

hi, in my pc linux and windows was there with 2 hdd in raid.i removed linux partititons.Now my ps is not booting giving grub error 22.Nothing works.I hace my data in windows.Hard disks are RAID.when tried to go to recovery mode from windoes boot cd,it says hard disk not detected.when tried with... (2 Replies)
Discussion started by: pankajd
2 Replies

4. Shell Programming and Scripting

help needed to understand the process entry in ps -ef

Hi Guys, I am running a script which will refresh the views in my database. After running the script, when i ran ps -ef | grep "script_name" I found there are two entries for the same script process (actually 3 including the grep process). /bin/ksh path/scriptname sh -c... (4 Replies)
Discussion started by: mac4rfree
4 Replies

5. Linux

What is the minimum number of partitions you need to install Linux?

I think its 3. Just to know if I am correct. / /boot swap :confused: (2 Replies)
Discussion started by: nitin09
2 Replies

6. UNIX for Dummies Questions & Answers

Linux Tutorial Needed

Hi guys , I m new to linux and would like to buy some quality video tutorials . Request you to guide me any good source for programming(C,Java,VB) or linux tutorials. Tutorials should be known and good like lynda.com (5 Replies)
Discussion started by: pinga123
5 Replies

7. UNIX for Dummies Questions & Answers

LINUX to UNIX... changes needed?

I developed the following in LINUX: cat monica.txt | sed 's/;;;/\n;;;/g'> fixed.txt csplit -f comment -n 4 fixed.txt '/;;;/' {*} Basically, I want it to take the file monica.txt and put every instance of ;;; on a new line and put it in fixed.txt, then split fixed.txt at every instance of ;;;... (13 Replies)
Discussion started by: mschpers
13 Replies

8. Linux

Linux partitions and limitations

In recently reading an article on linux basics before I embark and my personal installation project I came across this passage - IDE drives have three types of partition: primary, logical, and extended. The partition table is located in the master boot record (MBR) of a disk. The MBR is the... (12 Replies)
Discussion started by: Synchlavier
12 Replies

9. UNIX for Beginners Questions & Answers

How to check used space for each partitions in Linux?

we are using Disk utilization and filesystem utilization seperately. In AIX using $lsvg rootvg datavg $lspv hdisk1 PHYSICAL VOLUME: hdisk1 VOLUME GROUP: datavg PV IDENTIFIER: 00f65eab7acabb17 VG IDENTIFIER 00f65eab00004c00000001567b60a848 PV STATE: ... (3 Replies)
Discussion started by: freeaac
3 Replies
HD(4)							     Linux Programmer's Manual							     HD(4)

NAME
hd - MFM/IDE hard disk devices DESCRIPTION
The hd* devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major device number 3) is hda; the slave drive is hdb. The master drive of the second controller (major device number 22) is hdc and the slave hdd. General IDE block device names have the form hdX, or hdXP, where X is a letter denoting the physical drive, and P is a number denoting the partition on that physical drive. The first form, hdX, is used to address the whole drive. Partition numbers are assigned in the order the partitions are discovered, and only nonempty, nonextended partitions get a number. However, partition numbers 1-4 are given to the four partitions described in the MBR (the "primary" partitions), regardless of whether they are unused or extended. Thus, the first logi- cal partition will be hdX5. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions on an IDE disk. For example, /dev/hda refers to all of the first IDE drive in the system; and /dev/hdb3 refers to the third DOS "primary" partition on the second one. They are typically created by: mknod -m 660 /dev/hda b 3 0 mknod -m 660 /dev/hda1 b 3 1 mknod -m 660 /dev/hda2 b 3 2 ... mknod -m 660 /dev/hda8 b 3 8 mknod -m 660 /dev/hdb b 3 64 mknod -m 660 /dev/hdb1 b 3 65 mknod -m 660 /dev/hdb2 b 3 66 ... mknod -m 660 /dev/hdb8 b 3 72 chown root:disk /dev/hd* FILES
/dev/hd* SEE ALSO
chown(1), mknod(1), sd(4), mount(8) COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 1992-12-17 HD(4)
All times are GMT -4. The time now is 01:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy