lsblk -o +MODEL,SERIALfdisk /dev/sdb => g => n => <enter> ... => w
the device file for the partition is /dev/sdb1
mkdir /extra2 mount /dev/sdb1 /extra2
before the next step make sure all worked
disk partitioning (sda4 is swap ...)
both use the same interfaces and protocols
| Characteristics | HDD | SSD (book vs FA17 numbers) |
|---|---|---|
| Size | Terabytes | Gigabytes (4TB) |
| Random Access Time | 8 ms | 0.25 ms |
| Sequential Read | 100 MB/s | 250 MB/s ( up to ~5 GB/s) |
| Random Read | 2 MB/s | 250 MB/s ( up to ~3.5 GB/s) |
| Cost | $0.10 / GB | $3 / GB ($0.25 - $2 / GB) |
| Reliability | moderate | unknown |
| Limited writes | No | Yes ( ~100,000 / page - check DWPD or TBW : 1 DWPD 1 yr warranty 1TB SSD = 365 TBW SSD ) |
| other | pre-erasing, erased pool / FS usage, alignment (standard 512B disk block too small) ... |
lsblk -o +MODEL,SERIAL
devices /dev/sda, /dev/sdb, ...
Ephemeral device names - Adding a disk or rebooting can change the device name (sdb => sdc
- names are assigned in sequence as the kernel enumerates the interfaces and devices)
pvcreate, vgcreate, vgdisplay, lvcreate, ...
Disk device files
Traditional partitioning
MBR partitioning
next ... GPT partitioning