Disk notes

From I Will Fear No Evil
Revision as of 11:22, 27 June 2023 by Chubbard (talk | contribs) (→‎Useful commands I keep forgetting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Useful commands I keep forgetting

Show the formatted partition type

 df -T
Filesystem                    Type     1K-blocks      Used Available Use% Mounted on
udev                          devtmpfs    969148         0    969148   0% /dev
tmpfs                         tmpfs       203072      1160    201912   1% /run
/dev/mapper/larvel01--vg-root ext4     101490460  10951196  85357620  12% /
tmpfs                         tmpfs      1015352         0   1015352   0% /dev/shm
tmpfs                         tmpfs         5120         0      5120   0% /run/lock
tmpfs                         tmpfs      1015352         0   1015352   0% /sys/fs/cgroup
/dev/sda1                     ext2        480618    214044    241640  47% /boot
tmpfs                         tmpfs       203068         0    203068   0% /run/user/1000
192.168.15.127:/data/Backups  nfs      971912832 516877376 454300864  54% /mnt/nas02/Backups
none                          tmpfs      1015352       164   1015188   1% /run/qemu

Alternate way askubuntu

mount | grep '^/dev'
/dev/mapper/larvel01--vg-root on / type ext4 (rw,relatime,errors=remount-ro)
/dev/sda1 on /boot type ext2 (rw,relatime)

MegaRAID

Link to my public cheat-sheet on the net. Too many damn options!

MegaCLI cheat-sheet