Convention for HDD Label

From Chorke Wiki
Revision as of 06:03, 6 September 2020 by Shahed (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[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