disk
check status
$ lsblk$ ncdu$ pvs$ lvs$ vgs$ pvscan$ lvscan$ pvdisplay$ vgdisplay$ lvdisplay$ fdisk -l$ sfdisk -l -uM$ lshw -class disk$ hwinfo --block --short$ cat /proc/partitions$ sudo blkid
mount
mount smb
[!NOTE] references:
macos
[!NOTE|label:references:]
via GUI :
Go -> Connect toServer ->
smb://<domain.com>/secured
samba
check
linux
mount cifs
[!NOTE|label:references:]
environment setup
create credential file
mount
NFS share info
mount nfs
environment setup
check mount
Check if folder is a mounted remote filesystem
df/etc/fstab[!NOTE|label:references:]
check nfs mount points
check mount version
local
setup nfs mount by default server boot
related configure
/etc/fstab/etc/nsswitch.conf/etc/nfsmount.conf/etc/nfs.conf/proc/mounts
disconnect the mount
device is busy[!NOTE|label:references:]
LVM
[!NOTE|label:reference:]
vg
Volume Group
pv
Physical Volume
lv
Logical Volume
check current status
lvm
disk status
add new pv ( Physical Volume )
moving home with lvm
[!NOTE|label:references]
extend lv
remove LVM
[!TIP]
remove order:
lv
pv
vg
example
extends the logical volume /dev/myvg/homevol to 12 gigabytes
adds another gigabyte to the logical volume /dev/myvg/homevol
others
NFS
squid
performance
check NFS performance
nfsstatnfsiostatcollectl -sjmf -oTcollectl -sn --verbose -oTcollectl -sJ -oTm
netstat -plaute | grep nfswatch -d "netstat -plaute | grep nfs | sort -k 4,5"iostat -mx <delay in sec.> <devices>
iostat
iostat[!TIP|label:references:]
sar
sarhdparm
[!NOTE] hdparm - get/set SATA/IDE device parameters
references:
dd
[!NOTE|label:references:]
write speed
read spead
server latency time
samba
[!NOTE] references:
setup
configure
for anonymous
for secured
firewall is necessary
enable services
config
[!TIP] FILES :
/etc/nsmb.conf
The global configuration file.
~/Library/Preferences/nsmb.conf
The user's configuration file, conflicts will be overwritten by the global file.
smbclient
if no permission
Last updated
Was this helpful?