Convention for HDD Label: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
m (Protected "Convention for HDD Label" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
Line 18: Line 18:
  HDD MOUNT POINT ID  ────100─┘
  HDD MOUNT POINT ID  ────100─┘
|}
|}
==Knowledge==
<source lang="bash">
lsblk
fdisk -l
smartctl -a /dev/sda
e2label /dev/sda1 CK10010100
mkfs.ext4 /dev/sda1 -L CK10010100
mkdir /chorke/academia/nfs/gitlab
chown pi /chorke/academia/nfs/gitlab
mount /dev/sda1 /chorke/academia/nfs/gitlab
</source>

Latest revision as of 06:03, 6 September 2020

[C]HOR[K]E──────────────CK ─┐
                            ├─CK100 ─┐
[1-9A-Z]{1}[0-9A-Z]{2}──100─┘        │
                                     ├─CK10010100
[1-9A-Z]{1}[0-9A-Z]{1}──10 ─┐        │
                            ├─10100 ─┘
[1-9A-Z]{1}[0-9A-Z]{2}──100─┘
CHORKE PREFIX ──────────CK ─┐
                            ├─CK100 ─┐
CHORKE HDD ID ──────────100─┘        │
                                     ├─CK10010100
HDD REPLACE VERSION ────10 ─┐        │
                            ├─10100 ─┘
HDD MOUNT POINT ID  ────100─┘

Knowledge

lsblk
fdisk -l
smartctl -a /dev/sda
e2label /dev/sda1 CK10010100
mkfs.ext4 /dev/sda1 -L CK10010100
mkdir /chorke/academia/nfs/gitlab
chown pi /chorke/academia/nfs/gitlab
mount /dev/sda1 /chorke/academia/nfs/gitlab