Disk notes: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
(Created page with "=== Useful commands I keep forgetting === Show the formatted partition type <pre> 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 101535...")
 
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
</pre>
</pre>


Alternate way [https://askubuntu.com/questions/309047/how-do-i-find-out-what-filesystem-my-partitions-are-using askubuntu]
<pre>
mount | grep '^/dev'
/dev/mapper/larvel01--vg-root on / type ext4 (rw,relatime,errors=remount-ro)
/dev/sda1 on /boot type ext2 (rw,relatime)
</pre>


== MegaRAID ==
Link to my public cheat-sheet on the net.  Too many damn options!
[https://cheatography.com/chubbard/cheat-sheets/megacli/| MegaCLI cheat-sheet]





Latest revision as of 11:22, 27 June 2023

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