Differences between volume, partition and drive
A drive is a physical block disk. For example:
/dev/sda.A partition A drive can be divided into some logic block disk. These logic block disk are named partition. For example:
/dev/sda1,/dev/sda2.A volume is also a logic block disk. Volume is a concept involved with partition. A volume can contain many partition. You can take a look at LVM project to understand the concept of a volume. http://sourceware.org/lvm2/.
The term drive refers to a physical storage device such as a hard disk, solid-state disk, removable USB flash drive etc. In Unix-like operating systems devices are represented by special file system objects called device nodes which are visible under the /dev directory.
Storage devices are labeled under /dev according to the type of device followed by a letter signifying the order in which they were detected by the system. In Linux prior to kernel version 2.6.20 the prefix hd signified an IDE device, so for instance the device files /dev/hda, /dev/hdband /dev/hdc corresponded to the first, second and third IDE device respectively. The prefix sdwas originally used for SCSI devices, but is now used for all PATA and SATA devices, including devices on a IDE bus. If there are more than 26 such devices in the system, devices from the 27th onwards are labeled /dev/sdAa, /dev/sdAb and so on.
A physical storage device can be divided into multiple logical storage units known as partitions. Each partition will show up under /dev as a separate device node. A number after the device letter signifies the number of the partion, so for example the device node files /dev/sda1 and /dev/sda2refer to the first and second partition of the first PATA device. Note that on PCs using MBR partitioning, due to the limit of four primary paritions and the way extended partitions are handled the partition numbering can slightly differ from the actual partition count.
Other Unix-like systems may refer to disks and partitions in other ways. For example, FreeBSD uses /dev/adaX (where X is one or more digits) to refer to PATA disks and /dev/adaXpY (where X and Y are both one or more digits) to refer to partitions on PATA disks.
The term volume in Linux is related to the Logical Volume Manager (LVM), which can be used to manage mass storage devices. A physical volume is a storage device or partition. A logical volumecreated by the LVM is a logical storage device which can span multiple physical volumes.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
A partition is a just a space crafted out of a disk.
For example- you could set aside a space of 100 GB for a partition from a hard disk of 1 TB.
A volume is a partition that has been formatted into a filesystem.
A partition is of little use unless formatted. And when we format a partition into NTFS, FAT32, ext4 etc, it becomes a volume and is usable.
You can create a new volume or partition on any disk that has empty space. If the disk is dynamic, a volume is created. If the disk is a basic disk, a primary partition is created. If the empty space is part of an extended partition, a new logical drive will be created. All of them called a simple volume, but each one a different structure.
Note You can no longer create an extended partition in Disk Manager. If you need to create an extended partition, you need to use DiskPart.exe. But there's really no longer any need for extended partitions.
Each partition will show up under /dev as a separate device node. A number after the device letter signifies the number of the partion, so for example the device node files /dev/sda1 and /dev/sda2 refer to the first and second partition of the first PATA device. Note that on PCs using MBR partitioning, due to the limit of four primary paritionsand the way extended partitions are handled the partition numbering can slightly differ from the actual partition count.
In Windows Server 2008 the distinction between volumes and partitions is somewhat murky. When using Disk Management, a regular partition on a basic disk is called a simple volume, even though technically a simple volume requires that the disk be a dynamic disk.
Differences between volume, partition and drive的更多相关文章
- top-100-of-the-best-useful-opensource-applications/
top-100-of-the-best-useful-opensource-applications/ http://www.ubuntulinuxhelp.com/top-100-of-the-be ...
- openfile学习笔记
Openfiler是在rPath Linux基础上开发的,它能够作为一个独立的Linux操作系统发行.Openfiler是一款非常好的存储管理操作系统,开源免费,通过web界面对 存储磁盘的管理,支持 ...
- NTSTATUS Values
By combining the NTSTATUS into a single 32-bit numbering space, the following NTSTATUS values are de ...
- [No0000D4]批处理全部代码详解Allbat
COPY REM Copies one or more files from one location to another. REM [/d] - Allows the encrypted file ...
- aix rootvg镜像
就一般生产系统而已,操作系统层面都要进行备份,而最常见的操作系统备份方式之一就是做镜像(mirror),而实践过程中,往往是把rootvg这个卷组做镜像操作.查看rootvg是否已经进行镜像方法: 1 ...
- CentOS 6.4 安装 rar软件(tar.gz 包)并注册成功
1.下载地址: www.rarlab.com/download.htm 2.解压tar.gz文件(cd进入文件目录) # cd /home/wjshan0808/Documents # ls rarl ...
- cygwin chmod 失效
问题背景 为了在 Cygwin 下使用之前最喜爱的 screen 命令, 安装 Cygwin 时就选上了 screen 来运行一把 ganiks.liu@MAMIS-Gaiks-Liu /tmp $ ...
- 常用Dos命令笔记
0x00 磁盘FAT32格式转NTFS convert e: /fs:ntfs Tips: 语法规则: Converts a FAT volume to NTFS. CONVERT volume /F ...
- JFS与JFS2的区别
请问一下JFS与JFS2的区别? 支持最大的文件? 普通JFS:2G:支持大文件JFS:64G:JFS2:1T 支持最大的文件系统?普通JFS,支持大文件JFS,JFS2分别是多大呢? The max ...
随机推荐
- python: shutil模块 -拷贝文件
import shutil #拷贝文件 #存在文档1文件 shutil.copyfile('文档1','新文件') 随机验证码-4位 import random random_code='' for ...
- 杭电1071-The area
问题描述: Ignatius bought a land last week, but he didn't know the area of the land because the land i ...
- poj1703 Lost Cows
给定集合{1,2,...,n}的一个置换,指定每个位置上在其左方且比其小的数的个数,求该置换. 这题我目前还只会O(n^2)的做法. 以后再用更高效的算法解决. http://poj.org/prob ...
- 逆序数还原(FZU)
逆序数还原 Accept: 244 Submit: 451 Time Limit: 1000 mSec Memory Limit : 32768 KB Problem Description 有一段时 ...
- 第十二届浙江省大学生程序设计大赛-Ace of Aces 分类: 比赛 2015-06-26 14:25 12人阅读 评论(0) 收藏
Ace of Aces Time Limit: 2 Seconds Memory Limit: 65536 KB There is a mysterious organization called T ...
- Python_cmd的各种实现方法及优劣(subprocess.Popen, os.system和commands.getstatusoutput)
http://blog.csdn.net/menglei8625/article/details/7494094
- Android启动Activity的两种方式与四种启动模式
1.在一个Activity中调用startActivity()方法 2.在一个Activity中调用startActivityRequest()方法. 重写onActivityResult方法,用来接 ...
- 2016年12月14日 星期三 --出埃及记 Exodus 21:9
2016年12月14日 星期三 --出埃及记 Exodus 21:9 If he selects her for his son, he must grant her the rights of a ...
- python学习笔记三 文件操作(基础篇)
文件操作 打开文件 open(name[,mode[,buffering]]) open函数使用一个文件名作为强制参数,然后返回一个文件对象.[python 3.5 把file()删除掉] w ...
- 看懂UML类图和时序图
看懂UML类图和时序图 这里不会将UML的各种元素都提到,我只想讲讲类图中各个类之间的关系: 能看懂类图中各个类之间的线条.箭头代表什么意思后,也就足够应对 日常的工作和交流: 同时,我们应该能将类图 ...