ubuntu:disk:get_disk_info
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:disk:get_disk_info [2019/11/26 18:28] – peter | ubuntu:disk:get_disk_info [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 9: | Line 9: | ||
</ | </ | ||
- | returns | + | returns: |
- | < | + | < |
/dev/sda: | /dev/sda: | ||
Line 32: | Line 32: | ||
---- | ---- | ||
- | For SCSI disk, a different command is to be used: | + | ===== For SCSI disks ===== |
<code bash> | <code bash> | ||
Line 38: | Line 38: | ||
</ | </ | ||
+ | ---- | ||
- | To check the hardisk capacity and partitions contained in the hardisk, fdisk can be used: | + | ===== To check the hardisk capacity and partitions contained in the hardisk |
<code bash> | <code bash> | ||
Line 45: | Line 46: | ||
</ | </ | ||
- | returns | + | returns: |
- | < | + | < |
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors | Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors | ||
Units: sectors of 1 * 512 = 512 bytes | Units: sectors of 1 * 512 = 512 bytes | ||
Line 62: | Line 63: | ||
---- | ---- | ||
- | For LVM disks | + | ===== For LVM disks ===== |
<code bash> | <code bash> | ||
Line 68: | Line 69: | ||
</ | </ | ||
- | returns | + | returns: |
- | < | + | < |
ACTIVE | ACTIVE | ||
ACTIVE | ACTIVE | ||
</ | </ | ||
+ | |||
+ | ---- | ||
ubuntu/disk/get_disk_info.1574792893.txt.gz · Last modified: 2020/07/15 09:30 (external edit)