linux:storage
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:storage [2019-04-30 14:18] – first draft of LVM gabriel | linux:storage [2019-05-21 21:30] – [Linux Storage] changing wording gabriel | ||
---|---|---|---|
Line 2: | Line 2: | ||
This page contains my personal notes on Linux filesystems, | This page contains my personal notes on Linux filesystems, | ||
+ | |||
+ | > **Update:** Due to a a number of stability issues I've returned to using [[https:// | ||
===== Partitioning for Ubuntu 19.04 workstations ===== | ===== Partitioning for Ubuntu 19.04 workstations ===== | ||
Line 24: | Line 26: | ||
mkpart efi fat32 1MiB 257MiB # align the first block | mkpart efi fat32 1MiB 257MiB # align the first block | ||
mkpart boot ext4 257MiB 769MiB | mkpart boot ext4 257MiB 769MiB | ||
- | mkpart pv0 ext4 769MiB 92% # finish the LVM pv at 92% capacity | + | mkpart |
</ | </ | ||
Line 32: | Line 34: | ||
(parted) print | (parted) print | ||
Model: PC401 NVMe SK hynix 256GB (nvme) | Model: PC401 NVMe SK hynix 256GB (nvme) | ||
- | Disk / | + | Disk / |
Sector size (logical/ | Sector size (logical/ | ||
Partition Table: gpt | Partition Table: gpt | ||
Disk Flags: | Disk Flags: | ||
- | Number | + | Number |
- | | + | |
- | | + | |
- | | + | |
</ | </ | ||
Line 57: | Line 59: | ||
Partition type (type L to list all types): 31 | Partition type (type L to list all types): 31 | ||
- | Changed type of partition ' | + | Changed type of partition ' |
Command (m for help): p | Command (m for help): p | ||
Line 66: | Line 68: | ||
I/O size (minimum/ | I/O size (minimum/ | ||
Disklabel type: gpt | Disklabel type: gpt | ||
- | Disk identifier: | + | Disk identifier: |
Device | Device | ||
- | / | + | / |
- | / | + | / |
- | / | + | / |
Command (m for help): w | Command (m for help): w | ||
Line 93: | Line 95: | ||
lvs | lvs | ||
LV VG Attr | LV VG Attr | ||
- | root vg0 -wi-a----- 202.39g | + | root vg0 -wi-a----- 202.64g |
swap0 vg0 -wi-a----- | swap0 vg0 -wi-a----- | ||
</ | </ | ||
linux/storage.txt · Last modified: 2019-08-10 19:04 by gabriel