Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:other_services:disk [2020-08-29 Sat wk35 20:19] – [mount] baumkphome_server:home_server_setup:other_services:disk [2024-04-25 Thu wk17 11:42] (current) – [Some basic tools] baumkp
Line 1: Line 1:
-{{tag>linux ubuntu parted fstab format partion disk mount umount fstab unmount}}+{{tag>linux debian nfs parted fstab format partion disk mount umount fstab unmount}}
 =======Linux Block Device Notes====== =======Linux Block Device Notes======
  
Line 5: Line 5:
  
 ====Some basic tools==== ====Some basic tools====
-''lsblk''  to list partitions (or list block devices) +  *''ls -l /dev/disk/by-uuid/'' will list the disks with UUIDs 
-''lsblk -f'' or ''blkid''  to list the UUIDs+  *''lsblk''  to list partitions (or list block devices) 
 +  *''lsblk -f'' or ''blkid''  to list the UUIDs 
 +  *''sudo blkid'' will list data blocks
  
 ---- ----
Line 34: Line 36:
  
 ===Local Device=== ===Local Device===
-mount -t ext2 /dev/sdb1 /mnt+**mount -t ext4 /dev/sdb1 /run/media/diska**
  
 ===NFS Device=== ===NFS Device===
Line 52: Line 54:
 ---- ----
 ====unmount==== ====unmount====
-umount /mnt+''sudo umount /run/media/diska'' 
  
 ---- ----
Line 67: Line 70:
  
 ====hdparm==== ====hdparm====
 +
 +
 +====References====
 +  *[[https://www.digitalocean.com/community/tutorials/how-to-partition-and-format-storage-devices-in-linux|How To Partition and Format Storage Devices in Linux]]
  
 ---- ----