Alpine/Morefine: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 3: Line 3:
| valign="top" |
| valign="top" |
  df -hT
  df -hT
fdisk -l
  apk update
  apk update
  ip addr show
  ip addr show
Line 8: Line 9:


| valign="top" |
| valign="top" |
  fdisk -l
  apk add lsblk
  parted -l
  apk add parted
apk add util-linux
  apk add smartmontools
  apk add smartmontools
  apk add e2fsprogs-extra
  apk add e2fsprogs-extra


| valign="top" |
| valign="top" |
parted -l
  ls -lah /dev/sda*
  ls -lah /dev/sda*
  badblocks -v /dev/sda1 > ~/bad_sectors.txt
  badblocks -v /dev/sda1 > ~/bad_sectors.txt

Revision as of 08:46, 21 January 2023

Knowledge

df -hT
fdisk -l
apk update
ip addr show
ip link show
apk add lsblk
apk add parted
apk add util-linux
apk add smartmontools
apk add e2fsprogs-extra
parted -l
ls -lah /dev/sda*
badblocks -v /dev/sda1 > ~/bad_sectors.txt
badblocks -v /dev/sda2 > ~/bad_sectors.txt
badblocks -v /dev/sda3 > ~/bad_sectors.txt

smartctl --version
smartctl -H /dev/sda1
smartctl -H /dev/sda2
smartctl -H /dev/sda3

References