User Tools

Site Tools


computing:miscadmin

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
Next revisionBoth sides next revision
computing:miscadmin [2021/10/16 01:34] oemb1905computing:miscadmin [2022/02/25 07:26] oemb1905
Line 248: Line 248:
   touch /root/.Xauthority    touch /root/.Xauthority 
   touch /home/user/.Xauthority   touch /home/user/.Xauthority
 +  
 +-batch convert with ffmpeg to mp4 from mkv
  
- --- //[[jonathan@haacksnetworking.com|oemb1905]] 2021/10/15 19:33//+  for i in *.mkv; do 
 +  ffmpeg -i "$i" -codec copy "${i%.*}.mp4" 
 +  done 
 + 
 +-fix badly configured zpool that used short names to by-id names. This command can be entered as-is, and does not need to be adjusted at all for what your specific ids are or for multiple drives. It literally exports the short names and by-ids, unmounts the volumes/pool, then remakes it using the blkid. 
 + 
 +  zpool export tank  
 +  zpool import -d /dev/disk/by-id tank 
 + 
 + --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/02/25 00:24//
computing/miscadmin.txt · Last modified: 2024/04/21 22:01 by oemb1905